All Packages Class Hierarchy This Package Previous Next Index
Class org.ajug.jsl.jester.tester.SuiteStateEvent
java.lang.Object
|
+----org.ajug.jsl.jester.tester.SuiteStateEvent
- public class SuiteStateEvent
- extends Object
This event is fired by SuiteState when any internal state has
changed.
-
EXCEPTION
-
-
SUITE_ENDED
-
-
SUITE_STARTED
-
-
TEST_ENDED
-
-
getEventType()
-
-
getException()
- Returns the exception if event type is EXCEPTION, or null
otherwise.
-
getSuiteState()
-
-
getTest()
- Returns the test causing the event or null of none.
-
setException(Exception)
- If the event type is EXCEPTION then this method is required to
set the exception thrown.
-
setTest(Test)
- Sets the test that caused the event, if any.
SUITE_STARTED
public static final int SUITE_STARTED
EXCEPTION
public static final int EXCEPTION
TEST_ENDED
public static final int TEST_ENDED
SUITE_ENDED
public static final int SUITE_ENDED
getEventType
public int getEventType()
getSuiteState
public SuiteState getSuiteState()
setTest
public void setTest(Test test)
- Sets the test that caused the event, if any.
getTest
public Test getTest()
- Returns the test causing the event or null of none.
setException
public void setException(Exception exception)
- If the event type is EXCEPTION then this method is required to
set the exception thrown.
getException
public Exception getException()
- Returns the exception if event type is EXCEPTION, or null
otherwise.
All Packages Class Hierarchy This Package Previous Next Index