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

Unified Diff: tests/compiler/dart2js/mirrors_test.dart

Issue 11363076: Add isParameter, change isField to isVariable on MemberMirror (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « sdk/lib/_internal/dartdoc/lib/src/mirrors/dart2js_mirror.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_test.dart
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart
index 41ebcf5f36ee4103346628019551fd69d20276ab..5166b8ca5768b03fd7590fe1345b9a30abdcc457 100644
--- a/tests/compiler/dart2js/mirrors_test.dart
+++ b/tests/compiler/dart2js/mirrors_test.dart
@@ -366,7 +366,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Expect.equals(method1.owner, bazClass);
Expect.isFalse(method1.isTopLevel);
Expect.isFalse(method1.isConstructor);
- Expect.isFalse(method1.isField);
+ Expect.isFalse(method1.isVariable);
Expect.isTrue(method1.isMethod);
Expect.isFalse(method1.isPrivate);
Expect.isTrue(method1.isStatic);
@@ -420,7 +420,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Expect.equals(method2.owner, bazClass);
Expect.isFalse(method2.isTopLevel);
Expect.isFalse(method2.isConstructor);
- Expect.isFalse(method2.isField);
+ Expect.isFalse(method2.isVariable);
Expect.isTrue(method2.isMethod);
Expect.isFalse(method2.isPrivate);
Expect.isFalse(method2.isStatic);
@@ -487,7 +487,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Expect.equals(method3.owner, bazClass);
Expect.isFalse(method3.isTopLevel);
Expect.isFalse(method3.isConstructor);
- Expect.isFalse(method3.isField);
+ Expect.isFalse(method3.isVariable);
Expect.isTrue(method3.isMethod);
Expect.isFalse(method3.isPrivate);
Expect.isFalse(method3.isStatic);
@@ -613,7 +613,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Expect.equals(operator_eq.owner, bazClass);
Expect.isFalse(operator_eq.isTopLevel);
Expect.isFalse(operator_eq.isConstructor);
- Expect.isFalse(operator_eq.isField);
+ Expect.isFalse(operator_eq.isVariable);
Expect.isTrue(operator_eq.isMethod);
Expect.isFalse(operator_eq.isPrivate);
Expect.isFalse(operator_eq.isStatic);
@@ -643,7 +643,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Expect.equals(operator_negate.owner, bazClass);
Expect.isFalse(operator_negate.isTopLevel);
Expect.isFalse(operator_negate.isConstructor);
- Expect.isFalse(operator_negate.isField);
+ Expect.isFalse(operator_negate.isVariable);
Expect.isTrue(operator_negate.isMethod);
Expect.isFalse(operator_negate.isPrivate);
Expect.isFalse(operator_negate.isStatic);
« no previous file with comments | « sdk/lib/_internal/dartdoc/lib/src/mirrors/dart2js_mirror.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698