summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-06-24 15:37:57 (EDT)
committer Steffen Pingel2013-06-24 15:52:36 (EDT)
commit6a27e8dc89e5548ee1c7cac2ce84518ad529f745 (patch)
treee41a44d22007fcebaee7ead9c60327d08e0a7a2d
parent30174f2aa1289d3bbee0fa97b045e6966d2e165a (diff)
downloadorg.eclipse.mylyn.tasks-6a27e8dc89e5548ee1c7cac2ce84518ad529f745.zip
org.eclipse.mylyn.tasks-6a27e8dc89e5548ee1c7cac2ce84518ad529f745.tar.gz
org.eclipse.mylyn.tasks-6a27e8dc89e5548ee1c7cac2ce84518ad529f745.tar.bz2
411142: tests should not run against trac-test
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;
+ }
+
}