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):TypedArrayGetter for all Test(Results) contained in the TestSuite
List of all TestResults.
public function getPercentage(Void):NumberGetter 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):TypedArrayGetter for all TestCaseResults (flatten) contained in the TestSuite. Returns flatten all TestCaseResults.
TestCaseResults containted in the TestSuite and all SubSuites.
public function getTestResults(Void):TypedArrayGetter for all TestResults (flatten) contained in the TestSuite. Returns flatten all TestResults.
TestResults containted in the TestSuite and all SubSuites.
public function getName(Void):StringGetter for the Name of the TestSuite.
Name of the TestSuite.
public function getOperationTime(Void):NumberGetter 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):TestSuiteGetter for the wrapped TestSuite.
wrapped TestSuite.
public function toString():StringExtended .toString implementation.
TestSuiteResult as well formated String.
toString() in org.as2lib.core.BasicInterface