1. 04 Mar, 2017 1 commit
  2. 16 Feb, 2017 1 commit
  3. 14 Feb, 2017 1 commit
  4. 28 Jan, 2017 1 commit
  5. 24 Jan, 2017 1 commit
  6. 23 Jan, 2017 2 commits
  7. 21 Jan, 2017 1 commit
  8. 20 Jan, 2017 1 commit
  9. 19 Jan, 2017 2 commits
    • Ian Hickson's avatar
      Remove randomness from port assignment during coverage collection. (#7548) · 3f1d6d3b
      Ian Hickson authored
      Also, defer to test package for throttling (this will require a test
      package update as well).
      
      Also, add a lot more instrumentation to --verbose mode for tests, and
      fix minor trivial things here and there, and add error handling in
      more places.
      
      Also, refactor how coverage works to be simpler and not use statics.
      3f1d6d3b
    • Todd Volkert's avatar
      Fix sky_shell test flakiness caused by CPU throttling (#7543) · 4e8628c1
      Todd Volkert authored
      When a machine is heavily loaded, it can severely delay the time it
      takes for the OS to start a process once it's asked to do so. Our
      5 second timeout that we were giving the test process to connect
      to the test harness seemed like plenty of time, were it not for the
      fact that the test process itself was not being started in time when
      CPU throttling was in effect.
      
      This change updates the test timeout to begin counting only once the
      test process has been started. We keep the original timeout in play
      in the event that the test process *never* starts up for some reason,
      but we up that timeout value to 5 minutes.
      4e8628c1
  10. 12 Jan, 2017 1 commit
    • Todd Volkert's avatar
      Fix race condition in coverage collection (#7455) · 4f9e5c8d
      Todd Volkert authored
      Previously, it was possible for the test harness to bail
      and the test runner to complete before the platform plugin
      triggered the collection of coverage data. This fixes the
      race condition such that the pending coverage collection
      task is recorded immediately after starting the process.
      4f9e5c8d
  11. 10 Jan, 2017 2 commits
  12. 09 Jan, 2017 1 commit
  13. 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
  14. 15 Dec, 2016 2 commits
  15. 13 Dec, 2016 1 commit
  16. 05 Dec, 2016 1 commit
  17. 30 Nov, 2016 1 commit
  18. 18 Nov, 2016 1 commit
  19. 09 Sep, 2016 1 commit
  20. 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
  21. 05 Aug, 2016 1 commit
  22. 04 Aug, 2016 1 commit
  23. 22 Jun, 2016 1 commit
  24. 09 Jun, 2016 1 commit
  25. 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
  26. 23 May, 2016 1 commit
  27. 18 May, 2016 1 commit
  28. 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
  29. 03 May, 2016 1 commit
  30. 28 Mar, 2016 1 commit
  31. 14 Mar, 2016 2 commits
  32. 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
  33. 03 Mar, 2016 1 commit