1. 20 Dec, 2019 1 commit
    • Greg Spencer's avatar
      Add variant testing to testWidgets (#45646) · 19b9206a
      Greg Spencer authored
      This adds the ability to define variants of tests with different environmental values for a particular testWidgets test.
      
      This allows you to run the same test multiple times with a different test environment. One test variant has been implemented that allows running a test with different settings of the TargetPlatform.
      19b9206a
  2. 19 Dec, 2019 2 commits
  3. 18 Dec, 2019 1 commit
  4. 17 Dec, 2019 1 commit
  5. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  6. 19 Nov, 2019 1 commit
  7. 14 Nov, 2019 1 commit
  8. 28 Oct, 2019 1 commit
  9. 24 Sep, 2019 1 commit
    • Greg Spencer's avatar
      Add fake keyboard key generation to the testing framework (#40706) · 0e6cb28d
      Greg Spencer authored
      There were four or five different implementations in various tests for sendFakeKeyEvent, which roughly all did the same thing. I was going to add yet another one, and decided that it needed to be generalized and centralized. This replaces those instances with something that just takes a LogicalKeyboardKey so that it's self-documenting, and can be used with multiple platforms.
      
      This adds two functions to widget tester: sendKeyDownEvent and sendKeyUpEvent which simulate key up/down from a physical keyboard. It also adds global functions simulateKeyDownEvent and simulateKeyUpEvent that can be called without a widget tester. All are async functions protected by the async guard.
      0e6cb28d
  10. 28 Jun, 2019 3 commits
  11. 25 Jun, 2019 1 commit
  12. 13 Jun, 2019 1 commit
  13. 06 Jun, 2019 1 commit
    • sjindel-google's avatar
      Don't print warning message when running benchmarks test. (#33842) · f83df74b
      sjindel-google authored
      # Description
      Currently the benchmarks test prints a scary warning message, even when it passes, that a benchmark is being run with asserts enabled.
      
      Normally we don't want developers to do this, because the performance of code with asserts is not characteristic of what end-users will experience. However, we need to unit-test benchmarkWidgets, so I've added a contraindicated option to suppress the warning for the test.
      
      # Related Issues
      25049 (comment)
      f83df74b
  14. 27 May, 2019 1 commit
  15. 22 Mar, 2019 1 commit
  16. 18 Mar, 2019 1 commit
  17. 07 Mar, 2019 1 commit
  18. 06 Mar, 2019 2 commits
  19. 01 Mar, 2019 2 commits
  20. 21 Feb, 2019 1 commit
  21. 30 Jan, 2019 1 commit
  22. 27 Jan, 2019 1 commit
  23. 22 Jan, 2019 1 commit
  24. 07 Jan, 2019 1 commit
  25. 12 Dec, 2018 1 commit
  26. 09 Nov, 2018 1 commit
  27. 06 Nov, 2018 3 commits
  28. 18 Oct, 2018 1 commit
  29. 16 Oct, 2018 1 commit
  30. 11 Oct, 2018 1 commit
  31. 06 Oct, 2018 1 commit
  32. 01 Oct, 2018 1 commit
  33. 14 Sep, 2018 1 commit