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

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

Issue 1027433002: Temporarily move plugin support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
« no previous file with comments | « pkg/analysis_server/test/plugin/test_all.dart ('k') | pkg/analysis_server/test/test_all.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5bc695acad48343e616efd081b5802121f971b91..5b4f5f0740673ac54b39c644934852ed7290c147 100644
--- a/pkg/analysis_server/test/socket_server_test.dart
+++ b/pkg/analysis_server/test/socket_server_test.dart
@@ -13,10 +13,10 @@ import 'package:analysis_server/src/protocol.dart';
import 'package:analysis_server/src/socket_server.dart';
import 'package:analyzer/instrumentation/instrumentation.dart';
import 'package:analyzer/src/generated/sdk_io.dart';
+import 'package:analyzer/src/plugin/plugin_impl.dart';
import 'package:unittest/unittest.dart';
import 'mocks.dart';
-import 'package:analysis_server/src/plugin/plugin_impl.dart';
main() {
group('SocketServer', () {
@@ -44,8 +44,9 @@ class SocketServerTest {
expect(channel2.responsesReceived[0].error, isNotNull);
expect(channel2.responsesReceived[0].error.code,
equals(RequestErrorCode.SERVER_ALREADY_STARTED));
- channel2.sendRequest(new ServerShutdownParams().toRequest('0')).then(
- (Response response) {
+ channel2
+ .sendRequest(new ServerShutdownParams().toRequest('0'))
+ .then((Response response) {
expect(response.id, equals('0'));
expect(response.error, isNotNull);
expect(
@@ -60,8 +61,9 @@ class SocketServerTest {
server.createAnalysisServer(channel);
channel.expectMsgCount(notificationCount: 1);
expect(channel.notificationsReceived[0].event, SERVER_CONNECTED);
- return channel.sendRequest(new ServerShutdownParams().toRequest('0')).then(
- (Response response) {
+ return channel
+ .sendRequest(new ServerShutdownParams().toRequest('0'))
+ .then((Response response) {
expect(response.id, equals('0'));
expect(response.error, isNull);
channel.expectMsgCount(responseCount: 1, notificationCount: 1);
« no previous file with comments | « pkg/analysis_server/test/plugin/test_all.dart ('k') | pkg/analysis_server/test/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698