OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stringArrayResourceLoader
(Results
1 - 2
of
2
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
StringArrayResourceLoaderTest.java
16
private
StringArrayResourceLoader
stringArrayResourceLoader
;
30
stringArrayResourceLoader
= new
StringArrayResourceLoader
(resourceExtractor, stringResourceLoader);
31
new DocumentLoader(
stringArrayResourceLoader
).loadResourceXmlDir(resourceXmlDir);
32
new DocumentLoader(
stringArrayResourceLoader
).loadSystemResourceXmlDir(systemResourceXmlDir);
37
assertThat(Arrays.asList(
stringArrayResourceLoader
.getArrayValue(R.array.items)), hasItems("foo", "bar"));
42
assertThat(Arrays.asList(
stringArrayResourceLoader
.getArrayValue(R.array.greetings)), hasItems("hola", "Hello"));
47
assertThat(Arrays.asList(
stringArrayResourceLoader
.getArrayValue(android.R.array.emailAddressTypes)), hasItems("Home", "Work", "Other", "Custom"));
48
assertThat(Arrays.asList(
stringArrayResourceLoader
.getArrayValue(R.array.emailAddressTypes)), hasItems("Doggy", "Catty"))
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
ResourceLoader.java
64
private final
StringArrayResourceLoader
stringArrayResourceLoader
;
95
stringArrayResourceLoader
= new
StringArrayResourceLoader
( resourceExtractor, stringResourceLoader );
182
DocumentLoader valueResourceLoader = new DocumentLoader(
stringArrayResourceLoader
, colorResourceLoader,
375
stringArrayResourceLoader
= null;
519
return
stringArrayResourceLoader
.getArrayValue( id );
Completed in 309 milliseconds