/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GoogleBenchmarkResultParser.java | 20 import com.android.tradefed.result.error.TestErrorIdentifier; 79 .setErrorIdentifier(TestErrorIdentifier.TEST_ABORTED); in parse() 86 .setErrorIdentifier(TestErrorIdentifier.TEST_TIMEOUT); in parse() 90 .setErrorIdentifier(TestErrorIdentifier.HOST_COMMAND_FAILED); in parse() 100 .setErrorIdentifier(TestErrorIdentifier.OUTPUT_PARSER_ERROR); in parse()
|
D | InstrumentationListener.java | 30 import com.android.tradefed.result.error.TestErrorIdentifier; 129 failure.setErrorIdentifier(TestErrorIdentifier.TEST_TIMEOUT).setRetriable(false); in testFailed() 190 error.setErrorIdentifier(TestErrorIdentifier.INSTRUMENTATION_TIMED_OUT); in testRunFailed()
|
D | PythonUnitTestResultParser.java | 24 import com.android.tradefed.result.error.TestErrorIdentifier; 245 e.getMessage(), TestErrorIdentifier.OUTPUT_PARSER_ERROR); in processNewLines() 257 TestErrorIdentifier.OUTPUT_PARSER_ERROR); in finalizeParser()
|
D | HostGTest.java | 38 import com.android.tradefed.result.error.TestErrorIdentifier; 284 TestErrorIdentifier.TEST_BINARY_TIMED_OUT); in runTest()
|
/tools/tradefederation/core/common_util/com/android/tradefed/result/error/ |
D | TestErrorIdentifier.java | 23 public enum TestErrorIdentifier implements ErrorIdentifier { enum 43 TestErrorIdentifier(int code, FailureStatus status) { in TestErrorIdentifier() method in TestErrorIdentifier
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | RunHostCommandTargetPreparer.java | 34 import com.android.tradefed.result.error.TestErrorIdentifier; 206 TestErrorIdentifier.HOST_COMMAND_FAILED); in setUp() 272 TestErrorIdentifier.HOST_COMMAND_FAILED); in runCommandList() 279 TestErrorIdentifier.HOST_COMMAND_FAILED); in runCommandList() 287 TestErrorIdentifier.HOST_COMMAND_FAILED); in runCommandList()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/ |
D | FoldableModePreparer.java | 24 import com.android.tradefed.result.error.TestErrorIdentifier; 86 TestErrorIdentifier.MODIFIED_FOLDABLE_STATE); in tearDown()
|
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/ |
D | BazelTest.java | 37 import com.android.tradefed.result.error.TestErrorIdentifier; 253 TestErrorIdentifier.TEST_ABORTED); in runTestsAndParseResults() 284 TestErrorIdentifier.TEST_ABORTED); in runTestsAndParseResults() 336 .setErrorIdentifier(TestErrorIdentifier.OUTPUT_PARSER_ERROR)); in reportTestResultsNoTrace() 343 TestErrorIdentifier.OUTPUT_PARSER_ERROR); in reportTestResultsNoTrace() 397 TestErrorIdentifier.TEST_ABORTED); in listTestModulesToTargetsNoTrace() 485 TestErrorIdentifier.TEST_ABORTED); in parseModulesToTargets() 506 TestErrorIdentifier.TEST_ABORTED); in parseModulesToTargets() 626 TestErrorIdentifier.TEST_ABORTED); in waitForSuccessfulProcess() 722 .setErrorIdentifier(TestErrorIdentifier.TEST_BINARY_TIMED_OUT)); in reportTimedOutTestResults() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 34 import com.android.tradefed.result.error.TestErrorIdentifier; 186 TestErrorIdentifier.TEST_ABORTED.name()); in testFailuresReporting() 191 Long.toString(TestErrorIdentifier.TEST_ABORTED.code())); in testFailuresReporting() 218 .setErrorIdentifier(TestErrorIdentifier.TEST_ABORTED); in testFailuresReporting_notDone() 243 TestErrorIdentifier.TEST_ABORTED.name()); in testFailuresReporting_notDone() 248 Long.toString(TestErrorIdentifier.TEST_ABORTED.code())); in testFailuresReporting_notDone() 317 TestErrorIdentifier.TEST_ABORTED.name()); in testFailuresReporting_largeStackTrace() 322 Long.toString(TestErrorIdentifier.TEST_ABORTED.code())); in testFailuresReporting_largeStackTrace() 831 .setErrorIdentifier(TestErrorIdentifier.TEST_ABORTED); in createFakeResult()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 30 import com.android.tradefed.result.error.TestErrorIdentifier; 116 failure.setErrorIdentifier(TestErrorIdentifier.INSTRUMENTATION_TIMED_OUT); in testFailed() 160 error.setErrorIdentifier(TestErrorIdentifier.TEST_FILTER_NEEDS_UPDATE); in testRunFailed()
|
/tools/asuite/atest/bazel/runner/tests/src/com/android/tradefed/testtype/bazel/ |
D | BazelTestTest.java | 45 import com.android.tradefed.result.error.TestErrorIdentifier; 335 verify(mMockListener).testRunFailed(hasErrorIdentifier(TestErrorIdentifier.TEST_ABORTED)); in bazelQueryAllTargetsFails_runAborted() 346 verify(mMockListener).testRunFailed(hasErrorIdentifier(TestErrorIdentifier.TEST_ABORTED)); in bazelQueryMapModuleToTargetsFails_runAborted() 508 verify(mMockListener).testRunFailed(hasErrorIdentifier(TestErrorIdentifier.TEST_ABORTED)); in excludeAndIncludeFiltersSet_testRunAborted() 519 verify(mMockListener).testRunFailed(hasErrorIdentifier(TestErrorIdentifier.TEST_ABORTED)); in queryMapModulesToTargetsEmpty_abortsRun() 534 verify(mMockListener).testRunFailed(hasErrorIdentifier(TestErrorIdentifier.TEST_ABORTED)); in multipleTargetsMappedToSingleModule_abortsRun() 548 verify(mMockListener).testRunFailed(hasErrorIdentifier(TestErrorIdentifier.TEST_ABORTED)); in queryMapModulesToTargetsBadOutput_abortsRun() 682 .testRunFailed(hasErrorIdentifier(TestErrorIdentifier.OUTPUT_PARSER_ERROR)); in badLogFilePaths_failureReported()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 24 import com.android.tradefed.result.error.TestErrorIdentifier; 164 TestErrorIdentifier.INSTRUMENTATION_NULL_METHOD); in testEnded()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/error/ |
D | ErrorIdentifierTest.java | 40 errors.addAll(Arrays.asList(TestErrorIdentifier.values())); in testUniqueErrors()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | JUnit4ResultForwarder.java | 25 import com.android.tradefed.result.error.TestErrorIdentifier; 95 failureDesc.setErrorIdentifier(TestErrorIdentifier.TEST_PHASE_TIMED_OUT); in testFailure()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryHostTest.java | 33 import com.android.tradefed.result.error.TestErrorIdentifier; 252 .setErrorIdentifier(TestErrorIdentifier.TEST_BINARY_EXIT_CODE_ERROR); in runTest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTest.java | 35 import com.android.tradefed.result.error.TestErrorIdentifier; 624 TestErrorIdentifier.UNEXPECTED_MOBLY_BEHAVIOR); in updateConfigFile() 639 TestErrorIdentifier.UNEXPECTED_MOBLY_BEHAVIOR); in updateConfigFile() 660 TestErrorIdentifier.UNEXPECTED_MOBLY_BEHAVIOR); in updateConfigFile()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinition.java | 70 import com.android.tradefed.result.error.TestErrorIdentifier; 1347 message, TestErrorIdentifier.MODULE_DID_NOT_EXECUTE); in reportNotExecuted() 1380 .setErrorIdentifier(TestErrorIdentifier.MODULE_DID_NOT_EXECUTE); in reportNotExecuted()
|
D | ITestSuite.java | 68 import com.android.tradefed.result.error.TestErrorIdentifier; 1274 .setErrorIdentifier(TestErrorIdentifier.MODULE_CHANGED_SYSTEM_STATUS); in reportModuleCheckerResult()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 65 import com.android.tradefed.result.error.TestErrorIdentifier; 183 TestErrorIdentifier.TEST_PHASE_TIMED_OUT); in stopTestThread() 1492 "Test Phase Timeout Reached.", TestErrorIdentifier.TEST_PHASE_TIMED_OUT); in runTestThread()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 73 import com.android.tradefed.result.error.TestErrorIdentifier; 562 TestErrorIdentifier.MODULE_CHANGED_SYSTEM_STATUS, failure.getErrorIdentifier()); in testRun_failedSystemChecker_reportFailure() 604 TestErrorIdentifier.MODULE_CHANGED_SYSTEM_STATUS, failure.getErrorIdentifier()); in testRun_failedSystemChecker_reportFailure_bugreport()
|