Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2012-08-04 06:54:23 -0400
committerFrank Becker2012-08-04 06:54:23 -0400
commit2398867719ca205a8b39b00bbaecef5b3eb2d995 (patch)
treed8f1689e6c48f49af11f6e952f0c201daf78a8a0 /org.eclipse.mylyn.bugzilla.tests/src
parentfe7be2708d01b7e224d724be593ca552a703788b (diff)
downloadorg.eclipse.mylyn.tasks-2398867719ca205a8b39b00bbaecef5b3eb2d995.tar.gz
org.eclipse.mylyn.tasks-2398867719ca205a8b39b00bbaecef5b3eb2d995.tar.xz
org.eclipse.mylyn.tasks-2398867719ca205a8b39b00bbaecef5b3eb2d995.zip
REOPENED - bug 386143: upgrade test servers to Bugzilla 4.2.2, 4.0.7,
and 3.6.10 https://bugs.eclipse.org/bugs/show_bug.cgi?id=386143
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests/src')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java5
1 files changed, 4 insertions, 1 deletions
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 1682854ba..b81b0d5a0 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
@@ -166,7 +166,10 @@ public class BugzillaFixture extends TestFixture {
public BugzillaClient client(AbstractWebLocation location, String encoding) throws CoreException {
TaskRepository taskRepository = new TaskRepository(BugzillaCorePlugin.CONNECTOR_KIND, location.getUrl());
- String filepath = "testdata/descriptor/" + getInfo().replaceAll(" ", "_") + "Transition.txt";
+ String repositoryURL = taskRepository.getUrl();
+ String filepath = "testdata/repository"
+ + repositoryURL.substring(repositoryURL.indexOf(TestConfiguration.getServerName())
+ + TestConfiguration.getServerName().length()) + "/DesciptorFile.txt";
try {
File file = BugzillaFixture.getFile(filepath);
if (file != null) {

Back to the top