summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-12-17 09:58:53 (EST)
committer Steffen Pingel2012-12-17 09:58:53 (EST)
commit95fb825b312cd2424b194e66b2865e30f9c03929 (patch)
treed6a75f757e1fd8ffd4ebb2a025437de68c4cdd37
parent900af2c55e2aed16023b0c8b02576950137275f9 (diff)
downloadorg.eclipse.mylyn.tasks-95fb825b312cd2424b194e66b2865e30f9c03929.zip
org.eclipse.mylyn.tasks-95fb825b312cd2424b194e66b2865e30f9c03929.tar.gz
org.eclipse.mylyn.tasks-95fb825b312cd2424b194e66b2865e30f9c03929.tar.bz2
skip delete task test when using web mode
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
index 8804f5d..c2e5864 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
@@ -319,6 +319,10 @@ public class TracRepositoryConnectorTest extends TestCase {
public void testDeleteNewTask() throws Exception {
ITracClient client = connector.getClientManager().getTracClient(repository);
+ if (client.getAccessMode() == Version.TRAC_0_9) {
+ // not supported in web mode
+ return;
+ }
TracTicket ticket = TracTestUtil.createTicket(client, "testDeleteNewTask");
String taskId = String.valueOf(ticket.getId());
ITask task = TracTestUtil.createTask(repository, taskId);
@@ -331,4 +335,5 @@ public class TracRepositoryConnectorTest extends TestCase {
assertTrue(e.getMessage().contains("does not exist"));
}
}
+
}