|
Allow Suites to be added to an Engine over time.
Instead of providing all test suites to the Engine's constructor, the
engine now has a sink that can be used to add suites over time and
closed to indicate that no more suites are coming. This makes the use
pattern more flexible, and is a step towards supporting a live test
runner and to more memory efficiency.
Reporters no longer wrap the Engine. Instead, they expose a static
`watch` function which subscribes to the events the Engine emits.
R=kevmoo@google.com
Committed: https://github.com/dart-lang/test/commit/70fa0ceda7e6312741e650efb25e2c1f706c2706
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+510 lines, -355 lines) |
Patch |
 |
M |
lib/src/executable.dart
|
View
|
|
5 chunks |
+96 lines, -79 lines |
2 comments
|
Download
|
 |
M |
lib/src/runner/browser/browser.dart
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/browser/compiler_pool.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/browser/content_shell.dart
|
View
|
|
2 chunks |
+2 lines, -4 lines |
2 comments
|
Download
|
 |
M |
lib/src/runner/engine.dart
|
View
|
|
6 chunks |
+88 lines, -47 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/reporter/compact.dart
|
View
|
|
5 chunks |
+112 lines, -105 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/reporter/expanded.dart
|
View
|
|
5 chunks |
+101 lines, -76 lines |
0 comments
|
Download
|
 |
A |
lib/src/util/delegating_sink.dart
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/util/io.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
lib/src/utils.dart
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/test.dart
|
View
|
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pubspec.yaml
|
View
|
|
1 chunk |
+1 line, -0 lines |
2 comments
|
Download
|
 |
M |
test/io.dart
|
View
|
|
2 chunks |
+1 line, -4 lines |
2 comments
|
Download
|
 |
M |
test/runner/engine_test.dart
|
View
|
|
8 chunks |
+41 lines, -19 lines |
0 comments
|
Download
|
 |
M |
test/runner/pub_serve_test.dart
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
test/runner/signal_test.dart
|
View
|
|
10 chunks |
+10 lines, -11 lines |
2 comments
|
Download
|
Total messages: 4 (0 generated)
|