junit.framework

Interface Test

public interface Test

A Test can be run and collect its results.

See Also: TestResult

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

Method Detail

countTestCases

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

run

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