Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-02-10 17:47:14 +0000
committerAlexander Kurtakov2020-02-10 17:47:14 +0000
commit19f0153422b59ea5e2c338c0289f41c15b2e48fa (patch)
tree06d9782c0c762dc54ad88822612a0c0d963758ce /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sat4j
parent92f0e0b081f2c514836aa969aaa514a716a22332 (diff)
downloadrt.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/sat4j')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sat4j/smoke/AllTests.java16
1 files changed, 7 insertions, 9 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sat4j/smoke/AllTests.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sat4j/smoke/AllTests.java
index 792408251..e10f3791b 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sat4j/smoke/AllTests.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sat4j/smoke/AllTests.java
@@ -7,19 +7,17 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.p2.tests.sat4j.smoke;
-import junit.framework.*;
-
-public class AllTests extends TestCase {
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
- public static Test suite() {
- TestSuite suite = new TestSuite(AllTests.class.getName());
- suite.addTestSuite(SmokeTestSAT4J.class);
- return suite;
- }
+@RunWith(Suite.class)
+@Suite.SuiteClasses({ SmokeTestSAT4J.class })
+public class AllTests {
+ // test suite
}

Back to the top