|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jwalk.tool.ReportPublisher
public class ReportPublisher
ReportPublisher implements the reporting of test results to the tester. ReportPublisher is an implementation of the ReportListener interface that is designed to work with the JWalkTester GUI. It handles many kinds of Report, including: ProtocolReport, AlgebraReport, StateReport, CycleReport and SummaryReport; and may be extended to handle other kinds of report.
Constructor Summary | |
---|---|
ReportPublisher(JWalkTester tester)
Creates a ReportPublisher owned by a JWalkTester. |
Method Summary | |
---|---|
protected void |
handle(AlgebraReport report)
Publishes an AlgebraReport dispatched by a JWalker. |
protected void |
handle(CycleReport report)
Publishes a CycleReport dispatched by a JWalker. |
protected void |
handle(ProtocolReport report)
Publishes a ProtocolReport dispatched by a JWalker. |
protected void |
handle(StateReport report)
Publishes a StateReport dispatched by a JWalker. |
protected void |
handle(SummaryReport report)
Publishes a SummaryReport dispatched by a JWalker. |
void |
publish(ReportEvent event)
Publishes a report dispatched by a JWalker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportPublisher(JWalkTester tester)
Method Detail |
---|
public void publish(ReportEvent event)
publish
in interface ReportListener
event
- the ReportEvent dispatched by a JWalker.protected void handle(ProtocolReport report)
protected void handle(AlgebraReport report)
protected void handle(StateReport report)
protected void handle(CycleReport report)
protected void handle(SummaryReport report)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |