Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaHeadlessStandaloneTests.java')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaHeadlessStandaloneTests.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaHeadlessStandaloneTests.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaHeadlessStandaloneTests.java
index 3a953193e..ed07e4278 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaHeadlessStandaloneTests.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaHeadlessStandaloneTests.java
@@ -12,6 +12,8 @@
package org.eclipse.mylyn.bugzilla.tests;
+import java.util.List;
+
import junit.framework.Test;
import junit.framework.TestSuite;
@@ -49,12 +51,9 @@ public class AllBugzillaHeadlessStandaloneTests {
// network tests
suite.addTestSuite(BugzillaTaskCompletionTest.class);
// tests that run against all repository versions
- if (configuration.isDefaultOnly()) {
- addTests(suite, BugzillaFixture.DEFAULT);
- } else {
- for (BugzillaFixture fixture : BugzillaFixture.ALL) {
- addTests(suite, fixture);
- }
+ List<BugzillaFixture> fixtures = configuration.discover(BugzillaFixture.class, "bugzilla");
+ for (BugzillaFixture fixture : fixtures) {
+ addTests(suite, fixture);
}
}
return suite;

Back to the top