Access keys

Test

Kind of class: interface
Inherits from: BasicInterface
Implemented by:
Version: 2.0
Author: Martin Heidegger
Classpath: org.as2lib.test.unit.Test
File last modified: Wednesday, 21 September 2005, 18:37:06
Test is the definition for any test in a unit-testing context.

To start a Test you simple have to execute run. It logs all
output by default to a Logger.

See also:

Summary

Instance methods
Instance methods inherited from BasicInterface

Instance methods

getTestRunner

function getTestRunner (
Void) : TestRunner
Returns the TestRunner that executes this Test.

Every Test is ment to have a TestRunner that knows
how the informations of the Test have to be used to execute to
evaluate the result.

Returns:
TestRunner that executes this test

run

function run (
Void) : TestRunner
Runs the test.
Returns:
TestRunner that executes this test