Home
last modified time | relevance | path

Searched refs:setStatus (Results 1 – 25 of 43) 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 …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
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()
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()
/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/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()
DStatusCheckerResult.java50 public void setStatus(CheckStatus status) { in setStatus() method in StatusCheckerResult
DKeyguardStatusChecker.java57 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
DLeakedThreadStatusChecker.java62 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
/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/tests/src/com/android/tradefed/targetprep/
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()
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 …]
DRunCommandTargetPreparerTest.java75 res.setStatus(CommandStatus.SUCCESS); in testSetUp()
94 res.setStatus(CommandStatus.SUCCESS); in testSetUp_withTimeout()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java124 res.setStatus(CommandStatus.SUCCESS); in testRun()
161 res.setStatus(CommandStatus.SUCCESS); in testRun_failWithIncludeFilters()
200 res.setStatus(CommandStatus.SUCCESS); in testRun_withIncludeFilters()
262 res.setStatus(CommandStatus.SUCCESS); in testRun_withExcludeFilters()
324 res.setStatus(CommandStatus.SUCCESS); in testRun_withAdbPath()
369 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLibInHostTestsDir()
414 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLib()
453 res.setStatus(CommandStatus.EXCEPTION); in testRunFail_exception()
499 res.setStatus(CommandStatus.FAILED); in testRunFail_failureOnly()
612 res.setStatus(status); in newCommandResult()
[all …]
/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/tests/src/com/android/tradefed/sandbox/
DSandboxConfigUtilTest.java65 result.setStatus(CommandStatus.SUCCESS); in testDumpVersion()
89 result.setStatus(CommandStatus.FAILED); in testDumpVersion_failed()
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()
/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/rust/
DRustBinaryHostTestTest.java70 res.setStatus(CommandStatus.SUCCESS); in mockCountTests()
95 res.setStatus(status); in mockRunTest()
194 listRes.setStatus(CommandStatus.FAILED); in testRunFail_list()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DCommandResult.java53 public void setStatus(CommandStatus status) { in setStatus() method in CommandResult
/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/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/util/proto/
DTestRecordProtoUtilTest.java54 builder.setStatus(TestStatus.ASSUMPTION_FAILURE); in dumpTestRecord()
/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