/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 159 private ILeveledLogOutput mMockLogger; field in TestInvocationTest 201 mMockLogger = EasyMock.createMock(ILeveledLogOutput.class); in setUp() 232 mStubConfiguration.setLogOutput(mMockLogger); in setUp() 233 mStubMultiConfiguration.setLogOutput(mMockLogger); in setUp() 261 mMockLogRegistry.registerLogger(mMockLogger); in setUp() 263 mMockLogger.init(); in setUp() 265 mMockLogger.closeLog(); in setUp() 415 EasyMock.reset(mMockLogger, mMockLogRegistry); in testInvoke_buildFailed() 416 mMockLogRegistry.registerLogger(mMockLogger); in testInvoke_buildFailed() 417 mMockLogger.init(); in testInvoke_buildFailed() [all …]
|
D | TestInvocationMultiTest.java | 69 private ILeveledLogOutput mMockLogger; field in TestInvocationMultiTest 96 mMockLogger = EasyMock.createMock(ILeveledLogOutput.class); in setUp() 174 EasyMock.expect(mMockConfig.getLogOutput()).andStubReturn(mMockLogger); in testRunBuildProvider_oneMiss() 176 mMockLogger.init(); in testRunBuildProvider_oneMiss() 177 EasyMock.expect(mMockLogger.getLog()) in testRunBuildProvider_oneMiss() 179 mMockLogger.closeLog(); in testRunBuildProvider_oneMiss() 182 mMockLogRegistry.registerLogger(mMockLogger); in testRunBuildProvider_oneMiss() 183 mMockLogRegistry.dumpToGlobalLog(mMockLogger); in testRunBuildProvider_oneMiss() 226 mMockLogger, in testRunBuildProvider_oneMiss() 239 mMockLogger, in testRunBuildProvider_oneMiss() [all …]
|
D | InvocationExecutionTest.java | 83 private ITestLogger mMockLogger; field in InvocationExecutionTest 94 mMockLogger = mock(ITestLogger.class); in setUp() 329 mExec.doTeardown(testInfo, mConfig, mMockLogger, null); in testDoSetup() 376 mExec.doSetup(testInfo, mConfig, mMockLogger); in testDoTearDown() 379 mExec.doTeardown(testInfo, mConfig, mMockLogger, exception); in testDoTearDown() 443 mExec.doSetup(testInfo, mConfig, mMockLogger); in testDoTearDown_multiDevice() 446 mExec.doTeardown(testInfo, mConfig, mMockLogger, exception); in testDoTearDown_multiDevice() 526 mExec.doSetup(testInfo, mConfig, mMockLogger); in testDoTearDown_exception()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | ActivityStatusCheckerTest.java | 37 private ITestLogger mMockLogger; field in ActivityStatusCheckerTest 42 mMockLogger = EasyMock.createStrictMock(ITestLogger.class); in setUp() 44 mChecker.setTestLogger(mMockLogger); in setUp() 57 EasyMock.replay(mMockLogger, mMockDevice); in testCheckerLauncherHomeScreen() 59 EasyMock.verify(mMockLogger, mMockDevice); in testCheckerLauncherHomeScreen() 73 mMockLogger.testLog("status_checker_front_activity", LogDataType.JPEG, fake); in testCheckerOtherActivity() 74 EasyMock.replay(mMockLogger, mMockDevice); in testCheckerOtherActivity() 76 EasyMock.verify(mMockLogger, mMockDevice); in testCheckerOtherActivity()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | DebugHostLogOnFailureCollectorTest.java | 51 private ILeveledLogOutput mMockLogger; field in DebugHostLogOnFailureCollectorTest 72 return mMockLogger; in getLogger() 79 mMockLogger = Mockito.mock(ILeveledLogOutput.class); in setUp() 88 Mockito.when(mMockLogger.getLog()) in testCollect() 139 Mockito.when(mMockLogger.getLog()).thenReturn(null); in testCollect_null()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/ |
D | ParentSandboxInvocationExecutionTest.java | 75 private ITestLogger mMockLogger; field in ParentSandboxInvocationExecutionTest 83 mMockLogger = Mockito.mock(ITestLogger.class); in setUp() 143 mParentSandbox.doTeardown(mTestInfo, mConfig, mMockLogger, null); in testParentConfig() 167 mParentSandbox.doTeardown(mTestInfo, mConfig, mMockLogger, null); in testParentConfig_errorStage()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | ManagedRemoteDeviceTest.java | 43 private ITestLogger mMockLogger; field in ManagedRemoteDeviceTest 59 mMockLogger = Mockito.mock(ITestLogger.class); in setUp() 61 mDevice.setTestLogger(mMockLogger); in setUp()
|
D | NestedRemoteDeviceTest.java | 49 private ITestLogger mMockLogger; field in NestedRemoteDeviceTest 57 mMockLogger = Mockito.mock(ITestLogger.class); in setUp() 92 assertTrue(mDevice.resetVirtualDevice(mMockLogger, new BuildInfo(), true)); in testResetVirtualDevice()
|