Class org.as2lib.test.speed.AbstractTest

org.as2lib.core.BasicClass
   +--org.as2lib.test.speed.AbstractTest

Description

AbstractTest provides implementations for methods needed when implementing the Test interface and some extra methods commonly needed.

Field Index

CLASS, METHOD, METHOD_INVOCATION, METHOD_INVOCATION_TREE, NONE, PACKAGE

Method Index

getResult()

Inherited from BasicClass

toString()

Field Detail

NONE

static public NONE:Number
Do not layout the result in any specific way.

METHOD_INVOCATION

static public METHOD_INVOCATION:Number
Layout the result with method invocations as highest structural level.

METHOD

static public METHOD:Number
Layout the result with methods as highest structural level.

CLASS

static public CLASS:Number
Layout the result with classes as highest structural level.

PACKAGE

static public PACKAGE:Number
Layout the result with packages as highest structural level.

METHOD_INVOCATION_TREE

static public METHOD_INVOCATION_TREE:Number
Layout the result to depict the order of method invocations. This means that the tree is ordered firstly in depth according to which method called which other method and secondly sorted by the correct succession of method invocations.

Method Detail

getResult

public function getResult(layout:Number):TestResult

Return the result of this test.

The following layouts are applicable:

Parameters

layout(optional) the layout of the returned test result

Return

this test's result