1. 29 Apr, 2019 1 commit
  2. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  3. 21 Feb, 2019 1 commit
  4. 17 Jan, 2019 1 commit
  5. 16 Jan, 2019 1 commit
  6. 11 Oct, 2018 1 commit
  7. 12 Sep, 2018 1 commit
  8. 07 Jun, 2018 1 commit
  9. 17 Feb, 2017 1 commit
  10. 09 Dec, 2016 1 commit
  11. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017
  12. 09 Apr, 2016 1 commit
  13. 09 Feb, 2016 1 commit
  14. 16 Dec, 2015 1 commit
  15. 14 Dec, 2015 1 commit
  16. 05 Nov, 2015 1 commit
    • Adam Barth's avatar
      Improve hit testing · 9bc64540
      Adam Barth authored
      Now a RenderBox is considered hit if one of its children are hit or it itself
      decides that it's hit. In particular, empty space inside a flex won't be hit
      because none of the children are located there and a RenderFlex doesn't
      consider itself hittable.
      
      Fixes #53
      Fixes #1221
      9bc64540
  17. 10 Oct, 2015 1 commit
  18. 16 Sep, 2015 1 commit
    • Hixie's avatar
      Refactor rendering_tester · cd6c4da3
      Hixie authored
      RenderView has to be a singleton for sanity during tests, otherwise they
      all end up in the dirty lists and we end up pumping all of them each frame.
      cd6c4da3
  19. 26 Aug, 2015 2 commits
  20. 21 Aug, 2015 1 commit