/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 63 private IRunUtil mMockRunUtil; field in GceManagerTest 68 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 82 return mMockRunUtil; in setUp() 252 return mMockRunUtil; in testBuildGceCommandWithEmulatorBuild() 329 return mMockRunUtil; in testStartGce_timeout() 345 mMockRunUtil.runTimedCmd( in testStartGce_timeout() 348 EasyMock.replay(mMockRunUtil); in testStartGce_timeout() 356 EasyMock.verify(mMockRunUtil); in testStartGce_timeout() 410 return mMockRunUtil; in testStartGce() 443 mMockRunUtil.runTimedCmd( in testStartGce() [all …]
|
D | RemoteFileUtilTest.java | 44 private IRunUtil mMockRunUtil; field in RemoteFileUtilTest 48 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 59 mMockRunUtil.runTimedCmd( in testFetchRemoteFile() 73 EasyMock.replay(mMockRunUtil); in testFetchRemoteFile() 78 fakeInfo, mOptions, mMockRunUtil, 500L, remotePath); in testFetchRemoteFile() 84 EasyMock.verify(mMockRunUtil); in testFetchRemoteFile() 95 mMockRunUtil.runTimedCmd( in testFetchRemoteFile_fail() 109 EasyMock.replay(mMockRunUtil); in testFetchRemoteFile_fail() 111 RemoteFileUtil.fetchRemoteFile(fakeInfo, mOptions, mMockRunUtil, 500L, remotePath); in testFetchRemoteFile_fail() 113 EasyMock.verify(mMockRunUtil); in testFetchRemoteFile_fail() [all …]
|
D | RemoteAndroidVirtualDeviceTest.java | 72 private IRunUtil mMockRunUtil; field in RemoteAndroidVirtualDeviceTest 91 return mMockRunUtil; in getRunUtil() 125 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 150 return mMockRunUtil; in testExceptionFromParser() 179 EasyMock.replay(mMockRunUtil); in testExceptionFromParser() 186 EasyMock.verify(mMockRunUtil); in testExceptionFromParser() 196 EasyMock.replay(mMockRunUtil); in testWaitForTunnelOnline() 198 EasyMock.verify(mMockRunUtil); in testWaitForTunnelOnline() 207 mMockRunUtil.sleep(EasyMock.anyLong()); in testWaitForTunnelOnline_notOnline() 210 EasyMock.replay(mMockRunUtil); in testWaitForTunnelOnline_notOnline() [all …]
|
D | GceSshTunnelMonitorTest.java | 62 private IRunUtil mMockRunUtil; field in GceSshTunnelMonitorTest 71 mMockRunUtil = Mockito.mock(IRunUtil.class); in setUp() 80 return mMockRunUtil; in setUp() 115 .when(mMockRunUtil) in testInitGce() 121 verify(mMockRunUtil, atLeastOnce()) in testInitGce() 134 .when(mMockRunUtil) in testInitGce_stopAdbdFail() 157 doReturn(null).when(mMockRunUtil).runCmdInBackground(Mockito.anyList()); in testCreateSshTunnel() 174 doNothing().when(mMockRunUtil).sleep(Mockito.anyLong()); in testCheckSshKey()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | FastbootHelperTest.java | 34 private IRunUtil mMockRunUtil; field in FastbootHelperTest 43 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 44 mFastbootHelper = new FastbootHelper(mMockRunUtil, "fastboot"); in setUp() 95 new FastbootHelper(mMockRunUtil, null); in testConstructor_badPath() 101 new FastbootHelper(mMockRunUtil, ""); in testConstructor_badPath() 114 EasyMock.expect(mMockRunUtil.runTimedCmdSilently(EasyMock.anyLong(), in testIsFastbootAvailable_oldVersion() 116 EasyMock.replay(mMockRunUtil); in testIsFastbootAvailable_oldVersion() 118 EasyMock.verify(mMockRunUtil); in testIsFastbootAvailable_oldVersion() 127 EasyMock.expect(mMockRunUtil.runTimedCmdSilently(EasyMock.anyLong(), in testIsFastbootAvailable_noBinary() 129 EasyMock.replay(mMockRunUtil); in testIsFastbootAvailable_noBinary() [all …]
|
D | AndroidDebugBridgeWrapperTest.java | 35 private IRunUtil mMockRunUtil; field in AndroidDebugBridgeWrapperTest 39 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 44 return mMockRunUtil; in setUp() 56 mMockRunUtil.runTimedCmd( in testAdbVersionParsing() 59 EasyMock.replay(mMockRunUtil); in testAdbVersionParsing() 62 EasyMock.verify(mMockRunUtil); in testAdbVersionParsing() 75 mMockRunUtil.runTimedCmd( in testAdbVersionParsing_altFormat() 78 EasyMock.replay(mMockRunUtil); in testAdbVersionParsing_altFormat() 81 EasyMock.verify(mMockRunUtil); in testAdbVersionParsing_altFormat() 92 mMockRunUtil.runTimedCmd( in testAdbVersionParse_runFail() [all …]
|
D | RemoteAndroidDeviceTest.java | 42 private IRunUtil mMockRunUtil; field in RemoteAndroidDeviceTest 57 return mMockRunUtil; in getRunUtil() 68 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 84 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), in testAdbConnect() 87 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), in testAdbConnect() 90 EasyMock.replay(mMockRunUtil); in testAdbConnect() 100 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), in testAdbConnect_fails() 103 mMockRunUtil.sleep(EasyMock.anyLong()); in testAdbConnect_fails() 105 EasyMock.replay(mMockRunUtil); in testAdbConnect_fails() 119 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), in testAdbConnect_fails_confirmation() [all …]
|
D | WaitDeviceRecoveryTest.java | 38 private IRunUtil mMockRunUtil; field in WaitDeviceRecoveryTest 49 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 53 return mMockRunUtil; in setUp() 67 mMockRunUtil.sleep(EasyMock.anyLong()); in testRecoverDevice_success() 86 mMockRunUtil.sleep(EasyMock.anyLong()); in testRecoverDevice_unavailable() 106 mMockRunUtil.sleep(EasyMock.anyLong()); in testRecoverDevice_unresponsive() 131 mMockRunUtil.sleep(EasyMock.anyLong()); in testRecoverDevice_fastboot() 137 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), EasyMock.eq("fastboot"), in testRecoverDevice_fastboot() 157 mMockRunUtil.sleep(EasyMock.anyLong()); in testRecoverDeviceBootloader_fastboot() 159 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), EasyMock.eq("fastboot"), in testRecoverDeviceBootloader_fastboot() [all …]
|
D | ReconnectingRecoveryTest.java | 33 private IRunUtil mMockRunUtil; field in ReconnectingRecoveryTest 39 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 43 return mMockRunUtil; in setUp() 74 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), connectCommand())).andReturn( in testRecoverDevice_successRetrying() 91 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), connectCommand())) in testRecoverDevice_failure() 106 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), disconnectCommand())) in expectInitialDisconnectConnectAttempt() 108 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), connectCommand())) in expectInitialDisconnectConnectAttempt() 136 EasyMock.verify(mMockRunUtil, mMockMonitor, mMockDevice); in verifyMocks() 143 EasyMock.replay(mMockRunUtil, mMockMonitor, mMockDevice); in replayMocks()
|
D | ManagedTestDeviceFactoryTest.java | 41 private IRunUtil mMockRunUtil; field in ManagedTestDeviceFactoryTest 49 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 174 return mMockRunUtil; in testCheckFramework_emptyReturns() 177 mMockRunUtil.sleep(500); in testCheckFramework_emptyReturns() 189 EasyMock.replay(mMockIDevice, mMockRunUtil); in testCheckFramework_emptyReturns() 191 EasyMock.verify(mMockIDevice, mMockRunUtil); in testCheckFramework_emptyReturns()
|
D | TestDeviceTest.java | 96 private IRunUtil mMockRunUtil; field in TestDeviceTest 115 return mMockRunUtil; in getRunUtil() 141 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 189 EasyMock.replay(mMockIDevice, mMockRunUtil, mMockStateMonitor); in testEnableAdbRoot_notRoot() 231 EasyMock.replay(mMockIDevice, mMockRunUtil, mMockStateMonitor); in testDisableAdbRoot_unroot() 233 EasyMock.verify(mMockIDevice, mMockRunUtil, mMockStateMonitor); in testDisableAdbRoot_unroot() 260 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), in setExecuteAdbCommandExpectations() 282 EasyMock.replay(mMockIDevice, mMockRunUtil, mMockStateMonitor); in testEnableAdbRoot_rootRetry() 316 mMockRunUtil.runTimedCmd(EasyMock.anyLong(), (String)EasyMock.anyObject(), in testGetProductType_fastboot() 320 EasyMock.replay(mMockIDevice, mMockRunUtil); in testGetProductType_fastboot() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | VersionedTfLauncherTest.java | 74 private IRunUtil mMockRunUtil; field in VersionedTfLauncherTest 83 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 89 mVersionedTfLauncher.setRunUtil(mMockRunUtil); in setUp() 114 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRun_singleDevice() 115 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRun_singleDevice() 116 mMockRunUtil.unsetEnvVariable(SubprocessTfLauncher.ANDROID_SERIAL_VAR); in testRun_singleDevice() 117 mMockRunUtil.setEnvVariablePriority(EnvPriority.SET); in testRun_singleDevice() 118 mMockRunUtil.setEnvVariable( in testRun_singleDevice() 123 mMockRunUtil.runTimedCmd( in testRun_singleDevice() 168 EasyMock.replay(mMockTestDevice, mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig); in testRun_singleDevice() [all …]
|
D | TfTestLauncherTest.java | 61 private IRunUtil mMockRunUtil; field in TfTestLauncherTest 68 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 73 mTfTestLauncher.setRunUtil(mMockRunUtil); in setUp() 90 mMockRunUtil.runTimedCmd( in testRun() 117 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRun() 118 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRun() 119 mMockRunUtil.unsetEnvVariable(SubprocessTfLauncher.ANDROID_SERIAL_VAR); in testRun() 120 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in testRun() 121 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in testRun() 122 mMockRunUtil.setEnvVariablePriority(EnvPriority.SET); in testRun() [all …]
|
D | NoisyDryRunTestTest.java | 58 private IRunUtil mMockRunUtil; field in NoisyDryRunTestTest 74 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 253 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testLoading_sandboxed() 255 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testLoading_sandboxed() 256 mMockRunUtil.setEnvVariable( in testLoading_sandboxed() 258 mMockRunUtil.setEnvVariablePriority(EnvPriority.SET); in testLoading_sandboxed() 261 mMockRunUtil.runTimedCmd( in testLoading_sandboxed() 301 return mMockRunUtil; in testLoading_sandboxed() 314 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testLoading_sandboxed_failed() 316 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testLoading_sandboxed_failed() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | TradefedSandboxTest.java | 61 private IRunUtil mMockRunUtil; field in TradefedSandboxTest 65 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 70 return mMockRunUtil; in setUp() 109 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testPrepareEnvironment() 111 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testPrepareEnvironment() 113 mMockRunUtil.setEnvVariable( in testPrepareEnvironment() 115 mMockRunUtil.setEnvVariablePriority(EnvPriority.SET); in testPrepareEnvironment() 123 mMockRunUtil.runTimedCmd( in testPrepareEnvironment() 137 EasyMock.replay(mMockConfig, mMockListener, mMockRunUtil); in testPrepareEnvironment() 139 EasyMock.verify(mMockConfig, mMockListener, mMockRunUtil); in testPrepareEnvironment() [all …]
|
D | SandboxConfigUtilTest.java | 43 private IRunUtil mMockRunUtil; field in SandboxConfigUtilTest 48 mMockRunUtil = Mockito.mock(IRunUtil.class); in setUp() 66 doReturn(result).when(mMockRunUtil).runTimedCmd(Mockito.anyLong(), Mockito.any()); in testDumpVersion() 72 mMockRunUtil, in testDumpVersion() 91 doReturn(result).when(mMockRunUtil).runTimedCmd(Mockito.anyLong(), Mockito.any()); in testDumpVersion_failed() 94 mTmpRootDir, mMockRunUtil, new String[] {"empty"}, DumpCmd.FULL_XML, null); in testDumpVersion_failed() 107 "", mMockRunUtil, new String[] {"empty"}, DumpCmd.FULL_XML, null); in testDumpVersion_badClasspath()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparerTest.java | 45 private IRunUtil mMockRunUtil; field in AdbStopServerPreparerTest 55 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 63 return mMockRunUtil; in setUp() 80 mMockRunUtil.sleep(2000); in setUp() 96 mMockRunUtil.runTimedCmd( in testSetup_tearDown() 100 mMockRunUtil.runTimedCmd( in testSetup_tearDown() 107 EasyMock.replay(mMockRunUtil, mMockManager, mMockDevice); in testSetup_tearDown() 110 EasyMock.verify(mMockRunUtil, mMockManager, mMockDevice); in testSetup_tearDown() 120 mMockRunUtil.runTimedCmd( in testSetup_fail_tearDown() 126 mMockRunUtil.runTimedCmd( in testSetup_fail_tearDown() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | AtraceCollectorTest.java | 55 private IRunUtil mMockRunUtil; field in AtraceCollectorTest 69 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 391 mMockRunUtil.runTimedCmd( in testExecutesPostProcessPar() 405 EasyMock.replay(mMockTestLogger, mMockRunUtil, mMockDevice); in testExecutesPostProcessPar() 414 mAtrace.setRunUtil(mMockRunUtil); in testExecutesPostProcessPar() 418 EasyMock.verify(mMockTestLogger, mMockRunUtil); in testExecutesPostProcessPar() 433 mMockRunUtil.runTimedCmd( in testExecutesPostProcessParDifferentFormat() 446 EasyMock.replay(mMockTestLogger, mMockRunUtil, mMockDevice); in testExecutesPostProcessParDifferentFormat() 453 mAtrace.setRunUtil(mMockRunUtil); in testExecutesPostProcessParDifferentFormat() 457 EasyMock.verify(mMockTestLogger, mMockRunUtil); in testExecutesPostProcessParDifferentFormat() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactoryTest.java | 55 private IRunUtil mMockRunUtil; field in SandboxConfigurationFactoryTest 62 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 77 mMockRunUtil.runTimedCmd( in expectDumpCmd() 106 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testCreateConfigurationFromArgs() 108 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testCreateConfigurationFromArgs() 109 mMockRunUtil.setEnvVariable( in testCreateConfigurationFromArgs() 111 mMockRunUtil.setEnvVariablePriority(EnvPriority.SET); in testCreateConfigurationFromArgs() 115 EasyMock.replay(mFakeSandbox, mMockRunUtil); in testCreateConfigurationFromArgs() 118 args, new StubKeyStoreClient(), mFakeSandbox, mMockRunUtil); in testCreateConfigurationFromArgs() 119 EasyMock.verify(mFakeSandbox, mMockRunUtil); in testCreateConfigurationFromArgs() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 45 private IRunUtil mMockRunUtil; field in PythonBinaryHostTestTest 54 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 62 return mMockRunUtil; in setUp() 75 mMockRunUtil.setEnvVariable(PythonBinaryHostTest.ANDROID_SERIAL_VAR, "SERIAL"); in setUp() 97 mMockRunUtil.runTimedCmd( in testRun() 107 EasyMock.replay(mMockRunUtil, mMockBuildInfo, mMockListener, mMockDevice); in testRun() 109 EasyMock.verify(mMockRunUtil, mMockBuildInfo, mMockListener, mMockDevice); in testRun() 137 mMockRunUtil.runTimedCmd( in testRun_withAdbPath() 147 EasyMock.replay(mMockRunUtil, mMockBuildInfo, mMockListener, mMockDevice); in testRun_withAdbPath() 149 EasyMock.verify(mMockRunUtil, mMockBuildInfo, mMockListener, mMockDevice); in testRun_withAdbPath() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PythonVirtualenvPreparerTest.java | 39 private IRunUtil mMockRunUtil; field in PythonVirtualenvPreparerTest 44 mMockRunUtil = createNiceMock(IRunUtil.class); in setUp() 48 mPreparer.mRunUtil = mMockRunUtil; in setUp() 53 expect(mMockRunUtil.runTimedCmd(anyLong(), in testInstallDeps_reqFile_success() 56 replay(mMockRunUtil); in testInstallDeps_reqFile_success() 64 expect(mMockRunUtil.runTimedCmd(anyLong(), in testInstallDeps_depModule_success() 67 replay(mMockRunUtil); in testInstallDeps_depModule_success() 75 expect(mMockRunUtil.runTimedCmd(anyLong(), in testInstallDeps_reqFile_failure() 78 replay(mMockRunUtil); in testInstallDeps_reqFile_failure() 90 expect(mMockRunUtil.runTimedCmd(anyLong(), in testInstallDeps_depModule_failure() [all …]
|
D | FastbootDeviceFlasherTest.java | 58 private IRunUtil mMockRunUtil; field in FastbootDeviceFlasherTest 73 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 83 return mMockRunUtil; in setUp() 137 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetImageVersion() 140 EasyMock.verify(mMockDevice, mMockRunUtil); in testGetImageVersion() 155 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetCurrentSlot_fastboot() 158 EasyMock.verify(mMockDevice, mMockRunUtil); in testGetCurrentSlot_fastboot() 168 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetCurrentSlot_adb() 171 EasyMock.verify(mMockDevice, mMockRunUtil); in testGetCurrentSlot_adb() 184 EasyMock.replay(mMockDevice, mMockRunUtil); in testGetCurrentSlot_null() [all …]
|
D | PreloadedClassesPreparerTest.java | 47 private IRunUtil mMockRunUtil; field in PreloadedClassesPreparerTest 57 mMockRunUtil = Mockito.mock(IRunUtil.class); in setUp() 63 when(mSpyPreparer.getRunUtil()).thenReturn(mMockRunUtil); in setUp() 79 when(mMockRunUtil.runTimedCmd(PreloadedClassesPreparer.DEFAULT_TIMEOUT_MS, command)) in testSetUp_RemoteSuccess() 107 when(mMockRunUtil.runTimedCmd(PreloadedClassesPreparer.DEFAULT_TIMEOUT_MS, command)) in testSetUp_LocalSuccess() 127 when(mMockRunUtil.runTimedCmd(PreloadedClassesPreparer.DEFAULT_TIMEOUT_MS, command)) in testSetUp_WriteFailure()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/ |
D | Sl4aClientTest.java | 42 private IRunUtil mMockRunUtil; field in Sl4aClientTest 47 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 52 return mMockRunUtil; in setUp() 111 mMockRunUtil.sleep(EasyMock.anyLong()); in testStartSl4A_notRunning() 113 EasyMock.replay(mMockDevice, mMockRunUtil); in testStartSl4A_notRunning() 120 EasyMock.verify(mMockDevice, mMockRunUtil); in testStartSl4A_notRunning() 137 mMockRunUtil.sleep(EasyMock.anyLong()); in setupStartExpectation() 154 EasyMock.replay(mMockDevice, mMockRunUtil); in testStartSl4A() 160 EasyMock.verify(mMockDevice, mMockRunUtil); in testStartSl4A() 171 EasyMock.replay(mMockDevice, mMockRunUtil); in testRpcCall_booleanResponse() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTestTest.java | 55 private IRunUtil mMockRunUtil; field in ExecutableHostTestTest 61 mMockRunUtil = Mockito.mock(IRunUtil.class); in setUp() 66 return mMockRunUtil; in setUp() 103 .when(mMockRunUtil) in testRunHostExecutable() 127 .when(mMockRunUtil) in testRunHostExecutable_dnae() 167 .when(mMockRunUtil) in testRunHostExecutable_search() 196 .when(mMockRunUtil) in testRunHostExecutable_notFound() 226 .when(mMockRunUtil) in testRunHostExecutable_failure()
|