Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-03-13 15:48:01 -0400
committerspingel2009-03-13 15:48:01 -0400
commit060e1d82151b35fefb99cf417d78ee1ea0410b05 (patch)
treec2579e55bd81a44870c709d638479aa53e405511
parente9368fc385ec318281c90eeeb0c720046b371225 (diff)
downloadorg.eclipse.mylyn.tasks-060e1d82151b35fefb99cf417d78ee1ea0410b05.tar.gz
org.eclipse.mylyn.tasks-060e1d82151b35fefb99cf417d78ee1ea0410b05.tar.xz
org.eclipse.mylyn.tasks-060e1d82151b35fefb99cf417d78ee1ea0410b05.zip
RESOLVED - bug 260472: unsaved changed summary of local task is discarded if task is moved
https://bugs.eclipse.org/bugs/show_bug.cgi?id=260472
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskPlanningEditorTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskPlanningEditorTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskPlanningEditorTest.java
index d899abf08..6178b9846 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskPlanningEditorTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskPlanningEditorTest.java
@@ -98,15 +98,15 @@ public class TaskPlanningEditorTest extends TestCase {
assertTrue(page.getActiveEditor() instanceof TaskEditor);
TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
assertTrue(taskEditor.getActivePageInstance() instanceof TaskPlanningEditor);
+
TaskPlanningEditor editor = (TaskPlanningEditor) taskEditor.getActivePageInstance();
assertFalse(editor.isDirty());
editor.setDescription(NEW_DESCRIPTION);
assertTrue(editor.isDirty());
+
task.setSummary(NEW_DESCRIPTION + "2");
editor.updateTaskData(task);
- //assertEquals(NEW_DESCRIPTION+"2", editor.getFormTitle());
- assertEquals(NEW_DESCRIPTION + "2", editor.getDescription());
+ assertEquals(NEW_DESCRIPTION, editor.getDescription());
assertTrue(editor.isDirty());
}
-
}

Back to the top