Home
last modified time | relevance | path

Searched refs:sdkEnvironment (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DBootstrapDeferringRobolectricTestRunner.java38 ParallelUniverseInterface getHooksInterface(SdkEnvironment sdkEnvironment) { in getHooksInterface() argument
39 bootstrapWrapper = new BootstrapWrapper(super.getHooksInterface(sdkEnvironment)); in getHooksInterface()
85 public SdkEnvironment sdkEnvironment; field in BootstrapDeferringRobolectricTestRunner.BootstrapWrapper
104 AndroidManifest appManifest, SdkEnvironment sdkEnvironment) { in setUpApplicationState() argument
109 this.sdkEnvironment = sdkEnvironment; in setUpApplicationState()
133 hooksInterface.setUpApplicationState(apkLoader, method, config, appManifest, sdkEnvironment); in callSetUpApplicationState()
DRobolectricTestRunnerTest.java97 ParallelUniverseInterface getHooksInterface(SdkEnvironment sdkEnvironment) { in failureInResetterDoesntBreakAllTests()
99 sdkEnvironment.bootstrappedClass(MyParallelUniverseWithFailingSetUp.class); in failureInResetterDoesntBreakAllTests()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSandboxFactory.java36 SdkEnvironment sdkEnvironment = sdkToEnvironment.get(key); in getSdkEnvironment() local
37 if (sdkEnvironment == null) { in getSdkEnvironment()
41 sdkEnvironment = createSdkEnvironment(sdkConfig, robolectricClassLoader); in getSdkEnvironment()
43 sdkToEnvironment.put(key, sdkEnvironment); in getSdkEnvironment()
45 return sdkEnvironment; in getSdkEnvironment()
DParallelUniverseInterface.java17 SdkEnvironment sdkEnvironment); in setUpApplicationState() argument
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DApkLoader.java31 public PackageResourceTable getSystemResourceTable(SdkEnvironment sdkEnvironment) { in getSystemResourceTable() argument
32 return sdkEnvironment.getSystemResourceTable(dependencyResolver); in getSystemResourceTable()
62 public FsFile getCompileTimeSystemResourcesFile(SdkEnvironment sdkEnvironment) { in getCompileTimeSystemResourcesFile() argument
63 return sdkEnvironment.getCompileTimeSystemResourcesFile(dependencyResolver); in getCompileTimeSystemResourcesFile()
DRobolectricTestRunner.java232 SdkEnvironment sdkEnvironment = (SdkEnvironment) sandbox; in configureSandbox() local
235 roboMethod.parallelUniverseInterface = getHooksInterface(sdkEnvironment); in configureSandbox()
348 SdkEnvironment sdkEnvironment = (SdkEnvironment) sandbox; in beforeTest() local
369 roboMethod.parallelUniverseInterface = getHooksInterface(sdkEnvironment); in beforeTest()
370 Class<TestLifecycle> cl = sdkEnvironment.bootstrappedClass(getTestLifecycleClass()); in beforeTest()
373 … providers = ServiceLoader.load(ShadowProvider.class, sdkEnvironment.getRobolectricClassLoader()); in beforeTest()
383 sdkEnvironment in beforeTest()
550 ParallelUniverseInterface getHooksInterface(SdkEnvironment sdkEnvironment) { in getHooksInterface() argument
551 ClassLoader robolectricClassLoader = sdkEnvironment.getRobolectricClassLoader(); in getHooksInterface()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java87 AndroidManifest appManifest, SdkEnvironment sdkEnvironment) { in setUpApplicationState() argument
126 injectResourceStuffForLegacy(apkLoader, appManifest, sdkEnvironment); in setUpApplicationState()
145 apkLoader.getCompileTimeSystemResourcesFile(sdkEnvironment); in setUpApplicationState()
251 SdkEnvironment sdkEnvironment) { in injectResourceStuffForLegacy() argument
252 PackageResourceTable systemResourceTable = apkLoader.getSystemResourceTable(sdkEnvironment); in injectResourceStuffForLegacy()