Packageorg.flexunit.events.rule
Classpublic class EventExpectations
InheritanceEventExpectations Inheritance flash.events.EventDispatcher
Implements IEventExpectation



Public Properties
 PropertyDefined By
  complete : Boolean
[read-only]
EventExpectations
  pendingAsync : Boolean
[read-only] mock(core).ordered();
EventExpectations
Public Methods
 MethodDefined By
  
EventExpectations(target:IEventDispatcher, rule:IMethodRule)
EventExpectations
  
EventExpectations
  
EventExpectations
  
calls(method:Function):IEventExpectation
EventExpectations
  
EventExpectations
  
EventExpectations
  
EventExpectations
  
hasPropertyWithValue(propertyName:String, valueOrMatcher:*):IEventExpectation
EventExpectations
  
hasType(typeName:String):IEventExpectation
EventExpectations
  
instanceOf(eventType:Class):IEventExpectation
EventExpectations
  
EventExpectations
  
EventExpectations
  
EventExpectations
  
EventExpectations
  
EventExpectations
  
EventExpectations
  
times(value:Number):IEventExpectation
EventExpectations
  
EventExpectations
  
verify():void
EventExpectations
  
EventExpectations
Events
 Event Summary Defined By
  EventExpectations
  EventExpectations
Property Detail
completeproperty
complete:Boolean  [read-only]


Implementation
    public function get complete():Boolean
pendingAsyncproperty 
pendingAsync:Boolean  [read-only]

mock(core).ordered();


Implementation
    public function get pendingAsync():Boolean
Constructor Detail
EventExpectations()Constructor
public function EventExpectations(target:IEventDispatcher, rule:IMethodRule)



Parameters
target:IEventDispatcher
 
rule:IMethodRule
Method Detail
atLeast()method
public function atLeast(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
atMost()method 
public function atMost(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
calls()method 
public function calls(method:Function):IEventExpectation

Parameters

method:Function

Returns
IEventExpectation
greaterThan()method 
public function greaterThan(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
greaterThanOrEqualTo()method 
public function greaterThanOrEqualTo(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
hasProperties()method 
public function hasProperties(value:Object):IEventExpectation

Parameters

value:Object

Returns
IEventExpectation
hasPropertyWithValue()method 
public function hasPropertyWithValue(propertyName:String, valueOrMatcher:*):IEventExpectation

Parameters

propertyName:String
 
valueOrMatcher:*

Returns
IEventExpectation
hasType()method 
public function hasType(typeName:String):IEventExpectation

Parameters

typeName:String

Returns
IEventExpectation
instanceOf()method 
public function instanceOf(eventType:Class):IEventExpectation

Parameters

eventType:Class

Returns
IEventExpectation
lessThan()method 
public function lessThan(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
lessThanOrEqualTo()method 
public function lessThanOrEqualTo(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
never()method 
public function never():IEventExpectation

Returns
IEventExpectation
once()method 
public function once():IEventExpectation

Returns
IEventExpectation
startMonitor()method 
public function startMonitor():void

thrice()method 
public function thrice():IEventExpectation

Returns
IEventExpectation
times()method 
public function times(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
twice()method 
public function twice():IEventExpectation

Returns
IEventExpectation
verify()method 
public function verify():void

withTimeout()method 
public function withTimeout(value:Number):IEventExpectation

Parameters

value:Number

Returns
IEventExpectation
Event Detail
failEventExpectation Event
Event Object Type: org.flexunit.events.rule.ExpectationEvent

passEventExpectation Event  
Event Object Type: org.flexunit.events.rule.ExpectationEvent