| 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; | 5 import 'package:analysis_server/protocol/protocol_generated.dart' hide Element; |
| 6 | |
| 7 import 'package:analysis_server/plugin/protocol/protocol.dart' hide Element; | |
| 8 import 'package:analysis_server/src/services/correction/namespace.dart'; | 6 import 'package:analysis_server/src/services/correction/namespace.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 | 11 |
| 14 import 'abstract_refactoring.dart'; | 12 import 'abstract_refactoring.dart'; |
| 15 | 13 |
| 16 /** | 14 /** |
| 17 * The base class for all [RenameRefactoring] tests. | 15 * The base class for all [RenameRefactoring] tests. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 for (SourceFileEdit fileEdit in refactoringChange.edits) { | 66 for (SourceFileEdit fileEdit in refactoringChange.edits) { |
| 69 for (SourceEdit edit in fileEdit.edits) { | 67 for (SourceEdit edit in fileEdit.edits) { |
| 70 if (edit.id == id) { | 68 if (edit.id == id) { |
| 71 return edit; | 69 return edit; |
| 72 } | 70 } |
| 73 } | 71 } |
| 74 } | 72 } |
| 75 return null; | 73 return null; |
| 76 } | 74 } |
| 77 } | 75 } |
| OLD | NEW |