props.setProperty("derby.infolog.append", "true");
props.setProperty("ij.protocol", "jdbc:derby:");
props.setProperty("ij.database", "wombat;create=true");
Test test = new SystemPropertyTestSetup(new ij2Test("ij2"), props);
test = new LocaleTestSetup(test, Locale.ENGLISH);
test = TestConfiguration.singleUseDatabaseDecorator(test, "wombat1");
test = new CleanDatabaseTestSetup(test);
TestSuite suite = new TestSuite("ij2Scripts");
suite.addTest(test);
if (JDBC.vmSupportsJDBC3()) {
props.setProperty("ij.protocol", "jdbc:derby:");
props.setProperty("ij.showNoConnectionsAtStart", "true");
Test testb = new SystemPropertyTestSetup(new ij2Test("ij2b"), props);
testb = new LocaleTestSetup(testb, Locale.ENGLISH);
testb = TestConfiguration.singleUseDatabaseDecorator(testb, "wombat1");
testb = new CleanDatabaseTestSetup(testb);
suite.addTest(testb);
}
return getIJConfig(suite);