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

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

Issue 34723003: Fix class_mirror_type_variable_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/class_mirror_type_variables_test.dart
diff --git a/tests/lib/mirrors/class_mirror_type_variables_test.dart b/tests/lib/mirrors/class_mirror_type_variables_test.dart
index 85ee11a5b80d8f80744307ce84bca53ee84376f9..9694ee4f10dbb77d8104a931297a7aa85ee3c9ac 100644
--- a/tests/lib/mirrors/class_mirror_type_variables_test.dart
+++ b/tests/lib/mirrors/class_mirror_type_variables_test.dart
@@ -30,8 +30,8 @@ void testA() {
TypeVariableMirror aT = a.typeVariables[0];
TypeVariableMirror aS = a.typeVariables[1];
- TypeMirror aTBound = aT.upperBound;
- TypeMirror aSBound = aS.upperBound;
+ ClassMirror aTBound = aT.upperBound;
+ ClassMirror aSBound = aS.upperBound;
Expect.isTrue(aTBound.isOriginalDeclaration);
Expect.isTrue(aSBound.isOriginalDeclaration);
@@ -59,10 +59,10 @@ void testBAndC() {
Expect.equals(b, bZBound.originalDeclaration);
Expect.equals(b, cZBound.originalDeclaration);
- TypeArgumentMirror bZBoundTypeArgument = bZBound.typeArguments.single;
- TypeArgumentMirror cZBoundTypeArgument = cZBound.typeArguments.single;
- TypeVarialbeMirror bZBoundTypeVariable = bZBound.typeVariables.single;
- TypeVarialbeMirror cZBoundTypeVariable = cZBound.typeVariables.single;
+ TypeMirror bZBoundTypeArgument = bZBound.typeArguments.single;
+ TypeMirror cZBoundTypeArgument = cZBound.typeArguments.single;
+ TypeVariableMirror bZBoundTypeVariable = bZBound.typeVariables.single;
+ TypeVariableMirror cZBoundTypeVariable = cZBound.typeVariables.single;
Expect.equals(b, bZ.owner);
Expect.equals(c, cZ.owner);
@@ -106,7 +106,7 @@ void testF() {
ClassMirror f = reflectClass(F);
TypeVariableMirror fZ = f.typeVariables[0];
ClassMirror fZBound = fZ.upperBound;
- TypeArgumentMirror fZBoundTypeArgument = fZBound.typeArguments.single;
+ ClassMirror fZBoundTypeArgument = fZBound.typeArguments.single;
Expect.equals(1, f.typeVariables.length);
Expect.isFalse(fZBound.isOriginalDeclaration);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698