Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-02-06 04:13:53 +0000
committerspingel2011-02-06 04:13:53 +0000
commitd042e61514bb00c817a00d4831201b6d2e4539d3 (patch)
tree945f40fe5d677cb4068a51e121b0606f47d21398 /org.eclipse.mylyn.tasks.tests
parentcfa82558433e8943a1a6d1837acc4310a0b23414 (diff)
downloadorg.eclipse.mylyn.tasks-d042e61514bb00c817a00d4831201b6d2e4539d3.tar.gz
org.eclipse.mylyn.tasks-d042e61514bb00c817a00d4831201b6d2e4539d3.tar.xz
org.eclipse.mylyn.tasks-d042e61514bb00c817a00d4831201b6d2e4539d3.zip
bug 318271: remove UI dependency
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318271
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/data/TaskDataExternalizerTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/data/TaskDataExternalizerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/data/TaskDataExternalizerTest.java
index 4a3f58e0b..d0abf799a 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/data/TaskDataExternalizerTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/data/TaskDataExternalizerTest.java
@@ -23,7 +23,6 @@ import org.eclipse.mylyn.internal.tasks.core.data.TaskDataState;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.core.data.TaskAttributeMapper;
import org.eclipse.mylyn.tasks.core.data.TaskData;
-import org.eclipse.mylyn.tasks.tests.TaskTestUtil;
import org.eclipse.mylyn.tasks.tests.connector.MockRepositoryConnector;
import org.xml.sax.SAXParseException;
@@ -41,7 +40,7 @@ public class TaskDataExternalizerTest extends TestCase {
TaskRepositoryManager taskRepositoryManager = new TaskRepositoryManager();
taskRepositoryManager.addRepositoryConnector(new MockRepositoryConnector());
//taskRepositoryManager.addRepositoryConnector(new BugzillaRepositoryConnector());
- repository = TaskTestUtil.createMockRepository();
+ repository = new TaskRepository(MockRepositoryConnector.CONNECTOR_KIND, MockRepositoryConnector.REPOSITORY_URL);
taskRepositoryManager.addRepository(repository);
externalizer = new TaskDataExternalizer(taskRepositoryManager);
}

Back to the top