Packageflexunit.framework
Interfacepublic interface Test extends Reflective
ImplementorsBaseTestRunner, ResultPrinter, TestCase, TestSuite, TestSuiteTestListener

A Test can be run, with the results collected.

See also

TestResult


Public Properties
 PropertyDefined by
 InheritedclassName : String
Reflective
Public Methods
 MethodDefined by
  
countTestCases():Number
The number of test cases in this test.
Test
  
Returns the names of the test methods for this test.
Test
  
Runs the tests, populating the result parameter.
Test
  
toString():String
Test
Method detail
countTestCases()method
public function countTestCases():Number

The number of test cases in this test.

Returns
Number — A Number representing the count of test cases in this test.
getTestMethodNames()method 
public function getTestMethodNames():Array

Returns the names of the test methods for this test.

Returns
Array — Array of method names for this test
runWithResult()method 
public function runWithResult(result:TestResult):void

Runs the tests, populating the result parameter.

Parameters
result:TestResult — TestResult instance to be populated
toString()method 
public function toString():String

Returns
String