Package org.apache.derbyTesting.junit

Examples of org.apache.derbyTesting.junit.BaseTestSuite.addTestSuite()


        return suite;
    }

    private static Test baseSuite(String name) {
        BaseTestSuite suite = new BaseTestSuite(name);
        suite.addTestSuite(PreparedStatementTest.class);
        return new CleanDatabaseTestSetup(suite) {

            protected void decorateSQL(Statement stmt) throws SQLException
            {
                    stmt.execute("create table " + BLOBTBL +
View Full Code Here


        BaseTestSuite ts  = new BaseTestSuite("LobStreamTest");
        ts.addTest(TestConfiguration.embeddedSuite(LobStreamTest.class));

        BaseTestSuite encSuite =
            new BaseTestSuite("LobStreamsTest:encrypted");
        encSuite.addTestSuite (LobStreamTest.class);
        ts.addTest(Decorator.encryptedDatabase (encSuite));
        return ts;
    }

}
View Full Code Here

        // Test load part
        suite.addTest(new Populate("testLoad"));
        // perform checks tests.
        suite.addTest(Checks.suite());

        suite.addTestSuite(OperationsTester.class);
        suite.addTestSuite(OETest.class);
       
        // Ensure the transactions left the data in a consistent state
        suite.addTest(Checks.consistencyChecks());
               
View Full Code Here

        suite.addTest(new Populate("testLoad"));
        // perform checks tests.
        suite.addTest(Checks.suite());

        suite.addTestSuite(OperationsTester.class);
        suite.addTestSuite(OETest.class);
       
        // Ensure the transactions left the data in a consistent state
        suite.addTest(Checks.consistencyChecks());
               
        return new CleanDatabaseTestSetup(suite);
View Full Code Here

   
    public static Test suite()
    {
        if (Derby.hasTools()) {
            BaseTestSuite suite = new BaseTestSuite("IJRunScriptTest");
            suite.addTestSuite(IJRunScriptTest.class);
            return new CleanDatabaseTestSetup(suite);
        }
       
        return new BaseTestSuite("empty: no tools support");
    }
View Full Code Here

        BaseTestSuite suite = new BaseTestSuite(name);
        // Need derbynet.jar in the classpath, and cannot run with ME/JSR169/cdc profile
        if (!Derby.hasServer())
            return suite;
        // Adds all tests that can run with baseport set or not.
        suite.addTestSuite(DerbyNetAutoStartTest.class);
        if (getSystemProperty("derby.tests.basePort") != null )
        {
            return suite;
        }
        // We assume, that if baseport is set, then the intention is that
View Full Code Here

    public static Test suite()
    {
        BaseTestSuite suite =
            new BaseTestSuite("ReplicationRun_Local_StateTest_part1_1 Suite");
       
        suite.addTestSuite( ReplicationRun_Local_StateTest_part1_1.class );
       
        return SecurityManagerSetup.noSecurityManager(suite);
    }
   
    //////////////////////////////////////////////////////////////
View Full Code Here

public class Changes10_2 extends UpgradeChange {
   
    public static Test suite() {
        BaseTestSuite suite = new BaseTestSuite("Upgrade changes for 10.2");
       
        suite.addTestSuite(Changes10_2.class);
       
        // Encryption only support on J2SE or higher.
        if (JDBC.vmSupportsJDBC3())
        {
            suite.addTest(new Changes10_2("changeEncryptionFromNone"));
View Full Code Here

    public static Test suite()
    {
        BaseTestSuite suite =
            new BaseTestSuite("ReplicationRun_Local_Encrypted_1 Suite");
       
        suite.addTestSuite( ReplicationRun_Local_Encrypted_1.class);
       
        return SecurityManagerSetup.noSecurityManager(suite);

    }
       
View Full Code Here

    public static Test suite()
    {
        BaseTestSuite suite =
            new BaseTestSuite("ReplicationRun_Local_showStateChange Suite");
       
        suite.addTestSuite( ReplicationRun_Local_showStateChange.class  );
       
        return SecurityManagerSetup.noSecurityManager(suite);

    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.