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

Unified Diff: test_reflectable/test/capabilities_test.dart

Issue 1289933004: Implements support for reflection on parameters. (Closed) Base URL: https://github.com/dart-lang/reflectable.git@master
Patch Set: Created 5 years, 4 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
Index: test_reflectable/test/capabilities_test.dart
diff --git a/test_reflectable/test/capabilities_test.dart b/test_reflectable/test/capabilities_test.dart
index f48d59b1882b93d56be51a2cd27e361a9730cf4e..6b89d78af9a476f84720210a6f38758418307dbe 100644
--- a/test_reflectable/test/capabilities_test.dart
+++ b/test_reflectable/test/capabilities_test.dart
@@ -17,7 +17,8 @@ class MyReflectableStatic extends r.Reflectable {
const c.StaticInvokeCapability("getFoo"),
const c.StaticInvokeCapability("setFoo="),
const c.StaticInvokeCapability("nonExisting"),
- const c.StaticInvokeMetaCapability(C));
+ const c.StaticInvokeMetaCapability(C),
+ c.declarationsCapability);
}
@MyReflectableStatic()
@@ -42,7 +43,8 @@ class MyReflectableInstance extends r.Reflectable {
const c.InstanceInvokeCapability("getFoo"),
const c.InstanceInvokeCapability("setFoo="),
const c.InstanceInvokeCapability("nonExisting"),
- const c.InstanceInvokeMetaCapability(C));
+ const c.InstanceInvokeMetaCapability(C),
+ c.declarationsCapability);
}
@MyReflectableInstance()

Powered by Google App Engine
This is Rietveld 408576698