org.as2lib.core.BasicClass +--org.as2lib.test.speed.AbstractTestResult +--org.as2lib.test.speed.AbstractTestSuiteResult +--org.as2lib.test.speed.MethodInvocationTestSuiteResult
MethodInvocationTestSuiteResult
holds multiple sub-test results and is based
on a method invocation.
AVERAGE_TIME, METHOD_INVOCATION_COUNT, METHOD_INVOCATION_PERCENTAGE, METHOD_INVOCATION_SUCCESSION, NAME, TIME, TIME_PERCENTAGE
new MethodInvocationTestSuiteResult()
addTestResult(), getAllMethodInvocations(), getAverageTime(), getMethodInvocationCount(), getMethodInvocationPercentage(), getTestResultCount(), getTestResults(), hasMethodInvocations(), hasTestResults(), sort()
public function MethodInvocationTestSuiteResult(methodInvocation:MethodInvocation)
Constructs a new MethodInvocationTestSuiteResult
instance.
methodInvocation | the method invocation to wrap |
public function getMethodInvocation(Void):MethodInvocation
Returns the held method invocation.
the held method invocation
getMethodInvocation() in org.as2lib.test.speed.MethodInvocationHolder
public function getName(Void):String
Returns the name of this test result. This is the name of the wrapped method invocation.
the name of this test result
public function getTime(Void):Number
Returns the total invocation time in milliseconds.
the total invocation time in milliseconds
public function toString():String
Returns the string representation of this test result. This includes the string representation of all sub-tests.
the string representation of this test result
toString() in org.as2lib.core.BasicInterface