| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 analyze_api; | 5 library analyze_api; |
| 6 | 6 |
| 7 import 'package:sdk_library_metadata/libraries.dart'; | 7 import 'package:sdk_library_metadata/libraries.dart'; |
| 8 import 'analyze_helper.dart'; | 8 import 'analyze_helper.dart'; |
| 9 import "package:async_helper/async_helper.dart"; | 9 import "package:async_helper/async_helper.dart"; |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 const Map<String, List<String>> WHITE_LIST = const { | 22 const Map<String, List<String>> WHITE_LIST = const { |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 void main() { | 25 void main() { |
| 26 var uriList = new List<Uri>(); | 26 var uriList = new List<Uri>(); |
| 27 libraries.forEach((String name, LibraryInfo info) { | 27 libraries.forEach((String name, LibraryInfo info) { |
| 28 if (info.documented) { | 28 if (info.documented) { |
| 29 uriList.add(new Uri(scheme: 'dart', path: name)); | 29 uriList.add(new Uri(scheme: 'dart', path: name)); |
| 30 } | 30 } |
| 31 }); | 31 }); |
| 32 asyncTest(() => analyze(uriList, WHITE_LIST)); | 32 asyncTest(() => analyze(uriList, WHITE_LIST, mode: AnalysisMode.ALL)); |
| 33 } | 33 } |
| OLD | NEW |