Searched refs:mMockContext (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 125 private IInvocationContext mMockContext; field in BaseHostJUnit4TestTest 133 mMockContext = new InvocationContext(); in setUp() 134 mMockContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 135 mMockContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuild); in setUp() 140 mHostTest.setInvocationContext(mMockContext); in setUp() 171 test.setInvocationContext(mMockContext); in testRunDeviceTests() 204 test.setInvocationContext(mMockContext); in testRunDeviceTests_abi() 232 test.setInvocationContext(mMockContext); in testRunDeviceTests_asUser() 270 test.setInvocationContext(mMockContext); in testRunDeviceTestsWithOptions() 302 test.setInvocationContext(mMockContext); in testRunDeviceTests_crashedInstrumentation() [all …]
|
D | LongevityHostRunnerTest.java | 64 private IInvocationContext mMockContext; field in LongevityHostRunnerTest 178 mMockContext = mock(IInvocationContext.class); in setUpMocks() 189 mHostRunner.setInvocationContext(mMockContext); in setUpRunner()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | TradefedSandboxTest.java | 60 private IInvocationContext mMockContext; field in TradefedSandboxTest 77 mMockContext = new InvocationContext(); in setUp() 78 mMockContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp() 138 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment() 181 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_dumpConfigFail() 201 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_noTfDirJar() 232 mMockContext, mMockConfig, new String[] {"empty", "--arg", "1"}); in testSandboxOptions() 259 mMockContext, mMockConfig, new String[] {"empty", "--arg", "1"}); in testSandboxOptions_exclusion()
|