Home
last modified time | relevance | path

Searched refs:TestErrorIdentifier (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGoogleBenchmarkResultParser.java20 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()
DInstrumentationListener.java30 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()
DPythonUnitTestResultParser.java24 import com.android.tradefed.result.error.TestErrorIdentifier;
245 e.getMessage(), TestErrorIdentifier.OUTPUT_PARSER_ERROR); in processNewLines()
257 TestErrorIdentifier.OUTPUT_PARSER_ERROR); in finalizeParser()
DHostGTest.java38 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/
DTestErrorIdentifier.java23 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/
DRunHostCommandTargetPreparer.java34 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/
DFoldableModePreparer.java24 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/
DBazelTest.java37 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/
DXmlSuiteResultFormatterTest.java34 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/
DLogcatCrashResultForwarder.java30 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/
DBazelTestTest.java45 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/
DTestRunToTestInvocationForwarder.java24 import com.android.tradefed.result.error.TestErrorIdentifier;
164 TestErrorIdentifier.INSTRUMENTATION_NULL_METHOD); in testEnded()
/tools/tradefederation/core/javatests/com/android/tradefed/result/error/
DErrorIdentifierTest.java40 errors.addAll(Arrays.asList(TestErrorIdentifier.values())); in testUniqueErrors()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java25 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/
DRustBinaryHostTest.java33 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/
DMoblyBinaryHostTest.java35 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/
DModuleDefinition.java70 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()
DITestSuite.java68 import com.android.tradefed.result.error.TestErrorIdentifier;
1274 .setErrorIdentifier(TestErrorIdentifier.MODULE_CHANGED_SYSTEM_STATUS); in reportModuleCheckerResult()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java65 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/
DITestSuiteTest.java73 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()