252627282930313233
public static Test suite() { TestSuite suite = new TestSuite("All DAS tests on MySQL"); suite.addTest(new MySQLSetup(AllCommonTests.suite())); return suite; }
303132333435363738
} public static Test suite() { TestSuite suite = new TestSuite("All DAS tests on MySQL"); suite.addTest(new MySQLSetup(AllCommonTests.suite())); return suite; }
7071727374757677787980
if(dbType.equals(DERBY)){ new DerbySetup(dbURL+"-"+user+"-"+password); } if(dbType.equals(MYSQL)){ new MySQLSetup(dbURL+"-"+user+"-"+password); } } catch(Exception e){ throw new RuntimeException("Error initializing database !", e); }
5455565758596061626364
if(dbType.equals(DB2)){ new DB2Setup(dbName+"-"+user+"-"+password); } if(dbType.equals(MYSQL)){ new MySQLSetup(dbName+"-"+user+"-"+password); } } catch(Exception e){ e.printStackTrace(); }