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

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

Issue 308003009: Add ServerOperation and queue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove some priorities Created 6 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 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 1265d3ef3671d6e172aa23e722b460ebc3335def..53f8458ae2026de0c282adb805010915d886cd5b 100644
--- a/pkg/analysis_server/test/mocks.dart
+++ b/pkg/analysis_server/test/mocks.dart
@@ -124,7 +124,7 @@ class NoResponseException implements Exception {
class MockServerChannel implements ServerCommunicationChannel {
StreamController<Request> requestController = new StreamController<Request>();
StreamController<Response> responseController = new StreamController<Response>();
- StreamController<Notification> notificationController = new StreamController<Notification>();
+ StreamController<Notification> notificationController = new StreamController<Notification>(sync: true);
List<Response> responsesReceived = [];
List<Notification> notificationsReceived = [];

Powered by Google App Engine
This is Rietveld 408576698