InstrumentationTestCase
public
class
InstrumentationTestCase
extends Object
| java.lang.Object | |
| ↳ | android.test.InstrumentationTestCase |
This class was deprecated
in API level 24.
Use
InstrumentationRegistry instead. New tests should be written using the
AndroidX Test Library.
A test case that has access to Instrumentation.
Summary
Public constructors | |
|---|---|
InstrumentationTestCase()
|
|
Public methods | |
|---|---|
Instrumentation
|
getInstrumentation()
Inheritors can access the instrumentation using this. |
void
|
injectInsrumentation(Instrumentation instrumentation)
This method was deprecated
in API level 15.
Incorrect spelling,
use |
void
|
injectInstrumentation(Instrumentation instrumentation)
Injects instrumentation into this test case. |
final
<T extends Activity>
T
|
|