OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 test.services.refactoring.rename_constructor; | 5 import 'package:analysis_server/protocol/protocol_generated.dart'; |
6 | |
7 import 'package:analysis_server/plugin/protocol/protocol.dart'; | |
8 import 'package:analysis_server/src/services/correction/status.dart'; | 6 import 'package:analysis_server/src/services/correction/status.dart'; |
9 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; | 7 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; |
10 import 'package:analyzer/dart/ast/ast.dart'; | 8 import 'package:analyzer/dart/ast/ast.dart'; |
11 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
12 import 'package:test/test.dart'; | 10 import 'package:test/test.dart'; |
13 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 11 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
14 | 12 |
15 import 'abstract_rename.dart'; | 13 import 'abstract_rename.dart'; |
16 | 14 |
17 main() { | 15 main() { |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 search, (node) => node is InstanceCreationExpression); | 249 search, (node) => node is InstanceCreationExpression); |
252 createRenameRefactoringForElement(element); | 250 createRenameRefactoringForElement(element); |
253 } | 251 } |
254 } | 252 } |
255 | 253 |
256 @reflectiveTest | 254 @reflectiveTest |
257 class RenameConstructorTest_Driver extends RenameConstructorTest { | 255 class RenameConstructorTest_Driver extends RenameConstructorTest { |
258 @override | 256 @override |
259 bool get enableNewAnalysisDriver => true; | 257 bool get enableNewAnalysisDriver => true; |
260 } | 258 } |
OLD | NEW |