| Package | funit.core |
| Class | public class Test |
| Inheritance | Test flash.events.EventDispatcher |
| Implements | ITest |
| Subclasses | TestCase, TestSuite |
| Property | Defined by | ||
|---|---|---|---|
| description : String | Test | ||
| fixture : Object | Test | ||
| fixtureType : Type [read-only]
| Test | ||
| ignoreReason : String | Test | ||
| isSuite : Boolean [read-only]
[abstract]
| Test | ||
| parent : ITest
[read-only]
| Test | ||
| runState : RunState
| Test | ||
| testCount : int [read-only]
[abstract]
| Test | ||
| testName : TestName
[read-only]
| Test | ||
| tests : Array [read-only]
[abstract]
| Test | ||
| testType : String [read-only]
[abstract]
| Test | ||
| Method | Defined by | ||
|---|---|---|---|
|
Test(fixtureType:Type = null)
| Test | ||
|
endRun():void
[abstract] Used to cancel any asynchronous processes and end the test.
| Test | ||
|
run(listener:ITestListener):void
[abstract]
| Test | ||
|
| Test | ||
| Method | Defined by | ||
|---|---|---|---|
|
delayTestFinish(timeout:int):void
Enters asynchronous mode and begins a delay period.
| Test | ||
|
finishTest(result:TestResult):void
Marks the test as complete and closes asynchronous mode successfully.
| Test | ||
| description | property |
description:String [read-write]Implementation
public function get description():String
public function set description(value:String):void
| fixture | property |
fixture:Object [read-write]Implementation
public function get fixture():Object
public function set fixture(value:Object):void
| fixtureType | property |
fixtureType:Type [read-only]Implementation
public function get fixtureType():Type
| ignoreReason | property |
ignoreReason:String [read-write]Implementation
public function get ignoreReason():String
public function set ignoreReason(value:String):void
| isSuite | property |
isSuite:Boolean [read-only][abstract]
Implementation public function get isSuite():Boolean
| parent | property |
| runState | property |
runState:RunState [read-write]Implementation
public function get runState():RunState
public function set runState(value:RunState):void
| testCount | property |
testCount:int [read-only][abstract]
Implementation public function get testCount():int
| testName | property |
| tests | property |
tests:Array [read-only][abstract]
Implementation public function get tests():Array
| testType | property |
testType:String [read-only][abstract]
Implementation public function get testType():String
| Test | () | constructor |
public function Test(fixtureType:Type = null)Parameters
fixtureType:Type (default = null) |
| delayTestFinish | () | method |
protected function delayTestFinish(timeout:int):voidEnters asynchronous mode and begins a delay period. The test can only be marked 'complete' when one of three events occur.
finishTest() is called before the timeout expires.Error is thrown during the delay period.timeout:int — The time milliseconds when any pending asynchronous
routines will expire.
|
See also
| endRun | () | method |
public function endRun():void[abstract] Used to cancel any asynchronous processes and end the test.
| finishTest | () | method |
protected function finishTest(result:TestResult):voidMarks the test as complete and closes asynchronous mode successfully.
Parametersresult:TestResult |
| run | () | method |
| setParent | () | method |