Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2016-10-14 06:40:41 +0000
committerGerrit Code Review @ Eclipse.org2016-10-21 16:56:27 +0000
commit3630c390facf5251fbc3fc4e7c2b17bae70a402a (patch)
tree2cc6606c6e78889b5cc9d1402819150a67e7192a /org.eclipse.mylyn.bugzilla.tests
parent6acaf16af156b3fea92e8e0c4523ae6e3e1cc3ef (diff)
downloadorg.eclipse.mylyn.tasks-3630c390facf5251fbc3fc4e7c2b17bae70a402a.tar.gz
org.eclipse.mylyn.tasks-3630c390facf5251fbc3fc4e7c2b17bae70a402a.tar.xz
org.eclipse.mylyn.tasks-3630c390facf5251fbc3fc4e7c2b17bae70a402a.zip
503109: create ManagedSuite for junit4
Change-Id: I439c781fdce1524b69450360b8d67878507cf3ef Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=503109
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java
index 556e95b80..82ef5290e 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java
@@ -14,9 +14,6 @@ package org.eclipse.mylyn.bugzilla.tests;
import java.util.List;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
import org.eclipse.mylyn.bugzilla.tests.core.BugzillaXmlRpcClientTest;
import org.eclipse.mylyn.bugzilla.tests.support.BugzillaFixture;
import org.eclipse.mylyn.bugzilla.tests.ui.BugzillaHyperlinkDetectorTest;
@@ -25,9 +22,13 @@ import org.eclipse.mylyn.bugzilla.tests.ui.BugzillaSearchPageTest;
import org.eclipse.mylyn.bugzilla.tests.ui.BugzillaTaskEditorTest;
import org.eclipse.mylyn.bugzilla.tests.ui.BugzillaTaskHyperlinkDetectorTest;
import org.eclipse.mylyn.commons.sdk.util.CommonTestUtil;
+import org.eclipse.mylyn.commons.sdk.util.ManagedSuite;
import org.eclipse.mylyn.commons.sdk.util.ManagedTestSuite;
import org.eclipse.mylyn.commons.sdk.util.TestConfiguration;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
/**
* @author Mik Kersten
* @author Steffen Pingel
@@ -41,7 +42,8 @@ public class AllBugzillaTests {
}
TestSuite suite = new ManagedTestSuite(AllBugzillaTests.class.getName());
- addTests(suite, TestConfiguration.getDefault());
+ TestConfiguration testConfiguration = ManagedSuite.getTestConfigurationOrCreateDefault();
+ addTests(suite, testConfiguration);
return suite;
}

Back to the top