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

Issue 10837359: Language tests updated to use const instead of final. (Closed)

Created:
8 years, 4 months ago by Johnni Winther
Modified:
8 years, 4 months ago
Reviewers:
ahe, kasperl
CC:
reviews_dartlang.org, hausner, Brian Wilkerson
Visibility:
Public.

Description

Language tests updated to use const instead of final. Committed: https://code.google.com/p/dart/source/detail?r=11165

Patch Set 1 #

Patch Set 2 : Instance fields are never const. #

Total comments: 6

Patch Set 3 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -324 lines) Patch
M tests/language/adjacent_const_string_literals_test.dart View 4 chunks +5 lines, -5 lines 0 comments Download
M tests/language/assign_static_type_test.dart View 1 2 chunks +4 lines, -4 lines 0 comments Download
M tests/language/call_through_getter_test.dart View 2 chunks +5 lines, -5 lines 0 comments Download
M tests/language/call_through_null_getter_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/canonical_const_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/compile_time_constant2_test.dart View 1 chunk +25 lines, -25 lines 0 comments Download
M tests/language/compile_time_constant3_test.dart View 1 chunk +19 lines, -19 lines 0 comments Download
M tests/language/compile_time_constant5_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/compile_time_constant6_test.dart View 1 chunk +14 lines, -14 lines 0 comments Download
M tests/language/compile_time_constant7_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/compile_time_constant8_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M tests/language/compile_time_constant_a_test.dart View 1 chunk +7 lines, -7 lines 0 comments Download
M tests/language/compile_time_constant_b_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/compile_time_constant_c_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/compile_time_constant_d_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/compile_time_constant_e_test.dart View 1 chunk +10 lines, -10 lines 0 comments Download
M tests/language/compile_time_constant_f_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M tests/language/compile_time_constant_g_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M tests/language/compile_time_constant_h_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/compile_time_constant_i_test.dart View 1 chunk +22 lines, -22 lines 0 comments Download
M tests/language/compile_time_constant_j_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/compile_time_constant_k_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/compile_time_constant_l_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/language/compile_time_constant_m_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/compile_time_constant_o_test.dart View 1 chunk +10 lines, -10 lines 0 comments Download
M tests/language/const_escape_frog_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/const_init_test.dart View 1 chunk +8 lines, -8 lines 0 comments Download
M tests/language/ct_const2_test.dart View 1 chunk +82 lines, -82 lines 0 comments Download
M tests/language/ct_const3_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M tests/language/ct_const4_lib.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/ct_const4_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/ct_const_test.dart View 1 2 chunks +10 lines, -10 lines 0 comments Download
M tests/language/default_init_test.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M tests/language/index_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/interface_constants_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/issue4515170_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language.status View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 2 chunks +20 lines, -0 lines 0 comments Download
M tests/language/library10.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/library11.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/library12.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/library_prefixes_test1.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/library_prefixes_test2.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/list_literal2_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M tests/language/list_literal3_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/list_literal_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/named_argument_in_const_creation_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/named_parameters_passing_falsy_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/naming_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/prefix_test1.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/prefix_test2.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/private1.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/private2.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/private_main.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/script2_negative_source.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/script_lib.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/script_source.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/static_field_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/language/static_top_level_test.dart View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M tests/language/string_interpolate_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/string_interpolation1_negative_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/string_interpolation8_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/language/string_interpolation_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/super_call3_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/language/top_level_file2.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/top_level_in_initializer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/top_level_var_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Johnni Winther
8 years, 4 months ago (2012-08-21 12:56:37 UTC) #1
ahe
I really don't like saying this, but it looks like we should keep "final" on ...
8 years, 4 months ago (2012-08-21 13:08:07 UTC) #2
Johnni Winther
PTAL
8 years, 4 months ago (2012-08-21 13:42:37 UTC) #3
ahe
LGTM! https://chromiumcodereview.appspot.com/10837359/diff/3001/tests/language/language_dart2js.status File tests/language/language_dart2js.status (right): https://chromiumcodereview.appspot.com/10837359/diff/3001/tests/language/language_dart2js.status#newcode55 tests/language/language_dart2js.status:55: adjacent_const_string_literals_test: Fail Please copy the comment so each ...
8 years, 4 months ago (2012-08-22 10:14:45 UTC) #4
Johnni Winther
https://chromiumcodereview.appspot.com/10837359/diff/3001/tests/language/language_dart2js.status File tests/language/language_dart2js.status (right): https://chromiumcodereview.appspot.com/10837359/diff/3001/tests/language/language_dart2js.status#newcode55 tests/language/language_dart2js.status:55: adjacent_const_string_literals_test: Fail On 2012/08/22 10:14:45, ahe wrote: > Please ...
8 years, 4 months ago (2012-08-22 15:35:43 UTC) #5
kasperl
8 years, 4 months ago (2012-08-23 05:16:59 UTC) #6
Thanks, Johnni. This definitely improved the test coverage for const!

Powered by Google App Engine
This is Rietveld 408576698