HomeSort by relevance Sort by last modified time
    Searched full:shadowcontentresolver (Results 1 - 4 of 4) sorted by null

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ContentResolverTest.java 39 private ShadowContentResolver shadowContentResolver;
47 shadowContentResolver = shadowOf(contentResolver);
57 shadowContentResolver.setNextDatabaseIdForInserts(21);
68 assertThat(shadowContentResolver.getInsertStatements().size(), is(1));
69 assertThat(shadowContentResolver.getInsertStatements().get(0).getUri(), equalTo(EXTERNAL_CONTENT_URI));
70 assertThat(shadowContentResolver.getInsertStatements().get(0).getContentValues().getAsString("foo"), equalTo("bar"));
75 assertThat(shadowContentResolver.getInsertStatements().size(), is(2));
76 assertThat(shadowContentResolver.getInsertStatements().get(1).getContentValues().getAsString("hello"), equalTo("world"));
84 assertThat(shadowContentResolver.getUpdateStatements().size(), is(1))
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/database/
SimpleTestCursorTest.java 7 import com.xtremelabs.robolectric.shadows.ShadowContentResolver;
27 ShadowContentResolver shadowContentResolver = shadowOf(contentResolver);
30 shadowContentResolver.setCursor(uri, cursor);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/
Robolectric.java 178 ShadowContentResolver.class,
372 ShadowContentResolver.reset();
547 public static ShadowContentResolver shadowOf(ContentResolver instance) {
548 return (ShadowContentResolver) shadowOf_(instance);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentResolver.java 19 public class ShadowContentResolver {

Completed in 619 milliseconds