org.as2lib.core.BasicClass +--org.as2lib.test.unit.TestSuiteResult
TestResult
Wrapper for a TestSuite with extended Informations about the run of the TestSuite.
public function TestSuiteResult(testSuite:TestSuite, testRunner:TestRunner)
Constructs a new TestSuiteResult.
testSuite | TestSuite to be wrapped |
testRunner | TestRunner that created this Result. |
public function getTests(Void):TypedArray
Getter for all Test(Results) contained in the TestSuite
List of all TestResults.
public function getPercentage(Void):Number
Getter for the Percentage of the execution.
Percentage of execution.
public function hasFinished(Void):Boolean
True if the TestSuite is finished.
public function hasStarted(Void):Boolean
True if the TestSuite is started.
public function getTestCaseResults(Void):TypedArray
Getter for all TestCaseResults (flatten) contained in the TestSuite. Returns flatten all TestCaseResults.
TestCaseResults containted in the TestSuite and all SubSuites.
public function getTestResults(Void):TypedArray
Getter for all TestResults (flatten) contained in the TestSuite. Returns flatten all TestResults.
TestResults containted in the TestSuite and all SubSuites.
public function getName(Void):String
Getter for the Name of the TestSuite.
Name of the TestSuite.
public function getOperationTime(Void):Number
Getter for the total Operation time of the TestSuite.
Operation Time of the TestSuite in milliseconds..
public function hasErrors(Void):Boolean
True if the TestSuite contains errors.
public function getTestSuite(Void):TestSuite
Getter for the wrapped TestSuite.
wrapped TestSuite.
public function toString():String
Extended .toString implementation.
TestSuiteResult as well formated String.
toString() in org.as2lib.core.BasicInterface