Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: pkg/analysis_server/test/domain_execution_test.dart

Issue 2868353002: Enable analysis driver in tests where possible (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/domain_analysis_test.dart ('k') | pkg/analysis_server/test/edit/format_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698