Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: tests/lib/mirrors/method_mirror_properties_test.dart

Issue 63563003: - Reverting mirror changes. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/lib/mirrors/metadata_test.dart ('k') | tests/lib/mirrors/method_mirror_returntype_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/method_mirror_properties_test.dart
===================================================================
--- tests/lib/mirrors/method_mirror_properties_test.dart (revision 30026)
+++ tests/lib/mirrors/method_mirror_properties_test.dart (working copy)
@@ -48,31 +48,31 @@
checkKinds(closureMirror.function,
[true, false, false, false, false]);
var libraryMirror = reflectClass(C).owner;
- checkKinds(libraryMirror.getters[#topGetter],
+ checkKinds(libraryMirror.declarations[#topGetter],
[true, false, true, false, false]);
- checkKinds(libraryMirror.setters[const Symbol("topSetter=")],
+ checkKinds(libraryMirror.declarations[const Symbol("topSetter=")],
[true, false, false, true, false]);
var classMirror;
classMirror = reflectClass(C);
- checkKinds(classMirror.members[#foo],
+ checkKinds(classMirror.declarations[#foo],
[true, false, false, false, false]);
- checkKinds(classMirror.members[#priv],
+ checkKinds(classMirror.declarations[#priv],
[false, false, true, false, false]);
- checkKinds(classMirror.members[const Symbol("priv=")],
+ checkKinds(classMirror.declarations[const Symbol("priv=")],
[false, false, false, true, false]);
- checkKinds(classMirror.constructors[#C],
+ checkKinds(classMirror.declarations[#C],
[false, false, false, false, true]);
- checkKinds(classMirror.constructors[#C.other],
+ checkKinds(classMirror.declarations[#C.other],
[false, false, false, false, true]);
- checkKinds(classMirror.constructors[#C.other2],
+ checkKinds(classMirror.declarations[#C.other2],
[false, false, false, false, true]);
classMirror = reflectClass(AbstractC);
- checkKinds(classMirror.constructors[#AbstractC],
+ checkKinds(classMirror.declarations[#AbstractC],
[false, false, false, false, true]);
- checkKinds(classMirror.members[#bar],
+ checkKinds(classMirror.declarations[#bar],
[false, true, false, false, false]);
- checkKinds(classMirror.members[#priv],
+ checkKinds(classMirror.declarations[#priv],
[false, true, true, false, false]);
- checkKinds(classMirror.members[const Symbol("priv=")],
+ checkKinds(classMirror.declarations[const Symbol("priv=")],
[false, true, false, true, false]);
}
« no previous file with comments | « tests/lib/mirrors/metadata_test.dart ('k') | tests/lib/mirrors/method_mirror_returntype_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698