• Todd Volkert's avatar
    Golden file fixes (#17299) · 52e46056
    Todd Volkert authored
    1. Make goldenFileComparator getter return `null` if it's set to the
       uninitialized comparator, which matches the behavior of the setter
       (it sets it to the uninitialized comparator if the caller specifies
       `null`).
    2. Make the uninitialized comparator return trivial success (and print
       a message) when asked to compare as opposed to throwing. This ensures
       that the comparator will play nicely with live widget bindings
    3. Augment documentation
    4. Add assert that test doesn't modify the value of `autoUpdateGoldenFiles`
    52e46056
Name
Last commit
Last update
..
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_goldens Loading commit data...
flutter_localizations Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
fuchsia_remote_debug_protocol Loading commit data...