use of org.eclipse.core.tests.session.PerformanceSessionTestSuite in project eclipse.platform.runtime by eclipse.
the class MultipleRunsTest2 method suite.
public static Test suite() {
PerformanceSessionTestSuite suite = new PerformanceSessionTestSuite(CoreTest.PI_HARNESS, 10);
suite.addTest(new TestDescriptor(SampleSessionTest.class.getName(), "testApplicationStartup"));
return suite;
}
use of org.eclipse.core.tests.session.PerformanceSessionTestSuite 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;
}
Aggregations