blob: a016ee8308f1b857d020a0686e11d967244eed59 [file] [log] [blame]
Alan Viverette3da604b2020-06-10 18:34:39 +00001package junit.framework;
2
3/**
4 * A <em>Test</em> can be run and collect its results.
5 *
6 * @see TestResult
7 */
8public interface Test {
9 /**
10 * Counts the number of test cases that will be run by this test.
11 */
12 public abstract int countTestCases();
13 /**
14 * Runs a test and collects its result in a TestResult instance.
15 */
16 public abstract void run(TestResult result);
17}