| 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 20 matching lines...) Expand all Loading... |
| 31 "'ForkableStream' declaration.", | 31 "'ForkableStream' declaration.", |
| 32 ], | 32 ], |
| 33 "mirrors_test.dart": const [ | 33 "mirrors_test.dart": const [ |
| 34 MessageKind.INVALID_SYMBOL, | 34 MessageKind.INVALID_SYMBOL, |
| 35 MessageKind.PRIVATE_IDENTIFIER, | 35 MessageKind.PRIVATE_IDENTIFIER, |
| 36 ], | 36 ], |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 const List<String> SKIP_LIST = const <String>[ | 39 const List<String> SKIP_LIST = const <String>[ |
| 40 // Helper files: | 40 // Helper files: |
| 41 "dart2js_batch2_run.dart", | 41 "/data/", |
| 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", | |
| 46 "sourcemaps/invokes_test_file.dart", | |
| 47 "cps_ir/input/", | 45 "cps_ir/input/", |
| 48 // No longer maintained: | 46 // No longer maintained: |
| 49 "backend_dart/", | 47 "backend_dart/", |
| 50 // Broken tests: | 48 // Broken tests: |
| 51 "http_test.dart", | 49 "quarantined/http_test.dart", |
| 52 // Package directory | 50 // Package directory |
| 53 "packages/", | 51 "packages/", |
| 54 ]; | 52 ]; |
| 55 | 53 |
| 56 const List<MessageKind> MESSAGE_SKIP_LIST = const <MessageKind>[ | 54 const List<MessageKind> MESSAGE_SKIP_LIST = const <MessageKind>[ |
| 57 // TODO(johnniwinther): Support checking of this warning. (Issue 26132) | 55 // TODO(johnniwinther): Support checking of this warning. (Issue 26132) |
| 58 MessageKind.IMPORT_EXPERIMENTAL_MIRRORS, | 56 MessageKind.IMPORT_EXPERIMENTAL_MIRRORS, |
| 59 ]; | 57 ]; |
| 60 | 58 |
| 61 main(List<String> arguments) { | 59 main(List<String> arguments) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 } | 95 } |
| 98 } | 96 } |
| 99 await analyze( | 97 await analyze( |
| 100 uriList, | 98 uriList, |
| 101 WHITE_LIST, | 99 WHITE_LIST, |
| 102 mode: AnalysisMode.URI, | 100 mode: AnalysisMode.URI, |
| 103 options: options, | 101 options: options, |
| 104 skipList: MESSAGE_SKIP_LIST); | 102 skipList: MESSAGE_SKIP_LIST); |
| 105 }); | 103 }); |
| 106 } | 104 } |
| OLD | NEW |