Megosztás a következőn keresztül:


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

This annotation can be used on an android.test.InstrumentationTestCase's test methods.

FlakyTestAttribute
InstrumentationTestRunner

An Instrumentation that runs various types of junit.framework.TestCases 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

This annotation can be used on an InstrumentationTestCase's test methods.

UiThreadTestAttribute
ViewAsserts

Some useful assertions about views.

Interfaces

IFlakyTest

This annotation can be used on an android.test.InstrumentationTestCase's test methods.

IPerformanceTestCase

More complex interface performance for test cases.

IPerformanceTestCaseIntermediates

Callbacks for PerformanceTestCase.

IUiThreadTest

This annotation can be used on an InstrumentationTestCase's test methods.

Enums

TestResult

Enumerates values returned by several methods of TestResult.