Android.Test.Mock Namespace

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

Remarks

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

For more information, see the Testing guide.

Classes

TypeReason
MockApplicationA mock Android.App.Application class.
MockContentProviderMock implementation of ContentProvider.
MockContentResolver

Developer Guides

MockContextA mock Android.Content.Context class.
MockCursor
MockDialogInterfaceA mock Android.Content.DialogInterface class.
MockDialogInterface+InterfaceConstsDocumentation for this section has not yet been entered.
MockPackageManagerA mock Android.Content.PM.PackageManager class.
MockResourcesA mock Android.Content.Res.Resources class.