org.as2lib.core.BasicClass +--org.as2lib.test.unit.TestSuite
Test
Composite Implementation for Tests. A TestSuite is a collection of Tests. While TestSuite implements Test it is possible to even add TestSuite to the TestSuite.
new TestSuite()
public function getResultFactory(Void):TestResultFactory
Description copied from Test
Returns the Information information sheet for the Result.
Warning: The Result might be not complete! The Result will get filled during the execution of the Testcase.
public function addTest(test:Test):Void
Adds a Test to the TestSuite.
test | Test that should be added. |
IllegalArgumentException | If you add the TestSuite to itself. |
public function getName(Void):String
Getter for the name of the TestSuite.
Name of the TestSuite.
public function run():TestRunner
Runs the TestSuite (implementation of Test.run)
TestRunner that run this test (including all informations about the run).
static public function blockCollecting(Void):Boolean
Blocks collecting of TestSuiteFactory
true to not get collected.
public function getTests(Void):TypedArray
Getter for all Tests contained within the TestSuite.
TypedArray that contains all Tests of the TestSuite.