T - The recipe annotation associated with this runner.public abstract static class JenkinsRecipe.Runner<T extends Annotation> extends Object
| Constructor and Description |
|---|
Runner() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorateHome(JenkinsEmbedder embedder,
File home)
Called right before
Jenkins.Jenkins(java.io.File, javax.servlet.ServletContext) is invoked
to decorate the hudson home directory. |
void |
setup(JenkinsEmbedder embedder,
T recipe)
Called during
TestCase.setUp() to prepare the test environment. |
void |
tearDown(JenkinsEmbedder embedder,
T recipe)
Called during
TestCase.tearDown() to shut down the test environment. |
public void setup(JenkinsEmbedder embedder, T recipe) throws Exception
TestCase.setUp() to prepare the test environment.Exceptionpublic void decorateHome(JenkinsEmbedder embedder, File home) throws Exception
Jenkins.Jenkins(java.io.File, javax.servlet.ServletContext) is invoked
to decorate the hudson home directory.Exceptionpublic void tearDown(JenkinsEmbedder embedder, T recipe) throws Exception
TestCase.tearDown() to shut down the test environment.ExceptionCopyright © 2004–2018. All rights reserved.