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

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

Issue 164823006: Remove LibraryMirror.topLevelMembers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: sync Created 6 years, 10 months 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/mirrors_reader.dart ('k') | tests/lib/mirrors/toplevel_members_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/synthetic_accessor_properties_test.dart
diff --git a/tests/lib/mirrors/synthetic_accessor_properties_test.dart b/tests/lib/mirrors/synthetic_accessor_properties_test.dart
index 215d3a30a8e6a56a3309b723c36a04afb3157600..b4fd4e2a2b39441e0230a139812b7a9149a537fe 100644
--- a/tests/lib/mirrors/synthetic_accessor_properties_test.dart
+++ b/tests/lib/mirrors/synthetic_accessor_properties_test.dart
@@ -67,39 +67,4 @@ main() {
mm = cm.staticMembers[const Symbol('finalStaticField=')];
Expect.isNull(mm);
-
-
- mm = lm.topLevelMembers[#topLevelField];
- expect('Method(s(topLevelField) in s(test.synthetic_accessor_properties),'
- ' top-level, synthetic, static, getter)', mm);
- Expect.equals(reflectClass(String), mm.returnType);
- Expect.listEquals([], mm.parameters);
-
- mm = lm.topLevelMembers[const Symbol('topLevelField=')];
- expect('Method(s(topLevelField=) in s(test.synthetic_accessor_properties),'
- ' top-level, synthetic, static, setter)', mm);
- Expect.equals(reflectClass(String), mm.returnType);
- pm = mm.parameters.single;
- expect('Parameter(s(topLevelField) in s(topLevelField=), final,'
- ' type = Class(s(String) in s(dart.core), top-level))', pm);
-
- mm = lm.topLevelMembers[#finalTopLevelField];
- expect('Method(s(finalTopLevelField) in s(test.synthetic_accessor_properties)'
- ', top-level, synthetic, static, getter)', mm);
- Expect.equals(reflectClass(double), mm.returnType);
- Expect.listEquals([], mm.parameters);
-
- mm = lm.topLevelMembers[const Symbol('finalTopLevelField=')];
- Expect.isNull(mm);
-
- return; /// 01: ok
-
- mm = lm.topLevelMembers[#C];
- expect('Method(s(C) in s(test.synthetic_accessor_properties),'
- ' top-level, synthetic, static, getter)', mm);
- Expect.equals(reflectClass(Type), mm.returnType);
- Expect.listEquals([], mm.parameters);
-
- mm = lm.topLevelMembers[const Symbol('C=')];
- Expect.isNull(mm);
}
« no previous file with comments | « tests/lib/mirrors/mirrors_reader.dart ('k') | tests/lib/mirrors/toplevel_members_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698