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

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

Issue 11345035: TypeVariableMirror and TypedefMirror updated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « pkg/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 49a1be069bf7a2f00dc1e3bf010761d23d158d54..b678a0396e8a87f2d69eadc81f8c84f90dfeb999 100644
--- a/tests/compiler/dart2js/mirrors_test.dart
+++ b/tests/compiler/dart2js/mirrors_test.dart
@@ -322,8 +322,8 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
"Unexpected qualifiedName");
Expect.equals(bazClass, bazE.declarer,
"Unexpected type variable declarer");
- var bazEbound = bazE.bound;
- Expect.isNotNull(bazEbound, "Missing type variable bound");
+ var bazEbound = bazE.upperBound;
+ Expect.isNotNull(bazEbound);
Expect.isFalse(bazEbound.isOriginalDeclaration);
Expect.isTrue(bazEbound.isObject, "Bound is not object");
@@ -333,8 +333,8 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Expect.stringEquals('mirrors_helper.Baz.F', bazF.qualifiedName,
"Unexpected qualifiedName");
Expect.equals(bazClass, bazF.declarer);
- var bazFbound = bazF.bound;
- Expect.isNotNull(bazFbound, "Missing type variable bound");
+ var bazFbound = bazF.upperBound;
+ Expect.isNotNull(bazFbound);
Expect.isFalse(bazFbound.isOriginalDeclaration);
Expect.stringEquals("mirrors_helper.Foo", bazFbound.qualifiedName,
"Bound is not Foo");
@@ -574,7 +574,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Expect.isNotNull(funcTypedefTypeVariables);
Expect.equals(2, funcTypedefTypeVariables.length);
- var funcTypedefDefinition = funcTypedef.definition;
+ var funcTypedefDefinition = funcTypedef.value;
Expect.isNotNull(funcTypedefDefinition);
Expect.isTrue(funcTypedefDefinition is FunctionTypeMirror);
« no previous file with comments | « pkg/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