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

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

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

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

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

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ClassRequest(testClass:Class, canUseSuiteMethod:Boolean = true) Constructor. | ClassRequest
|  | 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]

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

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