Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-01-13 20:50:47 -0500
committermkersten2006-01-13 20:50:47 -0500
commit5ac0da9096e1c4414b2aa10c8692080f1aef68fb (patch)
treef20340f6ab45dc90daf267c167efcc722aed3b89
parentfeedd9dfcebfc8b02303d9b269b05ccf45ac327f (diff)
downloadorg.eclipse.mylyn.tasks-5ac0da9096e1c4414b2aa10c8692080f1aef68fb.tar.gz
org.eclipse.mylyn.tasks-5ac0da9096e1c4414b2aa10c8692080f1aef68fb.tar.xz
org.eclipse.mylyn.tasks-5ac0da9096e1c4414b2aa10c8692080f1aef68fb.zip
Completed: active context not cleared on deactivation
-rw-r--r--org.eclipse.mylyn.help.ui/doc/images/0.4.7/bugzilla-encoding.gifbin0 -> 2517 bytes
-rw-r--r--org.eclipse.mylyn.help.ui/doc/images/0.4.7/tasklist-repositories.gifbin0 -> 7517 bytes
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskDataExportTest.java11
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java14
4 files changed, 4 insertions, 21 deletions
diff --git a/org.eclipse.mylyn.help.ui/doc/images/0.4.7/bugzilla-encoding.gif b/org.eclipse.mylyn.help.ui/doc/images/0.4.7/bugzilla-encoding.gif
new file mode 100644
index 000000000..c4c8cb69c
--- /dev/null
+++ b/org.eclipse.mylyn.help.ui/doc/images/0.4.7/bugzilla-encoding.gif
Binary files differ
diff --git a/org.eclipse.mylyn.help.ui/doc/images/0.4.7/tasklist-repositories.gif b/org.eclipse.mylyn.help.ui/doc/images/0.4.7/tasklist-repositories.gif
new file mode 100644
index 000000000..f47a5916b
--- /dev/null
+++ b/org.eclipse.mylyn.help.ui/doc/images/0.4.7/tasklist-repositories.gif
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskDataExportTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskDataExportTest.java
index 0219c2201..870026abc 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskDataExportTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskDataExportTest.java
@@ -1,7 +1,6 @@
package org.eclipse.mylar.tasklist.tests;
import java.io.File;
-import java.net.MalformedURLException;
import java.net.URL;
import org.eclipse.mylar.bugzilla.core.BugzillaPlugin;
@@ -42,18 +41,10 @@ public class TaskDataExportTest extends AbstractContextTest {
private TaskRepository repository;
- public TaskDataExportTest() {
- try {
- repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, new URL(IBugzillaConstants.ECLIPSE_BUGZILLA_URL));
- } catch (MalformedURLException e) {
- fail();
- e.printStackTrace();
- }
- }
-
protected void setUp() throws Exception {
super.setUp();
+ repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, new URL(IBugzillaConstants.ECLIPSE_BUGZILLA_URL));
MylarTaskListPlugin.getRepositoryManager().addRepository(repository);
// Create the export wizard
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
index 3d45093c8..f339aba75 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
@@ -13,7 +13,6 @@
*/
package org.eclipse.mylar.tasklist.tests;
-import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
@@ -43,20 +42,13 @@ public class TaskListManagerTest extends TestCase {
private TaskRepository repository;
- public TaskListManagerTest() {
- try {
- repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, new URL(IBugzillaConstants.ECLIPSE_BUGZILLA_URL));
- } catch (MalformedURLException e) {
- fail();
- e.printStackTrace();
- }
- }
-
- @Override
+ @Override
protected void setUp() throws Exception {
super.setUp();
manager = MylarTaskListPlugin.getTaskListManager();
manager.createNewTaskList();
+
+ repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, new URL(IBugzillaConstants.ECLIPSE_BUGZILLA_URL));
MylarTaskListPlugin.getRepositoryManager().addRepository(repository);
}

Back to the top