T
- The recipe annotation associated with this runner.public abstract static class Recipe.Runner<T extends Annotation> extends Object
Constructor and Description |
---|
Runner() |
Modifier and Type | Method and Description |
---|---|
void |
decorateHome(HudsonTestCase testCase,
File home)
Called right before
Jenkins(File, javax.servlet.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.Exception
public void decorateHome(HudsonTestCase testCase, File home) throws Exception
Jenkins(File, javax.servlet.ServletContext)
is invoked
to decorate the hudson home directory.Exception
public void tearDown(HudsonTestCase testCase, T recipe) throws Exception
TestCase.tearDown()
to shut down the test environment.Exception
Copyright © 2004–2022. All rights reserved.