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

androidx.test.rule.provider

Classes

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.