Packageorg.flexunit.runner
Interfacepublic interface IRequest
Implementors Request

An IRequest is an abstract description of tests to be run. It represents an object that wraps tests when they are presented to the FlexUnitCore. IRequests can be filtered and sorted to control the subset and order of tests to be executed. The key property of the IRequest that the FlexUnitCore needs is the IRunner. The IRunner is an interface implemented by any object capable of executing a specific type of test.

See also

org.flexunit.runner.IRunner


Public Properties
 PropertyDefined By
  iRunner : IRunner
[read-only] Returns an IRunner for this IRequest.
IRequest
  sort : ISort
Returns that ISort that is being used by this IRequest.
IRequest
Public Methods
 MethodDefined By
  
filterWith(filterOrDescription:*):Request
Creates a request that is filtered based on the provided filterOrDescription which is either an Filter or an IDescription.
IRequest
Property Detail
iRunnerproperty
iRunner:IRunner  [read-only]

Returns an IRunner for this IRequest.


Implementation
    public function get iRunner():IRunner
sortproperty 
sort:ISort

Returns that ISort that is being used by this IRequest.


Implementation
    public function get sort():ISort
    public function set sort(value:ISort):void
Method Detail
filterWith()method
public function filterWith(filterOrDescription:*):Request

Creates a request that is filtered based on the provided filterOrDescription which is either an Filter or an IDescription.

Parameters

filterOrDescription:* — The Filter or Description to apply to this Request.

Returns
Request — a Request that has been filtered.