Make it consistent with the test-mock and test-runner directories.
Also renames the files in api/ subdirectory.
(cherry picked from commit f779efd62c)
Bug: 30188076
Test: make checkbuild
Change-Id: Ied3621e6201d8717223fe1ccd4ea77d458126b25
Merged-In: If4f99a65fcca416ede5b3e63481398f0b451bcb7
17 lines
374 B
Java
17 lines
374 B
Java
package junit.framework;
|
|
|
|
/**
|
|
* A <em>Test</em> can be run and collect its results.
|
|
*
|
|
* @see TestResult
|
|
*/
|
|
public interface Test {
|
|
/**
|
|
* Counts the number of test cases that will be run by this test.
|
|
*/
|
|
public abstract int countTestCases();
|
|
/**
|
|
* Runs a test and collects its result in a TestResult instance.
|
|
*/
|
|
public abstract void run(TestResult result);
|
|
} |