Make ViewScreenshotTestRule the same than on tm-qpr-dev (1/2)

Bug: 261817359
Test: Manual
Change-Id: I99389c1be169f63908d75cf47fa770e55c6b9ae0
This commit is contained in:
Jordan Demeulenaere
2022-12-08 10:07:07 +01:00
parent f5887cba0a
commit d8271142ca

View File

@@ -34,7 +34,6 @@ import org.junit.runners.model.Statement
import platform.test.screenshot.DeviceEmulationRule
import platform.test.screenshot.DeviceEmulationSpec
import platform.test.screenshot.MaterialYouColorsRule
import platform.test.screenshot.PathConfig
import platform.test.screenshot.ScreenshotTestRule
import platform.test.screenshot.getEmulatedDevicePathConfig
import platform.test.screenshot.matchers.BitmapMatcher
@@ -43,7 +42,6 @@ import platform.test.screenshot.matchers.BitmapMatcher
class ViewScreenshotTestRule(
emulationSpec: DeviceEmulationSpec,
private val matcher: BitmapMatcher = UnitTestBitmapMatcher,
pathConfig: PathConfig = getEmulatedDevicePathConfig(emulationSpec),
assetsPathRelativeToBuildRoot: String
) : TestRule {
private val colorsRule = MaterialYouColorsRule()