Home
last modified time | relevance | path

Searched refs:qualifyResourceName (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResNameTest.java12 …assertThat(ResName.qualifyResourceName("some.package:type/name", null, null)).isEqualTo("some.pack… in shouldQualify()
13 …assertThat(ResName.qualifyResourceName("some.package:type/name", "default.package", "deftype")).is… in shouldQualify()
14 …assertThat(ResName.qualifyResourceName("*android:type/name", "default.package", "deftype")).isEqua… in shouldQualify()
15 …assertThat(ResName.qualifyResourceName("some.package:name", "default.package", "deftype")).isEqual… in shouldQualify()
16 …assertThat(ResName.qualifyResourceName("type/name", "default.package", "deftype")).isEqualTo("defa… in shouldQualify()
17 …assertThat(ResName.qualifyResourceName("name", "default.package", "deftype")).isEqualTo("default.p… in shouldQualify()
18 assertThat(ResName.qualifyResourceName("someRawString", "default.package", null)).isNull(); in shouldQualify()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResName.java46 …public static String qualifyResourceName(@Nonnull String possiblyQualifiedResourceName, String def… in qualifyResourceName() method in ResName
101 …String fullyQualifiedResourceName = qualifyResourceName(possiblyQualifiedResourceName, contextPack… in qualifyResName()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DXmlResourceParserImpl.java325 …return "@" + ResName.qualifyResourceName(value.trim().substring(1).replace("+", ""), packageName, … in qualify()
327 return "?" + ResName.qualifyResourceName(value.trim().substring(1), packageName, "attr"); in qualify()