Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)

Created:
3 years, 6 months ago by ahe
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 7

Patch Set 2 : Use ClassElement. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -304 lines) Patch
M pkg/compiler/testing.json View 1 chunk +3 lines, -97 lines 0 comments Download
M tests/compiler/dart2js/analyze_dart2js_helpers_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/analyze_helper.dart View 2 chunks +7 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/bad_output_io_test.dart View 2 chunks +6 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/boolified_operator_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/call_site_simple_type_inferer_test.dart View 1 2 chunks +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/codegen_helper.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/const_exp_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/constant_expression_evaluate_test.dart View 2 chunks +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/dart2js_batch2_test.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/dart2js_batch_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/dart2js_resolver_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/data/dart2js_batch2_run.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/deferred_custom_element_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/deferred_inline_restrictions_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/equivalence/check_functions.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/equivalence/check_helpers.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/exit_code_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/expect_annotations2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/field_type_simple_inferer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/flatten_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/import_mirrors_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/import_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/in_user_code_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/inference/data/super_set.dart View 1 chunk +3 lines, -2 lines 2 comments Download
M tests/compiler/dart2js/inference/inference_test_helper.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/instantiated_classes_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/interop_anonymous_unreachable_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/issue13354_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/js_constant_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/js_parser_statements_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/js_spec_optimization_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/jsinterop/world_test.dart View 2 chunks +0 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/kernel/closed_world2_test.dart View 1 chunk +5 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart View 1 chunk +6 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/kernel/compile_from_dill_test.dart View 2 chunks +10 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/kernel/test_helpers.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/least_upper_bound_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/library_resolution_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/list_tracer2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/list_tracer3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/memory_compiler.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/message_kind_helper.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/minimal_resolution_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mirrors_used_test.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/modulo_remainder_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/needs_no_such_method_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/no_such_method_enabled_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/output_collector.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/override_inheritance_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/package_root_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/partial_parser_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/patch_test.dart View 48 chunks +57 lines, -56 lines 0 comments Download
M tests/compiler/dart2js/quarantined/http_launch_data/http_launch_main_package.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/reexport_handled_test.dart View 2 chunks +1 line, -3 lines 0 comments Download
M tests/compiler/dart2js/related_types.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/resolution_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/serialization/analysis_test_helper.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/serialization/compilation_test_helper.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/serialization/model_test_helper.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_callers_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_closure_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure2_test.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure_test.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_postfix_prefix_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/size_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/source_map_name_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/source_mapping_test.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/diff_view.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/html_parts.dart View 2 chunks +1 line, -6 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/lax_json.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/save.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/sourcemaps/source_mapping_test_viewer.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/sourcemaps/sourcemap_html_helper.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/stacktrace_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/subtype_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/subtypeset_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/tdiv_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/compiler/dart2js/token_naming_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/trust_type_annotations_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/type_checker_test.dart View 2 chunks +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/type_combination_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_order_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/unused_empty_map_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/world_test.dart View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
ahe
3 years, 6 months ago (2017-06-15 13:51:55 UTC) #2
Emily Fortuna
lgtm https://codereview.chromium.org/2939063002/diff/1/tests/compiler/dart2js/analyze_helper.dart File tests/compiler/dart2js/analyze_helper.dart (right): https://codereview.chromium.org/2939063002/diff/1/tests/compiler/dart2js/analyze_helper.dart#newcode42 tests/compiler/dart2js/analyze_helper.dart:42: Map<String, Map<dynamic /* String|MessageKind */, int>> whiteListMap = ...
3 years, 6 months ago (2017-06-15 18:33:10 UTC) #3
ahe
Thank you, Emily! https://codereview.chromium.org/2939063002/diff/1/tests/compiler/dart2js/analyze_helper.dart File tests/compiler/dart2js/analyze_helper.dart (right): https://codereview.chromium.org/2939063002/diff/1/tests/compiler/dart2js/analyze_helper.dart#newcode42 tests/compiler/dart2js/analyze_helper.dart:42: Map<String, Map<dynamic /* String|MessageKind */, int>> ...
3 years, 6 months ago (2017-06-16 07:26:46 UTC) #4
ahe
Committed patchset #2 (id:20001) manually as 2e6e44a69b0f072b39a1984683475a965a1f903f (presubmit successful).
3 years, 6 months ago (2017-06-16 07:31:36 UTC) #6
Johnni Winther
https://codereview.chromium.org/2939063002/diff/1/tests/compiler/dart2js/world_test.dart File tests/compiler/dart2js/world_test.dart (right): https://codereview.chromium.org/2939063002/diff/1/tests/compiler/dart2js/world_test.dart#newcode246 tests/compiler/dart2js/world_test.dart:246: ClassElement cls = env.getElement(name); On 2017/06/16 07:26:46, ahe wrote: ...
3 years, 6 months ago (2017-06-16 08:00:12 UTC) #7
Johnni Winther
https://codereview.chromium.org/2939063002/diff/20001/tests/compiler/dart2js/inference/data/super_set.dart File tests/compiler/dart2js/inference/data/super_set.dart (right): https://codereview.chromium.org/2939063002/diff/20001/tests/compiler/dart2js/inference/data/super_set.dart#newcode15 tests/compiler/dart2js/inference/data/super_set.dart:15: return a. /*[exact=Sub]*/ method; The added space breaks the ...
3 years, 6 months ago (2017-06-16 08:36:00 UTC) #8
ahe
3 years, 6 months ago (2017-06-16 08:50:23 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/2939063002/diff/20001/tests/compiler/dart2js/...
File tests/compiler/dart2js/inference/data/super_set.dart (right):

https://codereview.chromium.org/2939063002/diff/20001/tests/compiler/dart2js/...
tests/compiler/dart2js/inference/data/super_set.dart:15: return a.
/*[exact=Sub]*/ method;
On 2017/06/16 08:36:00, Johnni Winther wrote:
> The added space breaks the inference tests.

OK. That's on dartfmt. I'll discuss this in person with you.

Powered by Google App Engine
This is Rietveld 408576698