TestSuiteResult holds the result of a test suite's execution.
public function getAverageTime(Void):NumberReturns the time needed per method invocation.
the time needed per method invocation
public function getAllMethodInvocations(Void):ArrayReturns all profiled method invocations as MethodInvocation instances.
all profiled method invocations as MethodInvocation instances
public function hasMethodInvocations(Void):BooleanReturns whether this result has any method invocations.
true if this result has method invocations else false
public function getMethodInvocationCount(Void):NumberReturns 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):ArrayReturns all test results as TestResult instances directly of this test suite.
all test results of this test suite
public function hasTestResults(Void):BooleanReturns whether this test suite result has sub-test results.
true if this test suite has sub-test results else false