OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 dart2js.analyze_test.test; | 5 library dart2js.analyze_test.test; |
6 | 6 |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 | 8 |
9 import 'package:async_helper/async_helper.dart'; | 9 import 'package:async_helper/async_helper.dart'; |
10 import 'package:compiler/src/apiimpl.dart' show | 10 import 'package:compiler/src/apiimpl.dart' show |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "http_launch_data/", | 42 "http_launch_data/", |
43 "mirrors_helper.dart", | 43 "mirrors_helper.dart", |
44 "path%20with%20spaces/", | 44 "path%20with%20spaces/", |
45 "one_line_dart_program.dart", | 45 "one_line_dart_program.dart", |
46 "sourcemaps/invokes_test_file.dart", | 46 "sourcemaps/invokes_test_file.dart", |
47 "cps_ir/input/", | 47 "cps_ir/input/", |
48 // No longer maintained: | 48 // No longer maintained: |
49 "backend_dart/", | 49 "backend_dart/", |
50 // Broken tests: | 50 // Broken tests: |
51 "http_test.dart", | 51 "http_test.dart", |
| 52 // Package directory |
| 53 "packages/", |
52 ]; | 54 ]; |
53 | 55 |
54 const List<MessageKind> MESSAGE_SKIP_LIST = const <MessageKind>[ | 56 const List<MessageKind> MESSAGE_SKIP_LIST = const <MessageKind>[ |
55 // TODO(johnniwinther): Support checking of this warning. (Issue 26132) | 57 // TODO(johnniwinther): Support checking of this warning. (Issue 26132) |
56 MessageKind.IMPORT_EXPERIMENTAL_MIRRORS, | 58 MessageKind.IMPORT_EXPERIMENTAL_MIRRORS, |
57 ]; | 59 ]; |
58 | 60 |
59 main(List<String> arguments) { | 61 main(List<String> arguments) { |
60 List<String> options = <String>[]; | 62 List<String> options = <String>[]; |
61 for (String argument in arguments) { | 63 for (String argument in arguments) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 } | 97 } |
96 } | 98 } |
97 await analyze( | 99 await analyze( |
98 uriList, | 100 uriList, |
99 WHITE_LIST, | 101 WHITE_LIST, |
100 mode: AnalysisMode.URI, | 102 mode: AnalysisMode.URI, |
101 options: options, | 103 options: options, |
102 skipList: MESSAGE_SKIP_LIST); | 104 skipList: MESSAGE_SKIP_LIST); |
103 }); | 105 }); |
104 } | 106 } |
OLD | NEW |