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

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

Issue 187603010: gracefully degrade with response to client if fail to access client specified dart sdk (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: take 2 Created 6 years, 10 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
« no previous file with comments | « pkg/analysis_server/lib/src/protocol.dart ('k') | pkg/analysis_server/test/protocol_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/mocks.dart
diff --git a/pkg/analysis_server/test/mocks.dart b/pkg/analysis_server/test/mocks.dart
index c8b8078ccc431f9b3400795c841c096330133f90..7b898cbd4f53e7f059cc18d9ae99b47d009dd36c 100644
--- a/pkg/analysis_server/test/mocks.dart
+++ b/pkg/analysis_server/test/mocks.dart
@@ -5,7 +5,6 @@
library mocks;
import 'dart:async';
-import 'dart:convert';
import 'dart:io';
/**
@@ -13,10 +12,6 @@ import 'dart:io';
*/
class MockSocket<T> implements WebSocket {
- final JsonEncoder jsonEncoder = const JsonEncoder(null);
-
- final JsonDecoder jsonDecoder = const JsonDecoder(null);
-
StreamController controller = new StreamController();
MockSocket twin;
Stream stream;
@@ -50,4 +45,4 @@ class MockSocket<T> implements WebSocket {
Stream<T> where(bool test(T)) => stream.where(test);
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
+}
« no previous file with comments | « pkg/analysis_server/lib/src/protocol.dart ('k') | pkg/analysis_server/test/protocol_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698