A framework for writing Android test cases and suites.
For more information, see the Testing developer guide.
| PerformanceTestCase | More complex interface performance for test cases. | 
| PerformanceTestCase.Intermediates | 
         Callbacks for
         
          
           PerformanceTestCase
          
         
         . 
         | 
       
| TestSuiteProvider | Implementors will know how to get a test suite. | 
| ActivityInstrumentationTestCase <T extends Activity > | 
         
          This class was deprecated
      in API level 3.
    new tests should be written using
          
           
            ActivityInstrumentationTestCase2
           
          
          , which provides more options for
 configuring the Activity under test
         
          
         | 
       
| ActivityInstrumentationTestCase2 <T extends Activity > | This class provides functional testing of a single activity. | 
| ActivityTestCase | This is common code used to support Activity test cases. | 
| ActivityUnitTestCase <T extends Activity > | This class provides isolated testing of a single activity. | 
| AndroidTestCase | Extend this if you need to access Resources or other things that depend on Activity Context. | 
| AndroidTestRunner | |
| ApplicationTestCase <T extends Application > | This test case provides a framework in which you can test Application classes in a controlled environment. | 
| InstrumentationTestCase | 
         A test case that has access to
         
          
           Instrumentation
          
         
         . 
         | 
       
| InstrumentationTestRunner | 
         An
         
          
           Instrumentation
          
         
         that runs various types of
         
          
           TestCase
          
         
         s against
 an Android package (application). 
         | 
       
| InstrumentationTestSuite | 
         A
         
          
           TestSuite
          
         
         that injects
         
          
           Instrumentation
          
         
         into
         
          
           InstrumentationTestCase
          
         
         before running them. 
         | 
       
| IsolatedContext | A mock context which prevents its users from talking to the rest of the device while stubbing enough methods to satify code that tries to talk to other packages. | 
| LoaderTestCase | 
         A convenience class for testing
         
          
           Loader
          
         
         s. 
         | 
       
| MoreAsserts | Contains additional assertion methods not found in JUnit. | 
| ProviderTestCase <T extends ContentProvider > | This class was deprecated in API level 3. this class extends InstrumentationTestCase but should extend AndroidTestCase. Use ProviderTestCase2, which corrects this problem, instead. | 
| ProviderTestCase2 <T extends ContentProvider > | 
         This test case class provides a framework for testing a single
         
          
           ContentProvider
          
         
         and for testing your app code with an
 isolated content provider. 
         | 
       
| RenamingDelegatingContext | This is a class which delegates to the given context, but performs database and file operations with a renamed database/file name (prefixes default names with a given prefix). | 
| ServiceTestCase <T extends Service > | This test case provides a framework in which you can test Service classes in a controlled environment. | 
| SingleLaunchActivityTestCase <T extends Activity > | 
         If you would like to test a single activity with an
         
          
           InstrumentationTestCase
          
         
         , this provides some of the boiler plate to
 launch and finish the activity in
         
          
           setUp()
          
         
         and
         
          
           tearDown()
          
         
         . 
         | 
       
| SyncBaseInstrumentation | 
         If you would like to test sync a single provider with an
         
          
           InstrumentationTestCase
          
         
         , this provides some of the boiler plate in
         
          
           setUp()
          
         
         and
         
          
           tearDown()
          
         
         . 
         | 
       
| TouchUtils | Reusable methods for generating touch events. | 
| ViewAsserts | Some useful assertions about views. | 
| AssertionFailedError | This class was deprecated in API level 16. use junit.framework.AssertionFailedError | 
| ComparisonFailure | This class was deprecated in API level 16. use junit.framework.ComparisonFailure |