summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-04-27 06:19:14 (EDT)
committerSteffen Pingel2013-04-27 06:19:14 (EDT)
commit2afb23e0e13a0bccd2906ed29c953f6bbe22a72b (patch)
tree113491998d5a7e295d8a3c08c4908d51f58637da
parent31f0684617b89626585405bad6a84d3feb6fc84c (diff)
downloadorg.eclipse.mylyn.tasks-2afb23e0e13a0bccd2906ed29c953f6bbe22a72b.zip
org.eclipse.mylyn.tasks-2afb23e0e13a0bccd2906ed29c953f6bbe22a72b.tar.gz
org.eclipse.mylyn.tasks-2afb23e0e13a0bccd2906ed29c953f6bbe22a72b.tar.bz2
use CommonTestUtil to fix standalone testsrefs/changes/66/12266/1
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/data/TaskDataExternalizerTest.java6
1 files changed, 3 insertions, 3 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 799d9f3..cb72bc7 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
@@ -19,6 +19,7 @@ import java.util.zip.ZipInputStream;
import junit.framework.TestCase;
+import org.eclipse.mylyn.commons.sdk.util.CommonTestUtil;
import org.eclipse.mylyn.internal.tasks.core.TaskRepositoryManager;
import org.eclipse.mylyn.internal.tasks.core.data.TaskDataExternalizer;
import org.eclipse.mylyn.internal.tasks.core.data.TaskDataExternalizer.Xml11InputStream;
@@ -27,7 +28,6 @@ import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.core.data.ITaskDataWorkingCopy;
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;
@@ -50,7 +50,7 @@ public class TaskDataExternalizerTest extends TestCase {
}
public void testRead() throws Exception {
- File file = TaskTestUtil.getFile("testdata/taskdata-1.0-bug-219897.zip");
+ File file = CommonTestUtil.getFile(this, "testdata/taskdata-1.0-bug-219897.zip");
ZipInputStream in = new ZipInputStream(new FileInputStream(file));
try {
in.getNextEntry();
@@ -62,7 +62,7 @@ public class TaskDataExternalizerTest extends TestCase {
}
public void testReadWrite() throws Exception {
- File file = TaskTestUtil.getFile("testdata/taskdata-1.0-bug-219897.zip");
+ File file = CommonTestUtil.getFile(this, "testdata/taskdata-1.0-bug-219897.zip");
ZipInputStream in = new ZipInputStream(new FileInputStream(file));
ITaskDataWorkingCopy state;
try {