OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getAttributeIntValue
(Results
1 - 2
of
2
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
XmlResourceParserImpl.java
639
public int
getAttributeIntValue
(String namespace, String attribute, int defaultValue) {
645
int value =
getAttributeIntValue
(namespace, attribute, defaultValue);
705
public int
getAttributeIntValue
(int idx, int defaultValue) {
717
int value =
getAttributeIntValue
(idx, defaultValue);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
XmlResourceParserImplTest.java
605
assertThat(parser.
getAttributeIntValue
(RES_AUTO_NS, "bar", 0)).isEqualTo(-12);
606
assertThat(parser.
getAttributeIntValue
(RES_AUTO_NS, "foo", 0)).isEqualTo(0);
613
assertThat(parser.
getAttributeIntValue
(0, 0)).isEqualTo(-12);
615
assertThat(parser.
getAttributeIntValue
(attributeIndexOutOfIndex(), 0)).isEqualTo(0);
618
assertThat(parser.
getAttributeIntValue
(0, 0)).isEqualTo(0);
Completed in 131 milliseconds