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

Unified Diff: tests/lib/mirrors/mirrors_resolve_fields_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
« no previous file with comments | « tests/lib/mirrors/mirrors_nsm_test.dart ('k') | tests/lib/mirrors/mixin_application_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/mirrors_resolve_fields_test.dart
diff --git a/tests/lib/mirrors/mirrors_resolve_fields_test.dart b/tests/lib/mirrors/mirrors_resolve_fields_test.dart
index cb3044f81726f501fe47f9dcfe82c9b8c5dc367f..d1eccf3e7619c263981b91ca1848ce4cb8e73131 100644
--- a/tests/lib/mirrors/mirrors_resolve_fields_test.dart
+++ b/tests/lib/mirrors/mirrors_resolve_fields_test.dart
@@ -5,7 +5,11 @@
// Regression test for dart2js that used to not resolve instance
// fields when a class is only instantiated through mirrors.
+library lib;
+
import "package:expect/expect.dart";
+
+@MirrorsUsed(targets: "lib")
import 'dart:mirrors';
class A {
« no previous file with comments | « tests/lib/mirrors/mirrors_nsm_test.dart ('k') | tests/lib/mirrors/mixin_application_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698