The InstrumentationTestCase
class is the direct or indirect base class for various test cases that have access to Instrumentation. This is the list of the most important direct and indirect subclasses:
ActivityTestCase
ProviderTestCase2<T extends ContentProvider>
SingleLaunchActivityTestCase<T extends Activity>
SyncBaseInstrumentation
ActivityInstrumentationTestCase2<T extends Activity>
ActivityUnitTestCase<T extends Activity>
The InstrumentationTestCase
class is in the android.test
package, and extends junit.framework.TestCase
, which extends junit.framework.Assert
.