Index: pkg/analysis_server/test/domain_analysis_test.dart |
diff --git a/pkg/analysis_server/test/domain_analysis_test.dart b/pkg/analysis_server/test/domain_analysis_test.dart |
index ad5319e33fac33839cf50e8d445bcafd06196e99..45ca634ee4d932024384b498b3665165d4b3f361 100644 |
--- a/pkg/analysis_server/test/domain_analysis_test.dart |
+++ b/pkg/analysis_server/test/domain_analysis_test.dart |
@@ -13,6 +13,7 @@ import 'package:analysis_server/src/domain_analysis.dart'; |
import 'package:analysis_server/src/plugin/server_plugin.dart'; |
import 'package:analyzer/file_system/memory_file_system.dart'; |
import 'package:analyzer/instrumentation/instrumentation.dart'; |
+import 'package:analyzer/src/generated/sdk.dart'; |
import 'package:path/path.dart'; |
import 'package:plugin/manager.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
@@ -47,7 +48,7 @@ main() { |
null, |
serverPlugin, |
new AnalysisServerOptions(), |
- (_) => new MockSdk(), |
+ new DartSdkManager('', false, (_) => new MockSdk()), |
InstrumentationService.NULL_SERVICE); |
handler = new AnalysisDomainHandler(server); |
}); |
@@ -474,7 +475,7 @@ class AnalysisTestHelper { |
null, |
serverPlugin, |
new AnalysisServerOptions(), |
- (_) => new MockSdk(), |
+ new DartSdkManager('', false, (_) => new MockSdk()), |
InstrumentationService.NULL_SERVICE); |
handler = new AnalysisDomainHandler(server); |
// listen for notifications |