use of liquibase.database.example.ExampleCustomDatabase in project liquibase by liquibase.
the class DatabaseTestContext method getAllDatabases.
public Set<Database> getAllDatabases() {
if (allDatabases == null) {
allDatabases = new HashSet<Database>();
allDatabases.addAll(DatabaseFactory.getInstance().getImplementedDatabases());
List<Database> toRemove = new ArrayList<Database>();
for (Database database : allDatabases) {
if (//todo: re-enable sqlite testing
database instanceof SQLiteDatabase || database instanceof MockDatabase || database instanceof ExampleCustomDatabase) {
toRemove.add(database);
}
}
allDatabases.removeAll(toRemove);
}
return allDatabases;
}
Aggregations