Home
last modified time | relevance | path

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

/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()
150 fastbootResult.setStderr("current-slot: _a\nfinished. total time 0.001s"); in testGetCurrentSlot_fastboot()
197 fastbootInValidResult.setStderr(""); in testRetryGetVersionCommand()
203 fastbootValidResult.setStderr("version-baseband: 1.0.1\nfinished. total time: 0.001s"); in testRetryGetVersionCommand()
299 fastbootOutput.setStderr("(bootloader) slot-count: not found\n" + in testWipeCache_exists()
311 fastbootOutput.setStderr("Creating filesystem with parameters:\n" + in testWipeCache_exists()
348 fastbootOutput.setStderr("(bootloader) slot-count: not found\n" + in testWipeCache_not_exists()
374 fastbootOutput.setStderr("getvar:partition-type:cache FAILED (remote: unknown command)\n" + in testWipeCache_not_exists_error()
393 result.setStderr(""); in doTestFlashWithWipe()
531 res.setStderr("flashing"); in testCheckAndFlashBootloader()
[all …]
DRunHostCommandTargetPreparerTest.java80 result.setStderr(""); in testSetUp()
103 result.setStderr(""); in testSetUp_withWorkDir()
125 result.setStderr(""); in testTearDown()
/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.java314 fastbootResult.setStderr("product: nexusone\n" + "finished. total time: 0.001s"); in testGetProductType_fastboot()
335 fastbootResult.setStderr("product: foo-bar\n" + "finished. total time: 0.001s"); in testGetProductType_fastbootNonalpha()
356 fastbootResult.setStderr("product: \n" + "finished. total time: 0.001s"); in testGetProductType_fastbootFail()
1019 successResult.setStderr(""); in testExecuteFastbootCommand_recovery()
DNativeDeviceTest.java2417 res.setStderr("timed out"); in testExecuteShellV2Command_timeout()
2443 res.setStderr("timed out"); in testExecuteShellV2Command_fail()
/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()
DNoisyDryRunTestTest.java333 result.setStderr("Failed to dump."); in testLoading_sandboxed_failed()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java95 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun()
135 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun_withAdbPath()
170 res.setStderr("Could not execute."); in testRunFail_exception()
210 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRunFail_failureOnly()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/statsd/
DConfigUtilTest.java69 mockResult.setStderr(""); in testPushDeviceConfig()
93 mockResult.setStderr(PARSING_ERROR_MSG); in testPushInvalidDeviceConfig()
119 mockResult.setStderr(""); in testPushBinaryDeviceConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DAtraceCollectorTest.java389 commandResult.setStderr("stderr"); in testExecutesPostProcessPar()
431 commandResult.setStderr("stderr"); in testExecutesPostProcessParDifferentFormat()
509 commandResult.setStderr("stderr"); in testExecutesPostProcessParFailed()
591 commandResult.setStderr("stderr"); in testProcessesMetricOutput()
627 commandResult.setStderr("stderr"); in testProcessesMetricOutputWithMalformedRegex()
694 commandResult.setStderr("stderr"); in testProcessesMetricOutputTwoKeys()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteFileUtilTest.java93 res.setStderr("Failed to fetch file."); in testFetchRemoteFile_fail()
164 res.setStderr("failed to push to remote."); in testPushFileToRemote_fail()
DRemoteAndroidVirtualDeviceTest.java674 result.setStderr(""); in testDeviceBoot_offline()
DGceManagerTest.java814 cmd.setStderr( in testStartGce_timeoutAndClean()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRunUtil.java612 mCommandResult.setStderr(""); in RunnableResult()
703 mCommandResult.setStderr( in run()
706 mCommandResult.setStderr( in run()
DCommandResult.java79 public void setStderr(String stderr) { in setStderr() method in CommandResult
/tools/tradefederation/core/tests/src/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java122 result.setStderr("couldn't find the file"); in testDeleteFile_fail()
352 result.setStderr(""); in mockSuccess()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java133 result.setStderr(stderrText); in run()
152 result.setStderr( in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxConfigUtilTest.java90 result.setStderr("Ouch I failed"); in testDumpVersion_failed()
DTradefedSandboxTest.java164 result.setStderr("Ouch I failed."); in testPrepareEnvironment_dumpConfigFail()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java136 results.setStderr("I failed"); in testCreateConfigurationFromArgs_fail()