Refactor Configuration. (#473)
This introduces a zone-scoped `Configuration.current`. This makes it much easier to propagate the configuration everywhere it needs to go, especially to plugins.
Showing
- lib/src/runner.dart 16 additions, 21 deletionslib/src/runner.dart
- lib/src/runner/browser/compiler_pool.dart 4 additions, 6 deletionslib/src/runner/browser/compiler_pool.dart
- lib/src/runner/browser/platform.dart 15 additions, 12 deletionslib/src/runner/browser/platform.dart
- lib/src/runner/configuration.dart 18 additions, 0 deletionslib/src/runner/configuration.dart
- lib/src/runner/debugger.dart 7 additions, 8 deletionslib/src/runner/debugger.dart
- lib/src/runner/loader.dart 10 additions, 7 deletionslib/src/runner/loader.dart
- lib/src/runner/reporter/compact.dart 17 additions, 47 deletionslib/src/runner/reporter/compact.dart
- lib/src/runner/reporter/expanded.dart 2 additions, 0 deletionslib/src/runner/reporter/expanded.dart
- lib/src/runner/reporter/json.dart 9 additions, 27 deletionslib/src/runner/reporter/json.dart
- lib/src/runner/vm/platform.dart 2 additions, 2 deletionslib/src/runner/vm/platform.dart
- test/runner/browser/loader_test.dart 5 additions, 5 deletionstest/runner/browser/loader_test.dart
- test/runner/loader_test.dart 1 addition, 3 deletionstest/runner/loader_test.dart
Loading
Please register or sign in to comment