|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nz.ac.waikato.modeljunit.AbstractListener nz.ac.waikato.modeljunit.StopOnFailureListener
public class StopOnFailureListener
An implementation of ModelListener that throws an exception when the first test failure is detected.
Field Summary |
---|
Fields inherited from class nz.ac.waikato.modeljunit.AbstractListener |
---|
model_ |
Constructor Summary | |
---|---|
StopOnFailureListener()
|
Method Summary | |
---|---|
void |
failure(TestFailureException ex)
The Model calls this when an action has found an error. |
java.lang.String |
getName()
Get the short name that this listener is known by. |
Methods inherited from class nz.ac.waikato.modeljunit.AbstractListener |
---|
doneGuard, doneReset, doneTransition, getModel, setModel, startAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StopOnFailureListener()
Method Detail |
---|
public java.lang.String getName()
ModelListener
public void failure(TestFailureException ex)
ModelListener
failure
in interface ModelListener
failure
in class AbstractListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |