TestListener

Registered implementations of this interface will be notified about events that occur during the test run.

Members

Functions

addError
void addError(string phase, Throwable throwable)
Undocumented in source.
addFailure
void addFailure(string phase, AssertException exception)
Undocumented in source.
enterClass
void enterClass(string className)
Undocumented in source.
enterTest
void enterTest(string test)
Undocumented in source.
exit
void exit()
Undocumented in source.
exitTest
void exitTest(bool success)
Undocumented in source.
skip
void skip(string reason)
Undocumented in source.

Static functions

prettyOrigin
string prettyOrigin(string className, string test, string phase)
Undocumented in source. Be warned that the author may not have intended to support it.
prettyOrigin
string prettyOrigin(string test, string phase)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta