1. 07 Jan, 2017 1 commit
    • Todd Volkert's avatar
      Update flutter_tools to use package:file throughout (#7385) · 8bb27034
      Todd Volkert authored
      This removes direct file access from within flutter_tools
      in favor of using `package:file` via a `FileSystem` that's
      accessed via the `ApplicationContext`.
      
      This lays the groundwork for us to be able to easily swap
      out the underlying file system when running Flutter tools,
      which will be used to provide a record/replay file system,
      analogous to what we have for process invocations.
      8bb27034
  2. 15 Dec, 2016 2 commits
  3. 13 Dec, 2016 1 commit
  4. 05 Dec, 2016 1 commit
  5. 30 Nov, 2016 1 commit
  6. 18 Nov, 2016 1 commit
  7. 09 Sep, 2016 1 commit
  8. 22 Aug, 2016 1 commit
    • Chris Bracken's avatar
      Prevent hangs due to bad import/export directives (#5538) · bfbbef10
      Chris Bracken authored
      If the input test script contains a bad import, sky_shell will fail to
      execute main(), in which case a connection to /runner is never
      established and the _ServerInfo.socket never completes.
      
      This change works around this by issuing a request on /shutdown when
      sky_shell exits.
      bfbbef10
  9. 05 Aug, 2016 1 commit
  10. 04 Aug, 2016 2 commits
  11. 03 Aug, 2016 1 commit
  12. 28 Jun, 2016 1 commit
  13. 23 Jun, 2016 1 commit
  14. 22 Jun, 2016 2 commits
  15. 09 Jun, 2016 1 commit
  16. 07 Jun, 2016 1 commit
    • Devon Carew's avatar
      add a restart command to the daemon protocol (#4385) · 3ba17136
      Devon Carew authored
      * refactor the --resident run option into a separate file
      
      * update daemon to run --resident apps
      
      * re-plumbing daemon start
      
      * send app logs
      
      * update tests
      
      * review changes
      
      * fix test runner
      
      * remove PackageMap.createGlobalInstance; rely on the ctor
      
      * review comments
      3ba17136
  17. 23 May, 2016 1 commit
  18. 18 May, 2016 1 commit
  19. 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
  20. 03 May, 2016 1 commit
  21. 28 Mar, 2016 1 commit
  22. 14 Mar, 2016 2 commits
  23. 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
  24. 03 Mar, 2016 1 commit
  25. 28 Jan, 2016 1 commit
  26. 24 Jan, 2016 1 commit
  27. 01 Dec, 2015 1 commit
  28. 18 Nov, 2015 1 commit
  29. 10 Nov, 2015 1 commit
  30. 09 Nov, 2015 1 commit
  31. 05 Nov, 2015 1 commit
  32. 02 Nov, 2015 3 commits
    • Hixie's avatar
      fix the 'dart:profiler' bug · 466a91ab
      Hixie authored
      ...by requiring a new version of analyzer.
      
      Also, when the subprocess is terminated unexpectedly, report the actual
      problem in more detail.
      466a91ab
    • Hixie's avatar
      Handle crashing engine. · b43722e7
      Hixie authored
      When the engine dies unexpectedly during test execution, we have to
      terminate any tests running in that engine. Previously, they would just
      hang. For some reason that I was never able to satisfactorily explain,
      the WebSocket doesn't die in a way I can detect in this case. So
      instead, we hand in a future that we only complete when we detect the
      server subprocess ends.
      b43722e7
    • Hixie's avatar
      Try to fix the test framework better than before · 297b90e2
      Hixie authored
      The previous attempt to port the 'test' framework to the new framework
      wasn't super-successful. This does a better job, hopefully.
      297b90e2
  33. 29 Oct, 2015 1 commit
  34. 28 Oct, 2015 1 commit