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

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

Issue 497393002: Make more use of generated code in analysis server. (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/socket_server_test.dart
diff --git a/pkg/analysis_server/test/socket_server_test.dart b/pkg/analysis_server/test/socket_server_test.dart
index 4f39c6acb7b6bc5c4922ffbdd1ed52fe31cc5198..744a4d6c2a2fa10491b3b1c100ba0da2d8fdf0da 100644
--- a/pkg/analysis_server/test/socket_server_test.dart
+++ b/pkg/analysis_server/test/socket_server_test.dart
@@ -30,7 +30,7 @@ class SocketServerTest {
server.createAnalysisServer(channel);
channel.expectMsgCount(notificationCount: 1);
expect(channel.notificationsReceived[0].event, SERVER_CONNECTED);
- expect(channel.notificationsReceived[0].params, isEmpty);
+ expect(channel.notificationsReceived[0].params, isNull);
return channel.sendRequest(
new Request('0', SERVER_SHUTDOWN)
).then((Response response) {
@@ -46,7 +46,7 @@ class SocketServerTest {
MockServerChannel channel2 = new MockServerChannel();
server.createAnalysisServer(channel1);
expect(channel1.notificationsReceived[0].event, SERVER_CONNECTED);
- expect(channel1.notificationsReceived[0].params, isEmpty);
+ expect(channel1.notificationsReceived[0].params, isNull);
server.createAnalysisServer(channel2);
channel1.expectMsgCount(notificationCount: 1);
channel2.expectMsgCount(responseCount: 1);

Powered by Google App Engine
This is Rietveld 408576698