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.


Variable Index

 o EXCEPTION
 o SUITE_ENDED
 o SUITE_STARTED
 o TEST_ENDED

Method Index

 o getEventType()
 o getException()
Returns the exception if event type is EXCEPTION, or null otherwise.
 o getSuiteState()
 o getTest()
Returns the test causing the event or null of none.
 o setException(Exception)
If the event type is EXCEPTION then this method is required to set the exception thrown.
 o setTest(Test)
Sets the test that caused the event, if any.

Variables

 o SUITE_STARTED
 public static final int SUITE_STARTED
 o EXCEPTION
 public static final int EXCEPTION
 o TEST_ENDED
 public static final int TEST_ENDED
 o SUITE_ENDED
 public static final int SUITE_ENDED

Methods

 o getEventType
 public int getEventType()
 o getSuiteState
 public SuiteState getSuiteState()
 o setTest
 public void setTest(Test test)
Sets the test that caused the event, if any.

 o getTest
 public Test getTest()
Returns the test causing the event or null of none.

 o setException
 public void setException(Exception exception)
If the event type is EXCEPTION then this method is required to set the exception thrown.

 o getException
 public Exception getException()
Returns the exception if event type is EXCEPTION, or null otherwise.


All Packages  Class Hierarchy  This Package  Previous  Next  Index