Skip to content

Commit fcc3fcc

Browse files
vogellaakurtakov
authored andcommitted
Migrate org.eclipse.ui.tests.rcp from JUnit4 to JUnit5
- Convert @RunWith(Suite.class) to @suite - Convert @Suite.SuiteClasses to @SelectClasses - Update imports from org.junit.runners to org.junit.platform.suite.api - Add org.junit.jupiter.api and org.junit.platform.suite.api to Import-Package
1 parent 144c132 commit fcc3fcc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/org.eclipse.ui.tests.rcp/Eclipse RCP Tests/org/eclipse/ui/tests/rcp/performance/RCPPerformanceTestSuite.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
*******************************************************************************/
1515
package org.eclipse.ui.tests.rcp.performance;
1616

17-
import org.junit.runner.RunWith;
18-
import org.junit.runners.Suite;
17+
import org.junit.platform.suite.api.SelectClasses;
18+
import org.junit.platform.suite.api.Suite;
1919

2020
/**
2121
* @since 3.1
2222
*/
23-
@RunWith(Suite.class)
24-
@Suite.SuiteClasses({PlatformUIPerfTest.class , EmptyWorkbenchPerfTest.class})
23+
@Suite
24+
@SelectClasses({PlatformUIPerfTest.class , EmptyWorkbenchPerfTest.class})
2525
public class RCPPerformanceTestSuite {
2626

2727
}

tests/org.eclipse.ui.tests.rcp/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.ui.tests.rcp; singleton:=true
5-
Bundle-Version: 3.6.600.qualifier
5+
Bundle-Version: 3.6.700.qualifier
66
Bundle-Vendor: %providerName
77
Require-Bundle: org.eclipse.core.runtime,
88
org.eclipse.ui,

0 commit comments

Comments
 (0)