Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-09-08 05:36:28 +0000
committerspingel2009-09-08 05:36:28 +0000
commitc1bae55dd16c41155f72c810057e3c0870572b87 (patch)
tree526e1e1e52463286f4ba8eb4c3bf5c0eae2a78e7 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac
parent68974693c26399117d480ef0977de966ae02cf49 (diff)
downloadorg.eclipse.mylyn.tasks-c1bae55dd16c41155f72c810057e3c0870572b87.tar.gz
org.eclipse.mylyn.tasks-c1bae55dd16c41155f72c810057e3c0870572b87.tar.xz
org.eclipse.mylyn.tasks-c1bae55dd16c41155f72c810057e3c0870572b87.zip
NEW - bug 288210: Invalid resolution after importing a ticket previously created in Trac Web Interface
https://bugs.eclipse.org/bugs/show_bug.cgi?id=288210
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerXmlRpcTest.java1
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TracFixture.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerXmlRpcTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerXmlRpcTest.java
index d670d690f..a6d5aa452 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerXmlRpcTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracTaskDataHandlerXmlRpcTest.java
@@ -338,6 +338,7 @@ public class TracTaskDataHandlerXmlRpcTest extends TestCase {
taskDataHandler.initializeTaskData(repository, taskData, mapping, new NullProgressMonitor());
// initializeTaskData() should ignore the initialization data
TaskMapper mapper = new TracTaskMapper(taskData, null);
+ assertEquals(null, mapper.getResolution());
assertEquals("", mapper.getSummary());
assertEquals("", mapper.getDescription());
// check for default values
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 6d05b5aa6..f1ce19e9b 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
@@ -64,9 +64,9 @@ public class TracFixture extends TestFixture {
public static TracFixture TRAC_0_11_XML_RPC = new TracFixture(Version.XML_RPC, TracTestConstants.TEST_TRAC_011_URL,
"0.11", "XML-RPC");
- //public static TracFixture DEFAULT = TRAC_0_11_XML_RPC;
+ public static TracFixture DEFAULT = TRAC_0_11_XML_RPC;
- public static TracFixture DEFAULT = TRAC_0_11_WEB;
+ //public static TracFixture DEFAULT = TRAC_0_11_WEB;
public static final TracFixture[] ALL = new TracFixture[] { TRAC_0_9_WEB, TRAC_0_10_WEB, TRAC_0_11_WEB,
TRAC_0_10_XML_RPC, TRAC_0_11_XML_RPC, };

Back to the top