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

Side by Side Diff: pkg/analyzer/test/reflective_tests.dart

Issue 1936963002: Restored the MirrorsUsed which was removed in CL 1933283002. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.reflective_tests; 5 library analyzer.test.reflective_tests;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 @MirrorsUsed(metaTargets: 'ReflectiveTest')
8 import 'dart:mirrors'; 9 import 'dart:mirrors';
9 10
10 import 'package:unittest/unittest.dart'; 11 import 'package:unittest/unittest.dart';
11 12
12 /** 13 /**
13 * A marker annotation used to annotate overridden test methods (so we cannot 14 * A marker annotation used to annotate overridden test methods (so we cannot
14 * rename them to `fail_`) which are expected to fail at `assert` in the 15 * rename them to `fail_`) which are expected to fail at `assert` in the
15 * checked mode. 16 * checked mode.
16 */ 17 */
17 const _AssertFailingTest assertFailingTest = const _AssertFailingTest(); 18 const _AssertFailingTest assertFailingTest = const _AssertFailingTest();
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 const _AssertFailingTest(); 171 const _AssertFailingTest();
171 } 172 }
172 173
173 /** 174 /**
174 * A marker annotation used to annotate overridden test methods (so we cannot 175 * A marker annotation used to annotate overridden test methods (so we cannot
175 * rename them to `fail_`) which are expected to fail. 176 * rename them to `fail_`) which are expected to fail.
176 */ 177 */
177 class _FailingTest { 178 class _FailingTest {
178 const _FailingTest(); 179 const _FailingTest();
179 } 180 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698