|
Start cleaning up the HTML tests.
My initial goal was just to move some of the HTML tests off unittest,
but that ended up slurping in some other changes as well. I haven't
finished going through all of the tests, but this puts the
infrastructure in place and fixes a batch of them. I'll do more next.
Changes:
- Add a "minitest" package. This shims just enough of the unittest/test
API to make it easy to swap it out for unittest without having to
rework the entire test.
- Go through the HTML tests from A-J and change them to use minitest
when possible. The ones that aren't possible use asynchrony.
Minitest doesn't support async tests (yet, maybe).
- Triage those tests and enable ones that are passing. Mark them failing
if failing. Filed a couple of tracking bugs for the common issues,
but for other cases, I just left a comment.
- In the process of this, I went ahead and make some of the affected
tests strong mode clean if they weren't already and it was easy.
- Synchronize changes between dev_compiler's fork of expect and
pkg/expect. We'll want to unfork those at some point. D-:
This gets dev_compiler from 1985 tests to 2042.
R=jacobr@google.com, vsm@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/23058653657aa38fad84b19d35afed81f28e53bf
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+906 lines, -1159 lines) |
Patch |
 |
M |
pkg/dev_compiler/lib/src/compiler/code_generator.dart
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test-main.js
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/browser/language_tests.js
|
View
|
|
6 chunks |
+90 lines, -97 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/expect.dart
|
View
|
1
|
1 chunk |
+0 lines, -475 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart
|
View
|
|
1 chunk |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/audiocontext_test.dart
|
View
|
|
2 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/audioelement_test.dart
|
View
|
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/b_element_test.dart
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/blob_constructor_test.dart
|
View
|
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/cache_test.dart
|
View
|
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/callbacks_test.dart
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/canvas_pixel_array_type_alias_test.dart
|
View
|
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/cdata_test.dart
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/client_rect_test.dart
|
View
|
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/cross_frame_test.dart
|
View
|
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/crypto_test.dart
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/css_rule_list_test.dart
|
View
|
|
1 chunk |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/custom_elements_23127_test.dart
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/custom_elements_test.dart
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/custom_tags_test.dart
|
View
|
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/dart_object_local_storage_test.dart
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/datalistelement_test.dart
|
View
|
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/document_test.dart
|
View
|
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/documentfragment_test.dart
|
View
|
|
4 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/dom_constructors_test.dart
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/domparser_test.dart
|
View
|
|
1 chunk |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_add_test.dart
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_classes_svg_test.dart
|
View
|
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_classes_test.dart
|
View
|
|
9 chunks |
+36 lines, -40 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_constructor_1_test.dart
|
View
|
|
2 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_dimensions_test.dart
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_offset_test.dart
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_types_constructors1_test.dart
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_types_constructors2_test.dart
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_types_constructors3_test.dart
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_types_constructors4_test.dart
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_types_constructors5_test.dart
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_types_constructors6_test.dart
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/element_types_test.dart
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/event_test.dart
|
View
|
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/exceptions_test.dart
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/filteredelementlist_test.dart
|
View
|
|
4 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/fontface_test.dart
|
View
|
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/form_element_test.dart
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/geolocation_test.dart
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/hidden_dom_1_test.dart
|
View
|
|
3 chunks |
+4 lines, -20 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/hidden_dom_2_test.dart
|
View
|
|
3 chunks |
+4 lines, -22 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/htmlcollection_test.dart
|
View
|
|
7 chunks |
+36 lines, -36 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/htmlelement_test.dart
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/htmloptionscollection_test.dart
|
View
|
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/indexeddb_2_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/input_element_test.dart
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/instance_of_test.dart
|
View
|
|
2 chunks |
+26 lines, -19 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_function_getter_test.dart
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_test.dart
|
View
|
|
21 chunks |
+32 lines, -39 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_anonymous2_exp_test.dart
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_anonymous2_test.dart
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_anonymous_exp_test.dart
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_anonymous_test.dart
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_anonymous_unreachable_exp_test.dart
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_anonymous_unreachable_test.dart
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_default_arg_test.dart
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_typed_interop_test.dart
|
View
|
|
4 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/js_util_test.dart
|
View
|
|
5 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/text_event_test.dart
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen/lib/html/util.dart
|
View
|
|
1 chunk |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
A |
pkg/dev_compiler/test/codegen/minitest.dart
|
View
|
|
1 chunk |
+181 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen_expected/expect.js
|
View
|
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
A |
pkg/dev_compiler/test/codegen_expected/minitest.js
|
View
|
|
1 chunk |
+229 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/not_yet_strong_tests.dart
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/tool/build_test_pkgs.sh
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/expect/lib/expect.dart
|
View
|
|
14 chunks |
+82 lines, -31 lines |
0 comments
|
Download
|
Total messages: 8 (2 generated)
|