lejosunit.framework
Interface Test

All Known Implementing Classes:
TestCase, TestSuite

public interface Test

A Test can be run and collect its results.

Author:
Jochen Hiller
See Also:
TestResult

Method Summary
 int countTestCases()
          Counts the number of test cases that will be run by this test.
 void run(TestResult result)
          Runs a test and collects its result in a TestResult instance.
 

Method Detail

countTestCases

public int countTestCases()
Counts the number of test cases that will be run by this test.

Returns:
the number of test cases

run

public void run(TestResult result)
Runs a test and collects its result in a TestResult instance.

Parameters:
result - the test result to write the results into.


Copyright (C) 2003 Jochen Hiller. All Rights Reserved.