Packagefunit.core
Classpublic class TestSuite
InheritanceTestSuite Inheritance Test Inheritance flash.events.EventDispatcher
SubclassesTestFixture



Public Properties
 PropertyDefined by
 Inheriteddescription : String
Test
 Inheritedfixture : Object
Test
  fixtureSetUp : MethodInfo
TestSuite
  fixtureTearDown : MethodInfo
TestSuite
 InheritedfixtureType : Type
Test
 InheritedignoreReason : String
Test
  isSuite : Boolean
[read-only]
TestSuite
 Inheritedparent : ITest
Test
 InheritedrunState : RunState
Test
  testCount : int
[read-only]
TestSuite
 InheritedtestName : TestName
Test
  tests : Array
[read-only]
TestSuite
  testType : String
[read-only]
TestSuite
Public Methods
 MethodDefined by
  
TestSuite(fixtureType:Type = null)
TestSuite
  
add(fixture:Object):void
TestSuite
  
addDefinition(definition:Class):void
TestSuite
  
addTest(test:Test):void
TestSuite
  
addType(type:Type):void
TestSuite
 Inherited
endRun():void
[abstract] Used to cancel any asynchronous processes and end the test.
Test
  
run(listener:ITestListener):void
TestSuite
 Inherited
setParent(test:ITest):void
Test
  
sort():void
TestSuite
Protected Methods
 MethodDefined by
  
TestSuite
 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
  
runOneTimeSetUp(suiteResult:TestResult):void
TestSuite
  
runOneTimeTearDown(suiteResult:TestResult):void
TestSuite
Property detail
fixtureSetUpproperty
fixtureSetUp:MethodInfo  [read-write]

Implementation
    public function get fixtureSetUp():MethodInfo
    public function set fixtureSetUp(value:MethodInfo):void
fixtureTearDownproperty 
fixtureTearDown:MethodInfo  [read-write]

Implementation
    public function get fixtureTearDown():MethodInfo
    public function set fixtureTearDown(value:MethodInfo):void
isSuiteproperty 
isSuite:Boolean  [read-only]

Implementation
    public function get isSuite():Boolean
testCountproperty 
testCount:int  [read-only]

Implementation
    public function get testCount():int
testsproperty 
tests:Array  [read-only]

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

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

Parameters
fixtureType:Type (default = null)
Method detail
add()method
public function add(fixture:Object):void

Parameters
fixture:Object
addDefinition()method 
public function addDefinition(definition:Class):void

Parameters
definition:Class
addTest()method 
public function addTest(test:Test):void

Parameters
test:Test
addType()method 
public function addType(type:Type):void

Parameters
type:Type
createUserFixture()method 
protected function createUserFixture():void

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

Parameters
listener:ITestListener
runOneTimeSetUp()method 
protected function runOneTimeSetUp(suiteResult:TestResult):void

Parameters
suiteResult:TestResult
runOneTimeTearDown()method 
protected function runOneTimeTearDown(suiteResult:TestResult):void

Parameters
suiteResult:TestResult
sort()method 
public function sort():void