|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jmscts.core.TestStatistics
This class maintains statistics for the test suite
| Constructor Summary | |
TestStatistics()
|
|
| Method Summary | |
void |
begin(JMSTestCase test)
Log the start of a test |
void |
end(JMSTestCase test)
Log the end of a test |
void |
failed(JMSTestCase test,
java.lang.Throwable cause,
java.lang.Throwable rootCause)
Log a test case failure |
Statistics |
getStatistics()
Returns the test suite statistics |
void |
log(Statistic statistic)
Log a statistic for the current test |
void |
log(StatisticType type,
int count,
long duration)
Log a statistic for the current test |
void |
log(StatisticType type,
int count,
long start,
long end)
Log a statistic for the current test |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestStatistics()
| Method Detail |
public void log(Statistic statistic)
statistic - the statistic to log
public void log(StatisticType type,
int count,
long start,
long end)
type - the type of the statisticcount - the number of iterationsstart - the start time, in millisecondsend - the end time, in milliseconds
public void log(StatisticType type,
int count,
long duration)
type - the type of the statisticcount - the number of iterationsduration - the elapsed time, in millisecondspublic Statistics getStatistics()
public void begin(JMSTestCase test)
test - the test casepublic void end(JMSTestCase test)
test - the test that has completed
public void failed(JMSTestCase test,
java.lang.Throwable cause,
java.lang.Throwable rootCause)
test - the test casecause - the reason for the failurerootCause - the root cause of the failure. May be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||