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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations