Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-02-07 22:24:18 +0000
committerSteffen Pingel2012-02-07 22:24:18 +0000
commite314e2a4c15b25504714d0e9a3d5b9968521e294 (patch)
tree61dad1a27935f394a902aab93827d24f87faaa62 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn
parentc52a7e95d12787bde8baa76ff5a5a41f4abcbd50 (diff)
downloadorg.eclipse.mylyn.tasks-e314e2a4c15b25504714d0e9a3d5b9968521e294.tar.gz
org.eclipse.mylyn.tasks-e314e2a4c15b25504714d0e9a3d5b9968521e294.tar.xz
org.eclipse.mylyn.tasks-e314e2a4c15b25504714d0e9a3d5b9968521e294.zip
RESOLVED - bug 369697: synchronize handling of ticket fields
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369697
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
index ef44eab15..aefd83b86 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
@@ -268,11 +268,14 @@ public class TracRepositoryConnectorTest extends TestCase {
TracTicket ticket = new TracTicket(456);
ticket.putBuiltinValue(Key.SUMMARY, "mysummary");
TaskData taskData = taskDataHandler.createTaskDataFromTicket(client, repository, ticket, null);
+ System.err.println(taskData.getRoot());
ITask task = TasksUi.getRepositoryModel().createTask(repository, taskData.getTaskId());
task.setPriority("P2");
// create task from task data
+ System.err.println(Arrays.asList(client.getPriorities()));
+ System.err.println(client.getTicketFieldByName("priority"));
connector.updateTaskFromTaskData(repository, task, taskData);
assertEquals(repository.getRepositoryUrl() + ITracClient.TICKET_URL + "456", task.getUrl());
assertEquals("456", task.getTaskKey());

Back to the top