Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-02-20 18:17:24 +0000
committerAlexander Kurtakov2020-02-20 19:24:30 +0000
commit75d98efcca44f8fda51a401f266d806de58b148d (patch)
tree0500da5ff3758f74e78473f3df78b1c66d22745e /org.eclipse.debug.tests/src/org/eclipse/debug/tests/PerformanceSuite.java
parent5692fb7afd12f93763cb82d05aa276b2b510a903 (diff)
downloadeclipse.platform.debug-75d98efcca44f8fda51a401f266d806de58b148d.tar.gz
eclipse.platform.debug-75d98efcca44f8fda51a401f266d806de58b148d.tar.xz
eclipse.platform.debug-75d98efcca44f8fda51a401f266d806de58b148d.zip
Change-Id: I63e3acd4d926282e5b2c92e63d01004376c108fc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.debug.tests/src/org/eclipse/debug/tests/PerformanceSuite.java')
-rw-r--r--org.eclipse.debug.tests/src/org/eclipse/debug/tests/PerformanceSuite.java32
1 files changed, 7 insertions, 25 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/PerformanceSuite.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/PerformanceSuite.java
index 4d44939fd..74eee6e9b 100644
--- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/PerformanceSuite.java
+++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/PerformanceSuite.java
@@ -13,37 +13,19 @@
*******************************************************************************/
package org.eclipse.debug.tests;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.eclipse.debug.tests.viewer.model.JFaceViewerPerformanceTests;
import org.eclipse.debug.tests.viewer.model.VirtualViewerPerformanceTests;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
/**
* Tests for release builds.
*
* @since 3.6
*/
-public class PerformanceSuite extends TestSuite {
-
- /**
- * Returns the suite. This is required to use the JUnit Launcher.
- *
- * @return the test suite
- */
- public static Test suite() {
- return new PerformanceSuite();
- }
-
- /**
- * Constructs the automated test suite. Adds all tests.
- */
- public PerformanceSuite() {
- // JFace viewer tests
- addTest(new TestSuite(JFaceViewerPerformanceTests.class));
-
- // Virtual viewer tests
- addTest(new TestSuite(VirtualViewerPerformanceTests.class));
- }
-
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ JFaceViewerPerformanceTests.class,
+ VirtualViewerPerformanceTests.class })
+public class PerformanceSuite {
}

Back to the top