diff options
author | spingel | 2009-09-23 07:13:44 +0000 |
---|---|---|
committer | spingel | 2009-09-23 07:13:44 +0000 |
commit | 6659979febe99142ebe1c9bc9a7f828f6d10dac9 (patch) | |
tree | 08e84595d9680110fc1946383f722aa6a0ae3d8b /org.eclipse.mylyn.bugzilla.tests | |
parent | 1e6cc032fd7e445ddc75eb35f51f6a13c304c8ba (diff) | |
download | org.eclipse.mylyn.tasks-6659979febe99142ebe1c9bc9a7f828f6d10dac9.tar.gz org.eclipse.mylyn.tasks-6659979febe99142ebe1c9bc9a7f828f6d10dac9.tar.xz org.eclipse.mylyn.tasks-6659979febe99142ebe1c9bc9a7f828f6d10dac9.zip |
NEW - bug 290198: move test utilities to a separate plug-in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290198
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests')
2 files changed, 9 insertions, 4 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 afa71866e..a5e2f6a40 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 @@ -31,12 +31,12 @@ public class AllBugzillaHeadlessStandaloneTests { suite.addTestSuite(BugzillaConfigurationTest.class); suite.addTestSuite(BugzillaVersionTest.class); for (BugzillaFixture fixture : BugzillaFixture.ALL) { - TestSuite fixtureSuite = fixture.createSuite(); - fixture.add(fixtureSuite, BugzillaClientTest.class); + fixture.createSuite(suite); + fixture.add(BugzillaClientTest.class); // XXX: re-enable when webservice is used for retrieval of history // fixture.add(fixtureSuite, BugzillaTaskHistoryTest.class); - fixture.add(fixtureSuite, BugzillaRepositoryConnectorStandaloneTest.class); - suite.addTest(fixtureSuite); + fixture.add(BugzillaRepositoryConnectorStandaloneTest.class); + fixture.done(); } return suite; } diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java index 26c0c130a..3dd9e892b 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java @@ -114,6 +114,11 @@ public class BugzillaFixture extends TestFixture { return this; } + @Override + protected TestFixture getDefault() { + return DEFAULT; + } + public String getVersion() { return version; } |