Home
last modified time | relevance | path

Searched refs:resourceFile (Results 1 – 21 of 21) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DResourceLoaderTest.java16 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
29 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("ass… in shouldLoadSystemResources()
39 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("ass… in shouldLoadLocalResources()
46 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("lay… in shouldThrowExceptionOnI18nStrictModeInflateView()
54 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("men… in shouldThrowExceptionOnI18nStrictModeInflateMenu()
61 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("xml… in shouldThrowExceptionOnI18nStrictModeInflatePreferences()
68 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("lay… in testChoosesLayoutBasedOnSearchPath_respectsOrderOfPath()
DMenuResourceLoaderTest.java4 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
23 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("men… in shouldInflateComplexMenu()
31 …urceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("men… in shouldParseSubItemCorrectly()
DPreferenceLoaderTest.java3 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
38 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
40 new DocumentLoader(prefLoader).loadResourceXmlDir(resourceFile("res", "xml")); in setUp()
60 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in shouldThrowI18nExceptionOnPrefsWithBareStrings()
63 new DocumentLoader(prefLoader).loadResourceXmlDir(resourceFile("res", "xml")); in shouldThrowI18nExceptionOnPrefsWithBareStrings()
DPluralResourceLoaderTest.java3 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
22 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
23 new DocumentLoader(pluralResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
DDimenResourceLoaderTest.java3 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
22 .loadResourceXmlDir(resourceFile("res", "values")); in setUp()
DIntegerResourceLoaderTest.java3 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
25 documentLoader.loadResourceXmlDir(resourceFile("res", "values")); in setup()
DViewLoaderTest.java44 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
48 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout")); in setUp()
49 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-land")); in setUp()
50 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-large-v16")); in setUp()
51 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-v11")); in setUp()
52 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-xlarge")); in setUp()
53 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout-xlarge-v11")); in setUp()
374 new DocumentLoader(viewLoader).loadResourceXmlDir(resourceFile("res", "layout")); in shouldThrowI18nExceptionOnLayoutWithBareStrings()
DStringResourceLoaderTest.java7 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
18 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
DMenuLoaderTest.java5 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
42 new DocumentLoader(stringResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
46 new DocumentLoader(menuLoader).loadResourceXmlDir(resourceFile("res", "menu")); in setUp()
DRawResourceLoaderTest.java17 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
28 rawResourceLoader = new RawResourceLoader(resourceExtractor, resourceFile("res")); in setUp()
DStringArrayResourceLoaderTest.java11 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
23 File resourceXmlDir = resourceFile("res", "values"); in setUp()
DAttrResourceLoaderTest.java12 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
25 new DocumentLoader(attrResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
DDrawableResourceLoaderTest.java15 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
37 resourceLoader = new DrawableResourceLoader(extractor, resourceFile("res")); in setup()
40 documentLoader.loadResourceXmlDir(resourceFile("res", "drawable")); in setup()
DColorResourceLoaderTest.java9 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
21 new DocumentLoader(colorResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in setUp()
DTestAttributeSetTest.java14 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
136 new DocumentLoader(attrResourceLoader).loadResourceXmlDir(resourceFile("res", "values")); in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributes()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DWithTestDefaultsRunner.java3 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
14 …super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"… in WithTestDefaultsRunner()
17 …super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"… in WithTestDefaultsRunner()
DWithCustomClassListTestRunner.java6 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
11 …super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"… in WithCustomClassListTestRunner()
DInstrumentDetectorTest.java16 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
70 …new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("… in RunnerForTesting()
88 …new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("… in RunnerForTestingThatWillPass()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DTestUtil.java72 public static File resourceFile(String... pathParts) { in resourceFile() method in TestUtil
77 return new RobolectricConfig(resourceFile(androidManifestFile), null, null); in newConfig()
/external/python/cpython2/Mac/Modules/icn/
D_Icnmodule.c887 FSSpec resourceFile; in Icn_RegisterIconRefFromResource() local
896 PyMac_GetFSSpec, &resourceFile, in Icn_RegisterIconRefFromResource()
901 &resourceFile, in Icn_RegisterIconRefFromResource()
980 FSSpec resourceFile; in Icn_OverrideIconRefFromResource() local
987 PyMac_GetFSSpec, &resourceFile, in Icn_OverrideIconRefFromResource()
991 &resourceFile, in Icn_OverrideIconRefFromResource()
/external/python/cpython2/Mac/Modules/res/
D_Resmodule.c1340 FSSpec resourceFile; in Res_FSpResourceFileAlreadyOpen() local
1347 PyMac_GetFSSpec, &resourceFile)) in Res_FSpResourceFileAlreadyOpen()
1349 _rv = FSpResourceFileAlreadyOpen(&resourceFile, in Res_FSpResourceFileAlreadyOpen()