Package-level declarations

Properties

Link copied to clipboard
private val screenShotConfig: Path
Link copied to clipboard
Link copied to clipboard
private val screenShotDiffDirPath: Path
Link copied to clipboard
private val screenShotDir: String
Link copied to clipboard
private val screenShotDirPath: Path
Link copied to clipboard
private val screenShotReportDirPath: Path

Functions

Link copied to clipboard
private fun Path.child(name: String): Path
Link copied to clipboard
private fun colorDifference(color1: RGBA, color2: RGBA): Float
Link copied to clipboard
private fun getBaseScreenShot(testName: String): ByteArray?
Link copied to clipboard
private fun getCallerName(): String
Link copied to clipboard
fun getReportTemplate(className: String, testName: String): String
Link copied to clipboard
actual fun runScreenShotTest(device: DeviceInfo, wait: Duration?, block: (Modifier) -> Unit)
expect fun runScreenShotTest(device: DeviceInfo = Devices.Pixel_3, wait: Duration? = 500.toDuration(DurationUnit.MILLISECONDS), block: @Composable (Modifier) -> Unit)
fun runScreenShotTest(devices: List<DeviceInfo>, wait: Duration? = 500.toDuration(DurationUnit.MILLISECONDS), block: @Composable (Modifier) -> Unit)
actual fun runScreenShotTest(device: DeviceInfo, wait: Duration?, block: (Modifier) -> Unit)
actual fun runScreenShotTest(device: DeviceInfo, wait: Duration?, block: (Modifier) -> Unit)
actual fun runScreenShotTest(device: DeviceInfo, wait: Duration?, block: (Modifier) -> Unit)
Link copied to clipboard
private fun saveBaseScreenShot(testName: String, byteArray: ByteArray)
Link copied to clipboard
private fun FileSystem.sourceOrNull(path: Path): RawSource?
Link copied to clipboard
suspend fun verify(baseScreenShotByteArray: ByteArray, newScreenShotByteArray: ByteArray, tolerance: Float): ByteArray?