/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationMultiTest.java | 61 private ILogSaver mMockLogSaver; field in TestInvocationMultiTest 82 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp() 156 EasyMock.expect(mMockConfig.getLogSaver()).andReturn(mMockLogSaver); in testRunBuildProvider_oneMiss() 186 mMockLogSaver.invocationStarted(mContext); in testRunBuildProvider_oneMiss() 190 mMockLogSaver.saveLogData( in testRunBuildProvider_oneMiss() 195 mMockLogSaver.invocationEnded(EasyMock.anyLong()); in testRunBuildProvider_oneMiss() 201 mMockLogSaver, in testRunBuildProvider_oneMiss() 214 mMockLogSaver, in testRunBuildProvider_oneMiss() 236 EasyMock.expect(mMockConfig.getLogSaver()).andReturn(mMockLogSaver); in testRunBuildProvider_oneThrow() 257 mMockLogSaver.invocationStarted(mContext); in testRunBuildProvider_oneThrow() [all …]
|
D | SandboxedInvocationExecutionTest.java | 68 @Mock ILogSaver mMockLogSaver; field in SandboxedInvocationExecutionTest 136 mConfig.setLogSaver(mMockLogSaver); in testSandboxInvocation() 140 .when(mMockLogSaver) in testSandboxInvocation() 205 mConfig.setLogSaver(mMockLogSaver); in testParentSandboxInvocation_sharding() 211 .when(mMockLogSaver) in testParentSandboxInvocation_sharding() 230 mConfig.setLogSaver(mMockLogSaver); in testParentSandboxInvocation() 236 .when(mMockLogSaver) in testParentSandboxInvocation() 290 mConfig.setLogSaver(mMockLogSaver); in testInvocation_sharding_notTests() 294 .when(mMockLogSaver) in testInvocation_sharding_notTests() 353 mConfig.setLogSaver(mMockLogSaver); in testInvocation_preInvocationFailing() [all …]
|
D | TestInvocationTest.java | 150 private ILogSaver mMockLogSaver; field in TestInvocationTest 177 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp() 197 mStubConfiguration.setLogSaver(mMockLogSaver); in setUp() 198 mStubMultiConfiguration.setLogSaver(mMockLogSaver); in setUp() 591 mMockLogSaver.saveLogData( in testInvoke_resume() 597 mMockLogSaver.saveLogData( in testInvoke_resume() 603 mMockLogSaver.saveLogData( in testInvoke_resume() 609 mMockLogSaver.saveLogData( in testInvoke_resume() 644 mMockLogSaver.invocationStarted(mStubInvocationMetadata); in testInvoke_resume() 653 mMockLogSaver.invocationStarted(mStubInvocationMetadata); in testInvoke_resume() [all …]
|
D | ShardMasterResultForwarderTest.java | 50 @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/ |
D | XmlResultReporterTest.java | 38 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/ |
D | ITestSuiteMultiTest.java | 65 private ILogSaver mMockLogSaver; field in ITestSuiteMultiTest 122 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp() 124 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
D | ModuleDefinitionTest.java | 100 private ILogSaver mMockLogSaver; field in ModuleDefinitionTest 267 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp() 300 EasyMock.replay(mMockListener, mMockLogSaver, mMockLogSaverListener, mMockDevice); in replayMocks() 315 EasyMock.verify(mMockListener, mMockLogSaver, mMockLogSaverListener, mMockDevice); in verifyMocks() 1073 mModule.setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder() 1087 mMockLogSaverListener.setLogSaver(mMockLogSaver); in testModule_LogSaverResultForwarder() 1094 mMockLogSaver.saveLogData( in testModule_LogSaverResultForwarder() 1114 new LogSaverResultForwarder(mMockLogSaver, Arrays.asList(mMockLogSaverListener)); in testModule_LogSaverResultForwarder() 1155 mModule.setLogSaver(mMockLogSaver); in testOverrideModuleConfig() 1246 mModule.setLogSaver(mMockLogSaver); in testRun_moduleLevelListeners() [all …]
|
D | TfSuiteRunnerTest.java | 75 private ILogSaver mMockLogSaver; field in TfSuiteRunnerTest 80 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp() 82 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
D | ITestSuiteIntegrationTest.java | 103 private ILogSaver mMockLogSaver; field in ITestSuiteIntegrationTest 158 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp() 160 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
D | ITestSuiteTest.java | 108 private ILogSaver mMockLogSaver; field in ITestSuiteTest 273 mMockLogSaver = EasyMock.createMock(ILogSaver.class); in setUp() 275 mStubMainConfiguration.setLogSaver(mMockLogSaver); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 77 private ILogSaver mMockLogSaver; field in ShardHelperTest 110 mMockLogSaver = Mockito.mock(ILogSaver.class); in setUp() 111 mConfig.setLogSaver(mMockLogSaver); in setUp()
|
D | StrictShardHelperTest.java | 67 private ILogSaver mMockLogSaver; field in StrictShardHelperTest 78 mMockLogSaver = Mockito.mock(ILogSaver.class); in setUp() 79 mConfig.setLogSaver(mMockLogSaver); in setUp()
|