Example usage for junit.framework TestSuite TestSuite

List of usage examples for junit.framework TestSuite TestSuite

Introduction

In this page you can find the example usage for junit.framework TestSuite TestSuite.

Prototype

TestSuite

Source Link

Usage

From source file:com.germinus.easyconf.DigesterLearningTest.java

public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTest(new DigesterLearningTest("testXmlRulesDigester"));
    return suite;
}

From source file:com.germinus.easyconf.ConfigurationLearningTest.java

public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTest(new ConfigurationLearningTest("testGetFromClasspath"));
    return suite;
}

From source file:io.sightly.tck.TestsRunner.java

/**
 * Creates the test suite.//from  ww  w. j a va  2s  .c  om
 *
 * @return a test suite
 */
public static TestSuite suite() {
    List<JSONObject> testDefinitions = TCK.INSTANCE.getTestDefinitions();
    TestSuite suite = new TestSuite();
    for (JSONObject testDefinition : testDefinitions) {
        List<TestCase> testCases = TestBuilder.getTests(testDefinition);
        for (TestCase tc : testCases) {
            suite.addTest(tc);
        }
    }
    return suite;
}

From source file:it.doqui.index.ecmengine.test.AllTests.java

public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTestSuite(it.doqui.index.ecmengine.test.TestBackoffice.class);
    suite.addTestSuite(it.doqui.index.ecmengine.test.TestEngine.class);
    suite.addTestSuite(it.doqui.index.ecmengine.test.TestMassive.class);
    suite.addTestSuite(it.doqui.index.ecmengine.test.TestSecurity.class);
    return suite;
}

From source file:it.doqui.index.ecmengine.test.webservices.AllTests.java

public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTestSuite(it.doqui.index.ecmengine.test.webservices.TestBackoffice.class);
    suite.addTestSuite(it.doqui.index.ecmengine.test.webservices.TestEngine.class);
    suite.addTestSuite(it.doqui.index.ecmengine.test.webservices.TestMassive.class);
    suite.addTestSuite(it.doqui.index.ecmengine.test.webservices.TestSecurity.class);
    return suite;
}

From source file:edu.uci.ics.asterix.test.aql.AQLTestSuite.java

public static Test suite() throws ParseException, UnsupportedEncodingException, FileNotFoundException {
    File testData = new File(AQLTS_PATH);
    File[] queries = testData.listFiles();
    TestSuite testSuite = new TestSuite();
    for (File file : queries) {
        if (file.isFile()) {
            testSuite.addTest(new AQLTestCase(file));
        }//from   w  ww.  ja  v a2 s . c om
    }
    testData = new File(AQLTS_SQL_LIKE_PATH);
    queries = testData.listFiles();
    for (File file : queries) {
        if (file.isFile()) {
            testSuite.addTest(new AQLTestCase(file));
        }
    }

    return testSuite;

}

From source file:com.networknt.light.rule.user.SignUpUserRuleTest.java

public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTestSuite(SignUpUserRuleTest.class);
    return suite;
}

From source file:testapp.test.CSMAuthTest.java

public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTest(new CSMAuthTest("testDomainObjectSecurity"));
    return suite;
}

From source file:com.amazon.carbonado.repo.jdbc.TestH2.java

public static TestSuite suite() {
    TestSuite suite = new TestSuite();
    suite.addTestSuite(TestH2.class);
    return suite;
}

From source file:cascading.ComparePlatformsTest.java

public static Test suite() throws Exception {
    String root = System.getProperty("test.output.roots");

    if (root == null)
        return new TestSuite();

    LOG.info("output roots: {}", root);

    String[] roots = root.split(",");

    File localRoot = new File(find(roots, "/cascading-local/"), "local");
    File hadoopRoot = new File(find(roots, "/cascading-hadoop/"), "hadoop");
    File hadoop2Root = new File(find(roots, "/cascading-hadoop2-mr1/"), "hadoop2-mr1");

    LOG.info("local path: {}", localRoot);
    LOG.info("hadoop path: {}", hadoopRoot);
    LOG.info("hadoop2 path: {}", hadoop2Root);

    TestSuite suite = new TestSuite();

    createComparisons("local~hadoop", localRoot, hadoopRoot, suite);
    createComparisons("local~hadoop2-mr1", localRoot, hadoop2Root, suite);

    return suite;
}