Home
last modified time | relevance | path

Searched refs:myContentProvider (Results 1 – 1 of 1) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DContentProviderControllerTest.java31 TestContentProvider1 myContentProvider = controller.create().get(); in shouldSetBaseContext() local
32 assertThat(myContentProvider.getContext()) in shouldSetBaseContext()
38 TestContentProvider1 myContentProvider = controller.create().get(); in shouldInitializeFromManifestProviderInfo() local
39 assertThat(myContentProvider.getReadPermission()).isEqualTo("READ_PERMISSION"); in shouldInitializeFromManifestProviderInfo()
40 assertThat(myContentProvider.getWritePermission()).isEqualTo("WRITE_PERMISSION"); in shouldInitializeFromManifestProviderInfo()
42 assertThat(myContentProvider.getPathPermissions()).asList().hasSize(1); in shouldInitializeFromManifestProviderInfo()
43 PathPermission pathPermission = myContentProvider.getPathPermissions()[0]; in shouldInitializeFromManifestProviderInfo()
63 …TestContentProvider1 myContentProvider = Robolectric.buildContentProvider(NotInManifestContentProv… in whenNoProviderManifestEntryFound_shouldStillInitialize() local
64 assertThat(myContentProvider.getReadPermission()).isNull(); in whenNoProviderManifestEntryFound_shouldStillInitialize()
65 assertThat(myContentProvider.getWritePermission()).isNull(); in whenNoProviderManifestEntryFound_shouldStillInitialize()
[all …]