/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | TestInvocationMultiTest.java | 78 @Mock ILogSaver mMockLogSaver; field in TestInvocationMultiTest 178 when(mMockConfig.getLogSaver()).thenReturn(mMockLogSaver); in testRunBuildProvider_oneMiss() 198 when(mMockLogSaver.saveLogData(Mockito.any(), Mockito.any(), Mockito.any())) in testRunBuildProvider_oneMiss() 201 when(mMockLogSaver.saveLogData(Mockito.any(), Mockito.any(), Mockito.any())) in testRunBuildProvider_oneMiss() 203 when(mMockLogSaver.saveLogData( in testRunBuildProvider_oneMiss() 229 verify(mMockLogSaver).invocationStarted(mContext); in testRunBuildProvider_oneMiss() 235 verify(mMockLogSaver).invocationEnded(Mockito.anyLong()); in testRunBuildProvider_oneMiss() 262 when(mMockConfig.getLogSaver()).thenReturn(mMockLogSaver); in testResolveDynamicFails() 283 when(mMockLogSaver.saveLogData(Mockito.any(), Mockito.any(), Mockito.any())) in testResolveDynamicFails() 290 when(mMockLogSaver.saveLogData(Mockito.any(), Mockito.any(), Mockito.any())) in testResolveDynamicFails() [all …]
|
D | SandboxedInvocationExecutionTest.java | 82 @Mock ILogSaver mMockLogSaver; field in SandboxedInvocationExecutionTest 157 mConfig.setLogSaver(mMockLogSaver); in testSandboxInvocation() 161 .when(mMockLogSaver) in testSandboxInvocation() 221 mConfig.setLogSaver(mMockLogSaver); in testParentSandboxInvocation_sharding() 227 .when(mMockLogSaver) in testParentSandboxInvocation_sharding() 246 mConfig.setLogSaver(mMockLogSaver); in testParentSandboxInvocation() 253 .when(mMockLogSaver) in testParentSandboxInvocation() 302 mConfig.setLogSaver(mMockLogSaver); in testInvocation_sharding_notTests() 306 .when(mMockLogSaver) in testInvocation_sharding_notTests() 359 mConfig.setLogSaver(mMockLogSaver); in testInvocation_preInvocationFailing() [all …]
|
D | TestInvocationTest.java | 173 @Mock ILogSaver mMockLogSaver; field in TestInvocationTest 203 mInOrderLogSaver = inOrder(mMockLogSaver); in setUp() 234 mStubConfiguration.setLogSaver(mMockLogSaver); in setUp() 235 mStubMultiConfiguration.setLogSaver(mMockLogSaver); in setUp() 546 .when(mMockLogSaver) in stubMockListeners() 554 .when(mMockLogSaver) in stubMockListeners() 564 .when(mMockLogSaver) in stubMockListeners() 581 .when(mMockLogSaver) in stubMockListeners() 590 .when(mMockLogSaver) in stubMockListeners() 599 .when(mMockLogSaver) in stubMockListeners() [all …]
|
D | ShardMainResultForwarderTest.java | 53 @Mock private ILogSaver mMockLogSaver; field in ShardMainResultForwarderTest 169 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(shardListener)); in testForward_Sharded() 181 Mockito.verify(mMockLogSaver, times(2)) in testForward_Sharded()
|
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 234 @Mock ILogSaver mMockLogSaver; field in BasePostProcessorTest 265 when(mMockLogSaver.saveLogData(Mockito.eq(TEST_DATA_NAME_1), Mockito.any(), Mockito.any())) in setUp() 267 when(mMockLogSaver.saveLogData(Mockito.eq(TEST_DATA_NAME_2), Mockito.any(), Mockito.any())) in setUp() 269 when(mMockLogSaver.saveLogData(Mockito.eq(RUN_DATA_NAME_1), Mockito.any(), Mockito.any())) in setUp() 271 when(mMockLogSaver.saveLogData(Mockito.eq(RUN_DATA_NAME_2), Mockito.any(), Mockito.any())) in setUp() 312 mMockLogSaver, Arrays.asList(mProcessor.init(mMockListener))); in testRunLogsPostProcessing_processRunLogs() 345 mMockLogSaver, Arrays.asList(mProcessor.init(mMockListener))); in testRunLevelPostProcessing_processRunLogsOnly() 415 mMockLogSaver, Arrays.asList(mProcessor.init(mMockListener))); in testPerTestLogPostProcessing_processTestLogs() 458 mMockLogSaver, Arrays.asList(mProcessor.init(mMockListener))); in testPerTestLogPostProcessing_processTestLogsOnly() 493 mMockLogSaver, Arrays.asList(mProcessor.init(mMockListener))); in testPerTestPostProcessing_logToTestAssociation() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | XmlResultReporterTest.java | 43 private ILogSaver mMockLogSaver; field in XmlResultReporterTest 75 mMockLogSaver = new MockLogSaver(); in setUp() 89 mResultReporter.setLogSaver(mMockLogSaver); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ITestSuiteMultiTest.java | 75 @Mock ILogSaver mMockLogSaver; field in ITestSuiteMultiTest 139 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
D | TfSuiteRunnerTest.java | 80 @Mock ILogSaver mMockLogSaver; field in TfSuiteRunnerTest 90 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
D | ModuleDefinitionTest.java | 123 @Mock ILogSaver mMockLogSaver; field in ModuleDefinitionTest 1364 mModule.setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder() 1379 when(mMockLogSaver.saveLogData( in testModule_LogSaverResultForwarder() 1385 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(mMockLogSaverListener)); in testModule_LogSaverResultForwarder() 1388 inOrder.verify(mMockLogSaverListener).setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder() 1406 verify(mMockLogSaverListener).setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder() 1507 mModule.setLogSaver(mMockLogSaver); in testRun_moduleLevelListeners() 1524 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(mMockLogSaverListener)); in testRun_moduleLevelListeners() 1527 inOrder.verify(mMockLogSaverListener).setLogSaver(mMockLogSaver); in testRun_moduleLevelListeners() 1561 verify(mMockLogSaverListener).setLogSaver(mMockLogSaver); in testRun_moduleLevelListeners()
|
D | ITestSuiteIntegrationTest.java | 109 @Mock ILogSaver mMockLogSaver; field in ITestSuiteIntegrationTest 177 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
D | ITestSuiteTest.java | 139 @Mock ILogSaver mMockLogSaver; field in ITestSuiteTest 322 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 79 private ILogSaver mMockLogSaver; field in ShardHelperTest 114 mMockLogSaver = Mockito.mock(ILogSaver.class); in setUp() 115 mConfig.setLogSaver(mMockLogSaver); in setUp()
|
D | StrictShardHelperTest.java | 83 private ILogSaver mMockLogSaver; field in StrictShardHelperTest 98 mMockLogSaver = Mockito.mock(ILogSaver.class); in setUp() 99 mConfig.setLogSaver(mMockLogSaver); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | CommandSchedulerFuncTest.java | 83 @Mock ILogSaver mMockLogSaver; field in CommandSchedulerFuncTest 135 when(mFastConfig.getLogSaver()).thenReturn(mMockLogSaver); in setUp() 136 when(mSlowConfig.getLogSaver()).thenReturn(mMockLogSaver); in setUp()
|
D | CommandSchedulerTest.java | 112 @Mock ILogSaver mMockLogSaver; field in CommandSchedulerTest 525 when(mockRescheduledConfig.getLogSaver()).thenReturn(mMockLogSaver); 715 when(mMockConfiguration.getLogSaver()).thenReturn(mMockLogSaver); in setCreateConfigExpectations()
|