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

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

Issue 1749333004: Fill the new index in Analysis Server. (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,
145 plugin, 146 plugin,
146 new AnalysisServerOptions(), 147 new AnalysisServerOptions(),
147 () => new MockSdk(), 148 () => new MockSdk(),
148 InstrumentationService.NULL_SERVICE, 149 InstrumentationService.NULL_SERVICE,
149 rethrowExceptions: true); 150 rethrowExceptions: true);
150 processRequiredPlugins(); 151 processRequiredPlugins();
151 } 152 }
152 153
153 Future test_contextDisposed() { 154 Future test_contextDisposed() {
154 resourceProvider.newFolder('/foo'); 155 resourceProvider.newFolder('/foo');
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 _MockServerOperation(this.context); 573 _MockServerOperation(this.context);
573 574
574 @override 575 @override
575 ServerOperationPriority get priority => ServerOperationPriority.ANALYSIS; 576 ServerOperationPriority get priority => ServerOperationPriority.ANALYSIS;
576 577
577 @override 578 @override
578 void perform(AnalysisServer server) { 579 void perform(AnalysisServer server) {
579 isComplete = true; 580 isComplete = true;
580 } 581 }
581 } 582 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/analysis_abstract.dart ('k') | pkg/analysis_server/test/domain_analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698