|
Tighten types in test.dart even more.
This removes all implicit casts and many implicit uses of dynamic. It
adds a gratuitous number of explicit "as" casts and arguably makes the
code worse.
This is an interim step towards replacing the big configuration map
with an actual typed object. These "as" casts should help catch places
where the configuration object is being used and where the code will
need to be changed to use a new object.
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/7ce978bf91ad550610e310dd1032e10ba7d304f2
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+421 lines, -369 lines) |
Patch |
|
M |
tools/testing/dart/analysis_options.yaml
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/testing/dart/android.dart
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/browser_controller.dart
|
View
|
|
9 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/co19_test.dart
|
View
|
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/testing/dart/co19_test_config.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/testing/dart/compiler_configuration.dart
|
View
|
1
2
|
3 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/drt_updater.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/testing/dart/html_test.dart
|
View
|
1
2
3
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/http_server.dart
|
View
|
|
2 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/options.dart
|
View
|
1
2
|
14 chunks |
+37 lines, -32 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/package_testing_support.dart
|
View
|
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/testing/dart/record_and_replay.dart
|
View
|
1
2
3
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/reset_safari.dart
|
View
|
|
6 chunks |
+20 lines, -21 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/runtime_configuration.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/status_reporter.dart
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/test_configurations.dart
|
View
|
1
|
12 chunks |
+34 lines, -33 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/test_progress.dart
|
View
|
|
6 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/test_runner.dart
|
View
|
|
24 chunks |
+45 lines, -41 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/test_suite.dart
|
View
|
1
2
|
58 chunks |
+167 lines, -149 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/utils.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/vendored_pkg/args/args.dart
|
View
|
|
5 chunks |
+16 lines, -8 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/vendored_pkg/args/src/parser.dart
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/vendored_pkg/args/src/usage.dart
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/testing/dart/vm_test_config.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 9 (3 generated)
|