⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
junit.framework

Interface Test


public interface Test

A Test can be run and collect its results.
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 Details

countTestCases

public int countTestCases()

Counts the number of test cases that will be run by this test.


run

public void run(TestResult result)

Runs a test and collects its result in a TestResult instance.

Parameters:
result