Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-12-17 14:58:53 +0000
committerSteffen Pingel2012-12-17 14:58:53 +0000
commit95fb825b312cd2424b194e66b2865e30f9c03929 (patch)
treed6a75f757e1fd8ffd4ebb2a025437de68c4cdd37 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn
parent900af2c55e2aed16023b0c8b02576950137275f9 (diff)
downloadorg.eclipse.mylyn.tasks-95fb825b312cd2424b194e66b2865e30f9c03929.tar.gz
org.eclipse.mylyn.tasks-95fb825b312cd2424b194e66b2865e30f9c03929.tar.xz
org.eclipse.mylyn.tasks-95fb825b312cd2424b194e66b2865e30f9c03929.zip
skip delete task test when using web mode
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn')
-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 8804f5db8..c2e5864a9 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"));
}
}
+
}

Back to the top