Search in sources :

Example 66 with BaseTestSuite

use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.

the class TestPreInitSlave method suite.

public static Test suite() throws Exception {
    System.out.println("**** TestPreInitSlave.suite()");
    initEnvironment();
    // String masterHostName = System.getProperty("test.serverHost", "localhost");
    // int masterPortNo = Integer.parseInt(System.getProperty("test.serverPort", "1527"));
    BaseTestSuite suite = new BaseTestSuite("TestPreInitSlave");
    suite.addTest(TestPreInitSlave.suite(slaveServerHost, slaveServerPort));
    System.out.println("*** Done suite.addTest(TestPreInitSlave.suite())");
    return (Test) suite;
}
Also used : Test(junit.framework.Test) BaseTestSuite(org.apache.derbyTesting.junit.BaseTestSuite)

Example 67 with BaseTestSuite

use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.

the class ReplicationRun_Local_StateTest_part1 method suite.

public static Test suite() {
    BaseTestSuite suite = new BaseTestSuite("ReplicationRun_Local_StateTest_part1 Suite");
    suite.addTestSuite(ReplicationRun_Local_StateTest_part1.class);
    return SecurityManagerSetup.noSecurityManager(suite);
}
Also used : BaseTestSuite(org.apache.derbyTesting.junit.BaseTestSuite)

Example 68 with BaseTestSuite

use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.

the class ReplicationRun_Local_StateTest_part1_3 method suite.

public static Test suite() {
    BaseTestSuite suite = new BaseTestSuite("ReplicationRun_Local_StateTest_part1_3 Suite");
    suite.addTestSuite(ReplicationRun_Local_StateTest_part1_3.class);
    return SecurityManagerSetup.noSecurityManager(suite);
}
Also used : BaseTestSuite(org.apache.derbyTesting.junit.BaseTestSuite)

Example 69 with BaseTestSuite

use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.

the class ReplicationRun_Local_StateTest_part2 method suite.

public static Test suite() {
    BaseTestSuite suite = new BaseTestSuite("ReplicationRun_Local_StateTest_part2 Suite");
    suite.addTestSuite(ReplicationRun_Local_StateTest_part2.class);
    return SecurityManagerSetup.noSecurityManager(suite);
}
Also used : BaseTestSuite(org.apache.derbyTesting.junit.BaseTestSuite)

Example 70 with BaseTestSuite

use of org.apache.derbyTesting.junit.BaseTestSuite in project derby by apache.

the class ReplicationRun_Local_showStateChange method suite.

public static Test suite() {
    BaseTestSuite suite = new BaseTestSuite("ReplicationRun_Local_showStateChange Suite");
    suite.addTestSuite(ReplicationRun_Local_showStateChange.class);
    return SecurityManagerSetup.noSecurityManager(suite);
}
Also used : BaseTestSuite(org.apache.derbyTesting.junit.BaseTestSuite)

Aggregations

BaseTestSuite (org.apache.derbyTesting.junit.BaseTestSuite)476 Test (junit.framework.Test)136 CleanDatabaseTestSetup (org.apache.derbyTesting.junit.CleanDatabaseTestSetup)118 Statement (java.sql.Statement)81 PreparedStatement (java.sql.PreparedStatement)68 SupportFilesSetup (org.apache.derbyTesting.junit.SupportFilesSetup)49 Properties (java.util.Properties)43 SystemPropertyTestSetup (org.apache.derbyTesting.junit.SystemPropertyTestSetup)34 CallableStatement (java.sql.CallableStatement)19 Connection (java.sql.Connection)14 SecurityManagerSetup (org.apache.derbyTesting.junit.SecurityManagerSetup)13 DatabasePropertyTestSetup (org.apache.derbyTesting.junit.DatabasePropertyTestSetup)11 TestSetup (junit.extensions.TestSetup)10 SQLException (java.sql.SQLException)7 LocaleTestSetup (org.apache.derbyTesting.junit.LocaleTestSetup)7 Method (java.lang.reflect.Method)5 Locale (java.util.Locale)5 BaseJDBCTestSetup (org.apache.derbyTesting.junit.BaseJDBCTestSetup)4 NetworkServerTestSetup (org.apache.derbyTesting.junit.NetworkServerTestSetup)4 ResultSet (java.sql.ResultSet)3