Package org.apache.derbyTesting.junit

Examples of org.apache.derbyTesting.junit.SupportFilesSetup


            SecurityManagerSetup.noSecurityManager(networkServerTestSetup);

        // if using the custom derby.properties, copy the custom properties to a visible place
        if ( customDerbyProperties != null )
        {
            testSetup = new SupportFilesSetup
                (
                 testSetup,
                 null,
                 new String[] { "functionTests/tests/derbynet/SecureServerTest.derby.properties" },
                 null,
View Full Code Here


                    "serTestClientConnectionPoolDataSource"));
            suite.addTest(new DataSourceSerializationTest(
                    "serTestClientXADataSource"));
        }

        return new SupportFilesSetup(suite, new String[] {
                // 10.0 resources
                filePrefix + "EmbeddedDataSource-10_0_2_1.ser",
                filePrefix + "EmbeddedConnectionPoolDataSource-10_0_2_1.ser",
                filePrefix + "EmbeddedXADataSource-10_0_2_1.ser",
View Full Code Here

    public static Test suite(int phase) {
        BaseTestSuite suite = new BaseTestSuite("Upgrade test for 10.9");

        suite.addTestSuite(Changes10_9.class);
       
        return new SupportFilesSetup(
                (Test)suite, SUPPORT_FILES_SOURCE);
    }
View Full Code Here

    public static Test suite(int phase) {
        BaseTestSuite suite = new BaseTestSuite("Upgrade test for 10.9");

        suite.addTestSuite(Changes10_10.class);
       
        return new SupportFilesSetup((Test) suite);
    }
View Full Code Here

        //            to differences in output, disabling for now. While tests
        //            for security mechanism exist in NSSecurityMechanismTest,
        //            that test does not currently check the correct order of
        //            responses of secmec and secchkcd for various error cases,
        //            which is tested in ProtocolTest.
        return new SupportFilesSetup(suite,
                     new String[] {
                         "functionTests/tests/derbynet/excsat_accsecrd1.inc",
                         "functionTests/tests/derbynet/excsat_accsecrd2.inc",
                         "functionTests/tests/derbynet/excsat_secchk.inc",
                         "functionTests/tests/derbynet/connect.inc",
View Full Code Here

       
        Test testSetup =
            SecurityManagerSetup.noSecurityManager(networkServerTestSetup);
       
        testSetup =
            new SupportFilesSetup(testSetup,
                                  null,
                                  new String[]
                                  {"functionTests/tests/derbynet/SSLTestServerKey.key"},
                                  null,
                                  new String[]
View Full Code Here

     */
    public static Test suite(int phase) {
        BaseTestSuite suite = new BaseTestSuite("Upgrade test for 10.7");

        suite.addTestSuite(Changes10_7.class);
        return new SupportFilesSetup((Test) suite);
    }
View Full Code Here

                //Tests for the Clob related locator StoredProcedures
                suite.addTestSuite(ClobStoredProcedureTest.class);
            }
        }
       
        return new SupportFilesSetup((Test) suite);
    }
View Full Code Here

             */
            protected void decorateSQL(Statement s) throws SQLException {
                createLocaleProcedures(s.getConnection());
            }
        };
        tsuite = new SupportFilesSetup(tsuite);
        return tsuite;
    }
View Full Code Here

    public static Test suite() {
        // This test requires support for specific encodings which are
        // not guaranteed to be supported by all JVMs. Run the test only
        // if the encodings are supported.
        if (Charset.isSupported("EUC_JP") && Charset.isSupported("SJIS")) {
            return new SupportFilesSetup(
                TestConfiguration.embeddedSuite(JapanCodeConversionTest.class),
                new String[] { "functionTests/tests/i18n/data/jap_EUC_JP.dat" },
                (String[]) null);
        }
View Full Code Here

TOP

Related Classes of org.apache.derbyTesting.junit.SupportFilesSetup

Copyright © 2018 www.massapicom. 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.