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

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

Issue 1801883002: Remove old index and search implementations. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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.analysis_server; 5 library test.analysis_server;
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 ServerPlugin plugin = new ServerPlugin(); 135 ServerPlugin plugin = new ServerPlugin();
136 manager.processPlugins([plugin]); 136 manager.processPlugins([plugin]);
137 channel = new MockServerChannel(); 137 channel = new MockServerChannel();
138 resourceProvider = new MemoryResourceProvider(); 138 resourceProvider = new MemoryResourceProvider();
139 packageMapProvider = new MockPackageMapProvider(); 139 packageMapProvider = new MockPackageMapProvider();
140 server = new AnalysisServer( 140 server = new AnalysisServer(
141 channel, 141 channel,
142 resourceProvider, 142 resourceProvider,
143 packageMapProvider, 143 packageMapProvider,
144 null, 144 null,
145 null,
146 plugin, 145 plugin,
147 new AnalysisServerOptions(), 146 new AnalysisServerOptions(),
148 () => new MockSdk(), 147 () => new MockSdk(),
149 InstrumentationService.NULL_SERVICE, 148 InstrumentationService.NULL_SERVICE,
150 rethrowExceptions: true); 149 rethrowExceptions: true);
151 processRequiredPlugins(); 150 processRequiredPlugins();
152 } 151 }
153 152
154 Future test_contextDisposed() { 153 Future test_contextDisposed() {
155 resourceProvider.newFolder('/foo'); 154 resourceProvider.newFolder('/foo');
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 _MockServerOperation(this.context); 572 _MockServerOperation(this.context);
574 573
575 @override 574 @override
576 ServerOperationPriority get priority => ServerOperationPriority.ANALYSIS; 575 ServerOperationPriority get priority => ServerOperationPriority.ANALYSIS;
577 576
578 @override 577 @override
579 void perform(AnalysisServer server) { 578 void perform(AnalysisServer server) {
580 isComplete = true; 579 isComplete = true;
581 } 580 }
582 } 581 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698