Class org.as2lib.test.speed.MethodInvocationTestSuiteResult

Implemented Interfaces

ConfigurableTestSuiteResult MethodInvocationHolder

Description

MethodInvocationTestSuiteResult holds multiple sub-test results and is based on a method invocation.

Field Index

Inherited from AbstractTestSuiteResult

Method Index

new MethodInvocationTestSuiteResult()
getMethodInvocation(), getName(), getTime(), toString()

Inherited from AbstractTestSuiteResult

Inherited from AbstractTestResult

Constructor Detail

MethodInvocationTestSuiteResult

public function MethodInvocationTestSuiteResult(methodInvocation:MethodInvocation)

Constructs a new MethodInvocationTestSuiteResult instance.

Parameters

methodInvocationthe method invocation to wrap

Method Detail

getMethodInvocation

public function getMethodInvocation(Void):MethodInvocation

Returns the held method invocation.

Return

the held method invocation

Specified By

getMethodInvocation() in org.as2lib.test.speed.MethodInvocationHolder

getName

public function getName(Void):String

Returns the name of this test result. This is the name of the wrapped method invocation.

Return

the name of this test result

getTime

public function getTime(Void):Number

Returns the total invocation time in milliseconds.

Return

the total invocation time in milliseconds

toString

public function toString():String

Returns the string representation of this test result. This includes the string representation of all sub-tests.

Parameters

Return

the string representation of this test result

Specified By

toString() in org.as2lib.core.BasicInterface

Overrides

toString() in org.as2lib.core.BasicClass