Packageorg.flexunit.events.rule
Classpublic class QuantityMatcher
InheritanceQuantityMatcher Inheritance org.hamcrest.BaseMatcher



Public Properties
 PropertyDefined By
  failed : Boolean
[read-only]
QuantityMatcher
  passed : Boolean
[read-only]
QuantityMatcher
  resolved : Boolean
[read-only]
QuantityMatcher
Public Methods
 MethodDefined By
  
QuantityMatcher
  
atLeast(value:Number):void
QuantityMatcher
  
atMost(value:Number):void
QuantityMatcher
  
describeMismatch(item:Object, mismatchDescription:Description):void
[override] When matches returns false, then describeMismatch should append to the given Description a description for why the match failed.
QuantityMatcher
  
describeTo(description:Description):void
[override]
QuantityMatcher
  
greaterThan(value:Number):void
QuantityMatcher
  
greaterThanOrEqualTo(value:Number):void
QuantityMatcher
  
lessThan(value:Number):void
QuantityMatcher
  
lessThanOrEqualTo(value:Number):void
QuantityMatcher
  
matches(item:Object):Boolean
[override]
QuantityMatcher
  
never():void
QuantityMatcher
  
once():void
QuantityMatcher
  
thrice():void
QuantityMatcher
  
times(value:Number):void
QuantityMatcher
  
toString():String
[override] Returns a description of this Matcher
QuantityMatcher
  
twice():void
QuantityMatcher
Property Detail
failedproperty
failed:Boolean  [read-only]


Implementation
    public function get failed():Boolean
passedproperty 
passed:Boolean  [read-only]


Implementation
    public function get passed():Boolean
resolvedproperty 
resolved:Boolean  [read-only]


Implementation
    public function get resolved():Boolean
Constructor Detail
QuantityMatcher()Constructor
public function QuantityMatcher()



Method Detail
atLeast()method
public function atLeast(value:Number):void

Parameters

value:Number

atMost()method 
public function atMost(value:Number):void

Parameters

value:Number

describeMismatch()method 
override public function describeMismatch(item:Object, mismatchDescription:Description):void

When matches returns false, then describeMismatch should append to the given Description a description for why the match failed.

Parameters

item:Object
 
mismatchDescription:Description

describeTo()method 
override public function describeTo(description:Description):void

Parameters

description:Description

greaterThan()method 
public function greaterThan(value:Number):void

Parameters

value:Number

greaterThanOrEqualTo()method 
public function greaterThanOrEqualTo(value:Number):void

Parameters

value:Number

lessThan()method 
public function lessThan(value:Number):void

Parameters

value:Number

lessThanOrEqualTo()method 
public function lessThanOrEqualTo(value:Number):void

Parameters

value:Number

matches()method 
override public function matches(item:Object):Boolean

Parameters

item:Object

Returns
Boolean
never()method 
public function never():void

once()method 
public function once():void

thrice()method 
public function thrice():void

times()method 
public function times(value:Number):void

Parameters

value:Number

toString()method 
override public function toString():String

Returns a description of this Matcher

Returns
String
twice()method 
public function twice():void