/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
D | StringResourceLoaderTest.java | 12 private StringResourceLoader stringResourceLoader; field in StringResourceLoaderTest 17 stringResourceLoader = new StringResourceLoader(resourceExtractor); in setUp() 18 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp() 23 assertThat(stringResourceLoader.getValue(R.string.hello), equalTo("Hello")); in testStringsAreResolved() 24 assertThat(stringResourceLoader.getValue(R.string.howdy), equalTo("Howdy")); in testStringsAreResolved() 29 assertThat(stringResourceLoader.getValue(R.string.some_html), equalTo("Hello, world")); in testHtmlTagsAreRemovedFromStrings() 34 assertThat(stringResourceLoader.getValue(R.string.greeting), equalTo("Howdy")); in shouldResolveStringReferences()
|
D | StringArrayResourceLoaderTest.java | 26 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); in setUp() local 27 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceXmlDir); in setUp() 28 new DocumentLoader(stringResourceLoader).loadSystemResourceXmlDir(systemResourceXmlDir); in setUp() 30 …stringArrayResourceLoader = new StringArrayResourceLoader(resourceExtractor, stringResourceLoader); in setUp()
|
D | PluralResourceLoaderTest.java | 19 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); in setUp() local 20 pluralResourceLoader = new PluralResourceLoader(resourceExtractor, stringResourceLoader); in setUp() 22 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
|
D | PreferenceLoaderTest.java | 37 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); in setUp() local 38 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp() 59 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); in shouldThrowI18nExceptionOnPrefsWithBareStrings() local 60 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in shouldThrowI18nExceptionOnPrefsWithBareStrings()
|
D | MenuLoaderTest.java | 41 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); in setUp() local 42 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp() 43 … new DocumentLoader(stringResourceLoader).loadSystemResourceXmlDir(getSystemResourceDir("values")); in setUp()
|
D | ViewLoaderTest.java | 43 StringResourceLoader stringResourceLoader = new StringResourceLoader(resourceExtractor); in setUp() local 44 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp() 45 … new DocumentLoader(stringResourceLoader).loadSystemResourceXmlDir(getSystemResourceDir("values")); in setUp()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | StringArrayResourceLoader.java | 17 private StringResourceLoader stringResourceLoader; field in StringArrayResourceLoader 19 …rayResourceLoader(ResourceExtractor resourceExtractor, StringResourceLoader stringResourceLoader) { in StringArrayResourceLoader() argument 21 this.stringResourceLoader = stringResourceLoader; in StringArrayResourceLoader() 38 arrayValues.add(stringResourceLoader.getValue(value , isSystem)); in processNode()
|
D | PluralResourceLoader.java | 17 private StringResourceLoader stringResourceLoader; field in PluralResourceLoader 19 …ralResourceLoader(ResourceExtractor resourceExtractor, StringResourceLoader stringResourceLoader) { in PluralResourceLoader() argument 21 this.stringResourceLoader = stringResourceLoader; in PluralResourceLoader() 46 rules.add(new Plural(quantity, stringResourceLoader.getValue(value, isSystem))); in processNode()
|
D | ResourceLoader.java | 62 private final StringResourceLoader stringResourceLoader; field in ResourceLoader 93 stringResourceLoader = new StringResourceLoader( resourceExtractor ); in ResourceLoader() 94 pluralResourceLoader = new PluralResourceLoader( resourceExtractor, stringResourceLoader ); in ResourceLoader() 95 …ringArrayResourceLoader = new StringArrayResourceLoader( resourceExtractor, stringResourceLoader ); in ResourceLoader() 172 DocumentLoader stringResourceDocumentLoader = new DocumentLoader( this.stringResourceLoader ); in loadStringResources() 370 protected ResourceLoader( StringResourceLoader stringResourceLoader ) { in ResourceLoader() argument 372 this.stringResourceLoader = stringResourceLoader; in ResourceLoader() 407 return stringResourceLoader.getValue( id ); in getStringValue()
|