Home
last modified time | relevance | path

Searched refs:AssertionResult (Results 1 – 13 of 13) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DScenarioAssertionImpl.kt40 override fun execute(): AssertionResult = in <lambda>()
73 private fun log(result: AssertionResult) { in <lambda>()
75 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>()
DScenarioAssertion.kt24 fun execute(): AssertionResult
DAssertionResultImpl.kt30 ) : AssertionResult
DAssertionResult.kt23 interface AssertionResult { interface
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt25 import android.tools.flicker.assertions.AssertionResult in <lambda>()
58 @VisibleForTesting val assertionResults = mutableListOf<AssertionResult>() in <lambda>()
61 val assertionResultsByTest = mutableMapOf<Description, Collection<AssertionResult>>() in <lambda>()
187 ): Collection<AssertionResult>? { in <lambda>()
206 if (results.any { it.status == AssertionResult.Status.FAIL }) { in <lambda>()
227 results: Collection<AssertionResult> 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>()
271 override fun resultsForTest(description: Description): Collection<AssertionResult> { in <lambda>()
285 results: Collection<AssertionResult>?, in <lambda>()
[all …]
DIFlickerServiceResultsCollector.kt19 import android.tools.flicker.assertions.AssertionResult
30 fun resultsForTest(description: Description): Collection<AssertionResult>
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCaseTest.kt26 import android.tools.flicker.assertions.AssertionResult
49 object : AssertionResult { in reportsPassingResultMetric()
62 override val status: AssertionResult.Status = AssertionResult.Status.PASS in reportsPassingResultMetric()
103 object : AssertionResult { in reportsFailingResultMetric()
117 override val status = AssertionResult.Status.FAIL in reportsFailingResultMetric()
160 object : AssertionResult { in skippedIfNonBlocking()
175 override val status: AssertionResult.Status = AssertionResult.Status.FAIL in skippedIfNonBlocking()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCase.kt25 import android.tools.flicker.assertions.AssertionResult
44 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/
DScenarioInstanceTest.kt21 import android.tools.flicker.assertions.AssertionResult
103 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.kt29 import android.tools.flicker.assertions.AssertionResult in <lambda>()
340 .isEqualTo(AssertionResult.Status.ASSUMPTION_VIOLATION) in <lambda>()
348 assertionResults: Collection<AssertionResult> = listOf(mockSuccessfulAssertionResult), in <lambda>()
396 object : AssertionResult { in <lambda>()
409 override val status = AssertionResult.Status.PASS in <lambda>()
413 object : AssertionResult { in <lambda>()
427 override val status = AssertionResult.Status.FAIL in <lambda>()
431 object : AssertionResult { in <lambda>()
445 override val status = AssertionResult.Status.ASSUMPTION_VIOLATION in <lambda>()
DFlickerServiceRuleTest.kt20 import android.tools.flicker.assertions.AssertionResult
263 object : AssertionResult { in mockFailureAssertionResult()
276 override val status = AssertionResult.Status.FAIL in mockFailureAssertionResult()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DFlickerServiceRule.kt27 import android.tools.flicker.assertions.AssertionResult
178 it.status == AssertionResult.Status.FAIL in handleFinished()
202 return resultsForTest.any { it.status == AssertionResult.Status.FAIL } in testContainsFlicker()
/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()