Home
last modified time | relevance | path

Searched refs:getModuleInvocationContext (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DModuleDefinitionMultiTest.java115 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_1, mDevice1); in testCreateAndRun()
116 mModule.getModuleInvocationContext().addDeviceBuildInfo(DEVICE_NAME_1, mBuildInfo1); in testCreateAndRun()
117 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_2, mDevice2); in testCreateAndRun()
118 mModule.getModuleInvocationContext().addDeviceBuildInfo(DEVICE_NAME_2, mBuildInfo2); in testCreateAndRun()
122 .setInvocationContext(mModule.getModuleInvocationContext()) in testCreateAndRun()
155 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_1, mDevice1); in testPreparer_mismatch()
156 mModule.getModuleInvocationContext().addDeviceBuildInfo(DEVICE_NAME_1, mBuildInfo1); in testPreparer_mismatch()
157 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_2, mDevice2); in testPreparer_mismatch()
158 mModule.getModuleInvocationContext().addDeviceBuildInfo(DEVICE_NAME_2, mBuildInfo2); in testPreparer_mismatch()
162 .setInvocationContext(mModule.getModuleInvocationContext()) in testPreparer_mismatch()
DModuleDefinitionTest.java354 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
355 mModule.getModuleInvocationContext() in setUp()
359 .setInvocationContext(mModule.getModuleInvocationContext()) in setUp()
376 assertNotNull(mModule.getModuleInvocationContext()); in testCreateModule()
377 IInvocationContext moduleContext = mModule.getModuleInvocationContext(); in testCreateModule()
395 assertNotNull(mModule.getModuleInvocationContext()); in testCreateModule_withParams()
396 IInvocationContext moduleContext = mModule.getModuleInvocationContext(); in testCreateModule_withParams()
450 module.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testDynamicDownloadThrows_ReportsRunFailed()
511 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_aggregateRunFailures()
512 mModule.getModuleInvocationContext() in testRun_aggregateRunFailures()
[all …]
DRemoteTestTimeOutEnforcerTest.java64 Mockito.when(mModuleDefinition.getModuleInvocationContext()) in setUp()
DGranularRetriableTestWrapperTest.java377 Mockito.when(module.getModuleInvocationContext()).thenReturn(mModuleInvocationContext); in testIntraModuleRun_catchDeviceNotAvailableException()
1079 Mockito.when(module.getModuleInvocationContext()).thenReturn(mModuleInvocationContext); in testIntraModuleRun_resetMultiDevicesAtLastIntraModuleRetry()
1124 Mockito.when(module.getModuleInvocationContext()).thenReturn(mModuleInvocationContext); in testIntraModuleRun_resetFailed_preparerFailure()
1143 Mockito.when(module.getModuleInvocationContext()).thenReturn(mModuleInvocationContext); in testIntraModuleRun_resetFailed_powerwashFailure()
1193 Mockito.when(module.getModuleInvocationContext()).thenReturn(mModuleInvocationContext); in testInitializeGranularRunListener_RemoteTestTimeOutIsSet()
1222 Mockito.when(module.getModuleInvocationContext()).thenReturn(mModuleInvocationContext); in testInitializeGranularRunListener_GetTestMappingSources()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DInvocationContextTest.java168 assertNull(deserialized.getModuleInvocationContext()); in testProtoSerialize()
190 assertNotNull(deserialized.getModuleInvocationContext()); in testProtoSerialize_moduleContext()
194 .getModuleInvocationContext() in testProtoSerialize_moduleContext()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java922 module.getModuleInvocationContext()); in run()
930 module.getModuleInvocationContext() in run()
932 module.getModuleInvocationContext() in run()
938 module.getModuleInvocationContext() in run()
974 module.getModuleInvocationContext(), in run()
983 module.getModuleInvocationContext() in run()
991 module.getModuleInvocationContext()); in run()
1023 module.getModuleInvocationContext() in run()
1026 listenerWithCollectors.testModuleStarted(module.getModuleInvocationContext()); in run()
1049 testInfo, module.getModuleInvocationContext()); in run()
[all …]
DRemoteTestTimeOutEnforcer.java71 mModuleDefinition.getModuleInvocationContext().getConfigurationDescriptor(). in testRunEnded()
DGranularRetriableTestWrapper.java137 context = module.getModuleInvocationContext(); in GranularRetriableTestWrapper()
225 mModule.getModuleInvocationContext().getConfigurationDescriptor(); in initializeGranularRunListener()
DModuleDefinition.java1354 public IInvocationContext getModuleInvocationContext() { in getModuleInvocationContext() method in ModuleDefinition
1373 listener.testModuleStarted(getModuleInvocationContext()); in reportNotExecuted()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java173 public IInvocationContext getModuleInvocationContext(); in getModuleInvocationContext() method
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java330 public IInvocationContext getModuleInvocationContext() { in getModuleInvocationContext() method in InvocationContext