Home
last modified time | relevance | path

Searched refs:DataPointTypes (Results 1 – 9 of 9) sorted by relevance

/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DDataPointTypesTest.kt31 assertThat(DataPointTypes.boolean.fromJson(true)).isEqualTo(true.asDataPoint()) in boolean_fromJson_native()
36 assertThat(DataPointTypes.boolean.fromJson("true")).isEqualTo(true.asDataPoint()) in boolean_fromJson_trueString()
41 assertThat(DataPointTypes.boolean.fromJson("false")).isEqualTo(false.asDataPoint()) in boolean_fromJson_falseString()
46 assertThat(DataPointTypes.boolean.fromJson(Something("bar"))) in boolean_fromJson_unknown()
52 assertThat(DataPointTypes.float.fromJson(1.5f)).isEqualTo(1.5f.asDataPoint()) in float_fromJson_native()
57 assertThat(DataPointTypes.float.fromJson(1.5)).isEqualTo(1.5f.asDataPoint()) in float_fromJson_number()
62 assertThat(DataPointTypes.float.fromJson("1.5")).isEqualTo(1.5f.asDataPoint()) in float_fromJson_floatString()
67 assertThat(DataPointTypes.float.fromJson("foo")).isEqualTo(DataPoint.unknownType<Float>()) in float_fromJson_unparseableString()
72 assertThat(DataPointTypes.float.fromJson(Something("bar"))) in float_fromJson_unknown()
78 assertThat(DataPointTypes.int.fromJson(1)).isEqualTo(1.asDataPoint()) in int_fromJson_native()
[all …]
/platform_testing/libraries/motion/src/platform/test/motion/golden/
DDataPointTypes.kt21 fun Float.asDataPoint() = DataPointTypes.float.makeDataPoint(this) in <lambda>()
23 fun Boolean.asDataPoint() = DataPointTypes.boolean.makeDataPoint(this) in <lambda>()
25 fun Int.asDataPoint() = DataPointTypes.int.makeDataPoint(this) in <lambda>()
27 fun String.asDataPoint() = DataPointTypes.string.makeDataPoint(this) in <lambda>()
30 object DataPointTypes { in <lambda>() object
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DDataPointTypes.kt32 fun Dp.asDataPoint() = DataPointTypes.dp.makeDataPoint(this) in Dp()
34 fun IntSize.asDataPoint() = DataPointTypes.intSize.makeDataPoint(this) in Dp()
36 fun Offset.asDataPoint() = DataPointTypes.offset.makeDataPoint(this) in Dp()
38 fun DpSize.asDataPoint() = DataPointTypes.dpSize.makeDataPoint(this) in Dp()
40 fun DpOffset.asDataPoint() = DataPointTypes.dpOffset.makeDataPoint(this) in Dp()
42 object DataPointTypes { in Dp() object
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DDataPointTypesTest.kt29 import platform.test.motion.compose.DataPointTypes.dp
30 import platform.test.motion.compose.DataPointTypes.dpOffset
31 import platform.test.motion.compose.DataPointTypes.dpSize
32 import platform.test.motion.compose.DataPointTypes.intSize
33 import platform.test.motion.compose.DataPointTypes.offset
DMotionTestValuesTest.kt37 import platform.test.motion.golden.DataPointTypes
101 singleFrame { feature(foo, DataPointTypes.float) } in featureWithDataPointType_defaultMatcherAndName()
119 singleFrame { feature(foo, DataPointTypes.float, matcher = hasTestTag("foo")) } in featureWithDataPointType_matchingViaTestTag()
132 feature(foo, DataPointTypes.float, matcher = hasTestTag("unknown")) in featureWithDataPointType_unknownNode()
145 singleFrame { feature(foo, DataPointTypes.float, name = "bar") } in featureWithDataPointType_withCustomName()
DComposeToolkitTest.kt62 import platform.test.motion.compose.DataPointTypes.offset in <lambda>()
66 import platform.test.motion.golden.DataPointTypes in <lambda>()
629 feature(frameCountKey, DataPointTypes.int) in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DDataPointTypes.kt25 fun Rect.asDataPoint() = DataPointTypes.rect.makeDataPoint(this) in <lambda>()
27 fun Point.asDataPoint() = DataPointTypes.point.makeDataPoint(this) in <lambda>()
30 object DataPointTypes { in <lambda>() object
DDrawableFeatureCaptures.kt34 DataPointTypes.cornerRadii in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/view/
DDataPointTypesTest.kt29 import platform.test.motion.view.DataPointTypes.cornerRadii
30 import platform.test.motion.view.DataPointTypes.point
31 import platform.test.motion.view.DataPointTypes.rect