Skip to content

Commit 3e0779e

Browse files
committed
Convert GenericEditorTestSuite to JUnit 5
1 parent f70ee0a commit 3e0779e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ Eclipse-BundleShape: dir
2727
Bundle-ActivationPolicy: lazy
2828
Automatic-Module-Name: org.eclipse.ui.genericeditor.tests
2929
Require-Capability: eclipse.swt;filter:="(image.format=svg)"
30+
Import-Package: org.junit.platform.suite.api;version="[1.13.0,2.0.0)"

tests/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/GenericEditorTestSuite.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2016-2017 Red Hat Inc. and others.
2+
* Copyright (c) 2016, 2025 Red Hat Inc. and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -14,12 +14,11 @@
1414
*******************************************************************************/
1515
package org.eclipse.ui.genericeditor.tests;
1616

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

21-
@RunWith(Suite.class)
22-
@SuiteClasses({
20+
@Suite
21+
@SelectClasses({
2322
BasicEditionTest.class,
2423
CompletionTest.class,
2524
ContextInfoTest.class,

0 commit comments

Comments
 (0)