Sdílet prostřednictvím


Android.Test.Mock Namespace

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

Classes

MockApplication

A mock android.app.Application class.

MockContentProvider

Mock implementation of ContentProvider.

MockContentResolver

An extension of android.content.ContentResolver that is designed for testing.

MockContext

A mock android.content.Context class.

MockCursor

A mock android.database.Cursor class that isolates the test code from real Cursor implementation.

MockDialogInterface

A mock android.content.DialogInterface class.

MockDialogInterface.InterfaceConsts
MockPackageManager

A mock android.content.pm.PackageManager class.

MockResources

A mock android.content.res.Resources class.