1. 10 Apr, 2020 1 commit
    • Greg Spencer's avatar
      Fix initial value for highlight mode on desktop platforms. (#54306) · c7b10df7
      Greg Spencer authored
      This fixes the initial value of FocusManager.highlightMode so that it gets initialized correctly on desktop platforms.
      
      My recent update of this code (#52990) broke things so that the highlight mode never changed from the initial default of touch, which meant that focus highlights didn't show unless you set FocusManager.highlightStrategy to something (even automatic, the default: setting it caused the mode to be updated).
      c7b10df7
  2. 20 Feb, 2020 1 commit
  3. 11 Feb, 2020 1 commit
  4. 08 Jan, 2020 1 commit
  5. 07 Jan, 2020 1 commit
  6. 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
  7. 19 Dec, 2019 2 commits
  8. 18 Dec, 2019 1 commit
  9. 17 Dec, 2019 1 commit
  10. 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
  11. 19 Nov, 2019 1 commit
  12. 14 Nov, 2019 1 commit
  13. 28 Oct, 2019 1 commit
  14. 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
  15. 28 Jun, 2019 3 commits
  16. 25 Jun, 2019 1 commit
  17. 13 Jun, 2019 1 commit
  18. 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
  19. 27 May, 2019 1 commit
  20. 22 Mar, 2019 1 commit
  21. 18 Mar, 2019 1 commit
  22. 07 Mar, 2019 1 commit
  23. 06 Mar, 2019 2 commits
  24. 01 Mar, 2019 2 commits
  25. 21 Feb, 2019 1 commit
  26. 30 Jan, 2019 1 commit
  27. 27 Jan, 2019 1 commit
  28. 22 Jan, 2019 1 commit
  29. 07 Jan, 2019 1 commit
  30. 12 Dec, 2018 1 commit
  31. 09 Nov, 2018 1 commit
  32. 06 Nov, 2018 3 commits
  33. 18 Oct, 2018 1 commit