public
interface
Test
junit.framework.Test |
Known Indirect Subclasses
ActivityInstrumentationTestCase<T extends Activity>,
ActivityInstrumentationTestCase2<T extends Activity>,
ActivityTestCase,
ActivityUnitTestCase<T extends Activity>,
AndroidTestCase,
ApplicationTestCase<T extends Application>,
InstrumentationTestCase,
InstrumentationTestSuite,
LoaderTestCase,
ProviderTestCase<T extends ContentProvider>,
ProviderTestCase2<T extends ContentProvider>,
ServiceTestCase<T extends Service>,
SingleLaunchActivityTestCase<T extends Activity>,
SyncBaseInstrumentation,
TestCase,
TestSuite,
TestSuiteBuilder.FailedToCreateTests
|
A Test can be run and collect its results.
See also:
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. |
int countTestCases ()
Counts the number of test cases that will be run by this test.
Returns | |
---|---|
int |
void run (TestResult result)
Runs a test and collects its result in a TestResult instance.
Parameters | |
---|---|
result |
TestResult
|