1. 03 Mar, 2022 1 commit
  2. 03 Feb, 2022 1 commit
  3. 08 Oct, 2021 3 commits
  4. 16 Aug, 2021 1 commit
    • Swiftaxe's avatar
      Animation controller test (#88251) · fe337dca
      Swiftaxe authored
      Co-authored-by: 's avatarAlexander Dahlberg <alexander.dahlberg@sigma.se>
      
      Fixes test/animation/animation_controller_test.dart in #85160
      
      Problem:
      The test 'animateTo can deal with duration == Duration.Zero' was failing with the following error:
      
      Expected: <0>
      Actual: <5>
      Expected no animation.
      package:test_api expect
      package:flutter_test/src/widget_tester.dart 484:3 expect
      test/animation/animation_controller_test.dart 511:5 main.
      
      Following line finds 5 transientCallbacks scheduled, while expecting zero, if shuffled with seed 123:
      
      expect(SchedulerBinding.instance!.transientCallbackCount, equals(0), reason: 'Expected no animation.');
      
      This is caused by some other test leaving transientCallbacks scheduled.
      
      Fix:
      By disposing the AnimationController after each test, the transientCallbacks get cleaned up.
      I chose to dispose all controllers in every test, to make sure there is no risk of leaks.
      fe337dca
  5. 27 Jul, 2021 1 commit
  6. 15 Jul, 2021 1 commit
  7. 14 Jul, 2021 3 commits
  8. 13 Jul, 2021 2 commits
  9. 01 Jul, 2021 1 commit
  10. 29 Jun, 2021 1 commit
    • Greg Spencer's avatar
      Randomize Framework tests, opt out some tests that currently fail. (#85159) · b5f9612c
      Greg Spencer authored
      This turns on order shuffling for all tests that don't fail with it on, marking those tests that do fail with a tag so that they will be run without shuffling on.
      
      To determine which tests fail with it on, I ran all the tests 100 times with different random shuffle seeds, and then also ran it with the date seeds from today until the end of July, and tagged all of the test suites (files) that fail, with a seed that caused them to fail.
      b5f9612c
  11. 22 Apr, 2021 1 commit
  12. 21 Apr, 2021 1 commit
  13. 11 Mar, 2021 1 commit
  14. 29 Jan, 2021 1 commit
  15. 27 Jan, 2021 1 commit
  16. 08 Dec, 2020 1 commit
  17. 18 Oct, 2020 1 commit
  18. 05 Oct, 2020 1 commit
  19. 31 Aug, 2020 1 commit
    • Chris Bracken's avatar
      Prefer moreOrLessEquals to closeTo (#64914) · c935a448
      Chris Bracken authored
      moreOrLessEquals is the preferred mechanism for checking that a value is
      within some error bound epsilon, with default value for epsilon of
      precisionErrorTolerance.
      
      This patch replaces instances of closeTo using precisionErrorTolerance.
      c935a448
  20. 11 Jun, 2020 2 commits
  21. 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
  22. 24 Sep, 2019 1 commit
  23. 20 Aug, 2019 1 commit
  24. 20 Jun, 2019 1 commit
  25. 16 May, 2019 1 commit
  26. 24 Jan, 2019 2 commits
  27. 12 Sep, 2018 1 commit
  28. 07 Sep, 2018 1 commit
  29. 29 Aug, 2018 1 commit
  30. 23 Aug, 2018 1 commit
  31. 12 Mar, 2018 1 commit
  32. 02 Feb, 2018 1 commit
  33. 22 Nov, 2017 1 commit
    • Kyle Bradshaw's avatar
      AnimationController reset() method (#13044) · 3dc32873
      Kyle Bradshaw authored
      * AnimationController reset() method
      
      Just a simple convenience method to fix #13039
      
      * Added `reset()` test
      
      * More test expectations
      
      Per feedback.
      
      * Removed test print
      
      * Improved documentation of reset()
      
      * Add controller.reverse to test
      3dc32873