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

Unified Diff: tests/lib/mirrors/static_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/return_type_test.dart ('k') | tests/lib/mirrors/to_string_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/static_test.dart
diff --git a/tests/lib/mirrors/static_test.dart b/tests/lib/mirrors/static_test.dart
index b238e24fc43160d268404b94a16b18f371c7b22d..45daea4f4305162265eda08feec1b6d8e0089dd7 100644
--- a/tests/lib/mirrors/static_test.dart
+++ b/tests/lib/mirrors/static_test.dart
@@ -17,13 +17,13 @@ class Foo {
void main() {
expect('Variable(s(aux) in s(Foo))',
- reflectClass(Foo).members[new Symbol('aux')]);
+ reflectClass(Foo).declarations[new Symbol('aux')]);
expect('Method(s(baz) in s(Foo))',
- reflectClass(Foo).members[new Symbol('baz')]);
+ reflectClass(Foo).declarations[new Symbol('baz')]);
expect('<null>',
- reflectClass(Foo).setters[new Symbol('aux=')]);
+ reflectClass(Foo).declarations[new Symbol('aux=')]);
expect('Method(s(foo) in s(Foo), static)',
- reflectClass(Foo).members[new Symbol('foo')]);
+ reflectClass(Foo).declarations[new Symbol('foo')]);
expect('Variable(s(bar) in s(Foo), static)',
- reflectClass(Foo).members[new Symbol('bar')]);
+ reflectClass(Foo).declarations[new Symbol('bar')]);
}
« no previous file with comments | « tests/lib/mirrors/return_type_test.dart ('k') | tests/lib/mirrors/to_string_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698