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 import 'package:analysis_server/protocol/protocol.dart'; | 5 import 'package:analysis_server/protocol/protocol.dart'; |
6 import 'package:analysis_server/protocol/protocol_generated.dart'; | 6 import 'package:analysis_server/protocol/protocol_generated.dart'; |
7 import 'package:analysis_server/src/analysis_server.dart'; | 7 import 'package:analysis_server/src/analysis_server.dart'; |
8 import 'package:analysis_server/src/constants.dart'; | 8 import 'package:analysis_server/src/constants.dart'; |
9 import 'package:analysis_server/src/domain_execution.dart'; | 9 import 'package:analysis_server/src/domain_execution.dart'; |
10 import 'package:analysis_server/src/plugin/server_plugin.dart'; | 10 import 'package:analysis_server/src/plugin/server_plugin.dart'; |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 }); | 195 }); |
196 }); | 196 }); |
197 } | 197 } |
198 | 198 |
199 @reflectiveTest | 199 @reflectiveTest |
200 class ExecutionDomainTest extends AbstractAnalysisTest { | 200 class ExecutionDomainTest extends AbstractAnalysisTest { |
201 String contextId; | 201 String contextId; |
202 | 202 |
203 @override | 203 @override |
204 void setUp() { | 204 void setUp() { |
205 enableNewAnalysisDriver = true; | |
206 super.setUp(); | 205 super.setUp(); |
207 createProject(); | 206 createProject(); |
208 handler = new ExecutionDomainHandler(server); | 207 handler = new ExecutionDomainHandler(server); |
209 _createExecutionContext(testFile); | 208 _createExecutionContext(testFile); |
210 } | 209 } |
211 | 210 |
212 @override | 211 @override |
213 void tearDown() { | 212 void tearDown() { |
214 _disposeExecutionContext(); | 213 _disposeExecutionContext(); |
215 super.tearDown(); | 214 super.tearDown(); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 * A [Source] that knows it's [fullName]. | 271 * A [Source] that knows it's [fullName]. |
273 */ | 272 */ |
274 class TestSource implements Source { | 273 class TestSource implements Source { |
275 String fullName; | 274 String fullName; |
276 | 275 |
277 TestSource(this.fullName); | 276 TestSource(this.fullName); |
278 | 277 |
279 @override | 278 @override |
280 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 279 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
281 } | 280 } |
OLD | NEW |