base directory needs to be set manually

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12455 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-10-02 01:44:45 +00:00
1 parent 07de704d1f
commit 407d54152d
2 files changed
+10 -1

No files matched your search

@@ -223,6 +223,13 @@ public abstract class HudsonTestCase extends TestCase {
return new LocalLauncher(new StreamTaskListener(System.out));
}
/**
* Allocates a new temporary directory for the duration of this test.
*/
protected File createTmpDir() throws IOException {
return TestEnvironment.get().temporaryDirectoryAllocator.allocate();
}
/**
* Returns the last item in the list.
*/