Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTraceMonitorRuleTest.kt41 createMonitor({ error(Consts.FAILURE) }, { setResultExecutionCount++ }) in <lambda>()
45 { error(Consts.FAILURE) }, in <lambda>()
79 Truth.assertWithMessage("Failure").that(failure).hasMessageThat().contains(Consts.FAILURE) in executesWithStartFailure()
91 Truth.assertWithMessage("Failure").that(failure).hasMessageThat().contains(Consts.FAILURE) in executesStartFailureMonitor2()
103 Truth.assertWithMessage("Failure").that(failure).hasMessageThat().contains(Consts.FAILURE) in executesWithStopFailure()
115 Truth.assertWithMessage("Failure").that(failure).hasMessageThat().contains(Consts.FAILURE) in executesStopFailureMonitor2()
DConsts.kt22 internal const val FAILURE = "Expected failure" constant
DSetupTeardownRuleTest.kt44 private val throwError: FlickerTestData.() -> Unit = { error(Consts.FAILURE) } in <lambda>()
67 Truth.assertWithMessage("Failure").that(failure).hasMessageThat().contains(Consts.FAILURE) in throwsSetupFailureAndExecutesTeardown()
79 Truth.assertWithMessage("Failure").that(failure).hasMessageThat().contains(Consts.FAILURE) in throwsTeardownFailure()
DTransitionExecutionRuleTest.kt61 private val throwTransitionError: FlickerTestData.() -> Unit = { error(Consts.FAILURE) } in <lambda>()
63 throw AssertionError(Consts.FAILURE) in <lambda>()
94 assertExceptionMessage(failure, Consts.FAILURE) in throwsTransitionFailure()
116 Truth.assertWithMessage("Failure").that(failure).hasMessageThat().contains(Consts.FAILURE) in throwsAssertionFailure()
DTransitionRunnerTest.kt59 private val throwError: FlickerTestData.() -> Unit = { error(Consts.FAILURE) } in <lambda>()
131 assertExceptionMessage(result.executionError, Consts.FAILURE) in failsWithTransitionError()
152 assertExceptionMessage(result.executionError, Consts.FAILURE) in failsWithSetupErrorAndHasTraces()
173 assertExceptionMessage(result.executionError, Consts.FAILURE) in failsWithTeardownErrorAndHasTraces()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DConsts.kt20 internal const val FAILURE = "Expected failure" constant
DArtifactAssertionRunnerTest.kt44 throw SimpleFlickerAssertionError(Consts.FAILURE) in <lambda>()
122 assertExceptionMessage(actual, Consts.FAILURE) in verifyExceptionMessage()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/datastore/
DCachedAssertionRunnerTest.kt48 throw SimpleFlickerAssertionError(android.tools.flicker.datastore.Consts.FAILURE) in <lambda>()
90 assertExceptionMessage(firstAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in executesFailure()
91 assertExceptionMessage(lastAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in executesFailure()
106 assertExceptionMessage(firstAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in updatesRunStatusFailureFirst()
122 assertExceptionMessage(lastAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in updatesRunStatusFailureLast()
DConsts.kt25 internal const val FAILURE = "Expected failure" constant
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DAssertionErrorTest.kt58 throw SimpleFlickerAssertionError(Utils.FAILURE) in assertThrowsAssertionError()
67 .contains(Utils.FAILURE) in assertThrowsAssertionError()
DTransitionErrorTest.kt70 .contains(Utils.FAILURE) in <lambda>()
94 @BeforeClass @JvmStatic fun runTransition() = Utils.runTransition { error(Utils.FAILURE) } in <lambda>()
DUtils.kt34 internal const val FAILURE = "Expected failure" constant
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DFlickerServiceRuleTest.kt162 val executionError = Throwable(Consts.FAILURE) in neverThrowsExceptionForExecutionErrors()
182 val executionError = Throwable(Consts.FAILURE) in throwsExceptionForExecutionErrorsIfRequested()
193 Truth.assertThat(exception).hasMessageThat().isEqualTo(Consts.FAILURE) in throwsExceptionForExecutionErrorsIfRequested()
209 val executionError = Throwable(Consts.FAILURE) in canBeDisabled()