Interface org.as2lib.test.speed.TestResult

org.as2lib.core.BasicInterface
   +--org.as2lib.test.speed.TestResult

Description

TestResult holds the result of a test's execution.

Method Index

getName(), getTime(), getTimePercentage()

Inherited from BasicInterface

toString()

Method Detail

getName

public function getName(Void):String

Returns the name of the test.

Return

the test's name

getTime

public function getTime(Void):Number

Returns the total invocation time in milliseconds.

Return

the total invocation time in milliseconds

getTimePercentage

public function getTimePercentage(totalTime:Number):Number

Returns the invocation time as percentage in relation to the passed-in totalTime.

Parameters

totalTimethe total time to calculate the percentage with

Return

the invocation time as percentage