Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2016-10-14 02:41:05 -0400
committerFrank Becker2016-10-20 01:23:14 -0400
commitf339874865cb54378817ec11b1e8e70653d3e44e (patch)
tree0d256afd1db5fd7b6420c56ce8fb33e2d2dae1a6
parentaf341c1721d29424d0bd23f6a42c4d748aceb90a (diff)
downloadorg.eclipse.mylyn.reviews-f339874865cb54378817ec11b1e8e70653d3e44e.tar.gz
org.eclipse.mylyn.reviews-f339874865cb54378817ec11b1e8e70653d3e44e.tar.xz
org.eclipse.mylyn.reviews-f339874865cb54378817ec11b1e8e70653d3e44e.zip
503109: create ManagedSuite for junit4
Change-Id: I02cea931d8a5f7bb88605ea972acab36fe8acb7e Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=503109 Signed-off-by: Frank Becker <eclipse@frank-becker.de>
-rw-r--r--org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/AllGerritTests.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/AllGerritTests.java b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/AllGerritTests.java
index 59915ac6c..2d0b3a0b5 100644
--- a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/AllGerritTests.java
+++ b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/AllGerritTests.java
@@ -14,6 +14,7 @@ package org.eclipse.mylyn.gerrit.tests;
import java.util.List;
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 org.eclipse.mylyn.gerrit.tests.core.GerritConnectorTest;
@@ -56,9 +57,9 @@ public class AllGerritTests {
if (CommonTestUtil.fixProxyConfiguration()) {
CommonTestUtil.dumpSystemInfo(System.err);
}
-
+ TestConfiguration testConfiguration = ManagedSuite.getTestConfigurationOrCreateDefault();
TestSuite suite = new ManagedTestSuite(AllGerritTests.class.getName());
- addTests(suite, TestConfiguration.getDefault());
+ addTests(suite, testConfiguration);
return suite;
}

Back to the top