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
|
测试可以运行并收集其结果。
也可以看看:
Public methods |
|
---|---|
abstract int |
countTestCases() 计算将由此测试运行的测试用例的数量。 |
abstract void |
run(TestResult result) 运行测试并将其结果收集到TestResult实例中。 |
void run (TestResult result)
运行测试并将其结果收集到TestResult实例中。
Parameters | |
---|---|
result |
TestResult
|