Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-03-12 22:09:48 -0500
committermkersten2006-03-12 22:09:48 -0500
commit5b35bb9b7a599d8e1c7a02ef370271ae3adb9e37 (patch)
tree2b9d294b22389dc7b674e005ea552558470fb242
parent189982002ca2b8e181f60dd21ebbff0c085bb44d (diff)
downloadorg.eclipse.mylyn-5b35bb9b7a599d8e1c7a02ef370271ae3adb9e37.tar.gz
org.eclipse.mylyn-5b35bb9b7a599d8e1c7a02ef370271ae3adb9e37.tar.xz
org.eclipse.mylyn-5b35bb9b7a599d8e1c7a02ef370271ae3adb9e37.zip
Progress on: 129625: make task list backed by single task container mechanism
https://bugs.eclipse.org/bugs/show_bug.cgi?id=129625
-rw-r--r--org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/ChangeDataDirTest.java2
-rw-r--r--org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/misc/BugzillaSearchPluginTest.java4
2 files changed, 3 insertions, 3 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 5ea83aa..0553ba2 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
@@ -129,7 +129,7 @@ public class ChangeDataDirTest extends TestCase {
private void addBugzillaTask(BugzillaTask newTask) {
// AbstractRepositoryClient client = MylarTaskListPlugin.getRepositoryManager().getRepositoryClient(BugzillaPlugin.REPOSITORY_KIND);
// client.addTaskToArchive(newTask);
- MylarTaskListPlugin.getTaskListManager().getTaskList().addTaskToArchive(newTask);
+ MylarTaskListPlugin.getTaskListManager().getTaskList().internalAddTask(newTask);
// BugzillaTaskHandler handler = new BugzillaTaskHandler();
// handler.addTaskToArchive(newTask);
MylarTaskListPlugin.getTaskListManager().getTaskList().moveToRoot(newTask);
diff --git a/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/misc/BugzillaSearchPluginTest.java b/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/misc/BugzillaSearchPluginTest.java
index f18dca9..1178195 100644
--- a/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/misc/BugzillaSearchPluginTest.java
+++ b/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/misc/BugzillaSearchPluginTest.java
@@ -229,7 +229,7 @@ public class BugzillaSearchPluginTest extends TestCase {
// TaskList t = MylarTaskListPlugin.getTaskListManager().getTaskList();
// MylarTaskListPlugin.getTaskListManager().setTaskList(t);
TaskListManager manager = MylarTaskListPlugin.getTaskListManager();
- TaskCategory cat = new TaskCategory("Testing Category");
+ TaskCategory cat = new TaskCategory("Testing Category", manager.getTaskList());
manager.getTaskList().addCategory(cat);
BugzillaTask bugTask1 = new BugzillaTask(bugPrefix + 94185, "<bugzilla info>", true);
@@ -296,7 +296,7 @@ public class BugzillaSearchPluginTest extends TestCase {
// TaskList t = MylarTaskListPlugin.getTaskListManager().getTaskList();
// MylarTaskListPlugin.getTaskListManager().setTaskList(t);
TaskListManager manager = MylarTaskListPlugin.getTaskListManager();
- TaskCategory cat = new TaskCategory("Testing Category");
+ TaskCategory cat = new TaskCategory("Testing Category", manager.getTaskList());
manager.getTaskList().addCategory(cat);
BugzillaTask bugTask1 = new BugzillaTask(bugPrefix + 94185, "<bugzilla info>", true);
manager.getTaskList().moveToCategory(cat, bugTask1);

Back to the top