Merge "Make ViewScreenshotTestRule the same than on tm-qpr-dev (1/2)"
This commit is contained in:
committed by
Android (Google) Code Review
commit
a80be4309e
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user