|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.latka.AbstractReporter org.apache.commons.latka.junit.JUnitEventReporter
public class JUnitEventReporter
A Latka reporter that takes the various latka events and adapts them into JUnit Tests. In particular this class handles the request error, failed, skipped and succeeded events
Constructor Summary | |
---|---|
protected |
JUnitEventReporter(junit.framework.TestResult result)
Create a JUnitEventReporter, storing the JUnit Test results in the provided object |
Method Summary | |
---|---|
void |
reportMessage(ReportMessageEvent event)
This method is currently ignored by the JUnitEventReporter. |
void |
requestError(RequestEvent event)
Process a Latka request error |
void |
requestFailed(RequestEvent event)
Process a Latka request failure |
void |
requestSkipped(RequestEvent event)
Process a Latka event being skipped |
void |
requestSucceeded(RequestEvent event)
Process a Latka request success event |
void |
suiteCompleted(SuiteEvent event)
Process a Latka suite completion event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JUnitEventReporter(junit.framework.TestResult result)
result
- the JUnit TestResult to add failures and errors toMethod Detail |
---|
public void requestError(RequestEvent event)
event
- the latka request event that is in errorpublic void requestFailed(RequestEvent event)
event
- The event describing the request that has failedpublic void requestSkipped(RequestEvent event)
event
- The event describing the request that has been skippedpublic void requestSucceeded(RequestEvent event)
event
- The event describing the request that has succeededpublic void reportMessage(ReportMessageEvent event)
event
- reportMessage (ignored)public void suiteCompleted(SuiteEvent event)
event
- The event describing the suite that has completed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |