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

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

Issue 47743011: Substitute types in generic superclasses and interfaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated status file + addressed comments. 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
Index: tests/lib/mirrors/generics_substitution_test.dart
diff --git a/tests/lib/mirrors/generics_substitution_test.dart b/tests/lib/mirrors/generics_substitution_test.dart
index 8b2f16fb6766e651393d3db710d0af469004d234..1d0e9247a817257a44f65380d2e4766efb288ee7 100644
--- a/tests/lib/mirrors/generics_substitution_test.dart
+++ b/tests/lib/mirrors/generics_substitution_test.dart
@@ -32,21 +32,21 @@ main() {
Symbol r(ClassMirror cm) => cm.variables[#r].type.simpleName;
Symbol s(ClassMirror cm) => cm.methods[#s].parameters[0].type.simpleName;
Symbol t(ClassMirror cm) => cm.methods[#t].returnType.simpleName;
-
- Expect.equals(#T, r(genericDecl.superclass));
+
+ Expect.equals(#T, r(genericDecl.superclass)); /// 01: ok
Expect.equals(#int, s(genericDecl.superclass));
Expect.equals(#T, t(genericDecl));
- Expect.equals(#String, r(genericOfString.superclass));
+ Expect.equals(#String, r(genericOfString.superclass)); /// 01: ok
Expect.equals(#int, s(genericOfString.superclass));
Expect.equals(#String, t(genericOfString));
- Expect.equals(#R, r(superGenericDecl));
+ Expect.equals(#R, r(superGenericDecl)); /// 01: ok
Expect.equals(#S, s(superGenericDecl));
- Expect.equals(#T, r(superOfTAndInt));
+ Expect.equals(#T, r(superOfTAndInt)); /// 01: ok
Expect.equals(#int, s(superOfTAndInt));
- Expect.equals(#String, r(superOfStringAndInt));
+ Expect.equals(#String, r(superOfStringAndInt)); /// 01: ok
Expect.equals(#int, s(superOfStringAndInt));
}

Powered by Google App Engine
This is Rietveld 408576698