|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtiger.framework.junit.JUnitSetUpTearDown
public final class JUnitSetUpTearDown
This implementation of SetUpTearDown
is intended to be used to execute test cases that have been written
using the JUnit Test Framework. The implementation is passed to the
framework by returning an instance from FixturesRunnerConfig.getSutdClass()
or by
passing the qualified class name as the appropriate
argument
on the command line to the framework main
method
.
Constructor Summary | |
---|---|
JUnitSetUpTearDown()
Create a default instance of JUnitSetUpTearDown. |
Method Summary | |
---|---|
void |
setUp(Object fixture)
Perform the setting up of JUnit Test Framework test cases. |
void |
tearDown(Object fixture)
Perform the tearing down of JUnit Test Framework test cases. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JUnitSetUpTearDown()
Method Detail |
---|
public void setUp(Object fixture) throws SetUpException
setUp
in interface SetUpTearDown
fixture
- The test fixture to set up.
SetUpException
- If a setUp
method cannot be found or if an error occurs during reflective
invocation of the JUnit setUp
method.public void tearDown(Object fixture) throws TearDownException
tearDown
in interface SetUpTearDown
fixture
- The test fixture to tear down.
TearDownException
- If a tearDown
method cannot be found or if an error occurs during
reflective invocation of the JUnit tearDown
method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |