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
Ben Konyi
64105ee014
Migrated test block 219 to Dart 2.0.
...
No major changes. Some tests that rely on noSuchMethod needed to have
some 'var's changed to 'dynamic's.
BUG=
R=rnystrom@google.com
Review-Url: https://codereview.chromium.org/3003123002 .
2017-08-30 07:51:59 -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
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
floitsch@google.com
59b78ff5fc
Support typedefs in function signatures.
...
BUG= http://dartbug.com/18938
R=karlklose@google.com
Review URL: https://codereview.chromium.org//416643002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39750 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-02 15:53:59 +00:00
zarah@google.com
8aa0a2cd04
Substitute type variables as type arguments.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//95123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30769 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 08:45:43 +00: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
56ce946cbf
Re-triage mirror test failures on the analyzer.
...
R=kustermann@google.com , regis@google.com
Review URL: https://codereview.chromium.org//49083004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29407 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 00:15:57 +00:00
rmacnak@google.com
a3cd93fa15
Cover an example of equality and hashCode for each type of mirror.
...
BUG=http://dartbug.com/6680
R=ahe@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//34133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29015 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:16:39 +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
mlippautz@google.com
3a3329c1ac
Fix tests that broke in r27633.
...
Make analyzer happy.
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//24089006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27634 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 20:13:49 +00:00
mlippautz@google.com
9f41ce82ae
Merge tests for dart2js and VM using multi-tests.
...
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//24008002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27633 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 19:50:13 +00:00
rmacnak@google.com
64fd5a5079
Implement InstanceMirror.== in dart2js and InstanceMirror.hashCode in the VM and dart2js.
...
BUG=http://dartbug.com/12909
BUG=http://dartbug.com/12919
R=ahe@google.com , asiva@google.com
Review URL: https://codereview.chromium.org//23460013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27075 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 20:11:11 +00:00
rmacnak@google.com
919eae46a1
Ensure class mirrors on non-generic classes always have their runtime type set. Add a test for class mirror equality.
...
BUG=http://dartbug.com/12800
R=ahe@google.com , asiva@google.com
Review URL: https://codereview.chromium.org//23657002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26951 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:51:31 +00:00