| Package | org.flexunit.internals.runners |
| Class | public class Fluint1ClassRunner |
| Inheritance | Fluint1ClassRunner Object |
| Implements | IRunner, IFilterable |
Fluint1ClassRunner.
| Property | Defined By | ||
|---|---|---|---|
| description : IDescription [read-only]
Returns an IDescription of the test class that the runner is running. | Fluint1ClassRunner | ||
| Method | Defined By | ||
|---|---|---|---|
Fluint1ClassRunner(clazz:*)
Constructor
| Fluint1ClassRunner | ||
createAdaptingMonitor(notifier:IRunNotifier):TestMonitor
Creates an instance of the FluintAdaptingListener internal class and passes
an IRunNotifier to it. | Fluint1ClassRunner | ||
Will apply a Filter to the test object. | Fluint1ClassRunner | ||
getClassFromTest(test:*):Class [static]
Returns the Class for a provided Test. | Fluint1ClassRunner | ||
pleaseStop():void
Ask that the tests run stop before starting the next test. | Fluint1ClassRunner | ||
Runs the test class and updates the notifier on the status of running the tests. | Fluint1ClassRunner | ||
| Method | Defined By | ||
|---|---|---|---|
handleAllTestsComplete(event:Event):void
Handles the results when all of the tests are complete for the class. | Fluint1ClassRunner | ||
handleTestComplete(result:ChildResult):void
Handles the results of a single test completing. | Fluint1ClassRunner | ||
| description | property |
description:IDescription [read-only]
Returns an IDescription of the test class that the runner is running.
public function get description():IDescription| Fluint1ClassRunner | () | Constructor |
public function Fluint1ClassRunner(clazz:*)Constructor
Parametersclazz:* — is an XML Klass that allows the associated Class
to be called and run methods associated with the Class.
|
| createAdaptingMonitor | () | method |
public function createAdaptingMonitor(notifier:IRunNotifier):TestMonitor
Creates an instance of the FluintAdaptingListener internal class and passes
an IRunNotifier to it.
Parameters
notifier:IRunNotifier — IRunNotifier
|
TestMonitor — TestMonitor
|
| filter | () | method |
public function filter(filter:IFilter):void
Will apply a Filter to the test object.
Parameters
filter:IFilter — Filter
|
See also
| getClassFromTest | () | method |
public static function getClassFromTest(test:*):Class
Returns the Class for a provided Test.
Parameters
test:* — The Test for which to obtain the Class.
|
Class — the Class for a provided Test.
|
| handleAllTestsComplete | () | method |
protected function handleAllTestsComplete(event:Event):void
Handles the results when all of the tests are complete for the class.
Removes all of the children from the flexUnitTestEnvironment.
Also calls sendResult on the token.parentToken.
Parameters
event:Event |
See also
| handleTestComplete | () | method |
protected function handleTestComplete(result:ChildResult):void
Handles the results of a single test completing. Removes all of the children from
the flexUnitTestEnvironment.
Also calls sendResult on the token.parentToken contained in result.
Parameters
result:ChildResult — ChildResult - The results of the running test.
|
See also
| pleaseStop | () | method |
public function pleaseStop():voidAsk that the tests run stop before starting the next test. Phrased politely because the test currently running will not be interrupted.
| run | () | method |
public function run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void
Runs the test class and updates the notifier on the status of running the tests.
Parameters
notifier:IRunNotifier — The notifier that is notified about issues encountered during the execution of the test class.
| |
previousToken:IAsyncTestToken — The token that is to be notified when the runner has finished execution of the test class.
|