Packagefunit.core
Classpublic class TestMethod
InheritanceTestMethod Inheritance TestCase Inheritance Test Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined by
 Inheriteddescription : String
Test
  errorExpected : Boolean
TestMethod
  errorHandler : MethodInfo
TestMethod
  expectedErrorName : String
TestMethod
  expectedErrorType : Class
TestMethod
  expectedMessage : String
TestMethod
 Inheritedfixture : Object
Test
 InheritedfixtureType : Type
Test
 InheritedignoreReason : String
Test
 InheritedisSuite : Boolean
TestCase
  method : MethodInfo
TestMethod
  methodSetUp : MethodInfo
TestMethod
  methodTearDown : MethodInfo
TestMethod
 Inheritedparent : ITest
Test
 InheritedrunState : RunState
Test
 InheritedtestCount : int
[abstract]
Test
 InheritedtestName : TestName
Test
 Inheritedtests : Array
TestCase
  testType : String
[read-only]
TestMethod
Public Methods
 MethodDefined by
  
TestMethod(method:MethodInfo)
TestMethod
 Inherited
endRun():void
[abstract] Used to cancel any asynchronous processes and end the test.
Test
 Inherited
run(listener:ITestListener):void
TestCase
 Inherited
setParent(test:ITest):void
Test
Protected Methods
 MethodDefined by
 Inherited
TestCase
 Inherited
delayTestFinish(timeout:int):void
Enters asynchronous mode and begins a delay period.
Test
 Inherited
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
Property detail
errorExpectedproperty
errorExpected:Boolean  [read-write]

Implementation
    public function get errorExpected():Boolean
    public function set errorExpected(value:Boolean):void
errorHandlerproperty 
errorHandler:MethodInfo  [read-write]

Implementation
    public function get errorHandler():MethodInfo
    public function set errorHandler(value:MethodInfo):void
expectedErrorNameproperty 
expectedErrorName:String  [read-write]

Implementation
    public function get expectedErrorName():String
    public function set expectedErrorName(value:String):void
expectedErrorTypeproperty 
expectedErrorType:Class  [read-write]

Implementation
    public function get expectedErrorType():Class
    public function set expectedErrorType(value:Class):void
expectedMessageproperty 
expectedMessage:String  [read-write]

Implementation
    public function get expectedMessage():String
    public function set expectedMessage(value:String):void
methodproperty 
method:MethodInfo  [read-write]

Implementation
    public function get method():MethodInfo
    public function set method(value:MethodInfo):void
methodSetUpproperty 
methodSetUp:MethodInfo  [read-write]

Implementation
    public function get methodSetUp():MethodInfo
    public function set methodSetUp(value:MethodInfo):void
methodTearDownproperty 
methodTearDown:MethodInfo  [read-write]

Implementation
    public function get methodTearDown():MethodInfo
    public function set methodTearDown(value:MethodInfo):void
testTypeproperty 
testType:String  [read-only]

Implementation
    public function get testType():String
Constructor detail
TestMethod()constructor
public function TestMethod(method:MethodInfo)

Parameters
method:MethodInfo
Method detail
processException()method
protected function processException(testResult:TestResult, error:Error):void

Parameters
testResult:TestResult
 
error:Error
processNoException()method 
protected function processNoException(testResult:TestResult):void

Parameters
testResult:TestResult
recordError()method 
protected function recordError(error:Error, testResult:TestResult):void

Parameters
error:Error
 
testResult:TestResult
runTestCase()method 
protected override function runTestCase(testResult:TestCaseResult):void

Parameters
testResult:TestCaseResult