diff options
author | Alexander Kurtakov | 2020-02-10 17:47:14 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-02-10 17:47:14 +0000 |
commit | 19f0153422b59ea5e2c338c0289f41c15b2e48fa (patch) | |
tree | 06d9782c0c762dc54ad88822612a0c0d963758ce /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllMetaReqTests.java | |
parent | 92f0e0b081f2c514836aa969aaa514a716a22332 (diff) | |
download | rt.equinox.p2-19f0153422b59ea5e2c338c0289f41c15b2e48fa.tar.gz rt.equinox.p2-19f0153422b59ea5e2c338c0289f41c15b2e48fa.tar.xz rt.equinox.p2-19f0153422b59ea5e2c338c0289f41c15b2e48fa.zip |
Convert test suites to JUnit 4 style.
Change-Id: I10cc6714b28beb9f483d0fe92913b82cc7b65146
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllMetaReqTests.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllMetaReqTests.java | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllMetaReqTests.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllMetaReqTests.java index 73ff7dab1..38a1cb8b2 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllMetaReqTests.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllMetaReqTests.java @@ -13,15 +13,12 @@ *******************************************************************************/ package org.eclipse.equinox.p2.tests.planner; -import junit.framework.*; - -public class AllMetaReqTests extends TestCase { - public static Test suite() { - TestSuite suite = new TestSuite(AllMetaReqTests.class.getName()); - suite.addTestSuite(AgentPlanTestInExternalInstance.class); - suite.addTestSuite(AgentPlanTestInExternalInstanceForCohostedMode.class); - suite.addTestSuite(AgentPlanTestInRunningInstance.class); - return suite; - } +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +@RunWith(Suite.class) +@Suite.SuiteClasses({ AgentPlanTestInExternalInstance.class, AgentPlanTestInExternalInstanceForCohostedMode.class, + AgentPlanTestInRunningInstance.class }) +public class AllMetaReqTests { + // test suite } |