Commit Graph

17 Commits

Author SHA1 Message Date
Bob Nystrom 14011f47e3 Resurrect deleted language tests.
They're back from the grave, and ready to party!

Change-Id: I088134a9be7ecabf1fbf751c015a656a15cabff9
Reviewed-on: https://dart-review.googlesource.com/12821
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2017-10-11 17:47:11 +00:00
Bob Nystrom 50c087d5a6 Migrate language block 45 - call_argument ... call_with.
R=jmesserly@google.com

Review-Url: https://codereview.chromium.org/2998493002 .
2017-08-04 17:15:26 -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
johnniwinther@google.com d75b2291ca Fix language tests wrt. warnings.
BUG=
R=karlklose@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32691 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 11:59:12 +00:00
johnniwinther@google.com d5cbe5d330 Revert "Fix language tests wrt. warnings."
This reverts commit r32689.

BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32690 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 10:10:29 +00:00
johnniwinther@google.com 7d33875b66 Fix language tests wrt. warnings.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32689 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 09:35:00 +00:00
regis@google.com c726663bba Fix bad language test (issue 12757, 12758).
Update status files accordingly (new VM issue was filed).

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26742 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 20:37:21 +00:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
floitsch@google.com 5dc8107c53 Revert "Remove Expect from core library."
This reverts commit 19755.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 03:19:07 +00:00
floitsch@google.com 12dbd2fd70 Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:40:37 +00:00
regis@google.com 1b8e614d7d Change compile-time errors into dynamic errors in instance creation expression
(issue 3085).
Change compile-time errors into dynamic errors in static getter and setter
calls (issues 3088, 3094).
Fix a crash in flow graph builder for missing static getter (issue 4360).
Add support in VM for NoSuchMethodError.
Remove support in VM for StaticResolutionException.
Add, remove, update related language tests.
Triage related co19 tests.
Review URL: https://codereview.chromium.org//11049038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13208 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 00:15:38 +00:00
lrn@google.com f52c24b62f Rename NoSuchMethodException to NoSuchMethodError.
Moved NoSuchMethodError to errors.dart.
No changes in co19 tests, but test status updated.

Review URL: https://chromiumcodereview.appspot.com//10909166

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12172 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:52:25 +00:00
karlklose@google.com 544b754a7d Throw a runtime error when trying to call a constructor of a class that could not be resolved.
TESTS=language/call_constructor_on_unresolved_class_test
BUG=3802

Review URL: https://chromiumcodereview.appspot.com//10868069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11497 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 08:52:53 +00:00
kasperl@google.com 8bd4bf096b Update almost all tests (except co19) to use the new try-catch syntax.
R=ngeoffray@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10891020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11492 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 08:11:41 +00:00
karlklose@google.com 6876052c30 Throw a NoSuchMethodException when attempting to call an undefined constructor.
R=ngeoffray@google.com
BUG=3802

Review URL: https://chromiumcodereview.appspot.com//10870037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11220 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 11:19:27 +00:00