Class ContentProviderController<T extends ContentProvider>
java.lang.Object
org.robolectric.android.controller.ContentProviderController<T>
public class ContentProviderController<T extends ContentProvider> extends Object
-
Method Summary
Modifier and Type Method Description ContentProviderController<T>
create()
Create and registerContentProvider
usingProviderInfo
found from manifest.ContentProviderController<T>
create(ProviderInfo providerInfo)
Create and registerContentProvider
using the givenProviderInfo
.ContentProviderController<T>
create(String authority)
Create and registerContentProvider
usingProviderInfo
found from manifest.T
get()
static <T extends ContentProvider>
ContentProviderController<T>of(T contentProvider)
ContentProviderController<T>
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
-