Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-06-01 14:30:40 -0400
committerrelves2006-06-01 14:30:40 -0400
commit21db8751ba871aa031829f6f81668a8eaa2b2686 (patch)
tree0bb0c3d17b4331481e5e12e12a0e9f84667d5d4b
parentfe1810d0c4e85af7f865520f11ff5c7b2e2ffa4f (diff)
downloadorg.eclipse.mylyn-21db8751ba871aa031829f6f81668a8eaa2b2686.tar.gz
org.eclipse.mylyn-21db8751ba871aa031829f6f81668a8eaa2b2686.tar.xz
org.eclipse.mylyn-21db8751ba871aa031829f6f81668a8eaa2b2686.zip
Progress on: 132066: streamline repository task synchronization
https://bugs.eclipse.org/bugs/show_bug.cgi?id=132066
-rw-r--r--org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/ChangeDataDirTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/ChangeDataDirTest.java b/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/ChangeDataDirTest.java
index fa8fc40..3167d46 100644
--- a/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/ChangeDataDirTest.java
+++ b/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/ChangeDataDirTest.java
@@ -114,19 +114,19 @@ public class ChangeDataDirTest extends TestCase {
BugzillaTask bugzillaTask = new BugzillaTask(handle, "bug1", true);
addBugzillaTask(bugzillaTask);
Date refreshDate = new Date();
- bugzillaTask.setLastOpened(refreshDate);
+ bugzillaTask.setLastSynchronized(refreshDate);
BugzillaTask readTaskBeforeMove = (BugzillaTask) manager.getTaskList().getTask(handle);
assertNotNull(readTaskBeforeMove);
- assertEquals(refreshDate, readTaskBeforeMove.getLastOpened());
+ assertEquals(refreshDate, readTaskBeforeMove.getLastSynchronized());
MylarTaskListPlugin.getDefault().getTaskListSaveManager().copyDataDirContentsTo(newDataDir);
MylarPlugin.getDefault().setDataDirectory(newDataDir);
BugzillaTask readTaskAfterMove = (BugzillaTask) manager.getTaskList().getTask(handle);
assertNotNull(readTaskAfterMove);
- // HACK: shoudl be checking date equality, but millis seem to differ?
- assertEquals(refreshDate.toString(), readTaskAfterMove.getLastOpened().toString());
+ // HACK: should be checking date equality, but millis seem to differ?
+ assertEquals(refreshDate.toString(), readTaskAfterMove.getLastSynchronized().toString());
}
private void addBugzillaTask(BugzillaTask newTask) {

Back to the top