Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: pkg/analysis_server/test/services/refactoring/abstract_rename.dart

Issue 1527793003: Clean up imports in analysis_server and analyzer_cli (and one missed in analyzer) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 library test.services.refactoring.rename;
6 6
7 import 'package:analysis_server/plugin/protocol/protocol.dart' hide Element; 7 import 'package:analysis_server/plugin/protocol/protocol.dart' hide Element;
8 import 'package:analysis_server/src/services/correction/namespace.dart'; 8 import 'package:analysis_server/src/services/correction/namespace.dart';
9 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; 9 import 'package:analysis_server/src/services/refactoring/refactoring.dart';
10 import 'package:analyzer/dart/element/element.dart';
10 import 'package:analyzer/src/generated/ast.dart'; 11 import 'package:analyzer/src/generated/ast.dart';
11 import 'package:analyzer/src/generated/element.dart';
12 import 'package:unittest/unittest.dart'; 12 import 'package:unittest/unittest.dart';
13 13
14 import 'abstract_refactoring.dart'; 14 import 'abstract_refactoring.dart';
15 15
16 /** 16 /**
17 * The base class for all [RenameRefactoring] tests. 17 * The base class for all [RenameRefactoring] tests.
18 */ 18 */
19 class RenameRefactoringTest extends RefactoringTest { 19 class RenameRefactoringTest extends RefactoringTest {
20 RenameRefactoring refactoring; 20 RenameRefactoring refactoring;
21 21
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 for (SourceFileEdit fileEdit in refactoringChange.edits) { 68 for (SourceFileEdit fileEdit in refactoringChange.edits) {
69 for (SourceEdit edit in fileEdit.edits) { 69 for (SourceEdit edit in fileEdit.edits) {
70 if (edit.id == id) { 70 if (edit.id == id) {
71 return edit; 71 return edit;
72 } 72 }
73 } 73 }
74 } 74 }
75 return null; 75 return null;
76 } 76 }
77 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698