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(JenkinsRule jenkinsRule,
File home)
Called right before
Jenkins.Jenkins(java.io.File, javax.servlet.ServletContext) is invoked
to decorate the hudson home directory. |
void |
setup(JenkinsRule jenkinsRule,
T recipe)
Called during
TestCase.setUp() to prepare the test environment. |
void |
tearDown(JenkinsRule jenkinsRule,
T recipe)
Called during
TestCase.tearDown() to shut down the test environment. |
public void setup(JenkinsRule jenkinsRule, T recipe) throws Exception
TestCase.setUp() to prepare the test environment.Exceptionpublic void decorateHome(JenkinsRule jenkinsRule, File home) throws Exception
Jenkins.Jenkins(java.io.File, javax.servlet.ServletContext) is invoked
to decorate the hudson home directory.Exceptionpublic void tearDown(JenkinsRule jenkinsRule, T recipe) throws Exception
TestCase.tearDown() to shut down the test environment.ExceptionCopyright © 2004–2019. All rights reserved.