Package | org.flexunit.events.rule |
Class | public class EventExpectations |
Inheritance | EventExpectations ![]() |
Implements | IEventExpectation |
Property | Defined By | ||
---|---|---|---|
complete : Boolean [read-only] | EventExpectations | ||
pendingAsync : Boolean [read-only]
mock(core).ordered();
| EventExpectations |
Method | Defined By | ||
---|---|---|---|
EventExpectations(target:IEventDispatcher, rule:IMethodRule) | EventExpectations | ||
atLeast(value:Number):IEventExpectation | EventExpectations | ||
atMost(value:Number):IEventExpectation | EventExpectations | ||
calls(method:Function):IEventExpectation | EventExpectations | ||
greaterThan(value:Number):IEventExpectation | EventExpectations | ||
greaterThanOrEqualTo(value:Number):IEventExpectation | EventExpectations | ||
hasProperties(value:Object):IEventExpectation | EventExpectations | ||
hasPropertyWithValue(propertyName:String, valueOrMatcher:*):IEventExpectation | EventExpectations | ||
hasType(typeName:String):IEventExpectation | EventExpectations | ||
instanceOf(eventType:Class):IEventExpectation | EventExpectations | ||
lessThan(value:Number):IEventExpectation | EventExpectations | ||
lessThanOrEqualTo(value:Number):IEventExpectation | EventExpectations | ||
EventExpectations | |||
EventExpectations | |||
startMonitor():void | EventExpectations | ||
EventExpectations | |||
times(value:Number):IEventExpectation | EventExpectations | ||
EventExpectations | |||
verify():void | EventExpectations | ||
withTimeout(value:Number):IEventExpectation | EventExpectations |
Event | Summary | Defined By | ||
---|---|---|---|---|
EventExpectations | ||||
EventExpectations |
complete | property |
complete:Boolean
[read-only] public function get complete():Boolean
pendingAsync | property |
pendingAsync:Boolean
[read-only] mock(core).ordered();
public function get pendingAsync():Boolean
EventExpectations | () | Constructor |
public function EventExpectations(target:IEventDispatcher, rule:IMethodRule)
target:IEventDispatcher | |
rule:IMethodRule |
atLeast | () | method |
public function atLeast(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
atMost | () | method |
public function atMost(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
calls | () | method |
public function calls(method:Function):IEventExpectation
Parameters
method:Function |
IEventExpectation |
greaterThan | () | method |
public function greaterThan(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
greaterThanOrEqualTo | () | method |
public function greaterThanOrEqualTo(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
hasProperties | () | method |
public function hasProperties(value:Object):IEventExpectation
Parameters
value:Object |
IEventExpectation |
hasPropertyWithValue | () | method |
public function hasPropertyWithValue(propertyName:String, valueOrMatcher:*):IEventExpectation
Parameters
propertyName:String | |
valueOrMatcher:* |
IEventExpectation |
hasType | () | method |
public function hasType(typeName:String):IEventExpectation
Parameters
typeName:String |
IEventExpectation |
instanceOf | () | method |
public function instanceOf(eventType:Class):IEventExpectation
Parameters
eventType:Class |
IEventExpectation |
lessThan | () | method |
public function lessThan(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
lessThanOrEqualTo | () | method |
public function lessThanOrEqualTo(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
never | () | method |
once | () | method |
startMonitor | () | method |
public function startMonitor():void
thrice | () | method |
times | () | method |
public function times(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
twice | () | method |
verify | () | method |
public function verify():void
withTimeout | () | method |
public function withTimeout(value:Number):IEventExpectation
Parameters
value:Number |
IEventExpectation |
failEventExpectation | Event |
passEventExpectation | Event |