org.as2lib.core.BasicInterface +--org.as2lib.test.speed.TestResult +--org.as2lib.test.speed.TestSuiteResult
TestSuiteResult
holds the result of a test suite's execution.
getName(), getTime(), getTimePercentage()
public function getAverageTime(Void):Number
Returns the time needed per method invocation.
the time needed per method invocation
public function getAllMethodInvocations(Void):Array
Returns all profiled method invocations as MethodInvocation instances.
all profiled method invocations as MethodInvocation
instances
public function hasMethodInvocations(Void):Boolean
Returns whether this result has any method invocations.
true
if this result has method invocations else false
public function getMethodInvocationCount(Void):Number
Returns the total number of method invocations.
the total number of method invocations
public function getMethodInvocationPercentage(totalMethodInvocationCount:Number):Number
Returns the percentage of method invocations in relation to the passed-in
totalMethodInvocationCount
.
totalMethodInvocationCount | the total number of method invocations to calculate the percentage with |
the percentage of method invocations of this result
public function getTestResults(Void):Array
Returns all test results as TestResult instances directly of this test suite.
all test results of this test suite
public function hasTestResults(Void):Boolean
Returns whether this test suite result has sub-test results.
true
if this test suite has sub-test results else false