Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-01-04 23:14:37 +0000
committerspingel2009-01-04 23:14:37 +0000
commitb8b92caa20e1cf22acdf5e7292dafaa8296589e6 (patch)
tree2166138656371146c3b20508ccfb8b36b27ed1ed /org.eclipse.mylyn.tasks.tests
parent3c26d43bc76731260db73983209f25ee710c02ec (diff)
downloadorg.eclipse.mylyn.tasks-b8b92caa20e1cf22acdf5e7292dafaa8296589e6.tar.gz
org.eclipse.mylyn.tasks-b8b92caa20e1cf22acdf5e7292dafaa8296589e6.tar.xz
org.eclipse.mylyn.tasks-b8b92caa20e1cf22acdf5e7292dafaa8296589e6.zip
NEW - bug 259919: fix failing tests
https://bugs.eclipse.org/bugs/show_bug.cgi?id=259919
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTestUtil.java22
1 files changed, 0 insertions, 22 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTestUtil.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTestUtil.java
index 6756af78b..f2e7293e3 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTestUtil.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTestUtil.java
@@ -12,11 +12,7 @@
package org.eclipse.mylyn.tasks.tests;
import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
import java.net.URL;
import junit.framework.Assert;
@@ -64,24 +60,6 @@ public class TaskTestUtil {
}
}
- public static void copy(File source, File dest) throws IOException {
- InputStream in = new FileInputStream(source);
- try {
- OutputStream out = new FileOutputStream(dest);
- try {
- byte[] buf = new byte[1024];
- int len;
- while ((len = in.read(buf)) > 0) {
- out.write(buf, 0, len);
- }
- } finally {
- out.close();
- }
- } finally {
- in.close();
- }
- }
-
/**
* Clears tasks and repositories. When this method returns only the local task repository will exist and the task
* list will only have default categories but no tasks.

Back to the top