Added in API level 1
Summary:
Methods
Test
public
interface
Test
junit.framework.Test |
A Test can be run and collect its results.
See also:
Summary
Public methods | |
---|---|
abstract
int
|
countTestCases()
Counts the number of test cases that will be run by this test. |
abstract
void
|
run(TestResult result)
Runs a test and collects its result in a TestResult instance. |
Public methods
countTestCases
Added in API level 1
public abstract int countTestCases ()
Counts the number of test cases that will be run by this test.
Returns | |
---|---|
int |
run
Added in API level 1
public abstract void run (TestResult result)
Runs a test and collects its result in a TestResult instance.
Parameters | |
---|---|
result |
TestResult |