Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tests.util/src')
-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