org.jvnet.hudson.test
Class HudsonHomeLoader.Local
java.lang.Object
org.jvnet.hudson.test.HudsonHomeLoader.Local
- All Implemented Interfaces:
- HudsonHomeLoader
- Enclosing interface:
- HudsonHomeLoader
public static final class HudsonHomeLoader.Local
- extends Object
- implements HudsonHomeLoader
Allocates a new directory by copying from a test resource
Method Summary |
File |
allocate()
Returns a directory to be used as JENKINS_HOME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HudsonHomeLoader.Local
public HudsonHomeLoader.Local(Method testMethod)
allocate
public File allocate()
throws Exception
- Description copied from interface:
HudsonHomeLoader
- Returns a directory to be used as JENKINS_HOME
- Specified by:
allocate
in interface HudsonHomeLoader
- Throws:
Exception
- to cause a test to fail.
Copyright © 2004-2013. All Rights Reserved.