Packageasunit.framework
Interfacepublic interface TestListener
ImplementorsResultPrinter, TestResult



Public Methods
 MethodDefined by
  
addError(test:Test, t:Error):void
An error occurred.
TestListener
  
A failure occurred.
TestListener
  
endTest(test:Test):void
A test ended.
TestListener
  
endTestMethod(test:Test, methodName:String):void
A test method has completed.
TestListener
  
run(test:Test):void
Run the provided Test.
TestListener
  
startTest(test:Test):void
A test started.
TestListener
  
startTestMethod(test:Test, methodName:String):void
A test method has begun execution.
TestListener
Method detail
addError()method
public function addError(test:Test, t:Error):void

An error occurred.

Parameters
test:Test
 
t:Error
addFailure()method 
public function addFailure(test:Test, t:AssertionFailedError):void

A failure occurred.

Parameters
test:Test
 
t:AssertionFailedError
endTest()method 
public function endTest(test:Test):void

A test ended.

Parameters
test:Test
endTestMethod()method 
public function endTestMethod(test:Test, methodName:String):void

A test method has completed.

Parameters
test:Test
 
methodName:String
run()method 
public function run(test:Test):void

Run the provided Test.

Parameters
test:Test
startTest()method 
public function startTest(test:Test):void

A test started.

Parameters
test:Test
startTestMethod()method 
public function startTestMethod(test:Test, methodName:String):void

A test method has begun execution.

Parameters
test:Test
 
methodName:String