Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java57 private ILogSaver mMockLogSaver; field in TestInvocationMultiTest
73 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
146 EasyMock.expect(mMockConfig.getLogSaver()).andReturn(mMockLogSaver); in testRunBuildProvider_oneMiss()
170 mMockLogSaver, in testRunBuildProvider_oneMiss()
183 mMockLogSaver, in testRunBuildProvider_oneMiss()
201 EasyMock.expect(mMockConfig.getLogSaver()).andReturn(mMockLogSaver); in testRunBuildProvider_oneThrow()
220 mMockLogSaver.invocationStarted(mContext); in testRunBuildProvider_oneThrow()
224 mMockLogSaver.saveLogData( in testRunBuildProvider_oneThrow()
229 mMockLogSaver.invocationEnded(EasyMock.anyLong()); in testRunBuildProvider_oneThrow()
244 mMockLogSaver, in testRunBuildProvider_oneThrow()
[all …]
DTestInvocationTest.java141 private ILogSaver mMockLogSaver; field in TestInvocationTest
167 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
187 mStubConfiguration.setLogSaver(mMockLogSaver); in setUp()
188 mStubMultiConfiguration.setLogSaver(mMockLogSaver); in setUp()
535 mMockLogSaver.saveLogData( in testInvoke_resume()
541 mMockLogSaver.saveLogData( in testInvoke_resume()
547 mMockLogSaver.saveLogData( in testInvoke_resume()
553 mMockLogSaver.saveLogData( in testInvoke_resume()
587 mMockLogSaver.invocationStarted(mStubInvocationMetadata); in testInvoke_resume()
596 mMockLogSaver.invocationStarted(mStubInvocationMetadata); in testInvoke_resume()
[all …]
DShardMasterResultForwarderTest.java50 @Mock private ILogSaver mMockLogSaver; field in ShardMasterResultForwarderTest
159 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(shardListener)); in testForward_Sharded()
171 Mockito.verify(mMockLogSaver, times(1)) in testForward_Sharded()
/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/testtype/suite/
DModuleDefinitionTest.java88 private ILogSaver mMockLogSaver; field in ModuleDefinitionTest
151 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
184 EasyMock.replay(mMockListener, mMockLogSaver, mMockLogSaverListener, mMockDevice); in replayMocks()
199 EasyMock.verify(mMockListener, mMockLogSaver, mMockLogSaverListener, mMockDevice); in verifyMocks()
595 mModule.setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder()
609 mMockLogSaverListener.setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder()
616 mMockLogSaver.saveLogData( in testModule_LogSaverResultForwarder()
635 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(mMockLogSaverListener)); in testModule_LogSaverResultForwarder()
677 mModule.setLogSaver(mMockLogSaver); in testOverrideModuleConfig()
687 mMockLogSaver.saveLogData( in testOverrideModuleConfig()
[all …]
DITestSuiteMultiTest.java65 private ILogSaver mMockLogSaver; field in ITestSuiteMultiTest
122 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
124 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
DTfSuiteRunnerTest.java73 private ILogSaver mMockLogSaver; field in TfSuiteRunnerTest
78 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
80 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
DITestSuiteIntegrationTest.java103 private ILogSaver mMockLogSaver; field in ITestSuiteIntegrationTest
158 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
160 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
DITestSuiteTest.java94 private ILogSaver mMockLogSaver; field in ITestSuiteTest
179 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp()
181 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java72 private ILogSaver mMockLogSaver; field in ShardHelperTest
99 mMockLogSaver = Mockito.mock(ILogSaver.class); in setUp()
100 mConfig.setLogSaver(mMockLogSaver); in setUp()