Commit Graph

12 Commits

Author SHA1 Message Date
Ryan Macnak 081e2acf29 [test] Update copied mirrors tests for Dart 3.
Bug: https://github.com/dart-lang/sdk/issues/40045
Change-Id: Ic0f62843d61b613e61f434b72b9553dd1e6897af
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132441
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2020-01-23 18:09:37 +00:00
Ryan Macnak 00b2e580a3 [test] Fork mirrors tests.
Bug: https://github.com/dart-lang/sdk/issues/40045
Change-Id: I597259b38684de87016f1e136723d24f4ac05420
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132440
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2020-01-22 18:46:23 +00:00
Bob Nystrom f6ca2c1d8f Remove the Dart 1 tests.
This deletes:

tests/co19
tests/corelib
tests/html
tests/isolate
tests/language
tests/lib

It does not delete tests/standalone because apparently there are tests
in there that are not in standalone_2. (I assume they were added after
the test migration. I don't know why they were added there.)

I have tried to remove references to the old tests from various scripts
and tools but may have missed some. (As you can imagine, grepping for
"lib" does not have the best signal-to-noise ratio.)

"It was a pleasure to burn. It was a special pleasure to see things
eaten, to see things blackened and changed. With the brass nozzle in his
fists, with this great python spitting its venomous kerosene upon the
world, the blood pounded in his head, and his hands were the hands of
some amazing conductor playing all the symphonies of blazing and burning
to bring down the tatters and charcoal ruins of history."

- Ray Bradbury, Fahrenheit 451

Change-Id: If3db4a50e7a5ee25aff8058b1483e2ce8e68424e
Reviewed-on: https://dart-review.googlesource.com/c/75420
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-10-11 23:45:18 +00: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
Florian Loitsch 46ba54e315 Add @MirrorsUsed annotations to speed up tests.
R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2727323002 .
2017-03-31 12:46:31 +02:00
rmacnak@google.com de9bfaa347 Update mirror tests to new mixin application syntax.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28742 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 18:22:12 +00:00
rmacnak@google.com 259c83c8d5 Add test for ClassMirror.mixin. Rename the mixin application test.
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28660 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:55:46 +00:00
ahe@google.com 6d798daaba Change simpleName of anonymous mixin applications.
BUG=http://dartbug.com/12464
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27132 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 14:38:07 +00:00
ahe@google.com 1a95fe0799 Fix problem that caused anonymous mixin applications to be named "null".
BUG=http://dartbug.com/12464
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27073 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 18:35:00 +00:00
rmacnak@google.com ac705b02a7 More reflection of mixin applications in the VM.
*Provide ClassMirror.mixin
*Hide extra class on the inheritance chain introduced in mixin typedefs
*Give mixin applications a simpleName that matches the source language syntax
*Update mixin_test to distinguish between members and constructors
*Update mixin_test for the mixin application naming scheme

BUG=http://dartbug.com/12464
R=ahe@google.com, asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26824 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 22:55:53 +00:00
ahe@google.com ca850cec7b Implement ClassMirror.superinterfaces.
BUG=http://dartbug.com/11863
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26185 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 11:05:56 +00:00
ahe@google.com d23f1a5b90 Implement reflecting on mixin applications.
BUG=http://dartbug.com/12055
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26162 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:10:24 +00:00