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

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

Issue 881463004: Rename ChangeNotice resolved Dart/Html unit fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
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.move_files; 5 library test.services.refactoring.move_files;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/protocol.dart'; 9 import 'package:analysis_server/src/protocol.dart';
10 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; 10 import 'package:analysis_server/src/services/refactoring/refactoring.dart';
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } 213 }
214 214
215 void _performAnalysis() { 215 void _performAnalysis() {
216 while (true) { 216 while (true) {
217 AnalysisResult result = context.performAnalysisTask(); 217 AnalysisResult result = context.performAnalysisTask();
218 if (!result.hasMoreWork) { 218 if (!result.hasMoreWork) {
219 break; 219 break;
220 } 220 }
221 for (ChangeNotice notice in result.changeNotices) { 221 for (ChangeNotice notice in result.changeNotices) {
222 if (notice.source.fullName.startsWith('/project/')) { 222 if (notice.source.fullName.startsWith('/project/')) {
223 index.indexUnit(context, notice.compilationUnit); 223 index.indexUnit(context, notice.resolvedDartUnit);
224 } 224 }
225 } 225 }
226 } 226 }
227 } 227 }
228 } 228 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/services/completion/imported_computer_test.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698