Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestResult.java141 public TestResult setStatus(com.android.ddmlib.testrunner.TestResult.TestStatus ddmlibStatus) { in setStatus() method in TestResult
147 public TestResult setStatus(TestStatus status) { in setStatus() method in TestResult
273 mergedResult.setStatus(TestStatus.PASSED); in merge()
279 mergedResult.setStatus(TestStatus.IGNORED); in merge()
281 mergedResult.setStatus(TestStatus.ASSUMPTION_FAILURE); in merge()
283 mergedResult.setStatus(TestStatus.INCOMPLETE); in merge()
285 mergedResult.setStatus(TestStatus.SKIPPED); in merge()
290 mergedResult.setStatus(TestStatus.ASSUMPTION_FAILURE); in merge()
292 mergedResult.setStatus(TestStatus.IGNORED); in merge()
294 mergedResult.setStatus(TestStatus.FAILURE); in merge()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DAndroidDebugBridgeWrapperTest.java58 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing()
70 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_altFormat()
85 res.setStatus(CommandStatus.FAILED); in testAdbVersionParse_runFail()
97 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_partial()
109 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_parseFail()
/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(TestStatus.SKIPPED); in testSkipped()
76 mCurrentResult.setStatus(TestStatus.IGNORED); in testIgnored()
124 mCurrentResult.setStatus(TestStatus.PASSED); in reportTestFinish()
/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/
DAdbTcpConnectionTest.java69 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect()
72 adbResultConfirmation.setStatus(CommandStatus.SUCCESS); in testAdbConnect()
94 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails()
121 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails_confirmation()
144 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbDisconnect()
159 adbResult.setStatus(CommandStatus.FAILED); in testAdbDisconnect_fails()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java236 mInvocationRecordBuilder.setStatus(TestStatus.FAIL); in invocationEnded()
238 mInvocationRecordBuilder.setStatus(TestStatus.PASS); in invocationEnded()
287 moduleBuilder.setStatus(TestStatus.PASS); in testModuleEnded()
344 current.setStatus(TestStatus.FAIL); in testRunFailed()
350 run.setStatus(TestStatus.FAIL); in testRunFailed()
384 current.setStatus(TestStatus.FAIL); in testRunFailed()
390 run.setStatus(TestStatus.FAIL); in testRunFailed()
405 runBuilder.setStatus(TestStatus.PASS); in testRunEnded()
433 testBuilder.setStatus(TestStatus.PASS); in testStarted()
479 testBuilder.setStatus(TestStatus.FAIL); in testFailed()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGoogleBenchmarkResultParserTest.java99 cmd_result.setStatus(CommandStatus.SUCCESS); in testParseSimpleFile()
155 cmd_result.setStatus(CommandStatus.SUCCESS); in testParseSimpleFile_twoTests()
181 cmd_result.setStatus(CommandStatus.SUCCESS); in testParse_contextError()
196 cmd_result.setStatus(CommandStatus.SUCCESS); in testParse_noBenchmarkResults()
213 cmd_result.setStatus(CommandStatus.SUCCESS); in testParse_benchmarkError()
253 cmd_result.setStatus(CommandStatus.SUCCESS); in testParseSimpleFile_withWarning()
280 cmd_result.setStatus(CommandStatus.SUCCESS); in testParse_ignore()
312 cmd_result.setStatus(CommandStatus.SUCCESS); in testParse_aborted()
334 cmd_result.setStatus(CommandStatus.TIMED_OUT); in testParse_timedout()
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DTestInvocationManagementServer.java222 .setStatus(Status.UNKNOWN) in getInvocationDetail()
240 responseBuilder.setStatus(StopInvocationResponse.Status.SUCCESS); in stopInvocation()
243 .setStatus(StopInvocationResponse.Status.ERROR) in stopInvocation()
251 .setStatus(StopInvocationResponse.Status.ERROR) in stopInvocation()
278 responseBuilder.setStatus(ShutdownTradefedResponse.Status.RECEIVED); in shutdownTradefed()
291 invocationStatusBuilder.setStatus(status); in createStatus()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DEnforcedSeLinuxChecker.java40 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
44 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
DShellStatusChecker.java60 result.setStatus(CheckStatus.FAILED); in preExecutionCheck()
88 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
DActivityStatusChecker.java57 result.setStatus(CheckStatus.SUCCESS); in isFrontActivityLauncher()
67 result.setStatus(CheckStatus.FAILED); in isFrontActivityLauncher()
DDeviceBaselineChecker.java149 result.setStatus(CheckStatus.FAILED); in preExecutionCheck()
157 result.setStatus(CheckStatus.FAILED); in preExecutionCheck()
161 result.setStatus(CheckStatus.FAILED); in preExecutionCheck()
DStatusCheckerResult.java55 public void setStatus(CheckStatus status) { in setStatus() method in StatusCheckerResult
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDisableSELinuxTargetPreparerTest.java66 result.setStatus(CommandStatus.SUCCESS); in testSetUpSuccess_permissive()
78 result.setStatus(CommandStatus.SUCCESS); in testSetUpSuccess_enforced_rootBefore()
96 result.setStatus(CommandStatus.SUCCESS); in testSetUpSuccess_enforced_notRootBefore()
137 result.setStatus(CommandStatus.FAILED); in testSetUp_disableSELinuxFail()
DFastbootDeviceFlasherTest.java165 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetImageVersion()
182 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetCurrentSlot_fastboot()
223 fastbootInValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand()
230 fastbootValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand()
324 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists()
337 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists()
374 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists()
400 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists_error()
420 result.setStatus(CommandStatus.SUCCESS); in doTestFlashWithWipe()
885 result.setStatus(CommandStatus.SUCCESS); in setFastbootResponseExpectations()
[all …]
DRunCommandTargetPreparerTest.java87 res.setStatus(CommandStatus.SUCCESS); in testSetUp()
108 res.setStatus(CommandStatus.SUCCESS); in testSetUp_withTimeout()
161 res.setStatus(CommandStatus.SUCCESS); in testTeardown_withTimeout()
376 res.setStatus(CommandStatus.SUCCESS); in testCmd_withTestUserToken_propertyNotSet()
397 res.setStatus(CommandStatus.SUCCESS); in testCmd_withTestUserToken()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java137 res.setStatus(CommandStatus.SUCCESS); in testRun()
193 res.setStatus(CommandStatus.SUCCESS); in testRun_failWithIncludeFilters()
241 res.setStatus(CommandStatus.SUCCESS); in testRun_withIncludeFilters()
310 res.setStatus(CommandStatus.SUCCESS); in testRun_withExcludeFilters()
382 res.setStatus(CommandStatus.SUCCESS); in testRun_withAdbPath()
440 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLibInHostTestsDir()
504 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLib()
561 res.setStatus(CommandStatus.EXCEPTION); in testRunFail_exception()
622 res.setStatus(CommandStatus.FAILED); in testRunFail_failureOnly()
756 res.setStatus(status); in newCommandResult()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollectorTest.java107 cr.setStatus(CommandStatus.SUCCESS); in testProcessingFlow()
147 cr.setStatus(CommandStatus.SUCCESS); in testProcessingFlowWithFileSizeMetric()
187 cr.setStatus(CommandStatus.SUCCESS); in testCompressedProcessingFlow()
225 cr.setStatus(CommandStatus.FAILED); in testScriptFailureStatus()
264 cr.setStatus(CommandStatus.SUCCESS); in testBinaryArgs()
300 cr.setStatus(CommandStatus.SUCCESS); in testTraceProcessorArgsDefaults()
352 cr.setStatus(CommandStatus.SUCCESS); in testTraceProcessorAdditionalArgs()
389 cr.setStatus(CommandStatus.SUCCESS); in testTraceProcessorRunTimeAndStatus_success()
439 cr.setStatus(CommandStatus.FAILED); in testTraceProcessorRunTimeAndStatus_failure()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DOxygenClientTest.java183 res.setStatus(CommandStatus.SUCCESS); in testLease()
239 res.setStatus(CommandStatus.SUCCESS); in testLeaseWithoutBuildId()
283 res.setStatus(CommandStatus.SUCCESS); in testLeaseMultipleDevice()
325 res.setStatus(CommandStatus.SUCCESS); in testRelease()
412 res.setStatus(CommandStatus.SUCCESS); in testLeaseWithBootImageAndBootArtifact()
474 res.setStatus(CommandStatus.SUCCESS); in testLeaseWithBootloader()
534 res.setStatus(CommandStatus.SUCCESS); in testLeaseWithHostPackage()
DGceManagerTest.java573 cmd.setStatus(CommandStatus.TIMED_OUT); in testStartGce_timeout()
680 cmd.setStatus(CommandStatus.SUCCESS); in testStartGce()
721 cmd.setStatus(CommandStatus.FAILED); in testStartGce_failed()
780 cmd.setStatus(CommandStatus.FAILED); in testStartGce_bootFail()
880 cmd.setStatus(CommandStatus.SUCCESS); in testShutdownGce()
907 cmd.setStatus(CommandStatus.SUCCESS); in testShutdownGce_noWait()
1120 cmd.setStatus(CommandStatus.TIMED_OUT); in testStartGce_timeoutAndClean()
1138 shutdownResult.setStatus(CommandStatus.SUCCESS); in testStartGce_timeoutAndClean()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DFuseUtilTest.java51 haveFuseZipInstalledResult.setStatus(CommandStatus.SUCCESS); in testCanMountZip()
68 noFuseZipInstalledResult.setStatus(CommandStatus.SUCCESS); in testCanMountZip_unsupported()
/tools/tradefederation/core/javatests/com/android/tradefed/sandbox/
DSandboxConfigUtilTest.java65 result.setStatus(CommandStatus.SUCCESS); in testDumpVersion()
89 result.setStatus(CommandStatus.FAILED); in testDumpVersion_failed()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterDeviceMonitorTest.java194 prodcertstatusMockResult.setStatus(CommandStatus.SUCCESS); in testGetAdditionalHostInfo()
201 krbstatusMockResult.setStatus(CommandStatus.SUCCESS); in testGetAdditionalHostInfo()
230 prodcertstatusMockResult.setStatus(CommandStatus.SUCCESS); in testGetAdditionalHostInfo_commandFailed()
239 krbstatusMockResult.setStatus(CommandStatus.FAILED); in testGetAdditionalHostInfo_commandFailed()
/tools/tradefederation/contrib/tests/src/com/android/performance/tests/
DBootTimeTestTest.java104 prepareCmdResult.setStatus(CommandStatus.SUCCESS); in testAnalyzingCustomBootMetrics_normalLogcat()
152 prepareCmdResult.setStatus(CommandStatus.SUCCESS); in testAnalyzingCustomBootMetrics_missingBootCompleteSignals()
194 prepareCmdResult.setStatus(CommandStatus.SUCCESS); in testAnalyzingCustomBootMetrics_missingCustomMetrics()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DCommandResult.java54 public void setStatus(CommandStatus status) { in setStatus() method in CommandResult
/tools/tradefederation/core/javatests/com/android/tradefed/observatory/
DTestDiscoveryInvokerTest.java155 res.setStatus(CommandStatus.SUCCESS); in testSuccessTestDependencyDiscovery()
282 res.setStatus(CommandStatus.SUCCESS); in testTestDependencyDiscovery_NoConfigNameInArgs()
352 res.setStatus(CommandStatus.SUCCESS); in testTestMappingDependencyDiscovery()

123