Class org.as2lib.test.speed.SimpleTestSuiteResult

org.as2lib.core.BasicClass
   +--org.as2lib.test.speed.AbstractTestResult
      +--org.as2lib.test.speed.AbstractTestSuiteResult
         +--org.as2lib.test.speed.SimpleTestSuiteResult

Implemented Interfaces

ConfigurableTestSuiteResult

Description

SimpleTestSuiteResult holds the results of all tests contained by a test suite.

Field Index

Inherited from AbstractTestSuiteResult

AVERAGE_TIME, METHOD_INVOCATION_COUNT, METHOD_INVOCATION_PERCENTAGE, METHOD_INVOCATION_SUCCESSION, NAME, TIME, TIME_PERCENTAGE

Method Index

new SimpleTestSuiteResult()

getName(), getTime(), toString()

Inherited from AbstractTestSuiteResult

addTestResult(), getAllMethodInvocations(), getAverageTime(), getMethodInvocationCount(), getMethodInvocationPercentage(), getTestResultCount(), getTestResults(), hasMethodInvocations(), hasTestResults(), sort()

Inherited from AbstractTestResult

getTimePercentage()

Constructor Detail

SimpleTestSuiteResult

public function SimpleTestSuiteResult(name:String)

Constructs a new SimpleTestSuiteResult instance.

Parameters

namethe name of this result

Method Detail

getName

public function getName(Void):String

Returns the name of this test result.

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 suite result. This includes the string representation of all added test results.

Parameters

Return

the string representation of this test suite result

Specified By

toString() in org.as2lib.core.BasicInterface

Overrides

toString() in org.as2lib.core.BasicClass