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

Unified Diff: tests/lib/mirrors/intercepted_cache_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/intercepted_cache_test.dart
diff --git a/tests/lib/mirrors/intercepted_cache_test.dart b/tests/lib/mirrors/intercepted_cache_test.dart
index 818906d781ecefda837e97a683064e7513f86ed3..7507e4f7961bf2f3666243d6860dbec5b29b16bc 100644
--- a/tests/lib/mirrors/intercepted_cache_test.dart
+++ b/tests/lib/mirrors/intercepted_cache_test.dart
@@ -6,6 +6,9 @@
// etc. The test is using getField, as invoke, setField, and getField all share
// the same caching.
+library lib;
+
+@MirrorsUsed(targets: const ["lib", "dart.core"])
import 'dart:mirrors';
import 'package:expect/expect.dart';
« no previous file with comments | « tests/lib/mirrors/instantiate_abstract_class_test.dart ('k') | tests/lib/mirrors/intercepted_class_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698