Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DFastbootHelperTest.java126 fakeRes.setStderr("Help doesn't exists. usage: fastboot"); in testIsFastbootAvailable_oldVersion()
138 fakeRes.setStderr("No command 'fastboot' found"); in testIsFastbootAvailable_noBinary()
151 fakeRes.setStderr(""); in testGetDevice_fail()
180 fakeRes.setStderr("error"); in testExecuteCommand_fail()
192 fakeRes.setStderr(""); in testGetBootloaderAndFastbootdDevices()
DAndroidDebugBridgeWrapperTest.java90 res.setStderr(""); in testAdbVersionParse_runFail()
DLocalAndroidVirtualDeviceTest.java242 result.setStderr("acloud create"); in mockAcloudCreate()
275 result.setStderr("acloud delete"); in mockAcloudDelete()
DTestDeviceTest.java319 fastbootResult.setStderr("product: nexusone\n" + "finished. total time: 0.001s"); in testGetProductType_fastboot()
340 fastbootResult.setStderr("product: foo-bar\n" + "finished. total time: 0.001s"); in testGetProductType_fastbootNonalpha()
361 fastbootResult.setStderr("product: \n" + "finished. total time: 0.001s"); in testGetProductType_fastbootFail()
1033 successResult.setStderr(""); in testExecuteFastbootCommand_recovery()
4857 writeContent.setStderr( in testPushFile_contentProvider_notFound()
/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()
534 res.setStderr("flashing"); in testCheckAndFlashBootloader()
[all …]
DGsiDeviceFlashPreparerTest.java107 mSuccessResult.setStderr("OKAY [ 0.043s]"); in setUp()
110 mFailureResult.setStderr("FAILED (remote: 'Partition error')"); in setUp()
134 fastbootResult.setStderr("current-slot: _a\nfinished. total time 0.001s"); in doGetSlotExpectation()
144 fastbootResult.setStderr("current-slot: \nfinished. total time 0.001s"); in doGetEmptySlotExpectation()
DGkiDeviceFlashPreparerTest.java107 mSuccessResult.setStderr("OKAY [ 0.043s]"); in setUp()
110 mFailureResult.setStderr("FAILED (remote: 'Partition error')"); in setUp()
/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.java337 result.setStderr("Failed to dump."); in testLoading_sandboxed_failed()
/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/testtype/python/
DPythonBinaryHostTestTest.java125 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun()
162 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun_failWithIncludeFilters()
201 res.setStderr( in testRun_withIncludeFilters()
263 res.setStderr( in testRun_withExcludeFilters()
325 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun_withAdbPath()
370 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun_withSharedLibInHostTestsDir()
415 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRun_withSharedLib()
454 res.setStderr("Could not execute."); in testRunFail_exception()
500 res.setStderr("TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"); in testRunFail_failureOnly()
613 res.setStderr(stderr); in newCommandResult()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryHostTestTest.java71 res.setStderr(""); in mockCountTests()
96 res.setStderr(stderr); in mockRunTest()
195 listRes.setStderr(""); in testRunFail_list()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DCommandResult.java79 public void setStderr(String stderr) { in setStderr() method in CommandResult
DRunUtil.java596 result.setStderr(StreamUtil.getStackTrace(e)); in backFillException()
652 mCommandResult.setStderr(""); in RunnableResult()
748 mCommandResult.setStderr( in run()
751 mCommandResult.setStderr( in run()
/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()
200 res.setStderr("failed to push to remote."); in testPushFileToRemote_fail()
DRemoteAndroidVirtualDeviceTest.java741 result.setStderr(""); in testDeviceBoot_offline()
DGceManagerTest.java871 cmd.setStderr( in testStartGce_timeoutAndClean()
/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()
204 result.setStderr("Could not find configuration 'empty'"); in testPrepareEnvironment_dumpConfigFail_fallback_fail()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java123 result.setStderr("couldn't find the file"); in testDeleteFile_fail()
393 result.setStderr(""); in mockSuccess()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterDeviceMonitorTest.java167 krbstatusMockResult.setStderr(krbstatusError); in testGetAdditionalHostInfo_commandFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java137 results.setStderr("I failed"); in testCreateConfigurationFromArgs_fail()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java216 failure.setStderr("stderr"); in setUpDeviceWithSuper()
225 success.setStderr("stderr"); in setUpDeviceWithSuper()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java302 result.setStderr("Specified AVD driver binary is not a file."); in acloudCreate()

12