Search in sources :

Example 1 with SessionTestSuite

use of org.eclipse.core.tests.session.SessionTestSuite in project eclipse.platform.runtime by eclipse.

the class AllTests method suite.

public static Test suite() {
    SessionTestSuite runtimeSessionTests = new SessionTestSuite(RuntimeTest.PI_RUNTIME_TESTS, AllTests.class.getName());
    runtimeSessionTests.addTest(ExtensionRegistryStaticTest.suite());
    return runtimeSessionTests;
}
Also used : SessionTestSuite(org.eclipse.core.tests.session.SessionTestSuite)

Example 2 with SessionTestSuite

use of org.eclipse.core.tests.session.SessionTestSuite in project eclipse.platform.runtime by eclipse.

the class Bug_412138 method suite.

public static Test suite() {
    SessionTestSuite suite = new SessionTestSuite(RuntimeTestsPlugin.PI_RUNTIME_TESTS, Bug_412138.class.getName());
    suite.addCrashTest(new Bug_412138("testRunScenario"));
    suite.addTest(new Bug_412138("testVerifyResult"));
    return suite;
}
Also used : SessionTestSuite(org.eclipse.core.tests.session.SessionTestSuite)

Example 3 with SessionTestSuite

use of org.eclipse.core.tests.session.SessionTestSuite in project eclipse.platform.runtime by eclipse.

the class ContentTypePerformanceTest method suite.

public static Test suite() {
    TestSuite suite = new TestSuite(ContentTypePerformanceTest.class.getName());
    // suite.addTest(new ContentTypePerformanceTest("testDoSetUp"));
    // suite.addTest(new ContentTypePerformanceTest("testContentMatching"));
    // suite.addTest(new ContentTypePerformanceTest("testContentTXTMatching"));
    // suite.addTest(new ContentTypePerformanceTest("testContentXMLMatching"));
    // suite.addTest(new ContentTypePerformanceTest("testDoTearDown"));
    SessionTestSuite setUp = new SessionTestSuite(PI_RUNTIME_TESTS, "testDoSetUp");
    setUp.addTest(new ContentTypePerformanceTest("testDoSetUp"));
    suite.addTest(setUp);
    TestSuite singleRun = new PerformanceSessionTestSuite(PI_RUNTIME_TESTS, 1, "singleSessionTests");
    singleRun.addTest(new ContentTypePerformanceTest("testContentMatching"));
    singleRun.addTest(new ContentTypePerformanceTest("testNameMatching"));
    singleRun.addTest(new ContentTypePerformanceTest("testIsKindOf"));
    suite.addTest(singleRun);
    TestSuite loadCatalog = new PerformanceSessionTestSuite(PI_RUNTIME_TESTS, 10, "multipleSessionTests");
    loadCatalog.addTest(new ContentTypePerformanceTest("testLoadCatalog"));
    suite.addTest(loadCatalog);
    TestSuite tearDown = new SessionTestSuite(PI_RUNTIME_TESTS, "testDoTearDown");
    tearDown.addTest(new ContentTypePerformanceTest("testDoTearDown"));
    suite.addTest(tearDown);
    return suite;
}
Also used : PerformanceSessionTestSuite(org.eclipse.core.tests.session.PerformanceSessionTestSuite) SessionTestSuite(org.eclipse.core.tests.session.SessionTestSuite) PerformanceSessionTestSuite(org.eclipse.core.tests.session.PerformanceSessionTestSuite) TestSuite(junit.framework.TestSuite) SessionTestSuite(org.eclipse.core.tests.session.SessionTestSuite) PerformanceSessionTestSuite(org.eclipse.core.tests.session.PerformanceSessionTestSuite)

Example 4 with SessionTestSuite

use of org.eclipse.core.tests.session.SessionTestSuite in project eclipse.platform.runtime by eclipse.

the class SampleCrashTest method suite.

public static Test suite() {
    SessionTestSuite sameSession = new SessionTestSuite(CoreTest.PI_HARNESS);
    sameSession.addTest(new SampleCrashTest("test1"));
    sameSession.addCrashTest(new SampleCrashTest("test2"));
    sameSession.addTest(new SampleCrashTest("test3"));
    return sameSession;
}
Also used : SessionTestSuite(org.eclipse.core.tests.session.SessionTestSuite)

Example 5 with SessionTestSuite

use of org.eclipse.core.tests.session.SessionTestSuite in project eclipse.platform.runtime by eclipse.

the class UISampleSessionTest method suite.

public static Test suite() {
    SessionTestSuite suite = new SessionTestSuite(CoreTest.PI_HARNESS);
    suite.setApplicationId(SessionTestSuite.UI_TEST_APPLICATION);
    for (int i = 0; i < 3; i++) suite.addTest(new UISampleSessionTest("testApplicationStartup"));
    return suite;
}
Also used : SessionTestSuite(org.eclipse.core.tests.session.SessionTestSuite)

Aggregations

SessionTestSuite (org.eclipse.core.tests.session.SessionTestSuite)5 TestSuite (junit.framework.TestSuite)1 PerformanceSessionTestSuite (org.eclipse.core.tests.session.PerformanceSessionTestSuite)1