Packagefunit.core
Classpublic class TestCase
InheritanceTestCase Inheritance Test Inheritance flash.events.EventDispatcher
SubclassesTestMethod



Public Properties
 PropertyDefined by
 Inheriteddescription : String
Test
 Inheritedfixture : Object
Test
 InheritedfixtureType : Type
Test
 InheritedignoreReason : String
Test
  isSuite : Boolean
[read-only]
TestCase
 Inheritedparent : ITest
Test
 InheritedrunState : RunState
Test
 InheritedtestCount : int
[abstract]
Test
 InheritedtestName : TestName
Test
  tests : Array
[read-only]
TestCase
  testType : String
[read-only]
TestCase
Public Methods
 MethodDefined by
  
TestCase(fixtureType:Type = null)
TestCase
 Inherited
endRun():void
[abstract] Used to cancel any asynchronous processes and end the test.
Test
  
run(listener:ITestListener):void
TestCase
 Inherited
setParent(test:ITest):void
Test
Protected Methods
 MethodDefined by
  
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
  
runTestCase(testResult:TestCaseResult):void
[abstract]
TestCase
Property detail
isSuiteproperty
isSuite:Boolean  [read-only]

Implementation
    public function get isSuite():Boolean
testsproperty 
tests:Array  [read-only]

Implementation
    public function get tests():Array
testTypeproperty 
testType:String  [read-only]

Implementation
    public function get testType():String
Constructor detail
TestCase()constructor
public function TestCase(fixtureType:Type = null)

Parameters
fixtureType:Type (default = null)
Method detail
createTestCaseResult()method
protected function createTestCaseResult():TestCaseResult

Returns
TestCaseResult
run()method 
public override function run(listener:ITestListener):void

Parameters
listener:ITestListener
runTestCase()method 
protected function runTestCase(testResult:TestCaseResult):void

[abstract]

Parameters
testResult:TestCaseResult