Packageorg.flexunit.internals.requests
Classpublic class ClassRequest
InheritanceClassRequest Inheritance Request Inheritance Object

A Request that is used to determine what runner to use to run a specific test class.



Public Properties
 PropertyDefined By
  iRunner : IRunner
[override] [read-only] Returns an IRunner for this Request.
ClassRequest
 Inheritedsort : ISort
Returns an ISort for this Request.
Request
Public Methods
 MethodDefined By
  
ClassRequest(testClass:Class, canUseSuiteMethod:Boolean = true)
Constructor.
ClassRequest
 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]

Returns an IRunner for this Request.


Implementation
    public function get iRunner():IRunner
Constructor Detail
ClassRequest()Constructor
public function ClassRequest(testClass:Class, canUseSuiteMethod:Boolean = true)

Constructor.

Parameters
testClass:Class — The test class that will be used in determining the runner.
 
canUseSuiteMethod:Boolean (default = true) — A Boolean value indicating whether the user can use a SuiteMethod.