| Package | asunit.framework |
| Interface | public interface TestListener |
| Implementors | ResultPrinter, TestResult |
| Method | Defined by | ||
|---|---|---|---|
|
An error occurred.
| TestListener | ||
|
A failure occurred.
| TestListener | ||
|
A test ended.
| TestListener | ||
|
endTestMethod(test:Test, methodName:String):void
A test method has completed.
| TestListener | ||
|
Run the provided Test.
| TestListener | ||
|
A test started.
| TestListener | ||
|
startTestMethod(test:Test, methodName:String):void
A test method has begun execution.
| TestListener | ||
| addError | () | method |
| addFailure | () | method |
public function addFailure(test:Test, t:AssertionFailedError):voidA failure occurred.
Parameterstest:Test |
|
t:AssertionFailedError |
| endTest | () | method |
| endTestMethod | () | method |
public function endTestMethod(test:Test, methodName:String):voidA test method has completed.
Parameterstest:Test |
|
methodName:String |
| run | () | method |
| startTest | () | method |
| startTestMethod | () | method |
public function startTestMethod(test:Test, methodName:String):voidA test method has begun execution.
Parameterstest:Test |
|
methodName:String |