diff options
Diffstat (limited to 'org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/AllIntroPerformanceTests.java')
-rw-r--r-- | org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/AllIntroPerformanceTests.java | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/AllIntroPerformanceTests.java b/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/AllIntroPerformanceTests.java index da3b354f1..6632e2542 100644 --- a/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/AllIntroPerformanceTests.java +++ b/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/AllIntroPerformanceTests.java @@ -14,26 +14,14 @@ package org.eclipse.ua.tests.intro; import org.eclipse.ua.tests.intro.performance.OpenIntroTest; - -import junit.framework.Test; -import junit.framework.TestSuite; +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +import org.junit.runners.Suite.SuiteClasses; /* * Tests help performance (automated). */ -public class AllIntroPerformanceTests extends TestSuite { - - /* - * Returns the entire test suite. - */ - public static Test suite() { - return new AllIntroPerformanceTests(); - } - - /* - * Constructs a new performance test suite. - */ - public AllIntroPerformanceTests() { - addTest(OpenIntroTest.suite()); - } +@RunWith(Suite.class) +@SuiteClasses({ OpenIntroTest.class }) +public class AllIntroPerformanceTests { } |