Home
last modified time | relevance | path

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

/platform_testing/libraries/motion/tests/src/platform/test/motion/
DMotionTestRuleTest.kt40 private val goldenPathManager = createGoldenPathManager("assets") constant
42 private val subject = MotionTestRule(Unit, goldenPathManager)
82 File(goldenPathManager.deviceLocalPath).resolve("FooClass/updated_golden.json") in writeGeneratedTimeSeries_createsFile()
95 File(goldenPathManager.deviceLocalPath).resolve("FooClass/updated_golden.json") in writeGeneratedTimeSeries_writesTimeSeries()
117 File(goldenPathManager.deviceLocalPath).resolve("FooClass/updated_golden.json") in writeGeneratedTimeSeries_includesMetadata()
156 File(goldenPathManager.deviceLocalPath).resolve("FooClass/updated_golden.mp4") in writeGeneratedTimeSeries_withScreenshots_writesVideoAndIncludesMetadata()
160 File(goldenPathManager.deviceLocalPath).resolve("FooClass/updated_golden.json") in writeGeneratedTimeSeries_withScreenshots_writesVideoAndIncludesMetadata()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/
DDiffResultExportStrategy.kt47 fun createDefaultStrategy(goldenPathManager: GoldenPathManager): DiffResultExportStrategy { in reportResult()
48 val exportStrategy = ExportToScubaStrategy(goldenPathManager) in reportResult()
57 listOf(exportStrategy, DevicelessDevMachineExportStrategy(goldenPathManager)) in reportResult()
DScubaExportStrategy.kt36 private val goldenPathManager: GoldenPathManager, constant in platform.test.screenshot.report.ExportToScubaStrategy
63 .setValue(goldenPathManager.deviceLocalPath) in reportResult()
70 val pathRelativeToAssets = goldenPathManager.goldenImageIdentifierResolver(goldenIdentifier) in reportResult()
128 return File(goldenPathManager.deviceLocalPath, fileName) in getPathOnDeviceFor()
133 goldenPathManager in getOnDeviceImageSuffix()
142 goldenPathManager in getOnDeviceArtifactsSuffix()
170 val fileGolden = File(goldenPathManager.deviceLocalPath) in writeToDevice()
DDevicelessDevMachineExportStrategy.kt37 private val goldenPathManager: GoldenPathManager, in <lambda>() constant in platform.test.screenshot.report.DevicelessDevMachineExportStrategy
63 val assetsDir = androidBuildTop?.resolve(goldenPathManager.assetsPathRelativeToBuildRoot) in <lambda>()
64 val imagePath = goldenPathManager.goldenImageIdentifierResolver(goldenIdentifier) in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/
DMotionTestRule.kt58 private val goldenPathManager: GoldenPathManager, in <lambda>() constant in platform.test.motion.MotionTestRule
84 private val scubaExportStrategy = ExportToScubaStrategy(goldenPathManager) in <lambda>()
112 val path = goldenPathManager.goldenIdentifierResolver(goldenIdentifier, JSON_EXTENSION) in <lambda>()
114 return goldenPathManager.appContext.assets.open(path).bufferedReader().use { in <lambda>()
132 goldenPathManager.goldenIdentifierResolver(goldenIdentifier, JSON_EXTENSION) in <lambda>()
133 val deviceLocalPath = File(goldenPathManager.deviceLocalPath) in <lambda>()
193 File(goldenPathManager.deviceLocalPath).resolve(".motion_test_output_marker") in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/view/
DViewToolkitTest.kt45 private val goldenPathManager = in <lambda>() constant in platform.test.motion.view.ViewToolkitTest
49 @get:Rule(order = 1) val screenshotRule = ScreenshotTestRule(goldenPathManager) in <lambda>()
55 goldenPathManager, in <lambda>()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DScreenshotTestRule.kt54 val goldenPathManager: GoldenPathManager, in <lambda>() constant in platform.test.screenshot.ScreenshotTestRule
62 goldenPathManager: GoldenPathManager, in <lambda>()
65 goldenPathManager, in <lambda>()
66 DiffResultExportStrategy.createDefaultStrategy(goldenPathManager), in <lambda>()
101 .open(goldenPathManager.goldenImageIdentifierResolver(goldenIdentifier)) in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DRecordedMotionSubjectTest.kt52 private val goldenPathManager = in <lambda>() constant in platform.test.motion.truth.RecordedMotionSubjectTest
59 spy(MotionTestRule(Unit, goldenPathManager, bitmapDiffer)) { in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/filmstrip/
DFilmstripTest.kt37 private val goldenPathManager = constant
40 @get:Rule val screenshotTestRule = ScreenshotTestRule(goldenPathManager)
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DComposeToolkit.kt99 goldenPathManager: GoldenPathManager, in createComposeMotionTestRule()
108 goldenPathManager, in createComposeMotionTestRule()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DScreenshotTestRuleTest.kt331 File(rule.goldenPathManager.deviceLocalPath).deleteRecursively() in goldenIdentifierResolver()