1. 28 Jul, 2019 1 commit
  2. 12 Jul, 2019 2 commits
    • Kate Lovett's avatar
      Revert "Part 1: Skia Gold Testing (#33688)" (#36094) · 8809f698
      Kate Lovett authored
      This reverts commit eb0b1790.
      Skia Gold post-submit test were failing due to the service account not being found on Cirrus.
      8809f698
    • Kate Lovett's avatar
      Part 1: Skia Gold Testing (#33688) · eb0b1790
      Kate Lovett authored
      * Fresh PR for Gold integration.
      
      * Nits
      
      * WIP
      
      * Artifacts from merge
      
      * Changed some platform dependencies for web, added library prefix notation for Skia Gold test names.
      
      * Updating for CI implementation
      
      * Write out service account
      
      * Writing to skip out
      
      * WIP
      
      * ++
      
      * Fixing depot tools deps
      
      * Windows depot_tools
      
      * Fixing setup scripts
      
      * ++
      
      * depot tools
      
      * ++
      
      * WIP
      
      * Tracing depot_tools clone
      
      * WIP
      
      * ++
      
      * analyzer
      
      * WIP
      
      * chrome typo
      
      * copy artifact
      
      * Working on tests
      
      * Code cleanup
      
      * ++
      
      * Code cleanup, updated tests
      
      * ++ review feedback
      
      * Review
      
      * Analyzer
      
      * Review feedback
      
      * Nits from review
      
      * PRogress
      
      * ++
      
      * Fixing tests
      
      * ++
      
      * Testing repo route
      
      * Just needing documention around new structures.
      
      * cleanup
      
      * Analyzer
      
      * Documentation updates
      
      * Documentation updates
      
      * Cirrus updates
      
      * cirrus nit
      
      * Review feedback
      
      * Review feedback
      
      * Fixing skip comparator
      
      * Fix base directory for Skia Gold case
      
      * ++
      
      * Feedback
      
      * ++
      
      * Fixed uri assertion
      
      * Made GoldensClient abstract, altered SkiaGoldClient constructor
      
      * Analyzer
      eb0b1790
  3. 25 Apr, 2019 1 commit
  4. 29 Jan, 2019 1 commit
  5. 06 Nov, 2018 3 commits
  6. 01 Oct, 2018 1 commit
  7. 12 Sep, 2018 1 commit
  8. 15 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Shim package:test to avoid matcher issues (#20602) · 686d8f8a
      Ian Hickson authored
      * Upgrade everything except matcher.
      * Roll matcher (and test)
      * Adjust tests that depend on flutter:test directly to depend on a shim
      * Require use of package:test shim and remove other references to package:test
      686d8f8a
  9. 01 Jun, 2018 1 commit
  10. 10 May, 2018 1 commit
  11. 07 May, 2018 1 commit
    • 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
  12. 04 May, 2018 2 commits
    • Todd Volkert's avatar
      Expose generateTestBootstrap() as public API in test harness (#17290) · be09a200
      Todd Volkert authored
      This will allow external tools that wrap our test harness to share the
      code that generates the test bootstrap.
      
      This change exposed an issue whereby the LocalGoldenFileComparator
      was being too strict in its URI handling, so this changes relaxes
      that constraint as well (and adds associated tests).
      be09a200
    • Todd Volkert's avatar
      Follow-on work to goldens (#17267) · c8908ff0
      Todd Volkert authored
      * Exclude flutter_goldens package from dartdoc because it's for internal
        use only
      * Document why flutter_tools doesn' tneed to be excluded from the list of
        packages to document
      * Performance optimization in the flutter comparator, and associated
        test updates.
      c8908ff0
  13. 03 May, 2018 1 commit
  14. 01 May, 2018 1 commit
  15. 30 Apr, 2018 1 commit
    • Todd Volkert's avatar
      Add basic support for golden image file testing (#17094) · e19db89a
      Todd Volkert authored
      * Add a `matchesGoldenFile()` async matcher that will match
        a finder's widget's rasterized image against a golden file.
      * Add support for pluggable image comparison backends
      * Add a default backend that does simplistic PNG byte
        comparison on locally stored golden files.
      * Add support for `flutter test --update-goldens`, which will
        treat the rasterized image bytes produced during the test
        as the new golden bytes and update the golden file accordingly
      
      Still TODO:
      
      * Add support for the `flutter_test_config.dart` test config hook
      * Utilize `flutter_test_config.dart` in `packages/flutter/test`
        to install a backend that retrieves golden files from a dedicated
        `flutter/goldens` repo
      
      https://github.com/flutter/flutter/issues/16859
      e19db89a