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