Package org.apache.derbyTesting.junit

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


    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);
    }
   
    //////////////////////////////////////////////////////////////
View Full Code Here


     * @return the test suite created.
     */  
    public static Test suite(int phase) {
        BaseTestSuite suite = new BaseTestSuite("Upgrade test for 10.4");
       
        suite.addTestSuite(Changes10_4.class);
        return new SupportFilesSetup((Test) suite);
    }
   
    /**
     * Check that even though we have set schema to a user schema, the
View Full Code Here

        return suite;
    }

    protected static Test baseSuite(String name) {
        BaseTestSuite suite = new BaseTestSuite(name);
        suite.addTestSuite(DateTimeTest.class);
        return new CleanDatabaseTestSetup(suite) {
            /**
             * Creates the tables used in the test cases.
             * @exception SQLException if a database error occurs
             */
 
View Full Code Here

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

    }
   
View Full Code Here

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

    }
   
View Full Code Here

     * @return the test suite created.
     */
    public static Test suite(int phase) {
        BaseTestSuite suite = new BaseTestSuite("Upgrade test for 10.5");

        suite.addTestSuite(Changes10_5.class);
        return new SupportFilesSetup((Test) suite);
    }

    /**
     * Make sure that SYSCS_UTIL.SYSCS_UPDATE_STATISTICS can only be run in
View Full Code Here

     * @param name Name for the suite.
     */
    private static BaseTestSuite baseSuite(String name) {
        BaseTestSuite suite = new BaseTestSuite(name);
         
        suite.addTestSuite(UpdateXXXTest.class);
       
        // requires java.math.BigDecimal
        if (JDBC.vmSupportsJDBC3())
            suite.addTest(new UpdateXXXTest("jdbc2testUpdateBigDecimal"));
                     
View Full Code Here

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

   * @param name
   *            Name for the suite.
   */
  private static Test baseSuite(String name) {
        BaseTestSuite suite = new BaseTestSuite(name);
    suite.addTestSuite(RelativeTest.class);
    return new CleanDatabaseTestSetup(DatabasePropertyTestSetup
        .setLockTimeouts(suite, 2, 4)) {

      /**
       * Creates the tables used in the test cases.
View Full Code Here

     * @param name BaseTestSuite name
     * @return wrapped TestSuite
     */
    private static Test baseSuite(String name) {
        BaseTestSuite suite = new BaseTestSuite(name);
        suite.addTestSuite(CacheSessionDataTest.class);
       
        return new CleanDatabaseTestSetup(suite) {
            /**
            * Creates the tables, stored procedures, and functions
            * shared by all test cases.
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.