junit.extensions
Class TestSetup

java.lang.Object
  |
  +--junit.extensions.TestDecorator
        |
        +--junit.extensions.TestSetup

public class TestSetup
extends TestDecorator

A Decorator to set up and tear down additional fixture state. Subclass TestSetup and insert it into your tests when you want to set up additional state once before the tests are run.


Constructor Summary
TestSetup(Test test)
           
 
Method Summary
 void run(TestResult result)
           
 
Methods inherited from class junit.extensions.TestDecorator
basicRun, countTestCases, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSetup

public TestSetup(Test test)
Method Detail

run

public void run(TestResult result)
Overrides:
run in class TestDecorator