Searched refs:shadowContentResolver (Results 1 – 1 of 1) sorted by relevance
65 private ShadowContentResolver shadowContentResolver; field in ShadowContentResolverTest73 shadowContentResolver = shadowOf(contentResolver); in setUp()83 shadowContentResolver.setNextDatabaseIdForInserts(20); in insert_shouldReturnIncreasingUris()125 assertThat(shadowContentResolver.getInsertStatements().size()).isEqualTo(1); in insert_shouldTrackInsertStatements()126 …assertThat(shadowContentResolver.getInsertStatements().get(0).getUri()).isEqualTo(EXTERNAL_CONTENT… in insert_shouldTrackInsertStatements()127 …assertThat(shadowContentResolver.getInsertStatements().get(0).getContentValues().getAsString("foo"… in insert_shouldTrackInsertStatements()132 assertThat(shadowContentResolver.getInsertStatements().size()).isEqualTo(2); in insert_shouldTrackInsertStatements()133 …assertThat(shadowContentResolver.getInsertStatements().get(1).getContentValues().getAsString("hell… in insert_shouldTrackInsertStatements()141 assertThat(shadowContentResolver.getUpdateStatements().size()).isEqualTo(1); in insert_shouldTrackUpdateStatements()142 …assertThat(shadowContentResolver.getUpdateStatements().get(0).getUri()).isEqualTo(EXTERNAL_CONTENT… in insert_shouldTrackUpdateStatements()[all …]