# Print output for @column tags ?> android.test.mock - Android SDK | Android Developers

Most visited

Recently visited

android.test.mock

Utility classes providing stubs or mocks of various Android framework building blocks.

For more information, see the Testing guide.

Classes

MockAccountManager This class is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library. 
MockApplication This class is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library. 
MockContentProvider Mock implementation of ContentProvider. 
MockContentResolver

An extension of ContentResolver that is designed for testing. 

MockContext A mock Context class. 
MockCursor This class is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library. 
MockDialogInterface This class is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library. 
MockPackageManager This class is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library. 
MockResources This class is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library. 
MockService This class is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.