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

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

Issue 2415413003: Remove unused method and field from DartSdkManager (Closed)
Patch Set: Created 4 years, 2 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/lib/src/server/driver.dart ('k') | pkg/analysis_server/test/analysis_server_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis_abstract.dart
diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart
index 40446a9009c8e17d9be55ddea41e374a1e8f02e3..d9f89842f4d150032a9e818ffd7b90adc4d3f39d 100644
--- a/pkg/analysis_server/test/analysis_abstract.dart
+++ b/pkg/analysis_server/test/analysis_abstract.dart
@@ -124,9 +124,12 @@ class AbstractAnalysisTest {
ExtensionManager manager = new ExtensionManager();
manager.processPlugins(plugins);
//
+ // Create an SDK in the mock file system.
+ //
+ new MockSdk(resourceProvider: resourceProvider);
+ //
// Create server
//
- MockSdk sdk = new MockSdk(resourceProvider: resourceProvider);
return new AnalysisServer(
serverChannel,
resourceProvider,
@@ -134,8 +137,7 @@ class AbstractAnalysisTest {
index,
serverPlugin,
new AnalysisServerOptions(),
- new DartSdkManager(
- resourceProvider.convertPath('/'), false, (_) => sdk),
+ new DartSdkManager(resourceProvider.convertPath('/'), false),
InstrumentationService.NULL_SERVICE);
}
« no previous file with comments | « pkg/analysis_server/lib/src/server/driver.dart ('k') | pkg/analysis_server/test/analysis_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698