Skip to content

Instantly share code, notes, and snippets.

const config = require('config');
const includes = require('lodash.includes');
const chaiWebdriver = require('chai-webdriverio').default;
const chai = require('chai');
const VIEWPORT_SIZE = {
width: 1070,
height: 600,
};
const testsToRun = ['./test/selenium/*.js'];
hibernate.hbm2ddl.schema_filter_provider=com.horiaconstantin.Provider
package com.horiaconstantin;
import org.hibernate.boot.model.relational.Namespace;
import org.hibernate.boot.model.relational.Sequence;
import org.hibernate.mapping.Table;
import org.hibernate.tool.schema.spi.SchemaFilter;
import org.hibernate.tool.schema.spi.SchemaFilterProvider;
public class Provider implements SchemaFilterProvider {
@treaz
treaz / SortTest.java
Last active October 24, 2019 13:22
JUnit5 Test of multiple implementations of sort via ParameterizedTest
package com.horiaconstantin.sorting.bycompare;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
class SortTest {