Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2006-12-07 20:47:31 -0500
committerspingel2006-12-07 20:47:31 -0500
commit95010f97d59fc875e7f05010ab5b0e65e1926e2b (patch)
tree61cf5d6afedfad2695be11008e1b9b823ca30dcd /org.eclipse.mylyn.trac.tests
parentd87a3c50b877f4ddceb2c299c3aeee33d342e0cd (diff)
downloadorg.eclipse.mylyn.tasks-95010f97d59fc875e7f05010ab5b0e65e1926e2b.tar.gz
org.eclipse.mylyn.tasks-95010f97d59fc875e7f05010ab5b0e65e1926e2b.tar.xz
org.eclipse.mylyn.tasks-95010f97d59fc875e7f05010ab5b0e65e1926e2b.zip
RESOLVED - bug 167193: Task ID is displayed twice in Trac editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167193
Diffstat (limited to 'org.eclipse.mylyn.trac.tests')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java
index 8ad84f949..279a358f7 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java
@@ -224,7 +224,8 @@ public class TracRepositoryConnectorTest extends TestCase {
connector.updateTaskDetails(task, ticket, false);
assertEquals(Constants.TEST_TRAC_010_URL + ITracClient.TICKET_URL + "123", task.getUrl());
- assertEquals("123: mysummary", task.getSummary());
+ assertEquals("123", task.getIdLabel());
+ assertEquals("mysummary", task.getSummary());
assertEquals("P3", task.getPriority());
assertEquals("mytype", task.getTaskKind());
}
@@ -239,7 +240,8 @@ public class TracRepositoryConnectorTest extends TestCase {
connector.updateTaskDetails(task, ticket, false);
assertEquals(Constants.TEST_TRAC_010_URL + ITracClient.TICKET_URL + "456", task.getUrl());
- assertEquals("456: mysummary", task.getSummary());
+ assertEquals("456", task.getIdLabel());
+ assertEquals("mysummary", task.getSummary());
assertEquals("P3", task.getPriority());
assertEquals(null, task.getTaskKind());
}

Back to the top