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

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

Issue 64793003: Update mirror tests for removed API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . 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
« no previous file with comments | « tests/lib/mirrors/lazy_static_test.dart ('k') | tests/lib/mirrors/library_metadata2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/libraries_test.dart
diff --git a/tests/lib/mirrors/libraries_test.dart b/tests/lib/mirrors/libraries_test.dart
index c9613d62064e7d9c311c0b532237904df043a17e..1fd5d33bc1c405d9d5d71a0a1eab6341844331d3 100644
--- a/tests/lib/mirrors/libraries_test.dart
+++ b/tests/lib/mirrors/libraries_test.dart
@@ -18,7 +18,7 @@ main() {
LibraryMirror mirrorsLibrary = libraries[Uri.parse('dart:mirrors')];
Expect.isNotNull(mirrorsLibrary, 'mirrorsLibrary is null');
- ClassMirror cls = mirrorsLibrary.classes[#LibraryMirror];
+ ClassMirror cls = mirrorsLibrary.declarations[#LibraryMirror];
Expect.isNotNull(cls, 'cls is null');
Expect.equals(#dart.mirrors.LibraryMirror, cls.qualifiedName);
« no previous file with comments | « tests/lib/mirrors/lazy_static_test.dart ('k') | tests/lib/mirrors/library_metadata2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698