/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | FailureDescription.java | 27 public class FailureDescription { class 48 FailureDescription() {} in FailureDescription() method in FailureDescription 54 public FailureDescription setFailureStatus(TestRecordProto.FailureStatus status) { in setFailureStatus() 68 public FailureDescription setActionInProgress(ActionInProgress action) { in setActionInProgress() 79 public FailureDescription setDebugHelpMessage(String message) { in setDebugHelpMessage() 90 public FailureDescription setCause(Throwable cause) { in setCause() 101 public FailureDescription setRetriable(boolean retriable) { in setRetriable() 112 public FailureDescription setErrorIdentifier(ErrorIdentifier errorId) { in setErrorIdentifier() 123 public FailureDescription setOrigin(String origin) { in setOrigin() 155 public static FailureDescription create(String errorMessage) { in create() [all …]
|
D | MultiFailureDescription.java | 32 public final class MultiFailureDescription extends FailureDescription { 34 private List<FailureDescription> mFailures = new ArrayList<>(); 36 public MultiFailureDescription(List<FailureDescription> failures) { in MultiFailureDescription() 41 public MultiFailureDescription(FailureDescription... failures) { in MultiFailureDescription() 51 public MultiFailureDescription addFailure(FailureDescription failure) { in addFailure() 60 public List<FailureDescription> getFailures() { in getFailures() 102 for (FailureDescription desc : mFailures) { in isRetriable() 119 for (FailureDescription f : mFailures) { in toString() 143 private void addMultiFailures(List<FailureDescription> failures) { in addMultiFailures() 144 for (FailureDescription failure : failures) { in addMultiFailures()
|
D | ITestLifeCycleReceiver.java | 95 public default void testRunFailed(FailureDescription failure) { in testRunFailed() 164 public default void testFailed(TestDescription test, FailureDescription failure) { in testFailed() 182 public default void testAssumptionFailure(TestDescription test, FailureDescription failure) { in testAssumptionFailure()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | MultiFailureDescriptionTest.java | 32 FailureDescription failure1 = FailureDescription.create("error message 1"); in testCreation() 33 FailureDescription failure2 = FailureDescription.create("error message 2"); in testCreation() 43 FailureDescription failure1 = FailureDescription.create("error message 1"); in testCreation_nested() 44 FailureDescription failure2 = FailureDescription.create("error message 2"); in testCreation_nested()
|
D | SubprocessResultsReporterTest.java | 125 Capture<FailureDescription> captured = new Capture<>(); in testPrintEvent_printToSocket() 146 FailureDescription capturedFailure = captured.getValue(); in testPrintEvent_printToSocket() 163 Capture<FailureDescription> captured = new Capture<>(); in testPrintEvent_printToSocket_StructuredFailures() 164 Capture<FailureDescription> invocationFailureCaptured = new Capture<>(); in testPrintEvent_printToSocket_StructuredFailures() 177 FailureDescription runFailure = in testPrintEvent_printToSocket_StructuredFailures() 178 FailureDescription.create("no reason") in testPrintEvent_printToSocket_StructuredFailures() 184 FailureDescription invocationFailure = in testPrintEvent_printToSocket_StructuredFailures() 185 FailureDescription.create("invoc error") in testPrintEvent_printToSocket_StructuredFailures() 198 FailureDescription capturedFailure = captured.getValue(); in testPrintEvent_printToSocket_StructuredFailures() 210 FailureDescription capturedInvocation = invocationFailureCaptured.getValue(); in testPrintEvent_printToSocket_StructuredFailures()
|
D | FailureDescriptionTest.java | 31 private FailureDescription mFailureDescription; 35 mFailureDescription = FailureDescription.create("error message"); in testCreation()
|
D | LogcatCrashResultForwarderTest.java | 99 Capture<FailureDescription> captured = new Capture<>(); in testCaptureTestCrash_oneCrashingLogcat() 144 Capture<FailureDescription> captured = new Capture<>(); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 192 Capture<FailureDescription> captured = new Capture<>(); in testCaptureTestCrash_duplicateStack()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/retry/ |
D | BaseRetryDecisionTest.java | 27 import com.android.tradefed.result.FailureDescription; 122 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_failure() 133 FailureDescription.create("failure"), in testShouldRetry_failure_nonRetriable() 134 FailureDescription.create("failure2").setRetriable(false)); in testShouldRetry_failure_nonRetriable() 145 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_success() 158 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_morefailure() 164 TestRunResult result2 = createResult(FailureDescription.create("failure"), null); in testShouldRetry_morefailure() 171 FailureDescription failure = FailureDescription.create("run failure"); in testShouldRetry_runFailure() 181 FailureDescription failure = FailureDescription.create("run failure"); in testShouldRetry_runFailure_nonRetriable() 185 FailureDescription failure2 = FailureDescription.create("run failure2"); in testShouldRetry_runFailure_nonRetriable() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | InstrumentationListener.java | 22 import com.android.tradefed.result.FailureDescription; 96 public void testRunFailed(FailureDescription error) { in testRunFailed() 121 FailureDescription error = in testRunEnded() 122 FailureDescription.create( in testRunEnded() 136 FailureDescription failure = in testRunEnded() 137 FailureDescription.create( in testRunEnded()
|
D | GTestListener.java | 19 import com.android.tradefed.result.FailureDescription; 69 FailureDescription error = FailureDescription.create(errorMessage.toString()); in testRunEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | FormattedGeneratorReporter.java | 22 import com.android.tradefed.result.FailureDescription; 73 FailureDescription description = in invocationFailed() 74 FailureDescription.create(cause.getMessage()).setCause(cause); in invocationFailed() 82 public void invocationFailed(FailureDescription failure) { in invocationFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelChecker.java | 28 import com.android.tradefed.result.FailureDescription; 137 FailureDescription failure = FailureDescription.create(e.getMessage()).setCause(e); in run() 146 FailureDescription failure = in run() 147 FailureDescription.create("No battery charge information"); in run() 175 FailureDescription.create("Failed to determine battery level")); in runTest() 262 test, FailureDescription.create("Failed to read battery level")); in runBatteryCharging() 284 FailureDescription.create( in checkChargingSpeed()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestRunResult.java | 64 private FailureDescription mRunFailureError = null; 217 public FailureDescription getRunFailureDescription() { in getRunFailureDescription() 285 TestDescription test, TestStatus status, FailureDescription failure) { in updateTestResult() 299 updateTestResult(test, TestStatus.FAILURE, FailureDescription.create(trace)); in testFailed() 302 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() 307 updateTestResult(test, TestStatus.ASSUMPTION_FAILURE, FailureDescription.create(trace)); in testAssumptionFailure() 336 testRunFailed((FailureDescription) null); in testRunFailed() 338 testRunFailed(FailureDescription.create(errorMessage)); in testRunFailed() 342 public void testRunFailed(FailureDescription failureDescription) { in testRunFailed() 344 failureDescription = FailureDescription.create("testRunFailed(null) was called."); in testRunFailed() [all …]
|
D | TestResult.java | 37 private FailureDescription mFailureDescription; 73 public FailureDescription getFailure() { in getFailure() 139 mFailureDescription = FailureDescription.create(stackTrace); in setStackTrace() 143 public void setFailure(FailureDescription failureDescription) { in setFailure() 204 List<FailureDescription> errors = new ArrayList<>(); in merge() 229 errors.add(FailureDescription.create("incomplete test case result.")); in merge()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelCheckerTest.java | 30 import com.android.tradefed.result.FailureDescription; 128 mTestDescription, FailureDescription.create("Failed to determine battery level")); in testNull() 131 FailureDescription failure = FailureDescription.create("No battery charge information"); in testNull() 176 EasyMock.eq(mTestDescription2), EasyMock.<FailureDescription>anyObject()); in testLow() 237 mTestDescription, FailureDescription.create("Failed to read battery level")); in testLow_becomeNull() 240 FailureDescription failure = FailureDescription.create("No battery charge information"); in testLow_becomeNull()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 31 import com.android.tradefed.result.FailureDescription; 161 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents() 172 Capture<FailureDescription> captureInvocFailure = new Capture<>(); in testEvents() 232 FailureDescription invocFailureCaptured = captureInvocFailure.getValue(); in testEvents() 251 FailureDescription invocFailure = in testEvents_invocationFailure() 252 FailureDescription.create(failure.getMessage()) in testEvents_invocationFailure() 261 Capture<FailureDescription> captureInvocFailure = new Capture<>(); in testEvents_invocationFailure() 276 FailureDescription invocFailureCaptured = captureInvocFailure.getValue(); in testEvents_invocationFailure() 293 FailureDescription invocFailure = in testEvents_invocationFailure_errorNotSet() 294 FailureDescription.create(failure.getMessage()) in testEvents_invocationFailure_errorNotSet() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/ |
D | CurrentInvocationTest.java | 20 import com.android.tradefed.result.FailureDescription; 33 FailureDescription description = in testCreateFailure()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarderTest.java | 20 import com.android.tradefed.result.FailureDescription; 94 FailureDescription expectedFailure = in testForwarding_null() 95 FailureDescription.create( in testForwarding_null() 133 FailureDescription expectedFailure = in testForwarding_initError() 134 FailureDescription.create( in testForwarding_initError()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 21 import com.android.tradefed.result.FailureDescription; 146 FailureDescription failure = in testEnded() 147 FailureDescription.create(message, FailureStatus.TEST_FAILURE); in testEnded() 187 FailureDescription failureDescription = FailureDescription.create(failure); in testRunFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 28 import com.android.tradefed.result.FailureDescription; 207 FailureDescription failure = in completeModuleEvents() 208 FailureDescription.create( in completeModuleEvents() 304 FailureDescription failure = FailureDescription.create(debugInfo.getErrorMessage()); in handleInvocationEnded() 415 FailureDescription failure = FailureDescription.create(debugInfo.getErrorMessage()); in handleTestRunEnd() 451 FailureDescription failure = in handleTestCaseEnd() 452 FailureDescription.create(testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd() 464 FailureDescription assumption = in handleTestCaseEnd() 465 FailureDescription.create(testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd() 635 private void parseDebugInfoContext(DebugInfo debugInfo, FailureDescription failure) { in parseDebugInfoContext()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/ |
D | CurrentInvocation.java | 21 import com.android.tradefed.result.FailureDescription; 168 public static FailureDescription createFailure( in createFailure() 170 FailureDescription failure = FailureDescription.create(errorMessage); in createFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 23 import com.android.tradefed.result.FailureDescription; 93 public void testRunFailed(FailureDescription failure) { in testRunFailed() 172 public void testAssumptionFailure(TestDescription test, FailureDescription failure) { in testAssumptionFailure() 191 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultParser.java | 19 import com.android.tradefed.result.FailureDescription; 94 FailureDescription failureDescription = in reportToListeners() 95 FailureDescription.create( in reportToListeners()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 23 import com.android.tradefed.result.FailureDescription; 68 private List<FailureDescription> mAllDetailedFailures = new ArrayList<>(); 124 public void invocationFailed(FailureDescription failure) { in invocationFailed() 236 public void testRunFailed(FailureDescription failure) { in testRunFailed() 266 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() 301 FailureDescription currentFailure = mDetailedRunResults.getRunFailureDescription(); in testRunEnded() 398 FailureDescription.create("Test did not complete due to exception.")); in forwardTestResults()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 75 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() 91 testRunFailed(FailureDescription.create(errorMessage, FailureStatus.TEST_FAILURE)); in testRunFailed() 95 public void testRunFailed(FailureDescription error) { in testRunFailed()
|