/platform_testing/libraries/motion/tests/src/platform/test/motion/ |
D | MotionTestRuleTest.kt | 40 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/ |
D | DiffResultExportStrategy.kt | 47 fun createDefaultStrategy(goldenPathManager: GoldenPathManager): DiffResultExportStrategy { in reportResult() 48 val exportStrategy = ExportToScubaStrategy(goldenPathManager) in reportResult() 57 listOf(exportStrategy, DevicelessDevMachineExportStrategy(goldenPathManager)) in reportResult()
|
D | ScubaExportStrategy.kt | 36 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()
|
D | DevicelessDevMachineExportStrategy.kt | 37 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/ |
D | MotionTestRule.kt | 58 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/ |
D | ViewToolkitTest.kt | 45 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/ |
D | ScreenshotTestRule.kt | 54 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/ |
D | RecordedMotionSubjectTest.kt | 52 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/ |
D | FilmstripTest.kt | 37 private val goldenPathManager = constant 40 @get:Rule val screenshotTestRule = ScreenshotTestRule(goldenPathManager)
|
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/ |
D | ComposeToolkit.kt | 99 goldenPathManager: GoldenPathManager, in createComposeMotionTestRule() 108 goldenPathManager, in createComposeMotionTestRule()
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/ |
D | ScreenshotTestRuleTest.kt | 331 File(rule.goldenPathManager.deviceLocalPath).deleteRecursively() in goldenIdentifierResolver()
|