Skip to content
Snippets Groups Projects
  1. Dec 11, 2019
  2. Dec 06, 2019
    • Nate Bosch's avatar
      Remove uses of "invoke" utility (#1119) · 746a4dc3
      Nate Bosch authored
      This has the same intended purpose as `unawaited` so it can be easily
      replaced. Technically even the `unawaited` is not necessary here since
      none of the surrounding functions are `async`, but it is fine to use it
      for documentation purposed.
      
      Leave the utility in place for now since it will take some version bump
      gymnastics to roll out.
    • Nate Bosch's avatar
      Fix newly enforced package:pedantic lints (#1118) · c0f4f232
      Nate Bosch authored
      - always_declare_return_types
      - annotate_overrides
      - await_only_futures
      - omit_local_variable_types
      - prefer_collection_literals
      - prefer_conditional_assignment
      - prefer_final_fields
      - prefer_for_elements_to_map_fromiterable
      - prefer_if_null_operators
      - prefer_spread_collections
      - unnecessary_this
      - use_function_type_syntax_for_parameters
      
      Bump min SDK to 2.3.0 everywhere to allow using spreads in collection
      literals.
      
      Skip an already failing test
  3. Nov 14, 2019
  4. Nov 07, 2019
  5. Oct 31, 2019
  6. Oct 25, 2019
    • Nate Bosch's avatar
      Switch from IOSink to StringSink (#1105) · f515fa8e
      Nate Bosch authored
      Towards #1100
      
      The ExpandedReporter needs to work on the web platform. It worked before
      because it only used `print` which works everywhere.
      
      - Change the argument to `StringSink` which can be supported on every
        platform.
      - Remove the `dart:io` import from the expanded reporter.
      - Make the `sink` argument non-optional for the expanded reporter.
      - Add a `PrintSink` implementation that buffers writes until the content
        ends with a newline and then calls `print`.
  7. Oct 24, 2019
  8. Oct 23, 2019
  9. Oct 16, 2019
  10. Oct 09, 2019
    • Gary Roumanis's avatar
      Conditionally import coverage logic (#1091) · ee7c02be
      Gary Roumanis authored
      * Conditionally import coverage logic
    • willdrach-wk's avatar
      Implement VM coverage gathering (#1088) · 08bf237b
      willdrach-wk authored
      Open to feedback on this. Here's how it works at the moment:
      
      There's a new `--coverage` option that you can use to specify the output directory for your coverage. It will create a new output directory if one doesn't already exist.
      
      The tests are run through the engine, and then get spit out to a coverage helper function. That coverage helper function:
      **A)** Checks if it's a VM suite
      **B)** Gathers coverage if it is
      **C)** Outputs coverage to `${suite path}.vm.json`
      
      So, for example, when I run:
      ```bash
      pub run test --coverage hello_world test/vm/simple_repo_test.dart
      ```
      
      A new file gets added at `hello_world/test/vm/simple_repo_test.dart.vm.json` with the coverage results!
      08bf237b
  11. Sep 25, 2019
  12. Sep 24, 2019
  13. Sep 23, 2019
  14. Sep 17, 2019
  15. Sep 16, 2019
  16. Sep 06, 2019
  17. Aug 21, 2019
  18. Aug 19, 2019
  19. Aug 16, 2019
  20. Aug 15, 2019
  21. Aug 14, 2019
  22. Aug 01, 2019
  23. Jul 30, 2019
  24. Jul 29, 2019
  25. Jul 16, 2019
    • Nate Bosch's avatar
      Small refactors in Invoker (#1052) · b1b5f397
      Nate Bosch authored
      - Remove `removeAllOutstandingCallbacks` method. This never had any
        usage outside of `scheduled_test` which has been deprecated for a long
        time.
      - Change some bare `Future` to `Future<void>`.
      - Move and rename `OutstandingCallbackCounter` class - the
        implementation has no ties to the concept of callbacks, but that is
        how it is used.
      - Use the modern syntax for function typed arguments.
      - Add generics to `unclosable` to void throwing away potentially useful
        type information.
  26. Jul 08, 2019
Loading