summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-06-24 15:37:57 (EDT)
committer Steffen Pingel2013-06-24 15:37:57 (EDT)
commita792989dcda6d3d2fdb175024d31579f6702dc65 (patch)
treebd3677a2a58809b4685852c71fb6e07c99da4f33
parent8f57dd43bfd41a9a884deb754147560f2c9a70c7 (diff)
downloadorg.eclipse.mylyn.tasks-a792989dcda6d3d2fdb175024d31579f6702dc65.zip
org.eclipse.mylyn.tasks-a792989dcda6d3d2fdb175024d31579f6702dc65.tar.gz
org.eclipse.mylyn.tasks-a792989dcda6d3d2fdb175024d31579f6702dc65.tar.bz2
411142: tests should not run against trac-testrefs/changes/18/14018/1
Change-Id: I8ecbd45e3bb55c3c248e3f78a70ff01c113a9742 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=411142
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracFixture.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracFixture.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracFixture.java
index f80294c..3760f25 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracFixture.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracFixture.java
@@ -60,6 +60,8 @@ public class TracFixture extends TestFixture {
private final Set<String> tags;
+ private final boolean excluded;
+
public TracFixture(Version accessMode, String url, String version, String info) {
super(TracCorePlugin.CONNECTOR_KIND, url);
Assert.isNotNull(accessMode);
@@ -67,6 +69,7 @@ public class TracFixture extends TestFixture {
this.accessMode = accessMode;
this.version = version;
this.tags = new HashSet<String>();
+ this.excluded = info.startsWith("Test");
setInfo("Trac", version, info);
}
@@ -189,4 +192,9 @@ public class TracFixture extends TestFixture {
return getInfo().contains("AllBasicAuth");
}
+ @Override
+ public boolean isExcluded() {
+ return super.isExcluded() || excluded;
+ }
+
}