Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

1.0.0-rc1

Choose a tag to compare

@DanielJette DanielJette released this 04 Sep 20:03
fab273f

1.0.0-rc1

Changes

Library

Bug fixes

  • Fix #138
    Introduce the setFocusTarget method on ScreenshotRule which allows for keyboard focus to be placed on an explicit View.

  • Fix #165
    Increase the timeout on the ActivityLifecycleMonitor to 5 seconds to allow for the rotation to complete.
    Deregister the lifecycle callback.

  • Fix #166
    Replace the existing FuzzyCompare algorithm with CIEDE2000. Calculate the colour difference value between two colours in lab space.
    The CIELAB color space (also known as CIE L* a* b* or sometimes abbreviated as simply "Lab" color space) is a color space defined by the International Commission on Illumination (CIE) in 1976.
    It expresses color as three values: L* for the lightness from black (0) to white (100), a* from green (−) to red (+), and b* from blue (−) to yellow (+).
    CIELAB was designed so that the same amount of numerical change in these values corresponds to roughly the same amount of visually perceived change.
    The CIE calls their distance metric ΔE * ab where delta is a Greek letter often used to denote difference, and E stands for Empfindung; German for "sensation".
    If deltaE < 1 then the difference can't recognized by human eyes.

Plugin

Changed

  • The gradle plugin has moved to Plugins/Gradle