| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 analyzer.test.source.analysis_options_provider_test; | 5 library analyzer.test.source.analysis_options_provider_test; |
| 6 | 6 |
| 7 import 'dart:core' hide Resource; | 7 import 'dart:core'; |
| 8 | 8 |
| 9 import 'package:analyzer/file_system/file_system.dart'; | 9 import 'package:analyzer/file_system/file_system.dart'; |
| 10 import 'package:analyzer/file_system/memory_file_system.dart'; | 10 import 'package:analyzer/file_system/memory_file_system.dart'; |
| 11 import 'package:analyzer/source/analysis_options_provider.dart'; | 11 import 'package:analyzer/source/analysis_options_provider.dart'; |
| 12 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
| 13 import 'package:unittest/unittest.dart'; | 13 import 'package:unittest/unittest.dart'; |
| 14 import 'package:yaml/yaml.dart'; | 14 import 'package:yaml/yaml.dart'; |
| 15 | 15 |
| 16 import '../reflective_tests.dart'; | 16 import '../reflective_tests.dart'; |
| 17 import '../resource_utils.dart'; | 17 import '../resource_utils.dart'; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 expect(ignore[1], 'sdk_ext/**'); | 216 expect(ignore[1], 'sdk_ext/**'); |
| 217 } | 217 } |
| 218 } | 218 } |
| 219 } | 219 } |
| 220 | 220 |
| 221 Map<String, YamlNode> _getOptions(String posixPath, {bool crawlUp: false}) { | 221 Map<String, YamlNode> _getOptions(String posixPath, {bool crawlUp: false}) { |
| 222 Resource resource = pathTranslator.getResource(posixPath); | 222 Resource resource = pathTranslator.getResource(posixPath); |
| 223 return provider.getOptions(resource, crawlUp: crawlUp); | 223 return provider.getOptions(resource, crawlUp: crawlUp); |
| 224 } | 224 } |
| 225 } | 225 } |
| OLD | NEW |