From b7c80a5491b91a2cdea385066ca6a92a8a87d3f8 Mon Sep 17 00:00:00 2001 From: Mike Schneider Date: Fri, 8 Mar 2024 11:06:01 +0100 Subject: [PATCH] Fold [GoldenImagePathManager] into [GoldenPathManager] #cleanup These are required changes sto be submitted together with ag/26486827. Bug: 322324387 Test: Test-only change, covered by existing unit tests Change-Id: I5287c8ed485ff818f5714759663b64f157951897 --- .../tests/screenshot/biometrics/fingerprint/Injector.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt b/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt index 3cd2002d396..9d97fbf8f96 100644 --- a/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt +++ b/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt @@ -50,7 +50,7 @@ import kotlinx.coroutines.flow.update import platform.test.screenshot.DeviceEmulationSpec import platform.test.screenshot.DisplaySpec import platform.test.screenshot.FragmentScreenshotTestRule -import platform.test.screenshot.GoldenImagePathManager +import platform.test.screenshot.GoldenPathManager import platform.test.screenshot.matchers.PixelPerfectMatcher class Injector(step: FingerprintNavigationStep.UiStep) { @@ -154,7 +154,7 @@ class Injector(step: FingerprintNavigationStep.UiStep) { fun BiometricFragmentScreenShotRule() = FragmentScreenshotTestRule( DeviceEmulationSpec.forDisplays(Phone).first(), - GoldenImagePathManager( + GoldenPathManager( InstrumentationRegistry.getInstrumentation().context, InstrumentationRegistry.getInstrumentation().targetContext.filesDir.absolutePath + screenshotPath,