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

Unified Diff: pkg/analysis_server/test/mocks.dart

Issue 499723002: Implement 'edit.getRefactoring' for rename refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/mocks.dart
diff --git a/pkg/analysis_server/test/mocks.dart b/pkg/analysis_server/test/mocks.dart
index 56711f25acfe0d99fc4ed8b6b468f12486ff49ed..6edda40d057884ffcb213d2fa7ce96087704fc31 100644
--- a/pkg/analysis_server/test/mocks.dart
+++ b/pkg/analysis_server/test/mocks.dart
@@ -128,7 +128,7 @@ class NoResponseException implements Exception {
*/
class MockServerChannel implements ServerCommunicationChannel {
StreamController<Request> requestController = new StreamController<Request>();
- StreamController<Response> responseController = new StreamController<Response>();
+ StreamController<Response> responseController = new StreamController<Response>.broadcast();
StreamController<Notification> notificationController = new StreamController<Notification>(sync: true);
List<Response> responsesReceived = [];
@@ -193,6 +193,9 @@ class MockServerChannel implements ServerCommunicationChannel {
return responseController.stream.firstWhere((response) {
return response.id == id;
});
+// return responseController.stream.firstWhere((response) {
+// return response.id == id;
+// });
}
@override

Powered by Google App Engine
This is Rietveld 408576698