Commit Graph

18 Commits

Author SHA1 Message Date
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 5e310f4e31 Update mirror tests for removed API and other analyzer warnings.
BUG=http://dartbug.com/14695
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30290 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 19:55:05 +00:00
iposva@google.com 1cae21b556 - Reverting mirror changes.
Review URL: https://codereview.chromium.org//62373008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30029 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 02:07:37 +00:00
iposva@google.com a2d280501e - Reverting mirror changes.
Review URL: https://codereview.chromium.org//63563003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30027 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:48:45 +00:00
rmacnak@google.com bc897425e1 Cascaded mirror removal revert.
Review URL: https://codereview.chromium.org//63363003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30024 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:20:51 +00:00
rmacnak@google.com 1caa73df59 Remove implementations of mirror methods not in the API from the VM. Update tests.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30005 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 22:30:45 +00:00
ahe@google.com 36e2df1a1d Mirrors overhaul.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29551 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 14:58:58 +00:00
rmacnak@google.com 306d474235 Use symbol literals in the mirror tests. (Except for void, the empty string and setters.)
R=mlippautz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27773 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 16:17:13 +00:00
rmacnak@google.com 3fdec161e8 Fix attempt to find metadata of a library with no metadata.
BUG=12206
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25930 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 16:50:11 +00:00
gbracha@google.com c78462c2ad Changes to mirrors in support of metadata access at runtime.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24050 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 21:12:58 +00:00
ngeoffray@google.com 318add67e7 Add a JS AST null value to the generated field metadata instead of null when a field does not have metadata.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23669 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 09:43:30 +00:00
ahe@google.com 00d1a0664c Implement metadata for instance fields.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23580 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 08:07:53 +00:00
ahe@google.com 0a7a5c58f8 Implement MethodMirror.metadata.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23529 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 09:12:31 +00:00
ahe@google.com 4e17f7dca7 Implement ClassMirror.metadata.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23457 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 08:04:20 +00:00
ahe@google.com cb3e022248 Implement LibraryMirror.metadata.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23406 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 13:06:22 +00:00