jsystem.framework.fixture
Class RootFixture
java.lang.Object
jsystem.framework.fixture.Fixture
jsystem.framework.fixture.RootFixture
- public final class RootFixture
- extends Fixture
The root fixture.
It's used by the framework to identify the root.
If a fixture doesn't set a parent then the Root fixture is
automaticlly set as the parent.
Method Summary |
static RootFixture |
getInstance()
|
void |
setUp()
The fixture setup method, should include all the operations,
that will take you from the parent fixture to the current fixture. |
void |
tearDown()
The fixture tearDown method, should include all the operations,
that will take you from the current fixture back to the parent fixture. |
String |
toString()
The fixture name without the package (used for presentation). |
getInstance
public static RootFixture getInstance()
setUp
public void setUp()
throws Exception
- Description copied from class:
Fixture
- The fixture setup method, should include all the operations,
that will take you from the parent fixture to the current fixture.
- Specified by:
setUp
in class Fixture
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Description copied from class:
Fixture
- The fixture tearDown method, should include all the operations,
that will take you from the current fixture back to the parent fixture.
- Specified by:
tearDown
in class Fixture
- Throws:
Exception
toString
public String toString()
- Description copied from class:
Fixture
- The fixture name without the package (used for presentation).
- Overrides:
toString
in class Fixture
- Returns:
- Fixture name.