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
Janice Collins
e89d0d2e14
Migrate test block 11 to Dart 2.0.
...
Interesting items in this block:
- Manually merged iterable_generate_test changes from both trees and
dropped some typeAssertionsEnabled/checked mode checking.
BUG=
R=bkonyi@google.com
Review-Url: https://codereview.chromium.org/3000543002 .
2017-08-16 10:16:42 -07:00
Erik Ernst
3b05eb9553
Add support to dart2js for option --enable-asserts.
...
R=johnniwinther@google.com , sigmund@google.com , sra@google.com
Review-Url: https://codereview.chromium.org/2879153005 .
2017-07-07 10:59:09 +02:00
Jacob Richman
14531fa62d
Re-land "Format all multitests"
...
Only delta from the original is a bad merge of tests/corelib/list_test.dart
This reverts commit 44d8be0ed3 .
BUG=
Review-Url: https://codereview.chromium.org/2774783002 .
2017-03-23 12:40:21 -07:00
Jacob Richman
44d8be0ed3
Revert "Format all multitests"
...
This reverts commit 312b66dd5f .
BUG=
Review-Url: https://codereview.chromium.org/2770063002 .
2017-03-23 10:49:40 -07:00
Jacob Richman
312b66dd5f
Format all multitests
...
BUG=
R=rnystrom@google.com
Review-Url: https://codereview.chromium.org/2768073002 .
2017-03-23 10:26:44 -07:00
Jacob Richman
88eb557b65
Fix warnings_checker.dart handling of multitests
...
Update all tests
Support //# multitests for better dartfmt compatibility and fewer multitest false positives
All files under tests were manually updated with
find . -iregex '.*\.dart$' -print0 | xargs -0 perl -pi -e 's/(\S\s+)\/\/\/ /$1\/\/# /'
For now both old and new styles are allowed to accommodate CO19 tests.
R=efortuna@google.com
BUG=
Review-Url: https://codereview.chromium.org/2765693002 .
Review-Url: https://codereview.chromium.org/2765893003 .
2017-03-21 17:29:56 -07:00
Jacob Richman
bf2b545150
Revert "Update all tests"
...
This reverts commit ce76e9c30beaf9a193d3677b88c20a1ebb3fae8c.
2017-03-21 16:33:18 -07:00
Jacob Richman
3c7353d987
Update all tests
...
Support //# multitests for better dartfmt compatibility and fewer multitest false positives
All files under tests were manually updated with
find . -iregex '.*\.dart$' -print0 | xargs -0 perl -pi -e 's/(\S\s+)\/\/\/ /$1\/\/# /'
For now both old and new styles are allowed to accommodate CO19 tests.
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2765693002 .
2017-03-21 12:39:28 -07:00
Jacob Richman
6a7d6c385e
Add comments
...
Add spaces to make sure dartfmt doesn't destroy bespoke indentation
BUG=
R=sra@google.com
Review-Url: https://codereview.chromium.org/2763823002 .
2017-03-20 21:03:12 -07:00
Johnni Winther
f6b5361adb
Support for Null as bottom in dart2js
...
Closes #28026
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2595363002 .
2016-12-22 15:01:33 +01:00
Lasse R.H. Nielsen
5d6e8bcda1
Make Iterable.generate use ListIterable as base implementation.
...
This makes it work the same as a List like the documentation claims.
Update documentation of Future.doWhile, and a few other documentation fixes.
BUG= http://dartbug.com/26358
BUG= http://dartbug.com/26462
R=floitsch@google.com
Review URL: https://codereview.chromium.org/1992713002 .
2016-05-18 13:52:10 +02:00
lrn@google.com
50d01bda2d
Syntax prohibits assignment in assert.
...
Review URL: https://codereview.chromium.org//207693003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34241 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-21 10:14:12 +00:00
lrn@google.com
8fd1e2f65d
Make generator argument to Iterable.generate optional.
...
It defaults to an integer identity function.
Also optimize skip/take on the generated iterable by making it
take hold start and end positions instead of just the count.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//207823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34240 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-21 09:54:46 +00:00