Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-08-11 07:56:13 +0000
committerAlexander Kurtakov2018-08-11 19:21:17 +0000
commit6b5371284d8303c3c632a7f4bee5711ff4f28fb3 (patch)
tree86963170f73ac9da0cafa89352406be90a9bedc5 /bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/repohandling/AllTests.java
parent3ad54b83b387506d8bb3c87feca32fcb9b9219c6 (diff)
downloadrt.equinox.p2-6b5371284d8303c3c632a7f4bee5711ff4f28fb3.tar.gz
rt.equinox.p2-6b5371284d8303c3c632a7f4bee5711ff4f28fb3.tar.xz
rt.equinox.p2-6b5371284d8303c3c632a7f4bee5711ff4f28fb3.zip
Convert test suites to junit4 in p2.tests.ui.I20180812-2000
Added all tests and marked them as ignored. Updated the formatter to the standard Eclipse one. Change-Id: Ia261f46edeeea15fcfae93dd7fe6f86f66a10e62 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/repohandling/AllTests.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/repohandling/AllTests.java16
1 files changed, 7 insertions, 9 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/repohandling/AllTests.java b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/repohandling/AllTests.java
index cd87a077b..24a28a367 100644
--- a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/repohandling/AllTests.java
+++ b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/repohandling/AllTests.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2009 IBM Corporation and others.
+ * Copyright (c) 2008, 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -10,16 +10,14 @@
*******************************************************************************/
package org.eclipse.equinox.p2.tests.ui.repohandling;
-import junit.framework.*;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
/**
* Performs all UI action tests.
*/
-public class AllTests extends TestCase {
-
- public static Test suite() {
- TestSuite suite = new TestSuite(AllTests.class.getName());
- suite.addTestSuite(SiteImportExportTest.class);
- return suite;
- }
+@RunWith(Suite.class)
+@Suite.SuiteClasses({ SiteImportExportTest.class })
+public class AllTests {
+// test suite
}

Back to the top