Home
last modified time | relevance | path

Searched refs:setStderr (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DFastbootHelperTest.java113 fakeRes.setStderr("Help doesn't exists. usage: fastboot"); in testIsFastbootAvailable_oldVersion()
126 fakeRes.setStderr("No command 'fastboot' found"); in testIsFastbootAvailable_noBinary()
140 fakeRes.setStderr(""); in testGetDevice_fail()
171 fakeRes.setStderr("error"); in testExecuteCommand_fail()
DAndroidDebugBridgeWrapperTest.java90 res.setStderr(""); in testAdbVersionParse_runFail()
DTestDeviceTest.java309 fastbootResult.setStderr("product: nexusone\n" + "finished. total time: 0.001s"); in testGetProductType_fastboot()
330 fastbootResult.setStderr("product: foo-bar\n" + "finished. total time: 0.001s"); in testGetProductType_fastbootNonalpha()
351 fastbootResult.setStderr("product: \n" + "finished. total time: 0.001s"); in testGetProductType_fastbootFail()
1001 successResult.setStderr(""); in testExecuteFastbootCommand_recovery()
DNativeDeviceTest.java2219 res.setStderr("timed out"); in testExecuteShellV2Command_timeout()
2242 res.setStderr("timed out"); in testExecuteShellV2Command_fail()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java133 fastbootResult.setStderr("version-bootloader: 1.0.1\nfinished. total time: 0.001s"); in testGetImageVersion()
149 fastbootResult.setStderr("current-slot: _a\nfinished. total time 0.001s"); in testGetCurrentSlot_fastboot()
193 fastbootInValidResult.setStderr(""); in testRetryGetVersionCommand()
199 fastbootValidResult.setStderr("version-baseband: 1.0.1\nfinished. total time: 0.001s"); in testRetryGetVersionCommand()
290 fastbootOutput.setStderr("(bootloader) slot-count: not found\n" + in testWipeCache_exists()
302 fastbootOutput.setStderr("Creating filesystem with parameters:\n" + in testWipeCache_exists()
337 fastbootOutput.setStderr("(bootloader) slot-count: not found\n" + in testWipeCache_not_exists()
361 fastbootOutput.setStderr("getvar:partition-type:cache FAILED (remote: unknown command)\n" + in testWipeCache_not_exists_error()
380 result.setStderr(""); in doTestFlashWithWipe()
516 res.setStderr("flashing"); in testCheckAndFlashBootloader()
[all …]
DRunHostCommandTargetPreparerTest.java80 result.setStderr(""); in testSetUp()
101 result.setStderr(""); in testTearDown()
DSdkAvdPreparerTest.java207 result.setStderr("Error: avd cannot be created due to a mysterious error"); in testSetUp_failedCreateAvd()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java121 cr.setStderr(this.getStderr()); in getCommandResult()
139 c.setStderr("Python 2.7.6"); in testCheckPythonVersion_276given270min()
146 c.setStderr("Python 2.7.6"); in testCheckPythonVersion_276given331min()
159 c.setStderr("Python 3.0.0"); in testCheckPythonVersion_300given276min()
DJacocoCodeCoverageTestTest.java187 fakeCommandResult.setStderr(stderr); in testGenerateCoverageReport_unsuccessful()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java74 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun()
107 res.setStderr("Could not execute."); in testRunFail_exception()
140 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRunFail_failureOnly()
/tools/tradefederation/core/src/com/android/tradefed/util/
DCommandResult.java78 public void setStderr(String stderr) { in setStderr() method in CommandResult
DRunUtil.java604 mCommandResult.setStderr(""); in RunnableResult()
687 mCommandResult.setStderr(((ByteArrayOutputStream)stdErr).toString("UTF-8")); in run()
689 mCommandResult.setStderr("redirected to " + in run()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java105 result.setStderr(stderrText); in run()
112 result.setStderr( in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxConfigUtilTest.java90 result.setStderr("Ouch I failed"); in testDumpVersion_failed()
DTradefedSandboxTest.java147 result.setStderr("Ouch I failed."); in testPrepareEnvironment_dumpConfigFail()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DAtraceCollectorTest.java385 commandResult.setStderr("stderr"); in testExecutesPostProcessPar()
427 commandResult.setStderr("stderr"); in testExecutesPostProcessParDifferentFormat()
505 commandResult.setStderr("stderr"); in testExecutesPostProcessParFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java132 results.setStderr("I failed"); in testCreateConfigurationFromArgs_fail()