Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DAssertionResult.kt29 val status: Status
32 return Status.ASSUMPTION_VIOLATION
35 return Status.FAIL
37 return Status.PASS
40 enum class Status { class
DScenarioAssertionImpl.kt75 AssertionResult.Status.ASSUMPTION_VIOLATION -> in <lambda>()
81 AssertionResult.Status.PASS -> Log.d("$FLICKER_TAG-SERVICE", "${result.name} PASSED") in <lambda>()
82 AssertionResult.Status.FAIL -> in <lambda>()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/
DAudioTestHarnessImpl.java27 import io.grpc.Status;
89 Status.UNAVAILABLE in capture()
104 Status.INTERNAL.withDescription("Internal Configuration Error.").asException()); in capture()
121 Status.INTERNAL.withCause(ioe).withDescription(ioe.getMessage()).asException()); in capture()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/
DDiffResultExportStrategy.kt39 status: DiffResult.Status, in reportResult()
73 status: DiffResult.Status, in reportResult()
DDevicelessDevMachineExportStrategy.kt45 status: ScreenshotResultProto.DiffResult.Status, in <lambda>()
DScubaExportStrategy.kt52 status: ScreenshotResultProto.DiffResult.Status, in reportResult()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/report/
DScubaExportStrategyTest.kt138 status = DiffResult.Status.PASSED, in reportResult_withoutOptionalArgs_writesActualAndProto()
156 status = DiffResult.Status.PASSED, in reportResult_withDiff_writesDiff()
175 status = DiffResult.Status.PASSED, in reportResult_withExpected_writesExpected()
194 status = DiffResult.Status.PASSED, in reportResult_passed_writesStatus()
208 status = DiffResult.Status.FAILED, in reportResult_failed_writesStatus()
222 status = DiffResult.Status.PASSED, in reportResult_writesCorrectImageContents()
247 status = DiffResult.Status.PASSED, in reportResult_duplicateCall_doesNotOverwriteFile()
256 status = DiffResult.Status.FAILED, in reportResult_duplicateCall_doesNotOverwriteFile()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCase.kt44 if (result.status == AssertionResult.Status.ASSUMPTION_VIOLATION) { in execute()
52 if (result.status == AssertionResult.Status.PASS) "0" else "1" in execute()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCaseTest.kt62 override val status: AssertionResult.Status = AssertionResult.Status.PASS in reportsPassingResultMetric()
117 override val status = AssertionResult.Status.FAIL in reportsFailingResultMetric()
175 override val status: AssertionResult.Status = AssertionResult.Status.FAIL in skippedIfNonBlocking()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DScreenshotTestRuleTest.kt141 DiffResult.Status.FAILED, in goldenIdentifierResolver()
168 DiffResult.Status.FAILED, in goldenIdentifierResolver()
197 DiffResult.Status.FAILED, in goldenIdentifierResolver()
228 DiffResult.Status.MISSING_REFERENCE, in goldenIdentifierResolver()
348 val status: DiffResult.Status, in goldenIdentifierResolver()
360 status: DiffResult.Status, in goldenIdentifierResolver()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DAudioTestHarnessImplTests.java37 import io.grpc.Status;
174 cancellableContext.cancel(Status.CANCELLED.asException()); in capture_callsStopOnSessionWhenCanceled()
203 Status.UNAVAILABLE)); in capture_throwsProperStatusException_failureToOpenCapturer()
218 /* expectedDescription= */ "Capturer Start Failure!", Status.INTERNAL)); in capture_throwsProperStatusException_failureToStartCapturer()
230 String expectedDescription, Status expectedStatus) { in generateCustomMatcherForExpected()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DScenarioInstanceTest.kt103 Truth.assertThat(singleAssertionResult.status).isEqualTo(AssertionResult.Status.FAIL) in willReportFlickerAssertions()
109 Truth.assertThat(multipleAssertionResult.status).isEqualTo(AssertionResult.Status.FAIL) in willReportFlickerAssertions()
172 Truth.assertThat(assertion1Result.status).isEqualTo(AssertionResult.Status.FAIL) in willReportMainBlockAssertions()
179 Truth.assertThat(assertion2Result.status).isEqualTo(AssertionResult.Status.FAIL) in willReportMainBlockAssertions()
DFlickerServiceResultsCollectorTest.kt340 .isEqualTo(AssertionResult.Status.ASSUMPTION_VIOLATION) in <lambda>()
409 override val status = AssertionResult.Status.PASS in <lambda>()
427 override val status = AssertionResult.Status.FAIL in <lambda>()
445 override val status = AssertionResult.Status.ASSUMPTION_VIOLATION in <lambda>()
DFlickerServiceRuleTest.kt276 override val status = AssertionResult.Status.FAIL in mockFailureAssertionResult()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt206 if (results.any { it.status == AssertionResult.Status.FAIL }) { in <lambda>()
249 if (result.status == AssertionResult.Status.ASSUMPTION_VIOLATION) { in <lambda>()
254 val resultStatus = if (result.status == AssertionResult.Status.PASS) 0 else 1 in <lambda>()
375 AssertionResult.Status.PASS -> passes++ in <lambda>()
376 AssertionResult.Status.FAIL -> { in <lambda>()
380 AssertionResult.Status.ASSUMPTION_VIOLATION -> assumptionViolations++ in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DScenarioAssertionTest.kt81 Truth.assertThat(result.status).isEqualTo(AssertionResult.Status.FAIL) in supportsRunningAssertionsWithTruthAssertions()
111 Truth.assertThat(result.status).isEqualTo(AssertionResult.Status.ASSUMPTION_VIOLATION) in supportsRunningAssertionsWithAssumptionViolations()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DScreenshotTestRule.kt183 status = ScreenshotResultProto.DiffResult.Status.MISSING_REFERENCE, in <lambda>()
206 status = ScreenshotResultProto.DiffResult.Status.FAILED, in <lambda>()
236 ScreenshotResultProto.DiffResult.Status.PASSED in <lambda>()
238 ScreenshotResultProto.DiffResult.Status.FAILED in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DFlickerServiceRule.kt178 it.status == AssertionResult.Status.FAIL in handleFinished()
202 return resultsForTest.any { it.status == AssertionResult.Status.FAIL } in testContainsFlicker()
/platform_testing/libraries/screenshot/proto/src/main/proto/
Dscreenshot_result.proto61 enum Status { enum
84 Status result_type = 1;
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStream.java27 import io.grpc.Status;
192 Status.CANCELLED.withDescription("Capture stopped by client").asException()); in close()