| Package | funit.core |
| Class | public class TestCase |
| Inheritance | TestCase Test flash.events.EventDispatcher |
| Subclasses | TestMethod |
| Property | Defined by | ||
|---|---|---|---|
![]() | description : String | Test | |
![]() | fixture : Object | Test | |
![]() | fixtureType : Type | Test | |
![]() | ignoreReason : String | Test | |
| isSuite : Boolean [read-only]
| TestCase | ||
![]() | parent : ITest
| Test | |
![]() | runState : RunState
| Test | |
![]() | testCount : int
[abstract]
| Test | |
![]() | testName : TestName
| Test | |
| tests : Array [read-only]
| TestCase | ||
| testType : String [read-only]
| TestCase | ||
| Method | Defined by | ||
|---|---|---|---|
|
TestCase(fixtureType:Type = null)
| TestCase | ||
![]() |
endRun():void
[abstract] Used to cancel any asynchronous processes and end the test.
| Test | |
|
run(listener:ITestListener):void
| TestCase | ||
![]() |
| Test | |
| Method | Defined by | ||
|---|---|---|---|
|
| TestCase | ||
![]() |
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 | |
|
runTestCase(testResult:TestCaseResult):void
[abstract]
| TestCase | ||
| isSuite | property |
isSuite:Boolean [read-only]Implementation
public function get isSuite():Boolean
| tests | property |
tests:Array [read-only]Implementation
public function get tests():Array
| testType | property |
testType:String [read-only]Implementation
public function get testType():String
| TestCase | () | constructor |
public function TestCase(fixtureType:Type = null)Parameters
fixtureType:Type (default = null) |
| createTestCaseResult | () | method |
| run | () | method |
| runTestCase | () | method |
protected function runTestCase(testResult:TestCaseResult):void[abstract]
ParameterstestResult:TestCaseResult |