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

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

Issue 2565993002: Remove the command-line plugin (Closed)
Patch Set: remove missed file Created 4 years 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.src.single_context_manager; 5 library test.analysis_server.src.single_context_manager;
6 6
7 import 'dart:core'; 7 import 'dart:core';
8 8
9 import 'package:analysis_server/src/single_context_manager.dart'; 9 import 'package:analysis_server/src/single_context_manager.dart';
10 import 'package:analysis_server/src/utilities/null_string_sink.dart'; 10 import 'package:analysis_server/src/utilities/null_string_sink.dart';
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 // update the file 529 // update the file
530 callbacks.now++; 530 callbacks.now++;
531 resourceProvider.modifyFile(file, 'new contents'); 531 resourceProvider.modifyFile(file, 'new contents');
532 await pumpEventQueue(); 532 await pumpEventQueue();
533 return expect(filePaths[file], equals(callbacks.now)); 533 return expect(filePaths[file], equals(callbacks.now));
534 } 534 }
535 535
536 void _processRequiredPlugins() { 536 void _processRequiredPlugins() {
537 List<Plugin> plugins = <Plugin>[]; 537 List<Plugin> plugins = <Plugin>[];
538 plugins.addAll(AnalysisEngine.instance.requiredPlugins); 538 plugins.addAll(AnalysisEngine.instance.requiredPlugins);
539 plugins.add(AnalysisEngine.instance.commandLinePlugin);
540 ExtensionManager manager = new ExtensionManager(); 539 ExtensionManager manager = new ExtensionManager();
541 manager.processPlugins(plugins); 540 manager.processPlugins(plugins);
542 } 541 }
543 } 542 }
544 543
545 class TestUriResolver extends UriResolver { 544 class TestUriResolver extends UriResolver {
546 @override 545 @override
547 Source resolveAbsolute(Uri uri, [Uri actualUri]) { 546 Source resolveAbsolute(Uri uri, [Uri actualUri]) {
548 return null; 547 return null;
549 } 548 }
550 } 549 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/domain_diagnostic_test.dart ('k') | pkg/analyzer/lib/plugin/command_line.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698