1. 01 Jul, 2016 1 commit
  2. 08 Jun, 2016 1 commit
  3. 03 Jun, 2016 1 commit
  4. 31 May, 2016 1 commit
  5. 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
  6. 29 Apr, 2016 1 commit
  7. 22 Apr, 2016 1 commit
  8. 06 Apr, 2016 1 commit
  9. 24 Mar, 2016 1 commit
  10. 14 Mar, 2016 1 commit
  11. 04 Mar, 2016 1 commit
  12. 01 Feb, 2016 1 commit
  13. 16 Jan, 2016 1 commit
  14. 17 Dec, 2015 1 commit
    • Hixie's avatar
      Less tree walking for compositing bits updates. · ab01c7bf
      Hixie authored
      Use the same technique for updating compositing bits as layout and
      painting. This avoids walking the entire rendering tree when all you
      need to update is a small subtree.
      ab01c7bf
  15. 16 Dec, 2015 1 commit
  16. 14 Dec, 2015 2 commits
  17. 20 Nov, 2015 1 commit
    • Adam Barth's avatar
      Callback identity is too fragile for CustomPaint · 72329cf4
      Adam Barth authored
      Many of the widgets that use CustomPaint were spamming repaints because
      CustomPaint repaints when the identity of the onPaint callback changes, which
      it does every build for StatelessComponents.
      
      This patch changes CustomPaint to use a CustomPainter, similar to the new
      custom layout widgets. The CustomPainter has a `shouldRepaint` function along
      with its `paint` function. This function gives clients explicit control over
      when the custom paint object repaints.
      72329cf4
  18. 10 Oct, 2015 1 commit
  19. 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
  20. 26 Aug, 2015 2 commits
  21. 21 Aug, 2015 1 commit