AbstractTest
| Kind of class: | class |
|---|---|
| Inherits from: | BasicClass |
| Known subclasses: | |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.test.speed.AbstractTest |
| File last modified: | Sunday, 29 May 2005, 09:19:44 |
AbstractTest provides implementations for methods needed when implementingthe org.as2lib.test.unit.Test interface and some extra methods commonly needed.
Summary
Class properties
Class properties
CLASS
static CLASS:Number = 2
(read,write)
Layout the result with classes as highest structural level.
METHOD
static METHOD:Number = 1
(read,write)
Layout the result with methods as highest structural level.
METHOD_INVOCATION
static METHOD_INVOCATION:Number = 0
(read,write)
Layout the result with method invocations as highest structural level.
METHOD_INVOCATION_TREE
static METHOD_INVOCATION_TREE:Number = 4
(read,write)
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.
tree is ordered firstly in depth according to which method called which other
method and secondly sorted by the correct succession of method invocations.
NONE
static NONE:Number = -1
(read,write)
Do not layout the result in any specific way.
PACKAGE
static PACKAGE:Number = 3
(read,write)
Layout the result with packages as highest structural level.
Instance methods
getResult
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
Returns:
this test's result