| 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.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'; | |
| 10 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; | 9 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; |
| 11 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
| 12 import 'package:analyzer/source/package_map_resolver.dart'; | 11 import 'package:analyzer/source/package_map_resolver.dart'; |
| 13 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
| 14 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
| 15 import 'package:unittest/unittest.dart'; | 14 import 'package:unittest/unittest.dart'; |
| 16 | 15 |
| 17 import '../../abstract_context.dart'; | 16 import '../../abstract_context.dart'; |
| 18 import '../../reflective_tests.dart'; | 17 import '../../reflective_tests.dart'; |
| 19 import 'abstract_refactoring.dart'; | 18 import 'abstract_refactoring.dart'; |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 break; | 208 break; |
| 210 } | 209 } |
| 211 for (ChangeNotice notice in result.changeNotices) { | 210 for (ChangeNotice notice in result.changeNotices) { |
| 212 if (notice.source.fullName.startsWith('/project/')) { | 211 if (notice.source.fullName.startsWith('/project/')) { |
| 213 index.indexUnit(context, notice.resolvedDartUnit); | 212 index.indexUnit(context, notice.resolvedDartUnit); |
| 214 } | 213 } |
| 215 } | 214 } |
| 216 } | 215 } |
| 217 } | 216 } |
| 218 } | 217 } |
| OLD | NEW |