diff --git a/tests/org.eclipse.ui.tests.forms/META-INF/MANIFEST.MF b/tests/org.eclipse.ui.tests.forms/META-INF/MANIFEST.MF index 944d1b2b124..19f0965ee7e 100755 --- a/tests/org.eclipse.ui.tests.forms/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.ui.tests.forms/META-INF/MANIFEST.MF @@ -2,13 +2,15 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Forms Test Bundle-SymbolicName: org.eclipse.ui.tests.forms;singleton:=true -Bundle-Version: 3.10.500.qualifier +Bundle-Version: 3.10.600.qualifier Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, org.eclipse.test.performance, org.eclipse.ui.forms, org.junit Bundle-Vendor: Eclipse.org +Import-Package: org.junit.jupiter.api, + org.junit.platform.suite.api Bundle-RequiredExecutionEnvironment: JavaSE-17 Eclipse-BundleShape: dir Automatic-Module-Name: org.eclipse.ui.tests.forms diff --git a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsPerformanceTests.java b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsPerformanceTests.java index 88c382a2fa2..d87c1150dea 100755 --- a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsPerformanceTests.java +++ b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsPerformanceTests.java @@ -15,14 +15,15 @@ package org.eclipse.ui.tests.forms; import org.eclipse.ui.tests.forms.performance.FormsPerformanceTest; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; + +import org.junit.platform.suite.api.SelectClasses; +import org.junit.platform.suite.api.Suite; /* * Tests forms performance (automated). */ -@RunWith(Suite.class) -@Suite.SuiteClasses({ FormsPerformanceTest.class }) +@Suite +@SelectClasses({ FormsPerformanceTest.class }) public class AllFormsPerformanceTests { } diff --git a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsTests.java b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsTests.java index d6591b69fe6..27d0d0eec38 100755 --- a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsTests.java +++ b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/AllFormsTests.java @@ -20,14 +20,15 @@ import org.eclipse.ui.tests.forms.layout.AllLayoutTests; import org.eclipse.ui.tests.forms.util.AllUtilityTests; import org.eclipse.ui.tests.forms.widgets.AllWidgetsTests; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; + +import org.junit.platform.suite.api.SelectClasses; +import org.junit.platform.suite.api.Suite; /** * Tests all forms functionality (automated). */ -@RunWith(Suite.class) -@Suite.SuiteClasses({ +@Suite +@SelectClasses({ AllEventsTests.class, // AllLayoutTests.class, // AllUtilityTests.class, // diff --git a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/events/AllEventsTests.java b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/events/AllEventsTests.java index 24e5ed4112c..81b8b22ac8e 100644 --- a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/events/AllEventsTests.java +++ b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/events/AllEventsTests.java @@ -1,11 +1,10 @@ package org.eclipse.ui.tests.forms.events; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; +import org.junit.platform.suite.api.Suite; +import org.junit.platform.suite.api.SelectClasses; -@RunWith(Suite.class) -@SuiteClasses({ ExpansionListenerTest.class, // +@Suite +@SelectClasses({ ExpansionListenerTest.class, // HyperLinkListenerTest.class,// }) public class AllEventsTests { diff --git a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/layout/AllLayoutTests.java b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/layout/AllLayoutTests.java index f40e23abfa7..bcff254142c 100755 --- a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/layout/AllLayoutTests.java +++ b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/layout/AllLayoutTests.java @@ -17,14 +17,15 @@ import org.eclipse.ui.tests.forms.widgets.HintAdjustmentTest; import org.eclipse.ui.tests.forms.widgets.SizeCacheTest; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; + +import org.junit.platform.suite.api.SelectClasses; +import org.junit.platform.suite.api.Suite; /** * Test all form layouts */ -@RunWith(Suite.class) -@Suite.SuiteClasses({ +@Suite +@SelectClasses({ HintAdjustmentTest.class, SizeCacheTest.class, TestColumnWrapLayout.class, diff --git a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/util/AllUtilityTests.java b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/util/AllUtilityTests.java index ed9ed4552a2..54c10dd37e8 100755 --- a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/util/AllUtilityTests.java +++ b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/util/AllUtilityTests.java @@ -14,14 +14,14 @@ *******************************************************************************/ package org.eclipse.ui.tests.forms.util; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; +import org.junit.platform.suite.api.SelectClasses; +import org.junit.platform.suite.api.Suite; /** * Tests forms utility (automated). */ -@RunWith(Suite.class) -@Suite.SuiteClasses({ +@Suite +@SelectClasses({ FormColorsTest.class, FormFontsTest.class, FormImagesTest.class, diff --git a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/widgets/AllWidgetsTests.java b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/widgets/AllWidgetsTests.java index ba5bf2e7fb5..41725826f78 100644 --- a/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/widgets/AllWidgetsTests.java +++ b/tests/org.eclipse.ui.tests.forms/forms/org/eclipse/ui/tests/forms/widgets/AllWidgetsTests.java @@ -13,14 +13,14 @@ *******************************************************************************/ package org.eclipse.ui.tests.forms.widgets; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; +import org.junit.platform.suite.api.SelectClasses; +import org.junit.platform.suite.api.Suite; /** * Tests forms widgets (automated). */ -@RunWith(Suite.class) -@Suite.SuiteClasses({ ExpandableCompositeTest.class, FormTextModelTest.class, ScrolledFormTest.class }) +@Suite +@SelectClasses({ ExpandableCompositeTest.class, FormTextModelTest.class, ScrolledFormTest.class }) public class AllWidgetsTests { }