Searched refs:stringResourceLoader (Results 1 - 9 of 9) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
H A DStringResourceLoaderTest.java12 private StringResourceLoader stringResourceLoader; field in class:StringResourceLoaderTest
17 stringResourceLoader = new StringResourceLoader(resourceExtractor);
18 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
23 assertThat(stringResourceLoader.getValue(R.string.hello), equalTo("Hello"));
24 assertThat(stringResourceLoader.getValue(R.string.howdy), equalTo("Howdy"));
29 assertThat(stringResourceLoader.getValue(R.string.some_html), equalTo("Hello, world"));
34 assertThat(stringResourceLoader.getValue(R.string.greeting), equalTo("Howdy"));
H A DStringArrayResourceLoaderTest.java26 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor);
27 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceXmlDir);
28 new DocumentLoader(stringResourceLoader).loadSystemResourceXmlDir(systemResourceXmlDir);
30 stringArrayResourceLoader = new StringArrayResourceLoader(resourceExtractor, stringResourceLoader);
H A DPluralResourceLoaderTest.java19 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor);
20 pluralResourceLoader = new PluralResourceLoader(resourceExtractor, stringResourceLoader);
22 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
H A DPreferenceLoaderTest.java37 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor);
38 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
59 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor);
60 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
H A DMenuLoaderTest.java41 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor);
42 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
43 new DocumentLoader(stringResourceLoader).loadSystemResourceXmlDir(getSystemResourceDir("values"));
H A DViewLoaderTest.java43 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor);
44 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
45 new DocumentLoader(stringResourceLoader).loadSystemResourceXmlDir(getSystemResourceDir("values"));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
H A DStringArrayResourceLoader.java17 private StringResourceLoader stringResourceLoader; field in class:StringArrayResourceLoader
19 public StringArrayResourceLoader(ResourceExtractor resourceExtractor, StringResourceLoader stringResourceLoader) { argument
21 this.stringResourceLoader = stringResourceLoader;
38 arrayValues.add(stringResourceLoader.getValue(value , isSystem));
H A DPluralResourceLoader.java17 private StringResourceLoader stringResourceLoader; field in class:PluralResourceLoader
19 public PluralResourceLoader(ResourceExtractor resourceExtractor, StringResourceLoader stringResourceLoader) { argument
21 this.stringResourceLoader = stringResourceLoader;
46 rules.add(new Plural(quantity, stringResourceLoader.getValue(value, isSystem)));
H A DResourceLoader.java62 private final StringResourceLoader stringResourceLoader; field in class:ResourceLoader
93 stringResourceLoader = new StringResourceLoader( resourceExtractor );
94 pluralResourceLoader = new PluralResourceLoader( resourceExtractor, stringResourceLoader );
95 stringArrayResourceLoader = new StringArrayResourceLoader( resourceExtractor, stringResourceLoader );
172 DocumentLoader stringResourceDocumentLoader = new DocumentLoader( this.stringResourceLoader );
370 protected ResourceLoader( StringResourceLoader stringResourceLoader ) {
372 this.stringResourceLoader = stringResourceLoader;
407 return stringResourceLoader.getValue( id );

Completed in 238 milliseconds