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

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

Issue 2727323002: Add @MirrorsUsed annotations to speed up tests. (Closed)
Patch Set: Minor fixes. Created 3 years, 9 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: tests/lib/mirrors/reflect_uninstantiated_class_test.dart
diff --git a/tests/lib/mirrors/reflect_uninstantiated_class_test.dart b/tests/lib/mirrors/reflect_uninstantiated_class_test.dart
index 1a2b8e964474924df5f7baa61003ab1eae416106..dfbc6adada1e6729027db15fa74455e1d6b1f893 100644
--- a/tests/lib/mirrors/reflect_uninstantiated_class_test.dart
+++ b/tests/lib/mirrors/reflect_uninstantiated_class_test.dart
@@ -4,6 +4,9 @@
// A simple test that ensure that reflection works on uninstantiated classes.
+library lib;
+
+@MirrorsUsed(targets: "lib")
import "dart:mirrors";
class Foo {
« no previous file with comments | « tests/lib/mirrors/reflect_runtime_type_test.dart ('k') | tests/lib/mirrors/reflected_type_classes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698