|
This change does a couple fixes to configurations:
- it renames '_postMessage' so that it can be overriden by configurations that don't need it.
- it splits the onDone callback in two: onSummary - a callback with all the results, and onDone - a callback with just the end result. The idea is that onSummary is mostly dedicated to reporting results, while onDone is about notifying that unittest is done. This split is very useful for subclasses that only want to override onSummary or onDone.
Committed: https://code.google.com/p/dart/source/detail?r=16899
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -47 lines) |
Patch |
|
M |
pkg/unittest/lib/compact_vm_config.dart
|
View
|
1
2
3
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
pkg/unittest/lib/html_config.dart
|
View
|
1
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
pkg/unittest/lib/html_enhanced_config.dart
|
View
|
1
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/unittest/lib/html_layout_config.dart
|
View
|
1
2
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/unittest/lib/interactive_html_config.dart
|
View
|
1
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/unittest/lib/src/config.dart
|
View
|
1
2
|
4 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
|
M |
pkg/unittest/lib/unittest.dart
|
View
|
1
|
1 chunk |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
pkg/unittest/lib/vm_config.dart
|
View
|
1
2
3
|
1 chunk |
+8 lines, -7 lines |
1 comment
|
Download
|
|
M |
pkg/unittest/test/unittest_test.dart
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
utils/testrunner/standard_test_runner.dart
|
View
|
1
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|