Index: tests/lib/mirrors/method_mirror_properties_test.dart |
diff --git a/tests/lib/mirrors/method_mirror_properties_test.dart b/tests/lib/mirrors/method_mirror_properties_test.dart |
index 950a2a80f91b387cb618bcc18cf1cde2f2020db8..9b44145a7a232953d4d0fc02c95bc51d04d51076 100644 |
--- a/tests/lib/mirrors/method_mirror_properties_test.dart |
+++ b/tests/lib/mirrors/method_mirror_properties_test.dart |
@@ -48,31 +48,31 @@ main() { |
checkKinds(closureMirror.function, |
[true, false, false, false, false]); |
var libraryMirror = reflectClass(C).owner; |
- checkKinds(libraryMirror.getters[#topGetter], |
+ checkKinds(libraryMirror.declarations[#topGetter], |
[true, false, true, false, false]); |
- checkKinds(libraryMirror.setters[const Symbol("topSetter=")], |
+ checkKinds(libraryMirror.declarations[const Symbol("topSetter=")], |
[true, false, false, true, false]); |
var classMirror; |
classMirror = reflectClass(C); |
- checkKinds(classMirror.members[#foo], |
+ checkKinds(classMirror.declarations[#foo], |
[true, false, false, false, false]); |
- checkKinds(classMirror.members[#priv], |
+ checkKinds(classMirror.declarations[#priv], |
[false, false, true, false, false]); |
- checkKinds(classMirror.members[const Symbol("priv=")], |
+ checkKinds(classMirror.declarations[const Symbol("priv=")], |
[false, false, false, true, false]); |
- checkKinds(classMirror.constructors[#C], |
+ checkKinds(classMirror.declarations[#C], |
[false, false, false, false, true]); |
- checkKinds(classMirror.constructors[#C.other], |
+ checkKinds(classMirror.declarations[#C.other], |
[false, false, false, false, true]); |
- checkKinds(classMirror.constructors[#C.other2], |
+ checkKinds(classMirror.declarations[#C.other2], |
[false, false, false, false, true]); |
classMirror = reflectClass(AbstractC); |
- checkKinds(classMirror.constructors[#AbstractC], |
+ checkKinds(classMirror.declarations[#AbstractC], |
[false, false, false, false, true]); |
- checkKinds(classMirror.members[#bar], |
+ checkKinds(classMirror.declarations[#bar], |
[false, true, false, false, false]); |
- checkKinds(classMirror.members[#priv], |
+ checkKinds(classMirror.declarations[#priv], |
[false, true, true, false, false]); |
- checkKinds(classMirror.members[const Symbol("priv=")], |
+ checkKinds(classMirror.declarations[const Symbol("priv=")], |
[false, true, false, true, false]); |
} |