use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.
the class DataSourceTest method baseSuite.
/**
* Return a suite of tests that are run with both client and embedded
*
* @param postfix suite name postfix
* @return A suite of tests to be run with client and/or embedded
*/
private static Test baseSuite(String postfix) {
BaseTestSuite suite = new BaseTestSuite("ClientAndEmbedded" + postfix);
suite.addTest(new DataSourceTest("testBadConnectionAttributeSyntax"));
suite.addTest(new DataSourceTest("testDescriptionProperty"));
suite.addTest(new DataSourceTest("testAllDataSources"));
suite.addTest(new DataSourceTest("testJira95ds"));
return suite;
}
use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.
the class DataSourceTest method getEmbeddedSuite.
/**
* Return a suite of tests that are run with embedded only
*
* @param postfix suite name postfix
* @return A suite of tests being run with embedded only
*/
private static Test getEmbeddedSuite(String postfix) {
BaseTestSuite suite = new BaseTestSuite("Embedded" + postfix);
suite.addTest(new DataSourceTest("testDSRequestAuthentication"));
return suite;
}
use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.
the class PoolXADSCreateShutdownDBTest method suite.
public static Test suite() {
BaseTestSuite suite = new BaseTestSuite("PoolXADSCreateShutdownTest");
Test test = TestConfiguration.defaultSuite(PoolXADSCreateShutdownDBTest.class);
// Test test = TestConfiguration.clientServerSuite(DSCreateShutdownDBTest.class);
suite.addTest(test);
TestSetup setup = TestConfiguration.singleUseDatabaseDecorator(suite);
// we need a couple extra databases to test they get created
for (int i = 0; i < ADDITIONAL_DBS.length; i++) {
setup = TestConfiguration.additionalDatabaseDecorator(setup, "emb" + ADDITIONAL_DBS[i]);
setup = TestConfiguration.additionalDatabaseDecorator(setup, "srv" + ADDITIONAL_DBS[i]);
}
return suite;
}
use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.
the class ProcedureTest method suite.
// SETUP
/**
* Runs the test fixtures in embedded and client.
* @return test suite
*/
public static Test suite() {
BaseTestSuite suite = new BaseTestSuite("ProcedureTest");
suite.addTest(baseSuite("ProcedureTest:embedded"));
suite.addTest(TestConfiguration.clientServerDecorator(baseSuite("ProcedureTest:client")));
return suite;
}
use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.
the class RelativeTest method suite.
/**
* Runs the test fixtures in embedded and client.
*
* @return test suite
*/
public static Test suite() {
BaseTestSuite suite = new BaseTestSuite("RelativeTest");
suite.addTest(baseSuite("RelativeTest:embedded"));
suite.addTest(TestConfiguration.clientServerDecorator(baseSuite("RelativeTest:client")));
return suite;
}
Aggregations