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

Unified Diff: pkg/smoke/test/mirrors_used_test.dart

Issue 169913004: Adding package:smoke. This CL includes the intial APIs, a mirror-based (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/smoke/test/mirrors_test.dart ('k') | pkg/smoke/test/static_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/smoke/test/mirrors_used_test.dart
diff --git a/pkg/smoke/test/mirrors_used_test.dart b/pkg/smoke/test/mirrors_used_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ec3a019c69bd9c7968b978ea0ca1480c84009e22
--- /dev/null
+++ b/pkg/smoke/test/mirrors_used_test.dart
@@ -0,0 +1,21 @@
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+// 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 smoke.test.mirrors_test;
+
+import 'package:smoke/mirrors.dart';
+import 'package:unittest/unittest.dart';
+import 'common.dart' hide main;
+import 'common.dart' as common show main;
+
+
+@MirrorsUsed(
+ targets: const [A, B, C, D, E, E2, F, F2, G, H],
+ override: 'smoke.mirrors')
+import 'dart:mirrors';
+
+main() {
+ setUp(useMirrors);
+ common.main();
+}
« no previous file with comments | « pkg/smoke/test/mirrors_test.dart ('k') | pkg/smoke/test/static_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698