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

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

Issue 392983006: Specifiy MethodMirror.isStatic is terms of whether 'this' is permitted. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months 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/local_function_is_static_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9b44145a7a232953d4d0fc02c95bc51d04d51076..4d45a3153fdebee83c79a1c1170b92e874668629 100644
--- a/tests/lib/mirrors/method_mirror_properties_test.dart
+++ b/tests/lib/mirrors/method_mirror_properties_test.dart
@@ -35,11 +35,11 @@ abstract class C extends AbstractC {
}
checkKinds(method, kinds) {
- Expect.equals(method.isStatic, kinds[0]);
- Expect.equals(method.isAbstract, kinds[1]);
- Expect.equals(method.isGetter, kinds[2]);
- Expect.equals(method.isSetter, kinds[3]);
- Expect.equals(method.isConstructor, kinds[4]);
+ Expect.equals(kinds[0], method.isStatic, "isStatic");
+ Expect.equals(kinds[1], method.isAbstract, "isAbstract");
+ Expect.equals(kinds[2], method.isGetter, "isGetter");
+ Expect.equals(kinds[3], method.isSetter, "isSetter");
+ Expect.equals(kinds[4], method.isConstructor, "isConstructor");
}
main() {
« no previous file with comments | « tests/lib/mirrors/local_function_is_static_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698