Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2012-08-10 20:01:36 +0000
committerStephan Herrmann2012-08-10 20:01:36 +0000
commit00847733ef759b5e337647a13105e1111080e904 (patch)
treeb366d56c2743238c9f035b0e299d8b12224190eb /testplugins
parent618f692124611950f270d7e52ee961c61c9e1dec (diff)
downloadorg.eclipse.objectteams-00847733ef759b5e337647a13105e1111080e904.tar.gz
org.eclipse.objectteams-00847733ef759b5e337647a13105e1111080e904.tar.xz
org.eclipse.objectteams-00847733ef759b5e337647a13105e1111080e904.zip
Make this test more robust: it failed when run as the first test in the
suite due to missing target directory when copying jar.
Diffstat (limited to 'testplugins')
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/callinbinding/BaseCalls.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/callinbinding/BaseCalls.java b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/callinbinding/BaseCalls.java
index f99cbe68c..c983ef8fe 100644
--- a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/callinbinding/BaseCalls.java
+++ b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/callinbinding/BaseCalls.java
@@ -17,6 +17,7 @@
**********************************************************************/
package org.eclipse.objectteams.otdt.tests.otjld.callinbinding;
+import java.io.File;
import java.util.Map;
import junit.framework.Test;
@@ -1979,6 +1980,7 @@ public class BaseCalls extends AbstractOTJLDTest {
String jarFilename = "T4513bsa3.jar";
String destPath = this.outputRootDirectoryPath+"/regression";
+ new File(destPath).mkdirs();
// upload the jar:
Util.copy(getTestResourcePath(jarFilename), destPath);
// setup classpath:

Back to the top