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

Side by Side Diff: test/mirrors_used_test.dart

Issue 1016913002: pkg/smoke: support latest analyzer version and formatted code (Closed) Base URL: https://github.com/dart-lang/smoke@master
Patch Set: updates Created 5 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 unified diff | Download patch
« no previous file with comments | « test/common_utils_test.dart ('k') | test/piece1.dart » ('j') | 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 smoke.test.mirrors_test; 5 library smoke.test.mirrors_test;
6 6
7 import 'package:smoke/mirrors.dart'; 7 import 'package:smoke/mirrors.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 import 'common.dart' hide main; 9 import 'common.dart' hide main;
10 import 'common.dart' as common show main; 10 import 'common.dart' as common show main;
11 11
12
13 @MirrorsUsed( 12 @MirrorsUsed(
14 targets: const [A, B, C, D, E, E2, F, F2, G, H, Type], 13 targets: const [A, B, C, D, E, E2, F, F2, G, H, Type],
15 override: 'smoke.mirrors') 14 override: 'smoke.mirrors')
16 import 'dart:mirrors'; 15 import 'dart:mirrors';
17 16
18 main() { 17 main() {
19 setUp(useMirrors); 18 setUp(useMirrors);
20 common.main(); 19 common.main();
21 } 20 }
OLDNEW
« no previous file with comments | « test/common_utils_test.dart ('k') | test/piece1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698