Access keys

TestResult

Kind of class: interface
Inherits from: BasicInterface
Implemented by:
Known subinterfaces:
Author: Simon Wacker
Classpath: org.as2lib.test.speed.TestResult
File last modified: Tuesday, 24 May 2005, 18:41:50
TestResult holds the result of a test's execution.

Summary

Instance methods
Instance methods inherited from BasicInterface

Instance methods

getName

function getName (
Void) : String
Returns the name of the test.
Returns:
the test's name

getTime

function getTime (
Void) : Number
Returns the total invocation time in milliseconds.
Returns:
the total invocation time in milliseconds

getTimePercentage

function getTimePercentage (
totalTime:Number) : Number
Returns the invocation time as percentage in relation to the passed-in
totalTime.
Parameters:
totalTime:
the total time to calculate the percentage with
Returns:
the invocation time as percentage