Commit graph

7 commits

Author SHA1 Message Date
Ben Konyi 3371365d8d Migrate test block 3 to Dart 2.0.
No major changes were needed for this block.

BUG=
R=jcollins@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2977403002 .
2017-07-19 10:25:02 -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 5d058bb0eb Adding isNotEmpty property to collection and string.
BUG= http://dartbug.com/3074
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23294 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:30:37 +00:00
ajohnsen@google.com 24c200b76c Fix 'collection' tests and co19 dartc/dart2js status files.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21343 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 10:28:29 +00:00
lrn@google.com 8e09592d71 Cleanups in collection.
Make SplayTreeMap throw on null key. Optimize first/last.
Make DoubleLinkedQueue have fast length.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19853 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 12:00:59 +00:00
lrn@google.com 53f877edb7 Rename String.concat to operator+.
Review URL: https://codereview.chromium.org//12441003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19788 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 12:59:17 +00:00
lrn@google.com 94afb8f1a0 Make HashSet.length constant time.
Ditto for SplayTree iterators and fix bug in ListIterable.isEmpty.

Add test for quickness of .length and .isEmpty of String, Maps
and Collections. Not fast enough, and the test will timeout.

BUG=http://dartbug.com/8839

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19228 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 14:14:26 +00:00