Home
last modified time | relevance | path

Searched refs:timeSeries (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/motion/src/platform/test/motion/
DRecordedMotion.kt35 val timeSeries: TimeSeries, in <lambda>() constant in platform.test.motion.RecordedMotion
46 timeSeries.frameIds.zip(screenshots) { frameId, bitmap -> in <lambda>()
58 fun MotionTestRule<*>.create(timeSeries: TimeSeries, screenshots: List<Bitmap>?) = in <lambda>()
62 timeSeries, in <lambda>()
DMotionTestRule.kt165 val jsonObject = JsonGoldenSerializer.toJson(recordedMotion.timeSeries) in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DJsonGoldenSerializerTest.kt37 private fun assertConversions(timeSeries: TimeSeries, json: String) { in assertConversions()
41 .that(JsonGoldenSerializer.toJson(timeSeries)) in assertConversions()
46 .that(JsonGoldenSerializer.fromJson(JSONObject(json), timeSeries.createTypeRegistry())) in assertConversions()
47 .isEqualTo(timeSeries) in assertConversions()
163 val timeSeries = in deserialize_featureWithUnknownType_producesUnknown() constant
174 assertThat(timeSeries) in deserialize_featureWithUnknownType_producesUnknown()
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DMotionTestValuesTest.kt104 motion.timeSeries.assertSingleFeatureMatches("foo", .5f.asDataPoint()) in featureWithDataPointType_defaultMatcherAndName()
122 motion.timeSeries.assertSingleFeatureMatches("foo", .5f.asDataPoint()) in featureWithDataPointType_matchingViaTestTag()
136 motion.timeSeries.assertSingleFeatureMatches("foo", DataPoint.notFound()) in featureWithDataPointType_unknownNode()
148 motion.timeSeries.assertSingleFeatureMatches("bar", .5f.asDataPoint()) in featureWithDataPointType_withCustomName()
160 motion.timeSeries.assertSingleFeatureMatches("foo_times3", 1.5f.asDataPoint()) in featureWithFeatureCapture_defaultMatcherAndName()
178 motion.timeSeries.assertSingleFeatureMatches("foo_times3", 1.5f.asDataPoint()) in featureWithFeatureCapture_matchingViaTestTag()
190 motion.timeSeries.assertSingleFeatureMatches("foo_times3", DataPoint.notFound()) in featureWithFeatureCapture_unknownNode()
202 motion.timeSeries.assertSingleFeatureMatches("bar", 1.5f.asDataPoint()) in featureWithFeatureCapture_withCustomName()
DComposeToolkitTest.kt634 checkNotNull(motion.timeSeries.features["frameCount"]).dataPoints.map { dataPoint -> in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/truth/
DRecordedMotionSubject.kt29 import platform.test.motion.truth.TimeSeriesSubject.Companion.timeSeries
55 val actualTimeSeries = recordedMotion.timeSeries in timeSeriesMatchesGolden()
66 .about(timeSeries()) in timeSeriesMatchesGolden()
DTimeSeriesSubject.kt115 fun timeSeries(): Factory<TimeSeriesSubject, TimeSeries> { in <lambda>() method
122 fun assertThat(timeSeries: TimeSeries): TimeSeriesSubject = in <lambda>()
123 Truth.assertAbout(timeSeries()).that(timeSeries) in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DTimeSeriesSubjectTest.kt45 val timeSeries = createTimeSeries(2) in <lambda>() constant
47 assertThat(timeSeries).isEqualTo(timeSeries.copy()) in <lambda>()
DRecordedMotionSubjectTest.kt89 doReturn(recordedMotion.timeSeries) in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DViewToolkit.kt164 val timeSeries = in recordSeekableAnimation() constant
170 return create(timeSeries, screenshotCollector) in recordSeekableAnimation()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DComposeToolkit.kt266 val timeSeries = in recordMotion() constant
272 return create(timeSeries, screenshotCollector.map { it.asAndroidBitmap() }) in recordMotion()