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

Package | org.flexunit.internals.requests
Class | public class SortingRequest
Inheritance | SortingRequest Request Object

A `Request` that sorts the ordering in a test class.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | iRunner : IRunner [override] [read-only] | SortingRequest
|  | sort : ISort Returns an ISort for this Request. | Request

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | SortingRequest(request:IRequest, sorterOrComparatorFunction:*) Constructor. | SortingRequest
|  | aClass(clazz:Class):Request [static] Create a Request that, when processed, will run all the tests in a class. | Request
|  | classes(... argumentsArray):Request [static] Create a Request that, when processed, will run all the tests in a set of classes. | Request
|  | filterWith(filterOrDescription:*):Request Returns a Request that either filters based on a Description or a Filter. | Request
|  | getRunner():IRunner Deprecated: Use the iRunner property instead | Request
|  | method(clazz:Class, methodName:String):Request [static] Create a Request that, when processed, will run a single test. | Request
|  | methods(clazz:Class, methodNames:Array):Request [static] | Request
|  | qualifyClasses(... argumentsArray):Request [static] | Request
|  | runner(runner:IRunner):Request [static] | Request
|  | sortWith(sorterOrComparatorFunction:*):Request | Request

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | filterWithDescription(desiredDescription:IDescription):Request Returns a Request that only runs contains tests whose Description equals desiredDescription. | Request
|  | filterWithFilter(filter:IFilter):Request Returns a Request that only contains those tests that should run when a filter is applied. | Request

Property Detail

iRunner | property

`iRunner:IRunner` [read-only] [override]

Implementation
`public function get iRunner():IRunner`
Constructor Detail

SortingRequest | () | Constructor

`public function SortingRequest(request:IRequest, sorterOrComparatorFunction:*)`

Constructor. Creates a sorted Request.

Parameters

| `request:IRequest` — An `IRequest` describing the tests.
| `sorterOrComparatorFunction:*` — is either an ISorted implementation or a comparator function to be used to define the sort order of the tests in this Request.

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