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

Package | org.flexunit.runner
Interface | public 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`. `IRequest`s 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

| Property | Defined 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

| Method | Defined 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

iRunner | property

`iRunner:IRunner` [read-only]

Returns an `IRunner` for this `IRequest`.

Implementation
`public function get iRunner():IRunner`

sort | property |

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

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