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

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

Issue 2727323002: Add @MirrorsUsed annotations to speed up tests. (Closed)
Patch Set: Created 3 years, 10 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..067bfa59702a22965c9f65dd6b3e22b7f774a544 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", List])
import 'dart:mirrors';
import 'package:expect/expect.dart';

Powered by Google App Engine
This is Rietveld 408576698