Home
last modified time | relevance | path

Searched refs:expectedValue (Results 1 – 25 of 74) sorted by relevance

123

/compose/ui/ui/src/androidUnitTest/kotlin/androidx/compose/ui/autofill/
DAndroidPerformAutofillTest.kt50 val expectedValue = "Name" in performAutofill_name() constant
63 append(autofillNode.id, AutofillValue.forText(expectedValue)) in performAutofill_name()
70 assertThat(autoFilledValue).isEqualTo(expectedValue) in performAutofill_name()
76 val expectedValue = "email@google.com" in performAutofill_email() constant
89 append(autofillNode.id, AutofillValue.forText(expectedValue)) in performAutofill_email()
96 assertThat(autoFilledValue).isEqualTo(expectedValue) in performAutofill_email()
/compose/animation/animation-core/src/commonTest/kotlin/androidx/compose/animation/core/
DSuspendAnimationTest.kt77 val expectedValue = anim.getValueFromMillis(playTimeMillis) in <lambda>() constant
78 assertEquals(expectedValue.x, value.x, 0.001f) in <lambda>()
79 assertEquals(expectedValue.y, value.y, 0.001f) in <lambda>()
152 val expectedValue = anim.getValueFromMillis(playTimeMillis) in <lambda>() constant
153 assertEquals(expectedValue.x, value.x, 0.001f) in <lambda>()
154 assertEquals(expectedValue.y, value.y, 0.001f) in <lambda>()
DTweenAnimationTest.kt59 val expectedValue = accelerateEasing.transform(fraction) in <lambda>() constant
60 assertThat(value).isEqualTo(expectedValue) in <lambda>()
DAnimatableTest.kt136 val expectedValue = anim.getValueFromMillis(playTimeMillis) in <lambda>() constant
138 expectedValue.x, in <lambda>()
144 expectedValue.y, in <lambda>()
DPhysicsAnimationTest.kt87 val expectedValue = motion.value in <lambda>() constant
90 assertThat(resultValue).isEqualTo(expectedValue) in <lambda>()
/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/
DSemanticsMatcher.kt33 fun <T> expectValue(key: SemanticsPropertyKey<T>, expectedValue: T): SemanticsMatcher { in expectValue()
34 return SemanticsMatcher("${key.name} = '$expectedValue'") { in expectValue()
35 it.config.getOrElseNullable(key) { null } == expectedValue in expectValue()
/compose/ui/ui/src/androidUnitTest/kotlin/androidx/compose/ui/node/
DModifierNodeElementTest.kt63 expectedValue = null, in testDefaultInspectableProperties()
79 expectedValue: Any? = null, in assertEquals()
85 assertEquals("$message (unexpected value)", expectedValue, actual.valueOverride) in assertEquals()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/autofill/
DAndroidAutoFillTest.kt124 val expectedValue = "PersonName" in autofill_triggersOnFill() constant
135 append(autofillNode.id, AutofillValue.forText(expectedValue)) in autofill_triggersOnFill()
143 assertThat(autoFilledValue).isEqualTo(expectedValue) in autofill_triggersOnFill()
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/staggeredgrid/
DLazyStaggeredGridAnimatedScrollTest.kt247 val expectedValue = spec.getValueFromNanos(nanosTime, startOffset, endOffset, 0f) in assertSpringAnimation() constant
253 "offset=${state.firstVisibleItemScrollOffset} expectedValue=$expectedValue" in assertSpringAnimation()
256 .isEqualTo(expectedValue.roundToInt(), tolerance = 1) in assertSpringAnimation()
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/grid/
DLazyScrollTest.kt440 val expectedValue = spec.getValueFromNanos(nanosTime, startOffset, endOffset, 0f) in assertSpringAnimation() constant
445 "offset=${state.firstVisibleItemScrollOffset} expectedValue=$expectedValue" in assertSpringAnimation()
448 .isEqualTo(expectedValue.roundToInt(), tolerance = 1) in assertSpringAnimation()
/compose/ui/ui-test/src/androidCommonTest/kotlin/androidx/compose/ui/test/util/
DVerifications.kt138 expectedAxisValues.forEach { (axis, expectedValue) -> in verifyMouseEvent() method
139 assertWithMessage("axisValue($axis)").that(getAxisValue(axis)).isEqualTo(expectedValue) in verifyMouseEvent()
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/list/
DLazyScrollTest.kt491 val expectedValue = spec.getValueFromNanos(nanosTime, startOffset, endOffset, 0f) in assertSpringAnimation() constant
497 "offset=${state.firstVisibleItemScrollOffset} expectedValue=$expectedValue" in assertSpringAnimation()
500 .isEqualTo(expectedValue.roundToInt(), tolerance = 1) in assertSpringAnimation()
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/
DTextFieldBufferTest.kt158 val expectedValue = TextFieldCharSequence("world", TextRange(5)) in <lambda>() constant
162 originalValue = expectedValue in <lambda>()
165 assertThat(state.toTextFieldCharSequence()).isEqualTo(expectedValue) in <lambda>()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/
DCombinedClickableTest.kt2501 expectedValue: String in SemanticsNodeInteraction()
2504 SemanticsMatcher("onLongClickLabel = '$expectedValue'") { in SemanticsNodeInteraction()
2506 expectedValue in SemanticsNodeInteraction()
DClickableTest.kt6672 expectedValue: String in assertOnClickLabelMatches()
6675 SemanticsMatcher("onClickLabel = '$expectedValue'") { in assertOnClickLabelMatches()
6676 it.config.getOrElseNullable(SemanticsActions.OnClick) { null }?.label == expectedValue in assertOnClickLabelMatches()
/compose/foundation/foundation-layout/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/layout/
DSizeTest.kt1371 expectedValue: Any?, in <lambda>()
1377 assertThat(parameter.valueOverride).isEqualTo(expectedValue) in <lambda>()
/compose/ui/ui-test/api/
Drestricted_1.0.0-beta10.txt229 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta06.txt227 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta08.txt229 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta04.txt227 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta09.txt229 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta05.txt227 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta02.txt227 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta07.txt227 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
Drestricted_1.0.0-beta03.txt227 …csMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);

123