Home
last modified time | relevance | path

Searched refs:setStatus (Results 1 – 25 of 48) sorted by relevance

12

/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestResult.java132 public TestResult setStatus(TestStatus status) { in setStatus() method in TestResult
248 mergedResult.setStatus(TestStatus.PASSED); in merge()
254 mergedResult.setStatus(TestStatus.IGNORED); in merge()
256 mergedResult.setStatus(TestStatus.ASSUMPTION_FAILURE); in merge()
258 mergedResult.setStatus(TestStatus.INCOMPLETE); in merge()
261 mergedResult.setStatus(TestStatus.FAILURE); in merge()
267 mergedResult.setStatus(TestStatus.FAILURE); in merge()
270 mergedResult.setStatus(TestStatus.IGNORED); in merge()
272 mergedResult.setStatus(TestStatus.ASSUMPTION_FAILURE); in merge()
274 mergedResult.setStatus(TestStatus.INCOMPLETE); in merge()
[all …]
DTestRunResult.java291 r.setStatus(status); in updateTestResult()
324 result.setStatus(TestStatus.PASSED); in testEnded()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java124 res.setStatus(CommandStatus.SUCCESS); in testRun()
166 res.setStatus(CommandStatus.SUCCESS); in testRun_failWithIncludeFilters()
205 res.setStatus(CommandStatus.SUCCESS); in testRun_withIncludeFilters()
267 res.setStatus(CommandStatus.SUCCESS); in testRun_withExcludeFilters()
329 res.setStatus(CommandStatus.SUCCESS); in testRun_withAdbPath()
374 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLibInHostTestsDir()
419 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLib()
458 res.setStatus(CommandStatus.EXCEPTION); in testRunFail_exception()
504 res.setStatus(CommandStatus.FAILED); in testRunFail_failureOnly()
617 res.setStatus(status); in newCommandResult()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java131 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetImageVersion()
149 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetCurrentSlot_fastboot()
195 fastbootInValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand()
202 fastbootValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand()
298 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists()
310 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists()
347 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists()
373 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists_error()
392 result.setStatus(CommandStatus.SUCCESS); in doTestFlashWithWipe()
759 result.setStatus(CommandStatus.SUCCESS); in setFastbootResponseExpectations()
[all …]
DDisableSELinuxTargetPreparerTest.java60 result.setStatus(CommandStatus.SUCCESS); in testSetUpSuccess_permissive()
73 result.setStatus(CommandStatus.SUCCESS); in testSetUpSuccess_enforced_rootBefore()
93 result.setStatus(CommandStatus.SUCCESS); in testSetUpSuccess_enforced_notRootBefore()
132 result.setStatus(CommandStatus.FAILED); in testSetUp_disableSELinuxFail()
DRunCommandTargetPreparerTest.java75 res.setStatus(CommandStatus.SUCCESS); in testSetUp()
94 res.setStatus(CommandStatus.SUCCESS); in testSetUp_withTimeout()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java350 cmd.setStatus(CommandStatus.TIMED_OUT); in testStartGce_timeout()
454 cmd.setStatus(CommandStatus.SUCCESS); in testStartGce()
494 cmd.setStatus(CommandStatus.FAILED); in testStartGce_failed()
553 cmd.setStatus(CommandStatus.FAILED); in testStartGce_bootFail()
582 cmd.setStatus(CommandStatus.SUCCESS); in testShutdownGce()
620 cmd.setStatus(CommandStatus.SUCCESS); in testShutdownGce_noWait()
655 cmd.setStatus(CommandStatus.SUCCESS); in testShutdownGce_withJsonKeyFile()
870 cmd.setStatus(CommandStatus.TIMED_OUT); in testStartGce_timeoutAndClean()
891 shutdownResult.setStatus(CommandStatus.SUCCESS); in testStartGce_timeoutAndClean()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DRemoteAndroidDeviceTest.java84 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect()
87 adbResultConfirmation.setStatus(CommandStatus.SUCCESS); in testAdbConnect()
103 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails()
122 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails_confirmation()
137 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbDisconnect()
149 adbResult.setStatus(CommandStatus.FAILED); in testAdbDisconnect_fails()
DAndroidDebugBridgeWrapperTest.java53 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing()
69 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_altFormat()
88 res.setStatus(CommandStatus.FAILED); in testAdbVersionParse_runFail()
104 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_partial()
120 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_parseFail()
DTestDeviceTest.java229 adbResult.setStatus(CommandStatus.SUCCESS); in testDisableAdbRoot_unroot()
248 adbResult.setStatus(CommandStatus.SUCCESS); in setEnableAdbRootExpectations()
316 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetProductType_fastboot()
337 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetProductType_fastbootNonalpha()
358 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetProductType_fastbootFail()
DNativeDeviceTest.java2963 res.setStatus(CommandStatus.SUCCESS); in testExecuteShellV2Command()
2982 res.setStatus(CommandStatus.TIMED_OUT); in testExecuteShellV2Command_timeout()
3008 res.setStatus(CommandStatus.FAILED); in testExecuteShellV2Command_fail()
3037 res.setStatus(CommandStatus.SUCCESS); in testSetProperty()
DWaitDeviceRecoveryTest.java189 result.setStatus(CommandStatus.SUCCESS); in testRecoverDevice_unavailable_fastboot()
248 result.setStatus(CommandStatus.SUCCESS); in testRecoverDevice_fastboot()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollectorTest.java104 cr.setStatus(CommandStatus.SUCCESS); in testProcessingFlow()
139 cr.setStatus(CommandStatus.SUCCESS); in testCompressedProcessingFlow()
175 cr.setStatus(CommandStatus.FAILED); in testScriptFailureStatus()
212 cr.setStatus(CommandStatus.SUCCESS); in testBinaryArgs()
246 cr.setStatus(CommandStatus.SUCCESS); in testTraceProcessorArgsDefaults()
296 cr.setStatus(CommandStatus.SUCCESS); in testTraceProcessorAdditionalArgs()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java378 testBuilder.setStatus(TestStatus.PASS); in testStarted()
417 testBuilder.setStatus(TestStatus.FAIL); in testFailed()
429 testBuilder.setStatus(TestStatus.FAIL); in testFailed()
452 testBuilder.setStatus(TestStatus.IGNORED); in testIgnored()
459 testBuilder.setStatus(TestStatus.ASSUMPTION_FAILURE); in testAssumptionFailure()
471 testBuilder.setStatus(TestStatus.ASSUMPTION_FAILURE); in testAssumptionFailure()
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestResultListener.java58 mCurrentResult.setStatus(TestStatus.FAILURE); in testFailed()
64 mCurrentResult.setStatus(TestStatus.ASSUMPTION_FAILURE); in testAssumptionFailure()
70 mCurrentResult.setStatus(com.android.ddmlib.testrunner.TestResult.TestStatus.IGNORED); in testIgnored()
118 mCurrentResult.setStatus(TestStatus.PASSED); in reportTestFinish()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterDeviceMonitorTest.java118 prodcertstatusMockResult.setStatus(CommandStatus.SUCCESS); in testGetAdditionalHostInfo()
128 krbstatusMockResult.setStatus(CommandStatus.SUCCESS); in testGetAdditionalHostInfo()
156 prodcertstatusMockResult.setStatus(CommandStatus.SUCCESS); in testGetAdditionalHostInfo_commandFailed()
168 krbstatusMockResult.setStatus(CommandStatus.FAILED); in testGetAdditionalHostInfo_commandFailed()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java158 result.setStatus(status); in runTimedCmd()
258 result.setStatus(status); in runTimedCmdWithInput()
276 result.setStatus(status); in runTimedCmdWithInputRedirect()
288 result.setStatus(status); in runTimedCmdSilently()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DBundletoolUtilTest.java88 res.setStatus(CommandStatus.SUCCESS); in testGenerateDeviceSpecFile()
117 res.setStatus(CommandStatus.SUCCESS); in testextractSplitsFromApks()
148 res.setStatus(CommandStatus.FAILED); in test_extractSplitsFromApksFail()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java156 result.setStatus(TestStatus.ASSUMPTION_FAILURE); in testReplay_oneTest()
185 result.setStatus(TestStatus.ASSUMPTION_FAILURE); in testReplay_MultiTest()
194 result2.setStatus(TestStatus.FAILURE); in testReplay_MultiTest()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java121 result.setStatus(CommandStatus.SUCCESS); in testPrepareEnvironment()
163 result.setStatus(CommandStatus.FAILED); in testPrepareEnvironment_dumpConfigFail()
203 result.setStatus(CommandStatus.FAILED); in testPrepareEnvironment_dumpConfigFail_fallback_fail()
DSandboxConfigUtilTest.java65 result.setStatus(CommandStatus.SUCCESS); in testDumpVersion()
89 result.setStatus(CommandStatus.FAILED); in testDumpVersion_failed()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DEnforcedSeLinuxChecker.java40 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
44 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
DActivityStatusChecker.java47 result.setStatus(CheckStatus.SUCCESS); in isFrontActivityLauncher()
57 result.setStatus(CheckStatus.FAILED); in isFrontActivityLauncher()
DShellStatusChecker.java60 result.setStatus(CheckStatus.FAILED); in preExecutionCheck()
88 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java114 results.setStatus(CommandStatus.SUCCESS); in testCreateConfigurationFromArgs()
136 results.setStatus(CommandStatus.FAILED); in testCreateConfigurationFromArgs_fail()

12