| 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 }; | 33 }; |
| 34 | 34 |
| 35 const List<String> SKIP_LIST = const <String>[ | 35 const List<String> SKIP_LIST = const <String>[ |
| 36 // Helper files: | 36 // Helper files: |
| 37 "/data/", | 37 "/data/", |
| 38 "http_launch_data/", | 38 "http_launch_data/", |
| 39 "mirrors_helper.dart", | 39 "mirrors_helper.dart", |
| 40 "path%20with%20spaces/", | 40 "path%20with%20spaces/", |
| 41 "cps_ir/input/", | |
| 42 // No longer maintained: | |
| 43 "backend_dart/", | |
| 44 // Broken tests: | 41 // Broken tests: |
| 45 "quarantined/http_test.dart", | 42 "quarantined/http_test.dart", |
| 46 // Package directory | 43 // Package directory |
| 47 "packages/", | 44 "packages/", |
| 48 ]; | 45 ]; |
| 49 | 46 |
| 50 main(List<String> arguments) { | 47 main(List<String> arguments) { |
| 51 List<String> options = <String>[]; | 48 List<String> options = <String>[]; |
| 52 List<Uri> uriList = <Uri>[]; | 49 List<Uri> uriList = <Uri>[]; |
| 53 String filter; | 50 String filter; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 } | 92 } |
| 96 } | 93 } |
| 97 } | 94 } |
| 98 await analyze( | 95 await analyze( |
| 99 uriList, | 96 uriList, |
| 100 WHITE_LIST, | 97 WHITE_LIST, |
| 101 mode: AnalysisMode.URI, | 98 mode: AnalysisMode.URI, |
| 102 options: options); | 99 options: options); |
| 103 }); | 100 }); |
| 104 } | 101 } |
| OLD | NEW |