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 ba79457b91a511457018a03dfb3a2f87d0920ac9..a961aaea26381f35e765479fd6b537fbe8f9145c 100644 |
--- a/pkg/analysis_server/test/socket_server_test.dart |
+++ b/pkg/analysis_server/test/socket_server_test.dart |
@@ -17,8 +17,10 @@ import 'package:plugin/manager.dart'; |
import 'package:unittest/unittest.dart'; |
import 'mocks.dart'; |
+import 'utils.dart'; |
main() { |
+ initializeTestEnvironment(); |
group('SocketServer', () { |
test('createAnalysisServer_successful', |
SocketServerTest.createAnalysisServer_successful); |
@@ -109,9 +111,13 @@ class SocketServerTest { |
ServerPlugin serverPlugin = new ServerPlugin(); |
ExtensionManager manager = new ExtensionManager(); |
manager.processPlugins([serverPlugin]); |
- return new SocketServer(new AnalysisServerOptions(), |
- DirectoryBasedDartSdk.defaultSdk, InstrumentationService.NULL_SERVICE, |
- serverPlugin, null, null); |
+ return new SocketServer( |
+ new AnalysisServerOptions(), |
+ DirectoryBasedDartSdk.defaultSdk, |
+ InstrumentationService.NULL_SERVICE, |
+ serverPlugin, |
+ null, |
+ null); |
} |
} |