Home
last modified time | relevance | path

Searched refs:mMockLogSaver (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java68 private ILogSaver mMockLogSaver; field in TestInvocationMultiTest
95 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
173 EasyMock.expect(mMockConfig.getLogSaver()).andReturn(mMockLogSaver); in testRunBuildProvider_oneMiss()
204 mMockLogSaver.invocationStarted(mContext); in testRunBuildProvider_oneMiss()
208 mMockLogSaver.saveLogData( in testRunBuildProvider_oneMiss()
212 mMockLogSaver.saveLogData( in testRunBuildProvider_oneMiss()
219 mMockLogSaver.invocationEnded(EasyMock.anyLong()); in testRunBuildProvider_oneMiss()
225 mMockLogSaver, in testRunBuildProvider_oneMiss()
238 mMockLogSaver, in testRunBuildProvider_oneMiss()
269 EasyMock.expect(mMockConfig.getLogSaver()).andReturn(mMockLogSaver); in testResolveDynamicFails()
[all …]
DTestInvocationTest.java160 private ILogSaver mMockLogSaver; field in TestInvocationTest
203 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
223 mStubConfiguration.setLogSaver(mMockLogSaver); in setUp()
224 mStubMultiConfiguration.setLogSaver(mMockLogSaver); in setUp()
834 logSaverListener.setLogSaver(mMockLogSaver); in testInvoke_logFileSaved()
1114 mMockLogSaver.invocationStarted(mStubInvocationMetadata); in setupMockListeners()
1131 mMockLogSaver.saveLogData( in setupMockListeners()
1175 mMockLogSaver.saveLogData( in setupMockListeners()
1202 mMockLogSaver.saveLogData( in setupMockListeners()
1218 mMockLogSaver.saveLogData( in setupMockListeners()
[all …]
DSandboxedInvocationExecutionTest.java77 @Mock ILogSaver mMockLogSaver; field in SandboxedInvocationExecutionTest
151 mConfig.setLogSaver(mMockLogSaver); in testSandboxInvocation()
155 .when(mMockLogSaver) in testSandboxInvocation()
221 mConfig.setLogSaver(mMockLogSaver); in testParentSandboxInvocation_sharding()
227 .when(mMockLogSaver) in testParentSandboxInvocation_sharding()
246 mConfig.setLogSaver(mMockLogSaver); in testParentSandboxInvocation()
252 .when(mMockLogSaver) in testParentSandboxInvocation()
307 mConfig.setLogSaver(mMockLogSaver); in testInvocation_sharding_notTests()
311 .when(mMockLogSaver) in testInvocation_sharding_notTests()
370 mConfig.setLogSaver(mMockLogSaver); in testInvocation_preInvocationFailing()
[all …]
DShardMainResultForwarderTest.java50 @Mock private ILogSaver mMockLogSaver; field in ShardMainResultForwarderTest
159 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(shardListener)); in testForward_Sharded()
171 Mockito.verify(mMockLogSaver, times(2)) in testForward_Sharded()
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DBasePostProcessorTest.java162 private ILogSaver mMockLogSaver; field in BasePostProcessorTest
169 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
171 mMockLogSaver.saveLogData( in setUp()
177 mMockLogSaver.saveLogData( in setUp()
183 mMockLogSaver.saveLogData( in setUp()
189 mMockLogSaver.saveLogData( in setUp()
231 mMockLogSaver, Arrays.asList(mProcessor.init(mMockListener))); in testRunLogsPostProcessing_processRunLogs()
236 EasyMock.replay(mMockListener, mMockLogSaver); in testRunLogsPostProcessing_processRunLogs()
265 mMockLogSaver, Arrays.asList(mProcessor.init(mMockListener))); in testRunLevelPostProcessing_processRunLogsOnly()
273 EasyMock.replay(mMockListener, mMockLogSaver); in testRunLevelPostProcessing_processRunLogsOnly()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java114 private ILogSaver mMockLogSaver; field in ModuleDefinitionTest
305 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
341 EasyMock.replay(mMockListener, mMockLogSaver, mMockLogSaverListener, mMockDevice); in replayMocks()
356 EasyMock.verify(mMockListener, mMockLogSaver, mMockLogSaverListener, mMockDevice); in verifyMocks()
1252 mModule.setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder()
1267 mMockLogSaverListener.setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder()
1274 mMockLogSaver.saveLogData( in testModule_LogSaverResultForwarder()
1295 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(mMockLogSaverListener)); in testModule_LogSaverResultForwarder()
1337 mModule.setLogSaver(mMockLogSaver); in testOverrideModuleConfig()
1430 mModule.setLogSaver(mMockLogSaver); in testRun_moduleLevelListeners()
[all …]
DITestSuiteMultiTest.java67 private ILogSaver mMockLogSaver; field in ITestSuiteMultiTest
125 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
127 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
DTfSuiteRunnerTest.java77 private ILogSaver mMockLogSaver; field in TfSuiteRunnerTest
83 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
85 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
DITestSuiteIntegrationTest.java107 private ILogSaver mMockLogSaver; field in ITestSuiteIntegrationTest
172 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
174 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
DITestSuiteTest.java125 private ILogSaver mMockLogSaver; field in ITestSuiteTest
305 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
307 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DXmlResultReporterTest.java38 private ILogSaver mMockLogSaver; field in XmlResultReporterTest
75 mMockLogSaver = new MockLogSaver(); in setUp()
89 mResultReporter.setLogSaver(mMockLogSaver); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java76 private ILogSaver mMockLogSaver; field in ShardHelperTest
111 mMockLogSaver = Mockito.mock(ILogSaver.class); in setUp()
112 mConfig.setLogSaver(mMockLogSaver); in setUp()
DStrictShardHelperTest.java77 private ILogSaver mMockLogSaver; field in StrictShardHelperTest
92 mMockLogSaver = Mockito.mock(ILogSaver.class); in setUp()
93 mConfig.setLogSaver(mMockLogSaver); in setUp()