Searched refs:frameIds (Results 1 – 7 of 7) sorted by relevance
/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/ |
D | TimeSeriesTest.kt | 30 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/ |
D | TimeSeries.kt | 25 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>()
|
D | JsonGoldenSerializer.kt | 43 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/ |
D | TimeSeriesSubject.kt | 47 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/ |
D | RecordedMotion.kt | 46 timeSeries.frameIds.zip(screenshots) { frameId, bitmap -> in <lambda>()
|
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/ |
D | TimeSeriesSubjectTest.kt | 54 expected.copy(frameIds = listOf(expected.frameIds[0], SupplementalFrameId("x"))) in <lambda>()
|
D | RecordedMotionSubjectTest.kt | 158 List(actual.frameIds.size) { index -> in <lambda>()
|