Searched refs:stringResourceLoader (Results 1 - 9 of 9) sorted by relevance
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
H A D | StringResourceLoaderTest.java | 12 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 D | StringArrayResourceLoaderTest.java | 26 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 D | PluralResourceLoaderTest.java | 19 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); 20 pluralResourceLoader = new PluralResourceLoader(resourceExtractor, stringResourceLoader); 22 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values"));
|
H A D | PreferenceLoaderTest.java | 37 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 D | MenuLoaderTest.java | 41 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); 42 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); 43 new DocumentLoader(stringResourceLoader).loadSystemResourceXmlDir(getSystemResourceDir("values"));
|
H A D | ViewLoaderTest.java | 43 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 D | StringArrayResourceLoader.java | 17 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 D | PluralResourceLoader.java | 17 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 D | ResourceLoader.java | 62 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