| Package | org.flexunit.runner |
| Interface | public interface IRequest |
| Implementors | Request |
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
| 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 | ||
| 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 | ||
| iRunner | property |
iRunner:IRunner [read-only]
Returns an IRunner for this IRequest.
public function get iRunner():IRunner| sort | property |
sort:ISort
Returns that ISort that is being used by this IRequest.
public function get sort():ISort public function set sort(value:ISort):void| 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.
|
Request — a Request that has been filtered.
|