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

Issue 2997533002: Migrate test block 10 to Dart 2.0. (Closed)

Created:
3 years, 4 months ago by jcollins
Modified:
3 years, 4 months ago
Reviewers:
bkonyi
CC:
dart2now-team_google.com, reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Migrate test block 10 to Dart 2.0. Special bits in this block: int_parse_radix_test: Converted to a check only on TypeError (since this is raised at runtime based on user data) iterable_element_at_test.dart: Split into multitest with compile errors. iterable_fold_test.dart: add4 and a couple of other cases here cause problems for some compilers, split out into multitests and annotated in status file. BUG= R=bkonyi@google.com Committed: https://github.com/dart-lang/sdk/commit/e6b3fb5b054442c0cfc625f3a43589f133597a7f

Patch Set 1 #

Patch Set 2 : Fix remaining cases #

Total comments: 5

Patch Set 3 : merge #

Patch Set 4 : Fix merge error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -2330 lines) Patch
M tests/corelib/corelib.status View 1 4 chunks +0 lines, -23 lines 0 comments Download
D tests/corelib/int_parse_radix_bad_handler_test.dart View 1 chunk +0 lines, -15 lines 0 comments Download
D tests/corelib/int_parse_radix_test.dart View 1 chunk +0 lines, -147 lines 0 comments Download
D tests/corelib/int_round_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib/int_round_to_double_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib/int_to_int_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib/int_truncate_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib/int_truncate_to_double_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib/integer_to_radix_string_test.dart View 1 chunk +0 lines, -95 lines 0 comments Download
D tests/corelib/integer_to_string_test.dart View 1 chunk +0 lines, -89 lines 0 comments Download
D tests/corelib/is_operator_basic_types_test.dart View 1 chunk +0 lines, -61 lines 0 comments Download
D tests/corelib/iterable_contains2_test.dart View 1 chunk +0 lines, -38 lines 0 comments Download
D tests/corelib/iterable_contains_test.dart View 1 chunk +0 lines, -48 lines 0 comments Download
D tests/corelib/iterable_element_at_test.dart View 1 chunk +0 lines, -42 lines 0 comments Download
D tests/corelib/iterable_empty_test.dart View 1 chunk +0 lines, -71 lines 0 comments Download
D tests/corelib/iterable_expand_test.dart View 1 chunk +0 lines, -74 lines 0 comments Download
D tests/corelib/iterable_first_test.dart View 1 chunk +0 lines, -22 lines 0 comments Download
D tests/corelib/iterable_first_where_test.dart View 1 chunk +0 lines, -43 lines 0 comments Download
D tests/corelib/iterable_fold_test.dart View 1 chunk +0 lines, -202 lines 0 comments Download
M tests/corelib_2/corelib_2.status View 1 2 10 chunks +61 lines, -0 lines 0 comments Download
A tests/corelib_2/double_ceil2_test.dart View 1 chunk +12 lines, -0 lines 0 comments Download
A tests/corelib_2/errors_test.dart View 1 chunk +77 lines, -0 lines 0 comments Download
A tests/corelib_2/int_parse_radix_bad_handler_test.dart View 1 chunk +12 lines, -0 lines 0 comments Download
A + tests/corelib_2/int_parse_radix_test.dart View 2 chunks +3 lines, -10 lines 0 comments Download
A + tests/corelib_2/int_round_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/int_round_to_double_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/int_to_int_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/int_truncate_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/int_truncate_to_double_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/integer_to_radix_string_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/integer_to_string_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/is_operator_basic_types_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/iterable_contains2_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/iterable_contains_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/iterable_element_at_test.dart View 2 chunks +3 lines, -6 lines 0 comments Download
A + tests/corelib_2/iterable_empty_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/iterable_expand_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/iterable_first_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/iterable_first_where_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/corelib_2/iterable_fold_test.dart View 6 chunks +26 lines, -26 lines 0 comments Download
M tests/corelib_strong/corelib_strong.status View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
D tests/corelib_strong/int_parse_radix_test.dart View 1 chunk +0 lines, -149 lines 0 comments Download
D tests/corelib_strong/int_round_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib_strong/int_round_to_double_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib_strong/int_to_int_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib_strong/int_truncate_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib_strong/int_truncate_to_double_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D tests/corelib_strong/integer_to_radix_string_test.dart View 1 chunk +0 lines, -95 lines 0 comments Download
D tests/corelib_strong/integer_to_string_test.dart View 1 chunk +0 lines, -89 lines 0 comments Download
D tests/corelib_strong/is_operator_basic_types_test.dart View 1 chunk +0 lines, -61 lines 0 comments Download
D tests/corelib_strong/iterable_contains2_test.dart View 1 chunk +0 lines, -38 lines 0 comments Download
D tests/corelib_strong/iterable_contains_test.dart View 1 chunk +0 lines, -48 lines 0 comments Download
D tests/corelib_strong/iterable_element_at_test.dart View 1 chunk +0 lines, -42 lines 0 comments Download
D tests/corelib_strong/iterable_empty_test.dart View 1 chunk +0 lines, -71 lines 0 comments Download
D tests/corelib_strong/iterable_expand_test.dart View 1 chunk +0 lines, -74 lines 0 comments Download
D tests/corelib_strong/iterable_first_test.dart View 1 chunk +0 lines, -22 lines 0 comments Download
D tests/corelib_strong/iterable_first_where_test.dart View 1 chunk +0 lines, -43 lines 0 comments Download
D tests/corelib_strong/iterable_fold_test.dart View 1 chunk +0 lines, -202 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
jcollins
3 years, 4 months ago (2017-08-08 15:41:24 UTC) #3
bkonyi
https://codereview.chromium.org/2997533002/diff/20001/tests/corelib_2/int_parse_radix_test.dart File tests/corelib_2/int_parse_radix_test.dart (right): https://codereview.chromium.org/2997533002/diff/20001/tests/corelib_2/int_parse_radix_test.dart#newcode117 tests/corelib_2/int_parse_radix_test.dart:117: Expect.throws(() => int.parse(source, radix: radix, onError: (s) => 0), ...
3 years, 4 months ago (2017-08-08 18:03:13 UTC) #4
jcollins
https://codereview.chromium.org/2997533002/diff/20001/tests/corelib_2/int_parse_radix_test.dart File tests/corelib_2/int_parse_radix_test.dart (right): https://codereview.chromium.org/2997533002/diff/20001/tests/corelib_2/int_parse_radix_test.dart#newcode117 tests/corelib_2/int_parse_radix_test.dart:117: Expect.throws(() => int.parse(source, radix: radix, onError: (s) => 0), ...
3 years, 4 months ago (2017-08-08 20:01:58 UTC) #5
bkonyi
LGTM! https://codereview.chromium.org/2997533002/diff/20001/tests/corelib_2/iterable_fold_test.dart File tests/corelib_2/iterable_fold_test.dart (right): https://codereview.chromium.org/2997533002/diff/20001/tests/corelib_2/iterable_fold_test.dart#newcode179 tests/corelib_2/iterable_fold_test.dart:179: testModification([3, 2, 1], add4, (x) => x.reversed); //# ...
3 years, 4 months ago (2017-08-08 20:06:55 UTC) #6
jcollins
3 years, 4 months ago (2017-08-09 15:47:56 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
e6b3fb5b054442c0cfc625f3a43589f133597a7f.

Powered by Google App Engine
This is Rietveld 408576698