Android.Test Namespace

A framework for writing Android test cases and suites.

Classes

AssertionFailedError

Thrown when an assertion failed.

ComparisonFailure

Thrown when an assert equals for Strings failed.

FlakyTest

InstrumentationTestCase

FlakyTestAttribute
InstrumentationTestRunner

An Instrumentation that runs various types of TestCase s against an Android package (application).

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.

MoreAsserts

Contains additional assertion methods not found in JUnit.

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).

TouchUtils

Reusable methods for generating touch events.

UiThreadTest

InstrumentationTestCase

UiThreadTestAttribute
ViewAsserts

Some useful assertions about views.

Interfaces

IFlakyTest

InstrumentationTestCase

IPerformanceTestCase

More complex interface performance for test cases.

IPerformanceTestCaseIntermediates

Callbacks for IPerformanceTestCase.

IUiThreadTest

InstrumentationTestCase

Enums

TestResult

Enumerates values returned by several methods of TestResult.