Class ContentProviderController<T extends ContentProvider>
java.lang.Object
org.robolectric.android.controller.ContentProviderController<T>
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create and registerContentProvider
usingProviderInfo
found from manifest.create
(ProviderInfo providerInfo) Create and registerContentProvider
using the givenProviderInfo
.Create and registerContentProvider
usingProviderInfo
found from manifest.get()
static <T extends ContentProvider>
ContentProviderController<T>of
(T contentProvider) shutdown()
-
Method Details
-
of
-
create
Create and registerContentProvider
usingProviderInfo
found from manifest. -
create
Create and registerContentProvider
usingProviderInfo
found from manifest.- Parameters:
authority
- the authority to use- Returns:
- this
ContentProviderController
-
create
Create and registerContentProvider
using the givenProviderInfo
.- Parameters:
providerInfo
- theProviderInfo
to use- Returns:
- this
ContentProviderController
-
get
-
shutdown
-