Home
last modified time | relevance | path

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

/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DTimeSeriesTest.kt30 val frameIds = listOf(TimestampFrameId(0)) in moreDataPointsThanFrames_throws() constant
34 assertThrows(IllegalArgumentException::class.java) { TimeSeries(frameIds, properties) } in moreDataPointsThanFrames_throws()
39 val frameIds = listOf(TimestampFrameId(0), TimestampFrameId(1)) in lessDataPointsThanFrames_throws() constant
42 assertThrows(IllegalArgumentException::class.java) { TimeSeries(frameIds, properties) } 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>() constant in platform.test.motion.golden.TimeSeries
28 frameIds: List<FrameId>, in <lambda>()
30 ) : this(frameIds, features.associateBy { it.name }) { in <lambda>()
37 require(feature.dataPoints.size == frameIds.size) { in <lambda>()
DJsonGoldenSerializer.kt43 val frameIds = in fromJson() constant
51 return TimeSeries(frameIds, features) in fromJson()
59 JSONArray().apply { golden.frameIds.map(::frameIdToJson).forEach(this::put) } in toJson()
/platform_testing/libraries/motion/src/platform/test/motion/truth/
DTimeSeriesSubject.kt47 if (actual.frameIds != expected.frameIds) { in <lambda>()
49 add(fact("| expected", expected.frameIds.map { it.label })) in <lambda>()
50 add(fact("| but got", actual.frameIds.map { it.label })) in <lambda>()
52 val actualFrameIds = actual.frameIds.toSet() in <lambda>()
53 val expectedFrameIds = expected.frameIds.toSet() in <lambda>()
67 actual.frameIds.indexOf(it) to expected.frameIds.indexOf(it) in <lambda>()
70 actualToExpectedDataPointIndices = List(actual.frameIds.size) { it to it } in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/
DRecordedMotion.kt46 timeSeries.frameIds.zip(screenshots) { frameId, bitmap -> in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DTimeSeriesSubjectTest.kt54 expected.copy(frameIds = listOf(expected.frameIds[0], SupplementalFrameId("x"))) in <lambda>()
DRecordedMotionSubjectTest.kt158 List(actual.frameIds.size) { index -> in <lambda>()