HomeSort by relevance Sort by last modified time
    Searched refs:ANDROID_RES_NS_PREFIX (Results 1 - 8 of 8) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
AttributeSetBuilderTest.java 4 import static org.robolectric.res.AttributeResource.ANDROID_RES_NS_PREFIX;
48 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + "com.some.namespace", "text", 0)).isEqualTo(0);
57 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + "com.some.other.namespace", "id", 0)).isEqualTo(0);
75 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + R.class.getPackage().getName(), "message", 0)).isEqualTo(R.string.howdy);
84 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + R.class.getPackage().getName(), "message", -1)).isEqualTo(-1);
92 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + R.class.getPackage().getName(), "message", -1)).isEqualTo(-1);
101 assertThat(roboAttributeSet.getAttributeBooleanValue(ANDROID_RES_NS_PREFIX + R.class.getPackage().getName(), "isSugary", false)).isTrue();
111 assertThat(roboAttributeSet.getAttributeBooleanValue(ANDROID_RES_NS_PREFIX + R.class.getPackage().getName(), "isSugary", false)).isTrue();
119 assertThat(roboAttributeSet.getAttributeBooleanValue(ANDROID_RES_NS_PREFIX + "com.some.namespace", "isSugary", true)).isTrue();
128 assertThat(roboAttributeSet.getAttributeValue(ANDROID_RES_NS_PREFIX + R.class.getPackage().getName(), "isSugary")).isEqualTo("oh heck yeah")
    [all...]
  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
AttributeResource.java 6 public static final String ANDROID_RES_NS_PREFIX = "http://schemas.android.com/apk/res/";
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
XmlResourceParserImpl.java 68 this.applicationNamespace = AttributeResource.ANDROID_RES_NS_PREFIX + applicationPackageName;
  /prebuilts/misc/common/robolectric/3.1.1/lib/
robolectric-resources-3.1.1.jar 
  /prebuilts/misc/common/robolectric/3.4.2/lib/
resources-3.4.2.jar 
  /prebuilts/misc/common/robolectric/3.5.1/lib/
resources-3.5.1.jar 
  /prebuilts/misc/common/robolectric/3.6.1/lib/
resources-3.6.1.jar 
  /external/robolectric/v3/
robolectric-resources-3.1-SNAPSHOT.jar 

Completed in 1005 milliseconds