Merge "Fold [GoldenImagePathManager] into [GoldenPathManager] #cleanup" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
3085f01f6f
@@ -50,7 +50,7 @@ import kotlinx.coroutines.flow.update
|
|||||||
import platform.test.screenshot.DeviceEmulationSpec
|
import platform.test.screenshot.DeviceEmulationSpec
|
||||||
import platform.test.screenshot.DisplaySpec
|
import platform.test.screenshot.DisplaySpec
|
||||||
import platform.test.screenshot.FragmentScreenshotTestRule
|
import platform.test.screenshot.FragmentScreenshotTestRule
|
||||||
import platform.test.screenshot.GoldenImagePathManager
|
import platform.test.screenshot.GoldenPathManager
|
||||||
import platform.test.screenshot.matchers.PixelPerfectMatcher
|
import platform.test.screenshot.matchers.PixelPerfectMatcher
|
||||||
|
|
||||||
class Injector(step: FingerprintNavigationStep.UiStep) {
|
class Injector(step: FingerprintNavigationStep.UiStep) {
|
||||||
@@ -154,7 +154,7 @@ class Injector(step: FingerprintNavigationStep.UiStep) {
|
|||||||
fun BiometricFragmentScreenShotRule() =
|
fun BiometricFragmentScreenShotRule() =
|
||||||
FragmentScreenshotTestRule(
|
FragmentScreenshotTestRule(
|
||||||
DeviceEmulationSpec.forDisplays(Phone).first(),
|
DeviceEmulationSpec.forDisplays(Phone).first(),
|
||||||
GoldenImagePathManager(
|
GoldenPathManager(
|
||||||
InstrumentationRegistry.getInstrumentation().context,
|
InstrumentationRegistry.getInstrumentation().context,
|
||||||
InstrumentationRegistry.getInstrumentation().targetContext.filesDir.absolutePath +
|
InstrumentationRegistry.getInstrumentation().targetContext.filesDir.absolutePath +
|
||||||
screenshotPath,
|
screenshotPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user