All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.ajug.jsl.jester.tester.SuiteState

java.lang.Object
   |
   +----org.ajug.jsl.jester.tester.SuiteState

public class SuiteState
extends Object
This class is the model for a suite of tests. It contains data about a suite that is running and fires events when any state changes.


Constructor Index

 o SuiteState()

Method Index

 o addException(Exception)
 o addSuiteStateListener(SuiteStateListener)
 o enumerateExceptions()
 o getAssertCount()
 o getExceptionCount()
 o getSuiteTestCount()
 o getTestEndedCount()
 o incrementAssertCount()
 o isSuiteComplete()
 o isSuiteSuccessful()
Returns true if no exceptions encountered or false otherwise.
 o removeSuiteStateListener(SuiteStateListener)
 o setSuiteTestCount(int)
 o startSuite(int)
This initializes the SuiteState to represent the start of running a suite of tests.
 o suiteCompleted()
 o testEnded(Test)

Constructors

 o SuiteState
 public SuiteState()

Methods

 o addSuiteStateListener
 public void addSuiteStateListener(SuiteStateListener listener)
 o removeSuiteStateListener
 public void removeSuiteStateListener(SuiteStateListener listener)
 o addException
 public void addException(Exception exception)
 o enumerateExceptions
 public Enumeration enumerateExceptions()
 o getExceptionCount
 public int getExceptionCount()
 o testEnded
 public void testEnded(Test test)
 o getTestEndedCount
 public int getTestEndedCount()
 o setSuiteTestCount
 public void setSuiteTestCount(int suiteTestCount)
 o getSuiteTestCount
 public int getSuiteTestCount()
 o incrementAssertCount
 public void incrementAssertCount()
 o getAssertCount
 public int getAssertCount()
 o startSuite
 public void startSuite(int suiteTestCount)
This initializes the SuiteState to represent the start of running a suite of tests.

 o suiteCompleted
 public void suiteCompleted()
 o isSuiteComplete
 public boolean isSuiteComplete()
 o isSuiteSuccessful
 public boolean isSuiteSuccessful()
Returns true if no exceptions encountered or false otherwise.


All Packages  Class Hierarchy  This Package  Previous  Next  Index