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.domain.execution; | 5 library test.domain.execution; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
| 9 import 'package:analysis_server/plugin/protocol/protocol.dart'; |
9 import 'package:analysis_server/src/analysis_server.dart'; | 10 import 'package:analysis_server/src/analysis_server.dart'; |
10 import 'package:analysis_server/src/constants.dart'; | 11 import 'package:analysis_server/src/constants.dart'; |
11 import 'package:analysis_server/src/context_manager.dart'; | 12 import 'package:analysis_server/src/context_manager.dart'; |
12 import 'package:analysis_server/src/domain_execution.dart'; | 13 import 'package:analysis_server/src/domain_execution.dart'; |
13 import 'package:analysis_server/src/plugin/server_plugin.dart'; | 14 import 'package:analysis_server/src/plugin/server_plugin.dart'; |
14 import 'package:analysis_server/src/protocol.dart'; | |
15 import 'package:analyzer/file_system/file_system.dart'; | 15 import 'package:analyzer/file_system/file_system.dart'; |
16 import 'package:analyzer/file_system/memory_file_system.dart'; | 16 import 'package:analyzer/file_system/memory_file_system.dart'; |
17 import 'package:analyzer/instrumentation/instrumentation.dart'; | 17 import 'package:analyzer/instrumentation/instrumentation.dart'; |
18 import 'package:analyzer/src/generated/engine.dart'; | 18 import 'package:analyzer/src/generated/engine.dart'; |
19 import 'package:analyzer/src/generated/source.dart'; | 19 import 'package:analyzer/src/generated/source.dart'; |
20 import 'package:analyzer/src/generated/source_io.dart'; | 20 import 'package:analyzer/src/generated/source_io.dart'; |
21 import 'package:plugin/manager.dart'; | 21 import 'package:plugin/manager.dart'; |
22 import 'package:typed_mock/typed_mock.dart'; | 22 import 'package:typed_mock/typed_mock.dart'; |
23 import 'package:unittest/unittest.dart'; | 23 import 'package:unittest/unittest.dart'; |
24 | 24 |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 * A [Source] that knows it's [fullName]. | 323 * A [Source] that knows it's [fullName]. |
324 */ | 324 */ |
325 class TestSource implements Source { | 325 class TestSource implements Source { |
326 String fullName; | 326 String fullName; |
327 | 327 |
328 TestSource(this.fullName); | 328 TestSource(this.fullName); |
329 | 329 |
330 @override | 330 @override |
331 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 331 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
332 } | 332 } |
OLD | NEW |