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

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

Issue 56673002: Mirror removals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: also update things in /pkg Created 7 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
Index: tests/lib/mirrors/generics_test.dart
diff --git a/tests/lib/mirrors/generics_test.dart b/tests/lib/mirrors/generics_test.dart
index ec2d49a38946ad990dda14d9fe0656d8a3835f8a..e870085514d29491eaac3b238f5f1ffa4ac4c24a 100644
--- a/tests/lib/mirrors/generics_test.dart
+++ b/tests/lib/mirrors/generics_test.dart
@@ -145,9 +145,8 @@ main() {
// Library members are all uninstantaited generics or non-generics.
currentMirrorSystem().libraries.values.forEach((libraryMirror) {
- libraryMirror.classes.values.forEach((classMirror) {
- // Generic typedefs are considered in a separate test.
- if (classMirror is! TypedefMirror) {
+ libraryMirror.declarations.values.forEach((classMirror) {
gbracha 2013/11/04 23:41:38 Somehow I feel that it is bad style to name the va
rmacnak 2013/11/06 01:28:35 Done.
+ if (classMirror is ClassMirror) {
Expect.isTrue(classMirror.isOriginalDeclaration);
Expect.equals(classMirror, classMirror.originalDeclaration);
}

Powered by Google App Engine
This is Rietveld 408576698