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

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

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 months 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 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698