Packageorg.flexunit.internals.requests
Classpublic class SortingRequest
InheritanceSortingRequest Inheritance Request Inheritance Object

A Request that sorts the ordering in a test class.



Public Properties
 PropertyDefined By
  iRunner : IRunner
[override] [read-only]
SortingRequest
 Inheritedsort : ISort
Returns an ISort for this Request.
Request
Public Methods
 MethodDefined By
  
SortingRequest(request:IRequest, sorterOrComparatorFunction:*)
Constructor.
SortingRequest
 Inherited
aClass(clazz:Class):Request
[static] Create a Request that, when processed, will run all the tests in a class.
Request
 Inherited
classes(... argumentsArray):Request
[static] Create a Request that, when processed, will run all the tests in a set of classes.
Request
 Inherited
filterWith(filterOrDescription:*):Request
Returns a Request that either filters based on a Description or a Filter.
Request
 Inherited
Deprecated: Use the iRunner property instead
Request
 Inherited
method(clazz:Class, methodName:String):Request
[static] Create a Request that, when processed, will run a single test.
Request
 Inherited
methods(clazz:Class, methodNames:Array):Request
[static]
Request
 Inherited
qualifyClasses(... argumentsArray):Request
[static]
Request
 Inherited
[static]
Request
 Inherited
sortWith(sorterOrComparatorFunction:*):Request
Request
Protected Methods
 MethodDefined By
 Inherited
Returns a Request that only runs contains tests whose Description equals desiredDescription.
Request
 Inherited
Returns a Request that only contains those tests that should run when a filter is applied.
Request
Property Detail
iRunnerproperty
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.