Searched refs:FAILURE (Results 1 – 13 of 13) sorted by relevance
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | TraceMonitorRuleTest.kt | 41 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()
|
D | Consts.kt | 22 internal const val FAILURE = "Expected failure" constant
|
D | SetupTeardownRuleTest.kt | 44 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()
|
D | TransitionExecutionRuleTest.kt | 61 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()
|
D | TransitionRunnerTest.kt | 59 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/ |
D | Consts.kt | 20 internal const val FAILURE = "Expected failure" constant
|
D | ArtifactAssertionRunnerTest.kt | 44 throw SimpleFlickerAssertionError(Consts.FAILURE) in <lambda>() 122 assertExceptionMessage(actual, Consts.FAILURE) in verifyExceptionMessage()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/datastore/ |
D | CachedAssertionRunnerTest.kt | 48 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()
|
D | Consts.kt | 25 internal const val FAILURE = "Expected failure" constant
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | AssertionErrorTest.kt | 58 throw SimpleFlickerAssertionError(Utils.FAILURE) in assertThrowsAssertionError() 67 .contains(Utils.FAILURE) in assertThrowsAssertionError()
|
D | TransitionErrorTest.kt | 70 .contains(Utils.FAILURE) in <lambda>() 94 @BeforeClass @JvmStatic fun runTransition() = Utils.runTransition { error(Utils.FAILURE) } in <lambda>()
|
D | Utils.kt | 34 internal const val FAILURE = "Expected failure" constant
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/ |
D | FlickerServiceRuleTest.kt | 162 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()
|