public abstract class ActivityTestCase extends InstrumentationTestCase
ActivityUnitTestCase
and
ActivityInstrumentationTestCase
.Constructor and Description |
---|
ActivityTestCase() |
Modifier and Type | Method and Description |
---|---|
protected Activity |
getActivity() |
protected void |
scrubClass(Class<?> testCaseClass)
This function is called by various TestCase implementations, at tearDown() time, in order
to scrub out any class variables.
|
protected void |
setActivity(Activity testActivity)
Set the activity under test.
|
getInstrumentation, injectInsrumentation, injectInstrumentation, launchActivity, launchActivityWithIntent, runTest, runTestOnUiThread, sendKeys, sendKeys, sendRepeatedKeys, tearDown
protected Activity getActivity()
protected void setActivity(Activity testActivity)
testActivity
- The activity under testprotected void scrubClass(Class<?> testCaseClass) throws IllegalAccessException
testCaseClass
- The class of the derived TestCase implementation.IllegalAccessException