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 import 'package:analysis_server/protocol/protocol.dart'; | 5 import 'package:analysis_server/protocol/protocol.dart'; |
6 import 'package:analysis_server/protocol/protocol_generated.dart' | 6 import 'package:analysis_server/protocol/protocol_generated.dart' |
7 hide AnalysisOptions; | 7 hide AnalysisOptions; |
8 import 'package:analysis_server/src/constants.dart'; | 8 import 'package:analysis_server/src/constants.dart'; |
9 import 'package:analysis_server/src/domain_analysis.dart'; | 9 import 'package:analysis_server/src/domain_analysis.dart'; |
10 import 'package:analyzer/src/generated/engine.dart'; | 10 import 'package:analyzer/src/generated/engine.dart'; |
| 11 import 'package:analyzer_plugin/protocol/protocol_common.dart'; |
11 import 'package:linter/src/rules.dart'; | 12 import 'package:linter/src/rules.dart'; |
12 import 'package:test/test.dart'; | 13 import 'package:test/test.dart'; |
13 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 14 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
14 | 15 |
15 import '../analysis_abstract.dart'; | 16 import '../analysis_abstract.dart'; |
16 import '../mocks.dart'; | 17 import '../mocks.dart'; |
17 | 18 |
18 main() { | 19 main() { |
19 defineReflectiveSuite(() { | 20 defineReflectiveSuite(() { |
20 defineReflectiveTests(NewAnalysisOptionsFileNotificationTest); | 21 defineReflectiveTests(NewAnalysisOptionsFileNotificationTest); |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 @override | 336 @override |
336 String get optionsFilePath => '$projectPath/analysis_options.yaml'; | 337 String get optionsFilePath => '$projectPath/analysis_options.yaml'; |
337 } | 338 } |
338 | 339 |
339 @reflectiveTest | 340 @reflectiveTest |
340 class OldAnalysisOptionsFileNotificationTest | 341 class OldAnalysisOptionsFileNotificationTest |
341 extends AnalysisOptionsFileNotificationTest { | 342 extends AnalysisOptionsFileNotificationTest { |
342 @override | 343 @override |
343 String get optionsFilePath => '$projectPath/.analysis_options'; | 344 String get optionsFilePath => '$projectPath/.analysis_options'; |
344 } | 345 } |
OLD | NEW |