summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-09-11 04:58:15 (EDT)
committer Steffen Pingel2012-09-11 04:58:15 (EDT)
commit9acf521e0fa8b348218acd5d4488866146485144 (patch)
treed365918c8b4244a45563e2992699de89bfbea066
parentf004dada67a0cba1eacd350b99e838e052ed9ac9 (diff)
downloadorg.eclipse.mylyn.tasks-9acf521e0fa8b348218acd5d4488866146485144.zip
org.eclipse.mylyn.tasks-9acf521e0fa8b348218acd5d4488866146485144.tar.gz
org.eclipse.mylyn.tasks-9acf521e0fa8b348218acd5d4488866146485144.tar.bz2
389130: enable tests for Trac 1.0 refs/changes/08/7708/1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=389130 Change-Id: Ib64695d768114f6b7deb3ed4a6bc1fdcce2a4611
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracFixture.java10
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracTestConstants.java2
2 files changed, 10 insertions, 2 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 ce3ae6a..da15447 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
@@ -72,13 +72,19 @@ public class TracFixture extends TestFixture {
public static TracFixture TRAC_0_12_XML_RPC = new TracFixture(Version.XML_RPC, TracTestConstants.TEST_TRAC_012_URL,
"0.12", "XML-RPC");
+ public static TracFixture TRAC_1_0_WEB = new TracFixture(Version.TRAC_0_9, TracTestConstants.TEST_TRAC_10_URL,
+ "1.0", "Web");
+
+ public static TracFixture TRAC_1_0_XML_RPC = new TracFixture(Version.XML_RPC, TracTestConstants.TEST_TRAC_10_URL,
+ "1.0", "XML-RPC");
+
public static TracFixture TRAC_TRUNK_WEB = new TracFixture(Version.TRAC_0_9, TracTestConstants.TEST_TRAC_TRUNK_URL,
"0.12dev-r0", "Web");
public static TracFixture TRAC_TRUNK_XML_RPC = new TracFixture(Version.XML_RPC,
TracTestConstants.TEST_TRAC_TRUNK_URL, "0.13dev-r0", "XML-RPC");
- public static TracFixture DEFAULT = TRAC_0_12_XML_RPC;
+ public static TracFixture DEFAULT = TRAC_1_0_XML_RPC;
//public static TracFixture DEFAULT = TRAC_0_11_WEB;
@@ -86,7 +92,7 @@ public class TracFixture extends TestFixture {
* Standard configurations for running all test against.
*/
public static final TracFixture[] ALL = new TracFixture[] { TRAC_0_10_WEB, TRAC_0_11_WEB, TRAC_0_12_WEB,
- /*TRAC_TRUNK_WEB, */TRAC_0_10_XML_RPC, TRAC_0_11_XML_RPC, TRAC_0_12_XML_RPC, /*TRAC_TRUNK_XML_RPC, TRAC_0_10_XML_RPC_SSL, */};
+ /*TRAC_TRUNK_WEB, */TRAC_0_10_XML_RPC, TRAC_0_11_XML_RPC, TRAC_0_12_XML_RPC, TRAC_1_0_XML_RPC, TRAC_1_0_XML_RPC, /*TRAC_TRUNK_XML_RPC, TRAC_0_10_XML_RPC_SSL, */};
// public static final TracFixture[] ALL = new TracFixture[] { TRAC_TRUNK_XML_RPC };
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracTestConstants.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracTestConstants.java
index be4e3f1..7fe03e2 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracTestConstants.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracTestConstants.java
@@ -30,6 +30,8 @@ public class TracTestConstants {
public static final String TEST_TRAC_012_URL = TestConfiguration.getRepositoryUrl("trac012");
+ public static final String TEST_TRAC_10_URL = TestConfiguration.getRepositoryUrl("trac10");
+
public static final String TEST_TRAC_TRUNK_URL = TestConfiguration.getRepositoryUrl("tractrunk");
public static final String TEST_TRAC_INVALID_URL = TestConfiguration.getRepositoryUrl("doesnotexist");