Searched defs:testContext (Results 1 – 12 of 12) sorted by relevance
29 private final Context testContext; field in TestEnvironment33 public TestEnvironment(Context testContext, TestEnv env, ActionHandler actionHandler) { in TestEnvironment()
42 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
52 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
53 public static void setResourcesContextForTest(@Nullable Context testContext) { in setResourcesContextForTest()
60 public static void setResourcesContextForTest(@Nullable Context testContext) { in setResourcesContextForTest()
38 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) { in TestUtils()
195 TestContext testContext = new TestContext(testService); in testGetSystemService_notRegistered_delegatesToBaseContext() local221 TestContext testContext = new TestContext(testService); in testGetSystemService_registered_mutatesService() local
47 final Context testContext = instrumentation.getContext(); in setUp() local
83 Context testContext = InstrumentationRegistry.getContext(); in setUpClass() local
291 Context testContext = getInstrumentation().getContext(); in loadImages() local
55 private val testContext: Context in <lambda>() constant
1810 Context testContext = InstrumentationRegistry.getInstrumentation().getContext(); in testLaunchWithCustomAction() local1853 Context testContext = InstrumentationRegistry.getInstrumentation().getContext(); in testLaunchWithShareModification() local