|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsystem.framework.fixture.FixtureManager
Responsable for the fixture navigation and execution. Support the fixture modle.
Method Summary | |
void |
addListener(FixtureListener listener)
|
void |
failTo(String fixtureName)
Navigate to the fixture using the failTearDownPath |
ArrayList |
getAllChildrens(Fixture parent)
Get all the childrens of a fixture. |
String |
getCurrentFixture()
Get the current fixture. |
Vector |
getFixturePath(Fixture fixture)
Get the path to fixture. |
static FixtureManager |
getInstance()
Get and instance of the FixtureManager. |
void |
goTo(String fixtureName)
Navigate to the fixture. |
void |
initFixtureModel()
init the fixture model. |
boolean |
isCurrent(Fixture f)
Check if the pass fixture is the current fixture. |
boolean |
isDisableFixture()
Is the fixture modle disabled |
void |
removeListener(FixtureListener listener)
Remove a fixture listener. |
void |
setCurrentFixture(String currentFixture)
Set the current fixture. |
void |
setDisableFixture(boolean disableFixture)
Set the disable status. |
protected boolean |
useReloadingTestSuiteLoader()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static FixtureManager getInstance()
public boolean isCurrent(Fixture f)
f
- The fixture to be tested
public void initFixtureModel()
protected boolean useReloadingTestSuiteLoader()
public Vector getFixturePath(Fixture fixture) throws Exception
fixture
- The fixture to find the path to.
Exception
public void goTo(String fixtureName) throws Throwable
fixtureName
- The fixture to navigate to.
Throwable
public void failTo(String fixtureName) throws Throwable
fixtureName
- The fixture name to navigate to.
Throwable
public ArrayList getAllChildrens(Fixture parent)
parent
- The parent fixture to get it childrens.
public void addListener(FixtureListener listener)
public void removeListener(FixtureListener listener)
listener
- the listener to be removed.public String getCurrentFixture()
public void setCurrentFixture(String currentFixture) throws Exception
currentFixture
- The new fixture.
Exception
public boolean isDisableFixture()
public void setDisableFixture(boolean disableFixture)
disableFixture
- The disable status to be set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |