Home
last modified time | relevance | path

Searched refs:OutputFileType (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/
DScubaExportStrategy.kt76 actual.writeToDevice(OutputFileType.IMAGE_ACTUAL, goldenIdentifier, testIdentifier).also { in reportResult()
78 report.putString(bundleKeyPrefix + OutputFileType.IMAGE_ACTUAL, it.absolutePath) in reportResult()
81 writeToDevice(OutputFileType.IMAGE_DIFF, goldenIdentifier, testIdentifier).also { in reportResult()
83 report.putString(bundleKeyPrefix + OutputFileType.IMAGE_DIFF, it.absolutePath) in reportResult()
87 writeToDevice(OutputFileType.IMAGE_EXPECTED, goldenIdentifier, testIdentifier).also { in reportResult()
89 report.putString(bundleKeyPrefix + OutputFileType.IMAGE_EXPECTED, it.absolutePath) in reportResult()
93 writeToDevice(OutputFileType.RESULT_PROTO, goldenIdentifier, testIdentifier) { in reportResult()
97 report.putString(bundleKeyPrefix + OutputFileType.RESULT_PROTO, it.absolutePath) in reportResult()
100 writeToDevice(OutputFileType.RESULT_BIN_PROTO, goldenIdentifier, testIdentifier) { in reportResult()
104 report.putString(bundleKeyPrefix + OutputFileType.RESULT_BIN_PROTO, it.absolutePath) in reportResult()
[all …]
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/report/
DScubaExportStrategyTest.kt34 import platform.test.screenshot.report.OutputFileType.IMAGE_ACTUAL
35 import platform.test.screenshot.report.OutputFileType.IMAGE_DIFF
36 import platform.test.screenshot.report.OutputFileType.IMAGE_EXPECTED
37 import platform.test.screenshot.report.OutputFileType.RESULT_BIN_PROTO
38 import platform.test.screenshot.report.OutputFileType.RESULT_PROTO
48 private fun ExportToScubaStrategy.getPathOnDeviceFor(fileType: OutputFileType) = in getPathOnDeviceFor()
228 fun extractColorSample(fileType: OutputFileType): Color { in reportResult_writesCorrectImageContents()
262 fun extractColorSample(fileType: OutputFileType): Color { in reportResult_duplicateCall_doesNotOverwriteFile()