/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestResult.java | 132 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 …]
|
D | TestRunResult.java | 291 r.setStatus(status); in updateTestResult() 324 result.setStatus(TestStatus.PASSED); in testEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 124 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/ |
D | FastbootDeviceFlasherTest.java | 131 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 …]
|
D | DisableSELinuxTargetPreparerTest.java | 60 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()
|
D | RunCommandTargetPreparerTest.java | 75 res.setStatus(CommandStatus.SUCCESS); in testSetUp() 94 res.setStatus(CommandStatus.SUCCESS); in testSetUp_withTimeout()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 350 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/ |
D | RemoteAndroidDeviceTest.java | 84 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()
|
D | AndroidDebugBridgeWrapperTest.java | 53 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()
|
D | TestDeviceTest.java | 229 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()
|
D | NativeDeviceTest.java | 2963 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()
|
D | WaitDeviceRecoveryTest.java | 189 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/ |
D | PerfettoPullerMetricCollectorTest.java | 104 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/ |
D | ProtoResultReporter.java | 378 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/ |
D | TestResultListener.java | 58 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/ |
D | ClusterDeviceMonitorTest.java | 118 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/ |
D | RunUtil.java | 158 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/ |
D | BundletoolUtilTest.java | 88 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/ |
D | ResultsPlayerTest.java | 156 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/ |
D | TradefedSandboxTest.java | 121 result.setStatus(CommandStatus.SUCCESS); in testPrepareEnvironment() 163 result.setStatus(CommandStatus.FAILED); in testPrepareEnvironment_dumpConfigFail() 203 result.setStatus(CommandStatus.FAILED); in testPrepareEnvironment_dumpConfigFail_fallback_fail()
|
D | SandboxConfigUtilTest.java | 65 result.setStatus(CommandStatus.SUCCESS); in testDumpVersion() 89 result.setStatus(CommandStatus.FAILED); in testDumpVersion_failed()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | EnforcedSeLinuxChecker.java | 40 result.setStatus(CheckStatus.FAILED); in postExecutionCheck() 44 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
|
D | ActivityStatusChecker.java | 47 result.setStatus(CheckStatus.SUCCESS); in isFrontActivityLauncher() 57 result.setStatus(CheckStatus.FAILED); in isFrontActivityLauncher()
|
D | ShellStatusChecker.java | 60 result.setStatus(CheckStatus.FAILED); in preExecutionCheck() 88 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactoryTest.java | 114 results.setStatus(CommandStatus.SUCCESS); in testCreateConfigurationFromArgs() 136 results.setStatus(CommandStatus.FAILED); in testCreateConfigurationFromArgs_fail()
|