From 00847733ef759b5e337647a13105e1111080e904 Mon Sep 17 00:00:00 2001 From: Stephan Herrmann Date: Fri, 10 Aug 2012 22:01:36 +0200 Subject: Make this test more robust: it failed when run as the first test in the suite due to missing target directory when copying jar. --- .../eclipse/objectteams/otdt/tests/otjld/callinbinding/BaseCalls.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testplugins') 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: -- cgit v1.2.3