Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-10-15 10:21:45 +0000
committerSteffen Pingel2011-10-15 10:21:45 +0000
commit7aa13e24e28a5e2ab1df64d088e474813042bf1f (patch)
treedfe1d95dfe85d90cf2667aa6c426f24b8d7db695 /org.eclipse.mylyn.trac.tests
parent267013b93313d9c13ac71a24741483d1ebd31c95 (diff)
downloadorg.eclipse.mylyn.tasks-7aa13e24e28a5e2ab1df64d088e474813042bf1f.tar.gz
org.eclipse.mylyn.tasks-7aa13e24e28a5e2ab1df64d088e474813042bf1f.tar.xz
org.eclipse.mylyn.tasks-7aa13e24e28a5e2ab1df64d088e474813042bf1f.zip
RESOLVED - bug 348049: fix tests in web mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348049
Diffstat (limited to 'org.eclipse.mylyn.trac.tests')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientTest.java
index 50f0b0917..6dfec1c42 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientTest.java
@@ -221,6 +221,11 @@ public class TracClientTest extends TestCase {
}
public void testUpdateAttributesChangedTicketFields() throws Exception {
+ if (fixture.getAccessMode() == Version.TRAC_0_9) {
+ // field information is not available in web mode
+ return;
+ }
+
client = fixture.connect(fixture.getRepositoryUrl());
client.updateAttributes(new NullProgressMonitor(), true);
// modify field to bogus value

Back to the top