Packageorg.flexunit.async
Interfacepublic interface ITestResponder
Implementors TestResponder

An ITestResponder is an interface for to be implemented by classes that want to handle the results of running a test.



Public Methods
 MethodDefined By
  
fault(info:Object, passThroughData:Object):void
This method is called by TestCase when an error has been received.
ITestResponder
  
result(data:Object, passThroughData:Object):void
This method is called by TestCase when the return value has been received.
ITestResponder
Method Detail
fault()method
public function fault(info:Object, passThroughData:Object):void

This method is called by TestCase when an error has been received.

Parameters

info:Object — An Object containing information about why the fault occured
 
passThroughData:Object — An Object containing data that is to be passed to the fault handler function

result()method 
public function result(data:Object, passThroughData:Object):void

This method is called by TestCase when the return value has been received.

Parameters

data:Object — An Object containing information about the result
 
passThroughData:Object — An Object containing data that is to be passed to the result handler function