| Package | funit.core |
| Class | public class TestMethod |
| Inheritance | TestMethod TestCase Test flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | description : String | Test | |
| errorExpected : Boolean | TestMethod | ||
| errorHandler : MethodInfo | TestMethod | ||
| expectedErrorName : String | TestMethod | ||
| expectedErrorType : Class | TestMethod | ||
| expectedMessage : String | TestMethod | ||
![]() | fixture : Object | Test | |
![]() | fixtureType : Type | Test | |
![]() | ignoreReason : String | Test | |
![]() | isSuite : Boolean | TestCase | |
| method : MethodInfo | TestMethod | ||
| methodSetUp : MethodInfo | TestMethod | ||
| methodTearDown : MethodInfo | TestMethod | ||
![]() | parent : ITest
| Test | |
![]() | runState : RunState
| Test | |
![]() | testCount : int
[abstract]
| Test | |
![]() | testName : TestName
| Test | |
![]() | tests : Array | TestCase | |
| testType : String [read-only]
| TestMethod | ||
| Method | Defined by | ||
|---|---|---|---|
|
TestMethod(method:MethodInfo)
| TestMethod | ||
![]() |
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 | |
|
processException(testResult:TestResult, error:Error):void
| TestMethod | ||
|
processNoException(testResult:TestResult):void
| TestMethod | ||
|
recordError(error:Error, testResult:TestResult):void
| TestMethod | ||
|
runTestCase(testResult:TestCaseResult):void
| TestMethod | ||
| errorExpected | property |
errorExpected:Boolean [read-write]Implementation
public function get errorExpected():Boolean
public function set errorExpected(value:Boolean):void
| errorHandler | property |
errorHandler:MethodInfo [read-write]Implementation
public function get errorHandler():MethodInfo
public function set errorHandler(value:MethodInfo):void
| expectedErrorName | property |
expectedErrorName:String [read-write]Implementation
public function get expectedErrorName():String
public function set expectedErrorName(value:String):void
| expectedErrorType | property |
expectedErrorType:Class [read-write]Implementation
public function get expectedErrorType():Class
public function set expectedErrorType(value:Class):void
| expectedMessage | property |
expectedMessage:String [read-write]Implementation
public function get expectedMessage():String
public function set expectedMessage(value:String):void
| method | property |
method:MethodInfo [read-write]Implementation
public function get method():MethodInfo
public function set method(value:MethodInfo):void
| methodSetUp | property |
methodSetUp:MethodInfo [read-write]Implementation
public function get methodSetUp():MethodInfo
public function set methodSetUp(value:MethodInfo):void
| methodTearDown | property |
methodTearDown:MethodInfo [read-write]Implementation
public function get methodTearDown():MethodInfo
public function set methodTearDown(value:MethodInfo):void
| testType | property |
testType:String [read-only]Implementation
public function get testType():String
| TestMethod | () | constructor |
public function TestMethod(method:MethodInfo)Parameters
method:MethodInfo |
| processException | () | method |
protected function processException(testResult:TestResult, error:Error):voidParameters
testResult:TestResult |
|
error:Error |
| processNoException | () | method |
| recordError | () | method |
protected function recordError(error:Error, testResult:TestResult):voidParameters
error:Error |
|
testResult:TestResult |
| runTestCase | () | method |
protected override function runTestCase(testResult:TestCaseResult):voidParameters
testResult:TestCaseResult |