• 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
.github/ISSUE_TEMPLATE Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.coveralls.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...