InstrumentationTestSuite
open classInstrumentationTestSuite
kotlin.Any | |
↳ | android.test.InstrumentationTestSuite |
A junit.framework.TestSuite that injects android.app.Instrumentation
into InstrumentationTestCase
before running them.
Summary
Public constructors | |
---|---|
InstrumentationTestSuite(instr: Instrumentation!) |
|
InstrumentationTestSuite(theClass: Class<Any!>!, instr: Instrumentation!) |
|
InstrumentationTestSuite(name: String!, instr: Instrumentation!) |
Public methods | |
---|---|
open Unit |
addTestSuite(testClass: Class<Any!>!) |
open Unit |
runTest(test: Test!, result: TestResult!) |
Public constructors
InstrumentationTestSuite
Added in API level 1
InstrumentationTestSuite(instr: Instrumentation!)
Parameters | |
---|---|
instr |
Instrumentation!: The instrumentation that will be injected into each test before running it. |
InstrumentationTestSuite
Added in API level 1
InstrumentationTestSuite(
theClass: Class<Any!>!,
instr: Instrumentation!)
Parameters | |
---|---|
theClass |
Class<Any!>!: Inspected for methods starting with 'test' |
instr |
Instrumentation!: The instrumentation to inject into each test before running. |
InstrumentationTestSuite
Added in API level 1
InstrumentationTestSuite(
name: String!,
instr: Instrumentation!)
Public methods
addTestSuite
Added in API level 1
open funaddTestSuite(testClass: Class<Any!>!): Unit
Deprecated: Deprecated in Java.
runTest
Added in API level 1
open funrunTest(
test: Test!,
result: TestResult!
): Unit
Deprecated: Deprecated in Java.