Packagecom.asfusion.mate.testing
Classpublic class MockOperation
InheritanceMockOperation Inheritance mx.rpc.AbstractOperation



Protected Properties
 PropertyDefined by
  method : MockMethod
MockOperation
  mock : Object
MockOperation
  showCursor : Boolean
MockOperation
  token : AsyncToken
MockOperation
Public Methods
 MethodDefined by
  
MockOperation(name:String, method:MockMethod, showBusyCursor:Boolean)
Contructor
MockOperation
  
send(... args):AsyncToken
MockOperation
Protected Methods
 MethodDefined by
  
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
Property detail
methodproperty
protected var method:MockMethod

mockproperty 
protected var mock:Object

showCursorproperty 
protected var showCursor:Boolean

tokenproperty 
protected var token:AsyncToken

Constructor detail
MockOperation()constructor
public function MockOperation(name:String, method:MockMethod, showBusyCursor:Boolean)

Contructor

Parameters
name:String
 
method:MockMethod
 
showBusyCursor:Boolean
Method detail
callMockHelperMethod()method
protected function callMockHelperMethod():Object

Returns
Object
dataLoaded()method 
protected function dataLoaded(event:Event):voidParameters
event:Event
dataLoadError()method 
protected function dataLoadError(event:ErrorEvent):voidParameters
event:ErrorEvent
dispatchFault()method 
protected function dispatchFault(fault:Fault):voidParameters
fault:Fault
dispatchResult()method 
protected function dispatchResult(result:*):voidParameters
result:*
handleAsyncFault()method 
protected function handleAsyncFault(event:FaultEvent):voidParameters
event:FaultEvent
handleAsyncResult()method 
protected function handleAsyncResult(event:ResultEvent):voidParameters
event:ResultEvent
loadData()method 
protected function loadData():void
makeCall()method 
protected function makeCall():void
send()method 
public override function send(... args):AsyncTokenParameters
... args

Returns
AsyncToken
startFault()method 
protected function startFault(fault:Fault):voidParameters
fault:Fault
startResult()method 
protected function startResult(result:*):voidParameters
result:*