Commit Graph

11 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
Janice Collins 3a8a1ca54c Migrate test block 113 to Dart 2.0.
Request particular attention to generic_creation_test and generic_field_mixin6_test, but all of the following required tweaks
to the status files to pass tests:

generic_closure_test
generic_function_bounds_test
generic_function_dcall_test
generic_function_typedef_test
generic_field_mixin6_test
generalized_void_syntax_test
generic_functions_test

BUG=
R=jmesserly@google.com

Review-Url: https://codereview.chromium.org/3008573002 .
2017-08-30 08:50:16 -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 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
karlklose@google.com cc13f073fb Add substitution for classes that use type variables.
Review URL: https://codereview.chromium.org//12210138

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18379 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 13:36:43 +00:00
karlklose@google.com 6d5654f4aa Represent runtime type information as nested lists.
The class of a type is represented either by its Javascript constructor or, if it is a native JavaScript type, by a string. A type without type arguments uses its class' representation. A types with type arguments is represented by a list, where the first element is the representation of the class and the rest are the representation of the arguments.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15838 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 07:51:17 +00:00
karlklose@google.com cdbf6e2a0a Do not canonicalize Type instances.
Review URL: https://codereview.chromium.org//11417005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15000 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 08:33:35 +00:00
floitsch@google.com 3300f91153 Make first and last getters.
Review URL: https://codereview.chromium.org//11273041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:19:31 +00:00
karlklose@google.com 6fa5d0065c Complete support for type variables in new expressions.
Review URL: https://codereview.chromium.org//11092046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13475 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 14:53:24 +00:00