All Packages Class Hierarchy This Package Previous Next Index
Class samples.TestSetup
java.lang.Object
|
+----samples.TestDecorator
|
+----samples.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.
-
TestSetup(Test)
-
-
run(TestResult)
-
-
setUp()
- Sets up the fixture.
-
tearDown()
- Tears down the fixture.
TestSetup
public TestSetup(Test test)
setUp
protected void setUp()
- Sets up the fixture. Override to set up additional fixture
state.
tearDown
protected void tearDown()
- Tears down the fixture. Override to tear down the additional
fixture state.
run
public void run(TestResult result)
- Overrides:
- run in class TestDecorator
All Packages Class Hierarchy This Package Previous Next Index