|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjetif.ext.ListenerProxy
This class ListenerProxy represents a proxy for multiple test listeners.
A Jetif UI is able to add multiple test listeners to a suite with this class.
| Field Summary |
| Fields inherited from interface jetif.TestListener |
DUMMY_LISTENER |
| Constructor Summary | |
ListenerProxy()
Default constructor. |
|
| Method Summary | |
void |
addListener(TestListener listener)
Add a listener to this proxy. |
void |
beginSuite(String name,
long timestamp)
Recieve notification of the beginning of a suite |
void |
endCase(CaseResult result)
Receive notification of the end of a test case. |
void |
endSuite(long timestamp)
Receive notification of the end of a suite. |
void |
removeListener(TestListener listener)
Removes a listener from this proxy. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ListenerProxy()
| Method Detail |
public void addListener(TestListener listener)
listener - public void removeListener(TestListener listener)
listener -
public void beginSuite(String name,
long timestamp)
TestListener
beginSuite in interface TestListenername - the name of the suite.timestamp - the time stamp of the beginningpublic void endCase(CaseResult result)
TestListener
endCase in interface TestListenerresult - result object of the test case.public void endSuite(long timestamp)
TestListener
endSuite in interface TestListenertimestamp - the time stamp of the endding
|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||