1 package liquibase.database.core; 2 3 import junit.framework.TestCase; 4 import liquibase.database.Database; 5 6 public class UnsupportedDatabaseTest extends TestCase { 7 public void testGetDefaultDriver() { 8 Database database = new UnsupportedDatabase(); 9 10 assertNull(database.getDefaultDriver("jdbc:oracle://localhost;databaseName=liquibase")); 11 assertNull(database.getDefaultDriver("jdbc:db2://localhost;databaseName=liquibase")); 12 assertNull(database.getDefaultDriver("jdbc:hsqldb://localhost;databaseName=liquibase")); 13 assertNull(database.getDefaultDriver("jdbc:derby://localhost;databaseName=liquibase")); 14 assertNull(database.getDefaultDriver("jdbc:sqlserver://localhost;databaseName=liquibase")); 15 assertNull(database.getDefaultDriver("jdbc:postgresql://localhost;databaseName=liquibase")); 16 } 17 18 }