Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DXmlResourceParserImplTest.java625 assertThat(parser.getAttributeUnsignedIntValue(RES_AUTO_NS, "bar", 0)).isEqualTo(12); in testGetAttributeUnsignedIntValue_StringStringInt()
627 assertThat(parser.getAttributeUnsignedIntValue(RES_AUTO_NS, "foo", 0)).isEqualTo(0); in testGetAttributeUnsignedIntValue_StringStringInt()
632 assertThat(parser.getAttributeUnsignedIntValue(RES_AUTO_NS, "bar", 0)) in testGetAttributeUnsignedIntValue_StringStringInt()
640 assertThat(parser.getAttributeUnsignedIntValue(0, 0)).isEqualTo(12); in testGetAttributeUnsignedIntValue_IntInt()
642 assertThat(parser.getAttributeUnsignedIntValue(attributeIndexOutOfIndex(), 0)).isEqualTo(0); in testGetAttributeUnsignedIntValue_IntInt()
647 assertThat(parser.getAttributeUnsignedIntValue(0, 0)) in testGetAttributeUnsignedIntValue_IntInt()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DXmlResourceParserImpl.java644 public int getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) { in getAttributeUnsignedIntValue() method in XmlResourceParserImpl
716 public int getAttributeUnsignedIntValue(int idx, int defaultValue) { in getAttributeUnsignedIntValue() method in XmlResourceParserImpl