Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-01-05 23:39:58 -0500
committerspingel2010-01-05 23:39:58 -0500
commit35b31ca204f11ae904bd586f195702ba4f84bc70 (patch)
tree77255c7e2a952a08033210fbd6bf311a7c814132
parent947cc5933536909a8be46c56a66b657f5b88359f (diff)
downloadorg.eclipse.mylyn.tasks-35b31ca204f11ae904bd586f195702ba4f84bc70.tar.gz
org.eclipse.mylyn.tasks-35b31ca204f11ae904bd586f195702ba4f84bc70.tar.xz
org.eclipse.mylyn.tasks-35b31ca204f11ae904bd586f195702ba4f84bc70.zip
RESOLVED - bug 296894: [releng] fix failing tests for 3.4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296894
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java
index 55ce1c699..e8215ffcc 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java
@@ -96,11 +96,15 @@ public class TaskDataExportTest extends TestCase {
mylynFolder = new File(TasksUiPlugin.getDefault().getDataDirectory());
- // Clear context directory
+ // Clear context and tasks directory
File contextDirectory = new File(mylynFolder, "contexts");
CommonTestUtil.deleteFolder(contextDirectory);
contextDirectory.mkdir();
+ File tasksDirectory = new File(mylynFolder, "tasks");
+ CommonTestUtil.deleteFolderRecursively(tasksDirectory);
+ tasksDirectory.mkdir();
+
// Create test export destination directory
destinationDir = new File(mylynFolder.getParent(), "TestDir");
CommonTestUtil.deleteFolder(destinationDir);

Back to the top