Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2007-03-07 19:49:16 +0000
committerspingel2007-03-07 19:49:16 +0000
commitdaf99fc6225a98197fac5e7ee8e10ff8efeb18e0 (patch)
tree32c6d48d25c8d596843fc081ef95d2ceace6a1df /org.eclipse.mylyn.trac.tests
parentf4e7b094d7e917b28b7d3b552f329492188fc60d (diff)
downloadorg.eclipse.mylyn.tasks-daf99fc6225a98197fac5e7ee8e10ff8efeb18e0.tar.gz
org.eclipse.mylyn.tasks-daf99fc6225a98197fac5e7ee8e10ff8efeb18e0.tar.xz
org.eclipse.mylyn.tasks-daf99fc6225a98197fac5e7ee8e10ff8efeb18e0.zip
NEW - bug 175211: Support Trac 0.11
https://bugs.eclipse.org/bugs/show_bug.cgi?id=175211
Diffstat (limited to 'org.eclipse.mylyn.trac.tests')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java32
1 files changed, 21 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java
index 896fa90bc..e55465ec7 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java
@@ -71,10 +71,15 @@ public abstract class AbstractTracClientSearchTest extends AbstractTracClientTes
getTickets();
}
-// public void testGetTicket011() throws Exception {
-// connect011();
-// getTickets();
-// }
+ public void testGetTicket011() throws Exception {
+ if (version == Version.TRAC_0_9) {
+ // XXX need to fix bug 175211
+ return;
+ }
+
+ connect011();
+ getTickets();
+ }
private void getTickets() throws Exception {
TracTicket ticket = repository.getTicket(tickets.get(0).getId());
@@ -107,10 +112,15 @@ public abstract class AbstractTracClientSearchTest extends AbstractTracClientTes
getTicketUmlaute();
}
-// public void testGetTicketUmlaute011() throws Exception {
-// connect011();
-// getTicketUmlaute();
-// }
+ public void testGetTicketUmlaute011() throws Exception {
+ if (version == Version.TRAC_0_9) {
+ // XXX need to fix bug 175211
+ return;
+ }
+
+ connect011();
+ getTicketUmlaute();
+ }
private void getTicketUmlaute() throws Exception {
TracTicket ticket = repository.getTicket(data.htmlEntitiesTicketId);
@@ -141,7 +151,7 @@ public abstract class AbstractTracClientSearchTest extends AbstractTracClientTes
public void testSearchEmpty010() throws Exception {
connect010();
- searchEmpty();
+ searchEmpty();
}
public void testSearchEmpty011() throws Exception {
@@ -203,12 +213,12 @@ public abstract class AbstractTracClientSearchTest extends AbstractTracClientTes
connect010();
searchExactMatch();
}
-
+
public void testSearchExactMatch011() throws Exception {
connect011();
searchExactMatch();
}
-
+
private void searchExactMatch() throws Exception {
TracSearch search = new TracSearch();
search.addFilter("milestone", "milestone1");

Back to the top