1. 10 May, 2016 1 commit
  2. 04 May, 2016 2 commits
    • pq's avatar
      Literals get type annotations. · bcede8df
      pq authored
      As per the recent fix to the `always_specify_types` lint (https://github.com/dart-lang/linter/issues/199), literal maps and lists are now expected to be explicitly typed.
      
      Running that lint on the repo identifies quite a few spots to update.  This focuses on `flutter_driver` and `flutter_sprites` (somewhat arbitrarily) but the changes are fairly representative.
      
      Note there are a number of places where I made a quick judgement on how specific to make the types.  Feedback on those is welcome.  (Especially as we move forward with more.)
      bcede8df
    • Hans Muller's avatar
      Gallery demo start-time performance test (#3655) · a9b965cb
      Hans Muller authored
      *  Gallery demo start-time performance test
      a9b965cb
  3. 19 Apr, 2016 2 commits
    • Ian Hickson's avatar
      Refactor service extensions (#3397) · 261923e5
      Ian Hickson authored
      Bindings now have a debugRegisterServiceExtensions() method that is
      invoked in debug mode (only). (Once we have a profile mode, there'll be
      a registerProfileServiceExtensions() method that gets called in that
      mode only to register extensions that apply then.)
      
      The BindingBase class provides convenience methods for registering
      service extensions that do the equivalent of:
      
      ```dart
      void extension() { ... }
      bool extension([bool enabled]) { ... }
      double extension([double extension])  { ... }
      Map<String, String> extension([Map<String, String> parameters]) { ... }
      ```
      
      The BindingBase class also itself registers ext.flutter.reassemble,
      which it has call a function on the binding called
      reassembleApplication().
      
      The Scheduler binding now exposes the preexisting
      ext.flutter.timeDilation.
      
      The Renderer binding now exposes the preexisting ext.flutter.debugPaint.
      
      The Renderer binding hooks reassembleApplication to trigger the
      rendering tree to be reprocessed (in particular, to fix up the
      optimisation closures).
      
      All the logic from rendering/debug.dart about service extensions is
      replaced by the above.
      
      I moved basic_types to foundation.
      
      The FlutterWidgets binding hooks reassembleApplication to trigger the
      widget tree to be entirely rebuilt.
      
      Flutter Driver now uses ext.flutter.driver instead of
      ext.flutter_driver, and is hooked using the same binding mechanism.
      Eventually we'll probably move the logic into the Flutter library so
      that you just get it without having to invoke a special method first.
      261923e5
    • Yegor's avatar
      [driver] "waitFor" command in place of broken "exists" (#3373) · e7657b94
      Yegor authored
      * [driver] "waitFor" command in place of broken "exits"
      
      * [driver] wait using frame callback
      e7657b94
  4. 15 Apr, 2016 2 commits
  5. 13 Apr, 2016 1 commit
  6. 11 Apr, 2016 1 commit
  7. 05 Apr, 2016 1 commit
  8. 31 Mar, 2016 1 commit
  9. 29 Mar, 2016 1 commit
    • Yegor Jbanov's avatar
      [driver] fix observatory port # and timeline data extraction · bfa16b2b
      Yegor Jbanov authored
      The way we pick observatory port # has changed and we have broken
      logic that handles port 8181. To fix the buildbot, switch to port
      8182. We can later figure out what we want to do when we clean up
      port handling.
      
      The old VM extention for extracting the timeline data is gone.
      Switch to the new '_getVMTimeline' API.
      bfa16b2b
  10. 18 Mar, 2016 1 commit
  11. 14 Mar, 2016 3 commits
  12. 12 Mar, 2016 3 commits
  13. 11 Mar, 2016 1 commit
    • Ian Hickson's avatar
      Enable ALL THE LINTS · 1b9cd520
      Ian Hickson authored
      Well, all the easy ones, anyway.
      
      For some reason `// ignore:` isn't working for me so I've disabled
      lints that need that. Also disabled those that require a ton of work
      (which I'm doing, but not in this PR, to keep it reviewable).
      
      This adds:
      - avoid_init_to_null
      - library_names
      - package_api_docs
      - package_names
      - package_prefixed_library_names
      - prefer_is_not_empty
      - sort_constructors_first
      - sort_unnamed_constructors_first
      - unnecessary_getters_setters
      1b9cd520
  14. 03 Mar, 2016 2 commits
  15. 02 Mar, 2016 1 commit
  16. 01 Mar, 2016 1 commit
  17. 24 Feb, 2016 1 commit
  18. 20 Feb, 2016 1 commit
    • yjbanov's avatar
      "flutter drive" command · a2b1bd46
      yjbanov authored
      Runs a test app and a driver test simultaneously, then stops the app.
      
      Usage:
      
      ```
      flutter drive --target=/path/to/test/app.dart
      ```
      
      This command will look for `/path/to/test/app_test.dart` by
      convention. We will expand into other ways of discovering tests in the
      future.
      a2b1bd46
  19. 18 Feb, 2016 2 commits
    • yjbanov's avatar
      move to pub version of vm_service_client · 439aadf4
      yjbanov authored
      439aadf4
    • Yegor Jbanov's avatar
      add flutter_driver package · b0e45594
      Yegor Jbanov authored
      This commit contains:
      
      - FlutterDriver API for e2e tests usable in conjunction with package:test
      - FlutterDriverExtension to be enabled by the application in order to
        allow an external agent to connect to it and drive user interactions and
        probe into the element tree
      - initial implementations of tap, findByValueKey and getText commands (to
        be expanded in future PRs)
      b0e45594