Home
last modified time | relevance | path

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

/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DDataPointTypeTest.kt54 val dataPoint = subject.makeDataPoint(nativeValue) in <lambda>() constant
56 assertThat(dataPoint).isInstanceOf(ValueDataPoint::class.java) in <lambda>()
57 val valueDataPoint = dataPoint as ValueDataPoint in <lambda>()
64 val dataPoint = subject.fromJson(JSONObject.NULL) in <lambda>() constant
66 assertThat(dataPoint).isEqualTo(nullValue<Native>()) in <lambda>()
72 val dataPoint = subject.fromJson(NotFoundDataPoint.instance.asJson()) in <lambda>() constant
74 assertThat(dataPoint).isEqualTo(notFound<Native>()) in <lambda>()
80 val dataPoint = subject.fromJson("one") in <lambda>() constant
82 assertThat(dataPoint).isInstanceOf(ValueDataPoint::class.java) in <lambda>()
83 val valueDataPoint = dataPoint as ValueDataPoint in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/view/
DDataPointTypesTest.kt44 val dataPoint = DataPoint.of(native, point) in point_dataPoint_isImmutable() constant
46 assertThat((dataPoint as ValueDataPoint).value.x).isEqualTo(1) in point_dataPoint_isImmutable()
71 val dataPoint = DataPoint.of(native, rect) in rect_dataPoint_isImmutable() constant
73 assertThat((dataPoint as ValueDataPoint).value.left).isEqualTo(1) in rect_dataPoint_isImmutable()
97 val dataPoint = DataPoint.of(CornerRadii(native), cornerRadii) in cornerRadii_dataPoint_isImmutable() constant
99 assertThat((dataPoint as ValueDataPoint).value.rawValues[0]).isEqualTo(1) in cornerRadii_dataPoint_isImmutable()
/platform_testing/libraries/motion/src/platform/test/motion/testing/
DDataPointSubject.kt61 fun <T> dataPoint(): Factory<DataPointSubject<T>, DataPoint<T>> { in <lambda>() method
68 fun <T> assertThat(dataPoint: DataPoint<T>): DataPointSubject<T> = in <lambda>()
69 Truth.assertAbout(dataPoint<T>()).that(dataPoint) in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/golden/
DDataPointTypes.kt87 val dataPoint = dataPointType.fromJson(it.get(index)) in <lambda>() constant
88 if (dataPoint !is ValueDataPoint<T>) { in <lambda>()
91 dataPoint.value in <lambda>()
DTimeSeriesCapture.kt47 val dataPoint = if (observing != null) using.capture(observing) else DataPoint.notFound() in capture() constant
48 valueCollector.computeIfAbsent(name) { mutableListOf() }.add(dataPoint) in capture()
DJsonGoldenSerializer.kt133 for (dataPoint in feature.dataPoints) { in <lambda>() method
134 if (dataPoint is ValueDataPoint) { in <lambda>()
135 val type = dataPoint.type in <lambda>()
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DComposeToolkitTest.kt634 checkNotNull(motion.timeSeries.features["frameCount"]).dataPoints.map { dataPoint -> in <lambda>() method
635 when (dataPoint) { in <lambda>()
636 is ValueDataPoint -> dataPoint.value in <lambda>()