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

Unified Diff: pkg/analysis_server/test/channel/web_socket_channel_test.dart

Issue 1855643002: More strong mode changes to analysis_server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Backout changes to options file Created 4 years, 9 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/channel/web_socket_channel_test.dart
diff --git a/pkg/analysis_server/test/channel/web_socket_channel_test.dart b/pkg/analysis_server/test/channel/web_socket_channel_test.dart
index a9d42edeb54ad1da2d645a0a79ce6e7ca0b6201d..77c47bcc15fe1eaf8b10af7bf09f84639e3ca3bd 100644
--- a/pkg/analysis_server/test/channel/web_socket_channel_test.dart
+++ b/pkg/analysis_server/test/channel/web_socket_channel_test.dart
@@ -35,9 +35,9 @@ class WebSocketChannelTest {
static WebSocketClientChannel client;
static WebSocketServerChannel server;
- static List requestsReceived;
- static List responsesReceived;
- static List notificationsReceived;
+ static List<Request> requestsReceived;
+ static List<Response> responsesReceived;
+ static List<Notification> notificationsReceived;
static Future close() {
var timeout = new Duration(seconds: 1);
@@ -144,9 +144,9 @@ class WebSocketChannelTest {
server = new WebSocketServerChannel(
socket.twin, InstrumentationService.NULL_SERVICE);
- requestsReceived = [];
- responsesReceived = [];
- notificationsReceived = [];
+ requestsReceived = <Request>[];
+ responsesReceived = <Response>[];
+ notificationsReceived = <Notification>[];
// Allow multiple listeners on server side for testing.
socket.twin.allowMultipleListeners();
« no previous file with comments | « pkg/analysis_server/lib/src/status/validator.dart ('k') | pkg/analysis_server/test/context_manager_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698