1. 21 Dec, 2022 1 commit
  2. 09 Aug, 2022 1 commit
  3. 30 Jul, 2022 1 commit
  4. 31 May, 2022 1 commit
  5. 06 May, 2022 1 commit
  6. 14 Apr, 2022 1 commit
  7. 03 Mar, 2022 1 commit
  8. 03 Feb, 2022 1 commit
  9. 08 Oct, 2021 3 commits
  10. 30 Aug, 2021 1 commit
  11. 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
  12. 03 Aug, 2021 1 commit
  13. 29 Jul, 2021 1 commit
  14. 28 Jul, 2021 1 commit
  15. 27 Jul, 2021 2 commits
  16. 26 Jul, 2021 1 commit
  17. 21 Jul, 2021 2 commits
  18. 20 Jul, 2021 1 commit
  19. 19 Jul, 2021 1 commit
  20. 15 Jul, 2021 1 commit
  21. 14 Jul, 2021 3 commits
  22. 13 Jul, 2021 2 commits
  23. 01 Jul, 2021 1 commit
  24. 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
  25. 19 Jun, 2021 1 commit
  26. 04 Jun, 2021 2 commits
  27. 02 Jun, 2021 1 commit
    • Tong Mu's avatar
      Test WidgetTester handling test pointers (#83337) · e3da1bd7
      Tong Mu authored
      Adds tests to the following behaviors, which have existed without tests:
      
      - When tapping during live testing, a message is printed with widgets that contain the tap location.
      - When tapping during live testing, a mark is displayed on screen on the tap location.
      e3da1bd7
  28. 22 Apr, 2021 2 commits
  29. 21 Apr, 2021 1 commit
  30. 17 Apr, 2021 1 commit
  31. 08 Apr, 2021 1 commit