Searched refs:AssertionResult (Results 1 – 13 of 13) sorted by relevance
40 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>()
24 fun execute(): AssertionResult
30 ) : AssertionResult
23 interface AssertionResult { interface
25 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 …]
19 import android.tools.flicker.assertions.AssertionResult30 fun resultsForTest(description: Description): Collection<AssertionResult>
26 import android.tools.flicker.assertions.AssertionResult49 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()
25 import android.tools.flicker.assertions.AssertionResult44 if (result.status == AssertionResult.Status.ASSUMPTION_VIOLATION) { in execute()52 if (result.status == AssertionResult.Status.PASS) "0" else "1" in execute()
21 import android.tools.flicker.assertions.AssertionResult103 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()
29 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>()
20 import android.tools.flicker.assertions.AssertionResult263 object : AssertionResult { in mockFailureAssertionResult()276 override val status = AssertionResult.Status.FAIL in mockFailureAssertionResult()
27 import android.tools.flicker.assertions.AssertionResult178 it.status == AssertionResult.Status.FAIL in handleFinished()202 return resultsForTest.any { it.status == AssertionResult.Status.FAIL } in testContainsFlicker()
81 Truth.assertThat(result.status).isEqualTo(AssertionResult.Status.FAIL) in supportsRunningAssertionsWithTruthAssertions()111 Truth.assertThat(result.status).isEqualTo(AssertionResult.Status.ASSUMPTION_VIOLATION) in supportsRunningAssertionsWithAssumptionViolations()