Package org.jvnet.hudson.test
Interface HudsonHomeLoader
- All Known Implementing Classes:
HudsonHomeLoader.CopyExisting
,HudsonHomeLoader.Local
public interface HudsonHomeLoader
Controls how a
HudsonTestCase
initializes JENKINS_HOME
.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Allocates a new directory by copying from an existing directory, or unzipping from a zip file.static final class
Allocates a new directory by copying from a test resource -
Field Summary
Modifier and TypeFieldDescriptionstatic final HudsonHomeLoader
Allocates a new empty directory, meaning this will emulate the fresh Hudson installation. -
Method Summary
-
Field Details
-
NEW
Allocates a new empty directory, meaning this will emulate the fresh Hudson installation.
-
-
Method Details
-
allocate
Returns a directory to be used asJENKINS_HOME
- Throws:
Exception
- to cause a test to fail.
-