1. 20 Nov, 2023 1 commit
  2. 26 Oct, 2023 1 commit
  3. 17 Oct, 2023 1 commit
  4. 13 Oct, 2023 1 commit
  5. 05 Sep, 2023 1 commit
  6. 23 Aug, 2023 1 commit
  7. 14 Aug, 2023 1 commit
  8. 09 Aug, 2023 1 commit
  9. 08 Aug, 2023 1 commit
  10. 03 Aug, 2023 1 commit
  11. 28 Jun, 2023 1 commit
  12. 08 May, 2023 1 commit
  13. 04 May, 2023 1 commit
  14. 21 Dec, 2022 1 commit
  15. 09 Aug, 2022 1 commit
  16. 30 Jul, 2022 1 commit
  17. 31 May, 2022 1 commit
  18. 06 May, 2022 1 commit
  19. 14 Apr, 2022 1 commit
  20. 03 Mar, 2022 1 commit
  21. 03 Feb, 2022 1 commit
  22. 08 Oct, 2021 3 commits
  23. 30 Aug, 2021 1 commit
  24. 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
  25. 03 Aug, 2021 1 commit
  26. 29 Jul, 2021 1 commit
  27. 28 Jul, 2021 1 commit
  28. 27 Jul, 2021 2 commits
  29. 26 Jul, 2021 1 commit
  30. 21 Jul, 2021 2 commits
  31. 20 Jul, 2021 1 commit
  32. 19 Jul, 2021 1 commit
  33. 15 Jul, 2021 1 commit
  34. 14 Jul, 2021 3 commits