org.jvnet.hudson.test.recipes
Class Recipe.Runner<T extends java.lang.annotation.Annotation>

java.lang.Object
  extended by org.jvnet.hudson.test.recipes.Recipe.Runner<T>
Type Parameters:
T - The recipe annotation associated with this runner.
Direct Known Subclasses:
LocalData.RunnerImpl, PresetData.RunnerImpl
Enclosing class:
Recipe

public abstract static class Recipe.Runner<T extends java.lang.annotation.Annotation>
extends java.lang.Object

The code that implements the recipe semantics.


Constructor Summary
Recipe.Runner()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Recipe.Runner

public Recipe.Runner()
Method Detail

setup

public void setup(HudsonTestCase testCase,
                  T recipe)
           throws java.lang.Exception
Called during TestCase.setUp() to prepare the test environment.

Throws:
java.lang.Exception

tearDown

public void tearDown(HudsonTestCase testCase,
                     T recipe)
              throws java.lang.Exception
Called during TestCase.tearDown() to shut down the test environment.

Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.