T - The recipe annotation associated with this runner.public abstract static class Recipe.Runner<T extends Annotation> extends Object
| Constructor and Description |
|---|
Recipe.Runner() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorateHome(HudsonTestCase testCase,
File home)
Called right before
jenkins.model.Jenkins#Hudson(File, ServletContext) is invoked
to decorate the hudson home directory. |
void |
setup(HudsonTestCase testCase,
T recipe)
Called during
TestCase.setUp() to prepare the test environment. |
void |
tearDown(HudsonTestCase testCase,
T recipe)
Called during
TestCase.tearDown() to shut down the test environment. |
public void setup(HudsonTestCase testCase, T recipe) throws Exception
TestCase.setUp() to prepare the test environment.Exceptionpublic void decorateHome(HudsonTestCase testCase, File home) throws Exception
jenkins.model.Jenkins#Hudson(File, ServletContext) is invoked
to decorate the hudson home directory.Exceptionpublic void tearDown(HudsonTestCase testCase, T recipe) throws Exception
TestCase.tearDown() to shut down the test environment.ExceptionCopyright © 2004-2014. All Rights Reserved.