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

Side by Side Diff: pkg/analysis_server/test/src/plugin/plugin_manager_test.dart

Issue 2861593003: Fix a broken test (TBR) (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 'dart:async'; 5 import 'dart:async';
6 import 'dart:io' as io; 6 import 'dart:io' as io;
7 7
8 import 'package:analysis_server/src/plugin/notification_manager.dart'; 8 import 'package:analysis_server/src/plugin/notification_manager.dart';
9 import 'package:analysis_server/src/plugin/plugin_manager.dart'; 9 import 'package:analysis_server/src/plugin/plugin_manager.dart';
10 import 'package:analyzer/context/context_root.dart'; 10 import 'package:analyzer/context/context_root.dart';
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 List<String> get fileGlobsToAnalyze => <String>['**/*.dart']; 527 List<String> get fileGlobsToAnalyze => <String>['**/*.dart'];
528 528
529 @override 529 @override
530 String get name => 'minimal'; 530 String get name => 'minimal';
531 531
532 @override 532 @override
533 String get version => '0.0.1'; 533 String get version => '0.0.1';
534 534
535 @override 535 @override
536 AnalysisHandleWatchEventsResult handleAnalysisHandleWatchEvents( 536 AnalysisHandleWatchEventsResult handleAnalysisHandleWatchEvents(
537 Map<String, Object> parameters) => 537 AnalysisHandleWatchEventsParams parameters) =>
538 new AnalysisHandleWatchEventsResult(); 538 new AnalysisHandleWatchEventsResult();
539 539
540 @override 540 @override
541 bool isCompatibleWith(Version serverVersion) => true; 541 bool isCompatibleWith(Version serverVersion) => true;
542 } 542 }
543 '''; 543 ''';
544 } 544 }
545 545
546 /** 546 /**
547 * Return the content to be used for the '.packages' file. 547 * Return the content to be used for the '.packages' file.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 void onNotification(Notification notification), 603 void onNotification(Notification notification),
604 {Function onError, void onDone()}) { 604 {Function onError, void onDone()}) {
605 fail('Unexpected invocation of listen'); 605 fail('Unexpected invocation of listen');
606 } 606 }
607 607
608 @override 608 @override
609 void sendRequest(Request request) { 609 void sendRequest(Request request) {
610 sentRequests.add(request); 610 sentRequests.add(request);
611 } 611 }
612 } 612 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698