| Package | org.flexunit.events.rule |
| Class | public class EventExpectations |
| Inheritance | EventExpectations flash.events.EventDispatcher |
| 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):IEventExpectationParameters
value:Number |
IEventExpectation |
| atMost | () | method |
public function atMost(value:Number):IEventExpectationParameters
value:Number |
IEventExpectation |
| calls | () | method |
public function calls(method:Function):IEventExpectationParameters
method:Function |
IEventExpectation |
| greaterThan | () | method |
public function greaterThan(value:Number):IEventExpectationParameters
value:Number |
IEventExpectation |
| greaterThanOrEqualTo | () | method |
public function greaterThanOrEqualTo(value:Number):IEventExpectationParameters
value:Number |
IEventExpectation |
| hasProperties | () | method |
public function hasProperties(value:Object):IEventExpectationParameters
value:Object |
IEventExpectation |
| hasPropertyWithValue | () | method |
public function hasPropertyWithValue(propertyName:String, valueOrMatcher:*):IEventExpectationParameters
propertyName:String | |
valueOrMatcher:* |
IEventExpectation |
| hasType | () | method |
public function hasType(typeName:String):IEventExpectationParameters
typeName:String |
IEventExpectation |
| instanceOf | () | method |
public function instanceOf(eventType:Class):IEventExpectationParameters
eventType:Class |
IEventExpectation |
| lessThan | () | method |
public function lessThan(value:Number):IEventExpectationParameters
value:Number |
IEventExpectation |
| lessThanOrEqualTo | () | method |
public function lessThanOrEqualTo(value:Number):IEventExpectationParameters
value:Number |
IEventExpectation |
| never | () | method |
| once | () | method |
| startMonitor | () | method |
public function startMonitor():void| thrice | () | method |
| times | () | method |
public function times(value:Number):IEventExpectationParameters
value:Number |
IEventExpectation |
| twice | () | method |
| verify | () | method |
public function verify():void| withTimeout | () | method |
public function withTimeout(value:Number):IEventExpectationParameters
value:Number |
IEventExpectation |
| failEventExpectation | Event |
| passEventExpectation | Event |