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

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

Issue 2382053002: Remove unused option in server API (Closed)
Patch Set: Created 4 years, 2 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 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/plugin/protocol/protocol.dart';
10 import 'package:analysis_server/src/analysis_server.dart'; 10 import 'package:analysis_server/src/analysis_server.dart';
(...skipping 27 matching lines...) Expand all
38 AnalysisServer server; 38 AnalysisServer server;
39 ExecutionDomainHandler handler; 39 ExecutionDomainHandler handler;
40 40
41 setUp(() { 41 setUp(() {
42 ExtensionManager manager = new ExtensionManager(); 42 ExtensionManager manager = new ExtensionManager();
43 ServerPlugin serverPlugin = new ServerPlugin(); 43 ServerPlugin serverPlugin = new ServerPlugin();
44 manager.processPlugins([serverPlugin]); 44 manager.processPlugins([serverPlugin]);
45 server = new AnalysisServer( 45 server = new AnalysisServer(
46 new MockServerChannel(), 46 new MockServerChannel(),
47 provider, 47 provider,
48 new MockPackageMapProvider(),
49 null, 48 null,
50 serverPlugin, 49 serverPlugin,
51 new AnalysisServerOptions(), 50 new AnalysisServerOptions(),
52 new DartSdkManager('', false, (_) => new MockSdk()), 51 new DartSdkManager('', false, (_) => new MockSdk()),
53 InstrumentationService.NULL_SERVICE); 52 InstrumentationService.NULL_SERVICE);
54 handler = new ExecutionDomainHandler(server); 53 handler = new ExecutionDomainHandler(server);
55 }); 54 });
56 55
57 group('createContext/deleteContext', () { 56 group('createContext/deleteContext', () {
58 test('create/delete multiple contexts', () { 57 test('create/delete multiple contexts', () {
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 * A [Source] that knows it's [fullName]. 348 * A [Source] that knows it's [fullName].
350 */ 349 */
351 class TestSource implements Source { 350 class TestSource implements Source {
352 String fullName; 351 String fullName;
353 352
354 TestSource(this.fullName); 353 TestSource(this.fullName);
355 354
356 @override 355 @override
357 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 356 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
358 } 357 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/domain_diagnostic_test.dart ('k') | pkg/analysis_server/test/domain_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698