{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Class Index

These are all the API classes. See all API packages.

A  D  G  P  S  U  

A

ActivityTestRule

This class is deprecated.

use androidx.test.core.app.ActivityScenario or instead.

AtraceLogger

Class contains helper methods to dump atrace info asynchronously while running the test case.

D

DisableOnAndroidDebug

The DisableOnAndroidDebug Rule allows you to label certain rules to be disabled when debugging.

G

GrantPermissionRule

The GrantPermissionRule Rule allows granting of runtime permissions on Android M (API 23) and above.

P

ProviderTestRule

A TestRule to test ContentProviders, with additional APIs to enable easy initialization such as restoring database from a file, running database commands passed in as a String or a file.

ProviderTestRule.Builder

A Builder to ease ProviderTestRule creation.

S

ServiceTestRule

A JUnit rule that provides a simplified mechanism to start and shutdown your service before and after the duration of your test.

U

UiThreadTest

Classes and methods annotated with this annotation will be executed on the application's UI thread (or main thread).

UiThreadTestRule

This class is deprecated.

use UiThreadTest directly without this rule.