Searched refs:mTestContext (Results 1 – 4 of 4) sorted by relevance
44 private TestContext mTestContext; field in PartnerTest49 mTestContext = new TestContext(getInstrumentation().getTargetContext()); in setUp()55 mTestContext.partnerList = Arrays.asList( in testLoadPartner()60 Partner partner = Partner.get(mTestContext); in testLoadPartner()66 mTestContext.partnerList = new ArrayList<>(); in testLoadNoPartner()68 Partner partner = Partner.get(mTestContext); in testLoadNoPartner()74 mTestContext.partnerList = Arrays.asList( in testLoadNonSystemPartner()79 Partner partner = Partner.get(mTestContext); in testLoadNonSystemPartner()85 mTestContext.partnerList = Arrays.asList( in testLoadPartnerValue()91 Partner.getResourceEntry(mTestContext, R.integer.suwTransitionDuration); in testLoadPartnerValue()[all …]
42 private Context mTestContext; field in AndroidTestCase77 mTestContext = context; in setTestContext()84 return mTestContext; in getTestContext()
32 Context mTestContext; field in JobStoreTest36 mTestContext = new RenamingDelegatingContext(getContext(), TEST_PREFIX); in setUp()37 Log.d(TAG, "Saving tasks to '" + mTestContext.getFilesDir() + "'"); in setUp()39 JobStore.initAndGetForTesting(mTestContext, mTestContext.getFilesDir()); in setUp()
221 Context originalContext = ((MyMockContext)getContext()).mTestContext; in testRemovedAccountSync()247 Context originalContext = ((MyMockContext) getContext()).mTestContext; in testPreNDatabaseMigration()343 private Context mTestContext; field in AccountManagerServiceTest.MyMockContext349 this.mTestContext = testContext; in MyMockContext()400 return mTestContext.openOrCreateDatabase(file, mode, factory,errorHandler); in openOrCreateDatabase()