Merge "Fix the host golden path asset dir config" into tm-qpr-dev
This commit is contained in:
@@ -23,9 +23,11 @@ import platform.test.screenshot.PathConfig
|
|||||||
/** A [GoldenImagePathManager] that should be used for all SystemUI screenshot tests. */
|
/** A [GoldenImagePathManager] that should be used for all SystemUI screenshot tests. */
|
||||||
class SystemUIGoldenImagePathManager(
|
class SystemUIGoldenImagePathManager(
|
||||||
pathConfig: PathConfig,
|
pathConfig: PathConfig,
|
||||||
|
override val assetsPathRelativeToRepo: String = "tests/screenshot/assets"
|
||||||
) :
|
) :
|
||||||
GoldenImagePathManager(
|
GoldenImagePathManager(
|
||||||
appContext = InstrumentationRegistry.getInstrumentation().context,
|
appContext = InstrumentationRegistry.getInstrumentation().context,
|
||||||
|
assetsPathRelativeToRepo = assetsPathRelativeToRepo,
|
||||||
deviceLocalPath =
|
deviceLocalPath =
|
||||||
InstrumentationRegistry.getInstrumentation()
|
InstrumentationRegistry.getInstrumentation()
|
||||||
.targetContext
|
.targetContext
|
||||||
|
|||||||
Reference in New Issue
Block a user