API Documentation | All Packages | All Classes | Index | Frames No Frames |
EventExpectations

Package | org.flexunit.events.rule
Class | public class EventExpectations
Inheritance | EventExpectations flash.events.EventDispatcher
Implements | IEventExpectation

Public Properties

| Property | Defined By
--- | --- | ---
|  | complete : Boolean [read-only] | EventExpectations
|  | pendingAsync : Boolean [read-only] mock(core).ordered(); | EventExpectations

Public Methods

| 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
|  | never():IEventExpectation | EventExpectations
|  | once():IEventExpectation | EventExpectations
|  | startMonitor():void | EventExpectations
|  | thrice():IEventExpectation | EventExpectations
|  | times(value:Number):IEventExpectation | EventExpectations
|  | twice():IEventExpectation | EventExpectations
|  | verify():void | EventExpectations
|  | withTimeout(value:Number):IEventExpectation | EventExpectations

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | failEventExpectation |  | EventExpectations
|  | passEventExpectation |  | EventExpectations

Property Detail

complete | property

`complete:Boolean` [read-only]

Implementation
`public function get complete():Boolean`

pendingAsync | property |

`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`

Thu Apr 10 2014, 08:07 AM +10:00