| Package | org.flexunit.async |
| Interface | public interface ITestResponder |
| Implementors | TestResponder |
ITestResponder is an interface for to be implemented by classes that want to handle the results
of running a test.
| Method | Defined 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 | ||
| fault | () | method |
public function fault(info:Object, passThroughData:Object):voidThis 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):voidThis 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
|