252627282930313233
public static Test suite() { TestSuite suite = new TestSuite("All DAS tests on Derby"); suite.addTest(new DerbySetup(AllCommonTests.suite())); return suite; }
262728293031323334
public class AllTestsDerby extends TestSuite { public static Test suite() { TestSuite suite = new TestSuite("All DAS tests on Derby"); suite.addTest(new DerbySetup(AllCommonTests.suite())); return suite; }
6667686970717273747576
DisplayDatabaseConfiguration(); //initialize DB try { if(dbType.equals(DERBY)){ new DerbySetup(dbURL+"-"+user+"-"+password); } if(dbType.equals(MYSQL)){ new MySQLSetup(dbURL+"-"+user+"-"+password); }
4647484950515253545556
*/ protected boolean checkIfDBPresent(String dbType, String dbName, String user, String password){ try { if(dbType.equals(DERBY)){ new DerbySetup(dbName+"-"+user+"-"+password); } if(dbType.equals(DB2)){ new DB2Setup(dbName+"-"+user+"-"+password); }