Package | com.asfusion.mate.testing |
Class | public class MockOperation |
Inheritance | MockOperation mx.rpc.AbstractOperation |
Property | Defined by | ||
---|---|---|---|
method : MockMethod
| MockOperation | ||
mock : Object | MockOperation | ||
showCursor : Boolean | MockOperation | ||
token : AsyncToken | MockOperation |
Method | Defined by | ||
---|---|---|---|
MockOperation(name:String, method:MockMethod, showBusyCursor:Boolean)
Contructor
| MockOperation | ||
send(... args):AsyncToken
| MockOperation |
Method | Defined by | ||
---|---|---|---|
callMockHelperMethod():Object
| MockOperation | ||
dataLoaded(event:Event):void
| MockOperation | ||
dataLoadError(event:ErrorEvent):void
| MockOperation | ||
dispatchFault(fault:Fault):void
| MockOperation | ||
dispatchResult(result:*):void
| MockOperation | ||
handleAsyncFault(event:FaultEvent):void
| MockOperation | ||
handleAsyncResult(event:ResultEvent):void
| MockOperation | ||
loadData():void
| MockOperation | ||
makeCall():void
| MockOperation | ||
startFault(fault:Fault):void
| MockOperation | ||
startResult(result:*):void
| MockOperation |
method | property |
protected var method:MockMethod
mock | property |
protected var mock:Object
showCursor | property |
protected var showCursor:Boolean
token | property |
protected var token:AsyncToken
MockOperation | () | constructor |
public function MockOperation(name:String, method:MockMethod, showBusyCursor:Boolean)
Contructor
Parametersname:String |
|
method:MockMethod |
|
showBusyCursor:Boolean |
callMockHelperMethod | () | method |
protected function callMockHelperMethod():Object
Returns
Object |
dataLoaded | () | method |
protected function dataLoaded(event:Event):void
Parameters
event:Event |
dataLoadError | () | method |
protected function dataLoadError(event:ErrorEvent):void
Parameters
event:ErrorEvent |
dispatchFault | () | method |
protected function dispatchFault(fault:Fault):void
Parameters
fault:Fault |
dispatchResult | () | method |
protected function dispatchResult(result:*):void
Parameters
result:* |
handleAsyncFault | () | method |
protected function handleAsyncFault(event:FaultEvent):void
Parameters
event:FaultEvent |
handleAsyncResult | () | method |
protected function handleAsyncResult(event:ResultEvent):void
Parameters
event:ResultEvent |
loadData | () | method |
protected function loadData():void
makeCall | () | method |
protected function makeCall():void
send | () | method |
public override function send(... args):AsyncToken
Parameters
... args |
AsyncToken |
startFault | () | method |
protected function startFault(fault:Fault):void
Parameters
fault:Fault |
startResult | () | method |
protected function startResult(result:*):void
Parameters
result:* |