Commit Graph

8 Commits

Author SHA1 Message Date
Bob Nystrom edee53f93d Bring back the deleted 1.0 corelib tests.
What is dead may never die.

Change-Id: I80ef766b8ce2b6e1416df8e1f9b91fb74169dc79
Reviewed-on: https://dart-review.googlesource.com/7483
Reviewed-by: William Hesse <whesse@google.com>
2017-09-21 18:29:40 +00:00
Ben Konyi b5caf1f5a0 Migrated test block 25 to Dart 2.0.
Simple block, no real changes.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2987773002 .
2017-07-25 17:00:21 -07:00
Jacob Richman 2dcd56ef43 Format all tests.
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.

BUG=
R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
floitsch@google.com 2e7f55b3ce Revert set_to_string_test too.
Review URL: https://codereview.chromium.org//27040002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28522 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 16:03:30 +00:00
lrn@google.com 36d28b3f98 Change the toString method of IterableBase/IterableMixin to show some elements.
It always shows at least the first three and last two elements, unless the
iterable has more than 100 elements, in which case it's considered endless.
If there are room for more elements, within some limits, they are also included.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//26481002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28504 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 10:56:17 +00:00
zarah@google.com 93bcd6baf7 Move toString() to collection classes.
R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=24836

Review URL: https://codereview.chromium.org//18837002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24913 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 12:59:12 +00:00
zarah@google.com a0c76e6d43 Revert "Move toString() to collection classes."
This reverts commit 24836

Review URL: https://codereview.chromium.org//18282008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24837 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 09:36:47 +00:00
zarah@google.com 8ed47ae514 Move toString() to collection classes.
R=floitsch@google.com

Review URL: https://codereview.chromium.org//18837002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24836 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 08:35:54 +00:00