| 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; |
| 205 super.setUp(); | 206 super.setUp(); |
| 206 createProject(); | 207 createProject(); |
| 207 handler = new ExecutionDomainHandler(server); | 208 handler = new ExecutionDomainHandler(server); |
| 208 _createExecutionContext(testFile); | 209 _createExecutionContext(testFile); |
| 209 } | 210 } |
| 210 | 211 |
| 211 @override | 212 @override |
| 212 void tearDown() { | 213 void tearDown() { |
| 213 _disposeExecutionContext(); | 214 _disposeExecutionContext(); |
| 214 super.tearDown(); | 215 super.tearDown(); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 * A [Source] that knows it's [fullName]. | 272 * A [Source] that knows it's [fullName]. |
| 272 */ | 273 */ |
| 273 class TestSource implements Source { | 274 class TestSource implements Source { |
| 274 String fullName; | 275 String fullName; |
| 275 | 276 |
| 276 TestSource(this.fullName); | 277 TestSource(this.fullName); |
| 277 | 278 |
| 278 @override | 279 @override |
| 279 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 280 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 280 } | 281 } |
| OLD | NEW |