| 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.completion.toplevel; | 5 library test.services.completion.toplevel; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/protocol.dart'; | 7 import 'package:analysis_server/src/protocol.dart'; |
| 8 import 'package:analysis_server/src/services/completion/completion_manager.dart'
; | 8 import 'package:analysis_server/src/services/completion/completion_manager.dart'
; |
| 9 import 'package:analysis_server/src/services/completion/dart_completion_cache.da
rt'; | 9 import 'package:analysis_server/src/services/completion/dart_completion_cache.da
rt'; |
| 10 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; | 10 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; |
| 11 import 'package:analysis_server/src/services/completion/imported_computer.dart'; | 11 import 'package:analysis_server/src/services/completion/imported_computer.dart'; |
| 12 import 'package:analyzer/file_system/file_system.dart'; | |
| 13 import 'package:analyzer/src/generated/ast.dart'; | 12 import 'package:analyzer/src/generated/ast.dart'; |
| 14 import 'package:analyzer/src/generated/element.dart'; | 13 import 'package:analyzer/src/generated/element.dart'; |
| 15 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
| 16 import 'package:analyzer/src/generated/source.dart'; | 15 import 'package:analyzer/src/generated/source.dart'; |
| 17 import 'package:unittest/unittest.dart'; | 16 import 'package:unittest/unittest.dart'; |
| 18 | 17 |
| 19 import '../../abstract_context.dart'; | 18 import '../../abstract_context.dart'; |
| 20 import '../../reflective_tests.dart'; | 19 import '../../reflective_tests.dart'; |
| 21 import 'completion_test_util.dart'; | 20 import 'completion_test_util.dart'; |
| 22 | 21 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 256 |
| 258 @override | 257 @override |
| 259 test_partFile_TypeName2() { | 258 test_partFile_TypeName2() { |
| 260 return super.test_partFile_TypeName2().then((_) { | 259 return super.test_partFile_TypeName2().then((_) { |
| 261 expect( | 260 expect( |
| 262 request.cache.importKey, | 261 request.cache.importKey, |
| 263 'library libA;import "/testB.dart";part "/testA.dart";'); | 262 'library libA;import "/testB.dart";part "/testA.dart";'); |
| 264 }); | 263 }); |
| 265 } | 264 } |
| 266 } | 265 } |
| OLD | NEW |