Home
last modified time | relevance | path

Searched refs:Feature (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DJsonGoldenSerializerTest.kt74 TimeSeries(listOf(), listOf(Feature<Int>("foo", emptyList()))), in feature_withoutDataPoint_noType()
84 listOf(Feature("foo", listOf(42.asDataPoint()))) in feature_withSingleDataPoint_specifiesType()
95 listOf(Feature("foo", listOf(42.asDataPoint(), 43.asDataPoint()))) in feature_withMultipleDataPoints_specifiesType()
107 listOf(Feature("foo", listOf(nullValue(), 43.asDataPoint()))) in feature_withNullDataPoints_specifiesTypeAndHandlesNull()
119 listOf(Feature("foo", listOf(notFound(), 43.asDataPoint()))) in feature_withNotFoundDataPoints_specifiesTypeAndHandlesNotFound()
131 listOf(Feature<Int>("foo", listOf(nullValue()))) in feature_withNullOnlyDataPoints_noType()
143 listOf(Feature("foo", listOf(42.asDataPoint(), 42f.asDataPoint()))) in serialize_featureWithMultipleTypesPerDataPoint_throws()
155 listOf(Feature("foo", listOf(42.asDataPoint(), unknownType()))) in serialize_featureWithUnknownDataPoints_throws()
178 listOf(Feature<Any>("foo", listOf(nullValue(), unknownType()))) in deserialize_featureWithUnknownType_producesUnknown()
DTimeSeriesTest.kt32 listOf(Feature("foo", dataPoints = listOf(1.asDataPoint(), 2.asDataPoint()))) in moreDataPointsThanFrames_throws()
40 val properties = listOf(Feature("foo", dataPoints = listOf(1.asDataPoint()))) in lessDataPointsThanFrames_throws()
/platform_testing/libraries/motion/src/platform/test/motion/golden/
DTimeSeries.kt25 data class TimeSeries(val frameIds: List<FrameId>, val features: Map<String, Feature<*>>) { in <lambda>()
29 features: List<Feature<*>> in <lambda>()
67 data class Feature<out T>( class
DJsonGoldenSerializer.kt84 ): Feature<*> { in featureFromJson()
90 return Feature(name, dataPoints) in featureFromJson()
93 private fun featureToJson(feature: Feature<*>) = in featureToJson()
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DTimeSeriesSubjectTest.kt25 import platform.test.motion.golden.Feature in <lambda>()
142 listOf(Feature("foo", listOf(1.asDataPoint(), 2.asDataPoint()))) in <lambda>()
147 listOf(Feature("foo", listOf(1.asDataPoint(), 3.asDataPoint()))) in <lambda>()
173 Feature(name, List(dataPoints) { it.asDataPoint() }) in <lambda>()
175 Feature(name, List(dataPoints) { it.toString().asDataPoint() }) in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DViewToolkit.kt31 import platform.test.motion.golden.Feature in <lambda>()
167 propertyCollector.entries.map { entry -> Feature(entry.key, entry.value) } in recordSeekableAnimation()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DComposeToolkit.kt61 import platform.test.motion.golden.Feature in <lambda>()
269 propertyCollector.entries.map { entry -> Feature(entry.key, entry.value) } in recordMotion()