jsystem.framework.fixture
Class RootFixture

java.lang.Object
  extended byjsystem.framework.fixture.Fixture
      extended byjsystem.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.


Field Summary
 
Fields inherited from class jsystem.framework.fixture.Fixture
report, SETUP_DIRECTION, sut, system, TEARDOWN_DIRECTION, TEARDOWN_FAIL_DIRECTION
 
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).
 
Methods inherited from class jsystem.framework.fixture.Fixture
failTearDown, getName, getParentFixture, run, setName, setParentFixture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.