| 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.edit.refactoring; | 5 library test.edit.refactoring; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analysis_server/src/edit/edit_domain.dart'; | 9 import 'package:analysis_server/src/edit/edit_domain.dart'; |
| 10 import 'package:analysis_server/src/protocol.dart'; | 10 import 'package:analysis_server/src/protocol.dart'; |
| 11 import 'package:analysis_server/src/protocol2.dart' show | |
| 12 EditGetAvailableRefactoringsParams, EditGetAvailableRefactoringsResult, | |
| 13 EditGetRefactoringParams, EditGetRefactoringResult, RefactoringKind, | |
| 14 RefactoringProblem, RefactoringProblemSeverity, RenameOptions, SourceChange, | |
| 15 SourceEdit, SourceFileEdit; | |
| 16 import 'package:analysis_server/src/services/index/index.dart'; | 11 import 'package:analysis_server/src/services/index/index.dart'; |
| 17 import 'package:analysis_server/src/services/index/local_memory_index.dart'; | 12 import 'package:analysis_server/src/services/index/local_memory_index.dart'; |
| 18 import 'package:analysis_testing/reflective_tests.dart'; | 13 import 'package:analysis_testing/reflective_tests.dart'; |
| 19 import 'package:unittest/unittest.dart' hide ERROR; | 14 import 'package:unittest/unittest.dart' hide ERROR; |
| 20 | 15 |
| 21 import '../analysis_abstract.dart'; | 16 import '../analysis_abstract.dart'; |
| 22 | 17 |
| 23 | 18 |
| 24 main() { | 19 main() { |
| 25 groupSep = ' | '; | 20 groupSep = ' | '; |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 } | 557 } |
| 563 | 558 |
| 564 @override | 559 @override |
| 565 void setUp() { | 560 void setUp() { |
| 566 super.setUp(); | 561 super.setUp(); |
| 567 server.handlers = [new EditDomainHandler(server),]; | 562 server.handlers = [new EditDomainHandler(server),]; |
| 568 createProject(); | 563 createProject(); |
| 569 handler = new EditDomainHandler(server); | 564 handler = new EditDomainHandler(server); |
| 570 } | 565 } |
| 571 } | 566 } |
| OLD | NEW |