Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-05-07 17:13:45 +0000
committerrelves2007-05-07 17:13:45 +0000
commitfd0164fb41340b9fb94da4081630cc882936df96 (patch)
tree84c518da6344520591cc892436c22ea365bb0b5b /org.eclipse.mylyn.bugzilla.tests
parent9543279d90234b8ea780bff796a6fe686820a929 (diff)
downloadorg.eclipse.mylyn.tasks-fd0164fb41340b9fb94da4081630cc882936df96.tar.gz
org.eclipse.mylyn.tasks-fd0164fb41340b9fb94da4081630cc882936df96.tar.xz
org.eclipse.mylyn.tasks-fd0164fb41340b9fb94da4081630cc882936df96.zip
NEW - bug 181038: [api] Pull RepositoryTaskData from AbstractRepositoryTask and fix synch of data
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181038
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java
index 3b6714201..084b92825 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java
@@ -75,7 +75,7 @@ public class BugzillaTaskTest extends TestCase {
resolvedAttribute.setValue(IBugzillaConstants.VALUE_STATUS_RESOLVED);
taskData.addAttribute(BugzillaReportElement.BUG_STATUS.getKeyString(), resolvedAttribute);
AbstractRepositoryConnector connector = TasksUiPlugin.getRepositoryManager().getRepositoryConnector(BugzillaCorePlugin.REPOSITORY_KIND);
- connector.updateTask(new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, "http://eclipse.org"), task, taskData);
+ connector.updateTaskFromTaskData(new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, "http://eclipse.org"), task, taskData);
assertNotNull(task.getCompletionDate());
assertEquals(taskData.getAttributeFactory()
.getDateForAttributeType(BugzillaReportElement.BUG_WHEN.getKeyString(), nowTimeStamp), task

Back to the top