Home
last modified time | relevance | path

Searched refs:PathElementNoContext (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DGoldenPathManager.kt100 data class PathElementNoContext( dataClass
130 is PathElementNoContext -> it.func() in resolveRelativePath()
144 PathElementNoContext(BRAND_TAG, true, ::getDeviceBrand), in getDefaultPathConfig()
145 PathElementNoContext(MODEL_TAG, true, ::getDeviceModel), in getDefaultPathConfig()
146 PathElementNoContext(API_TAG, true, ::getAPIVersion), in getDefaultPathConfig()
153 return PathConfig(PathElementNoContext(MODEL_TAG, true, ::getDeviceModel)) in getSimplePathConfig()
165 PathElementNoContext(MODEL_TAG, isDir = true, ::getDeviceModel), in getDeviceVariantPathConfig()
166 PathElementNoContext("variant", isDir = true) { variant }, in getDeviceVariantPathConfig()
175 PathElementNoContext(DISPLAY_TAG, isDir = true) { emulationSpec.display.name }, in getEmulatedDevicePathConfig()
176 PathElementNoContext(THEME_TAG, isDir = false) { in getEmulatedDevicePathConfig()
[all …]
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DGoldenPathManagerTest.kt45 pathConfig = PathConfig(PathElementNoContext("something", true) { "mydevice" }) in goldenIdentifierResolver_includesPathConfig()
74 PathElementNoContext("nocontext1", true, ::pathNoContextExtractor1), in pathNoContextExtractor1()
75 PathElementNoContext("nocontext2", true, ::pathNoContextExtractor2), in pathNoContextExtractor1()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/report/
DScubaExportStrategyTest.kt31 import platform.test.screenshot.PathElementNoContext
78 val pathConfig = PathConfig(PathElementNoContext("foo", isDir = true) { "bar" }) in getPathOnDeviceFor_directoryElement_filenameIncludesPathElement()
95 val pathConfig = PathConfig(PathElementNoContext("foo", isDir = false) { "bar" }) in getPathOnDeviceFor_nonDirectoryElement_filenameIncludesPathElement()
114 PathElementNoContext("foo", isDir = true) { "bar" }, in getPathOnDeviceFor_multiplePathConfigs_filenameIncludesPathElement()
115 PathElementNoContext("one", isDir = false) { "two" } in getPathOnDeviceFor_multiplePathConfigs_filenameIncludesPathElement()