Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-10-14 13:49:16 +0000
committerSteffen Pingel2011-10-14 13:49:16 +0000
commitbe91008417471f686d8b2f55481159d2173f1ff0 (patch)
tree305030a5028c99f89b15d07e5a8b62db94342b15 /org.eclipse.mylyn.tests.util/src/org/eclipse
parent3123275438c2aa4402b1aaa1763c51846902459d (diff)
downloadorg.eclipse.mylyn.tasks-be91008417471f686d8b2f55481159d2173f1ff0.tar.gz
org.eclipse.mylyn.tasks-be91008417471f686d8b2f55481159d2173f1ff0.tar.xz
org.eclipse.mylyn.tasks-be91008417471f686d8b2f55481159d2173f1ff0.zip
ASSIGNED - bug 359976: rework of some Bugzilla Test
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359976 Change-Id: I3c2f230e4755f2d38709ae4f8c5cdab9a6f7cdd8
Diffstat (limited to 'org.eclipse.mylyn.tests.util/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestFixture.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestFixture.java b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestFixture.java
index 732e2740c..17c694f34 100644
--- a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestFixture.java
+++ b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestFixture.java
@@ -12,6 +12,8 @@
package org.eclipse.mylyn.tests.util;
import java.net.Proxy;
+import java.util.Arrays;
+import java.util.HashSet;
import junit.framework.TestCase;
import junit.framework.TestSuite;
@@ -237,4 +239,10 @@ public abstract class TestFixture {
}
}
+ public boolean isExcluded() {
+ String excludeFixture = System.getProperty("mylyn.test.exclude", "");
+ String[] excludeFixtureArray = excludeFixture.split(",");
+ return new HashSet<String>(Arrays.asList(excludeFixtureArray)).contains(getRepositoryUrl());
+ }
+
}

Back to the top