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

Unified Diff: tests/lib/mirrors/generic_superclass_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/generic_superclass_test.dart
diff --git a/tests/lib/mirrors/generic_superclass_test.dart b/tests/lib/mirrors/generic_superclass_test.dart
index ebf4c8cf96b22f8f52474a23933b036a47aec6a7..ca6a5d7c10f5ad8160b29ee063e55d50ad5a8981 100644
--- a/tests/lib/mirrors/generic_superclass_test.dart
+++ b/tests/lib/mirrors/generic_superclass_test.dart
@@ -2,7 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+library lib;
+
import 'package:expect/expect.dart';
+
+@MirrorsUsed(targets: "lib")
import 'dart:mirrors';

Powered by Google App Engine
This is Rietveld 408576698