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

Unified Diff: runtime/tests/vm/dart/mirrored_compilation_error_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 | « no previous file | tests/compiler/dart2js/message_kind_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tests/vm/dart/mirrored_compilation_error_test.dart
diff --git a/runtime/tests/vm/dart/mirrored_compilation_error_test.dart b/runtime/tests/vm/dart/mirrored_compilation_error_test.dart
index b661afe6517d24884b3a04bacd1c8e0f7b23ad73..7be51d305fd96cf4ae81ae25bce4576034e6bb0c 100644
--- a/runtime/tests/vm/dart/mirrored_compilation_error_test.dart
+++ b/runtime/tests/vm/dart/mirrored_compilation_error_test.dart
@@ -64,9 +64,9 @@ main() {
raises(() => reflectClass(Class).metadata);
raises(() => reflectClass(Class).typeVariables.single.metadata);
- raises(() => reflectClass(Class).variables[#field].metadata);
- raises(() => reflectClass(Class).methods[#method].metadata);
- raises(() => reflectClass(Class).methods[#method].parameters.single.metadata);
+ raises(() => reflectClass(Class).declarations[#field].metadata);
+ raises(() => reflectClass(Class).declarations[#method].metadata);
+ raises(() => reflectClass(Class).declarations[#method].parameters.single.metadata);
raises(() => reflectClass(Class).owner.metadata);
« no previous file with comments | « no previous file | tests/compiler/dart2js/message_kind_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698