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

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

Issue 67203002: Implement topLevelMembers, staticMembers, instanceMembers in the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/synthetic_accessor_properties_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/toplevel_members_test.dart
diff --git a/tests/lib/mirrors/toplevel_members_test.dart b/tests/lib/mirrors/toplevel_members_test.dart
index f79bfc05487bed3da2ec8533eea4d2280a19cd75..1fe613b0cd674c44143a02a6d3d1c210fee4e50c 100644
--- a/tests/lib/mirrors/toplevel_members_test.dart
+++ b/tests/lib/mirrors/toplevel_members_test.dart
@@ -24,29 +24,31 @@ main() {
#libraryGetter,
const Symbol('librarySetter='),
#libraryMethod,
- #_libraryVariable,
- const Symbol('_libraryVariable='),
- #_libraryGetter,
- const Symbol('_librarySetter='),
- #_libraryMethod,
+ MirrorSystem.getSymbol('_libraryVariable', lm),
+ MirrorSystem.getSymbol('_libraryVariable=', lm),
+ MirrorSystem.getSymbol('_libraryGetter', lm),
+ MirrorSystem.getSymbol('_librarySetter=', lm),
+ MirrorSystem.getSymbol('_libraryMethod', lm),
#Predicate,
#Superclass,
#Interface,
#Mixin,
- #_PrivateClass,
+ #Class,
+ MirrorSystem.getSymbol('_PrivateClass', lm),
#ConcreteClass],
selectKeys(lm.topLevelMembers, (dm) => true));
Expect.setEquals(
[#libraryVariable,
const Symbol('libraryVariable='),
- #_libraryVariable,
- const Symbol('_libraryVariable='),
+ MirrorSystem.getSymbol('_libraryVariable', lm),
+ MirrorSystem.getSymbol('_libraryVariable=', lm),
#Predicate,
#Superclass,
#Interface,
#Mixin,
- #_PrivateClass,
+ #Class,
+ MirrorSystem.getSymbol('_PrivateClass', lm),
#ConcreteClass],
selectKeys(lm.topLevelMembers, (dm) => dm.isSynthetic));
}
« no previous file with comments | « tests/lib/mirrors/synthetic_accessor_properties_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698