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

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

Issue 2570623002: Fix bug when packages file changes in new driver (Closed)
Patch Set: clear file state Created 4 years 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/single_context_manager_test.dart
diff --git a/pkg/analysis_server/test/single_context_manager_test.dart b/pkg/analysis_server/test/single_context_manager_test.dart
index 3e5bdb279efa35dca772051b6529fb8c57518b6d..33bbd6fbfdaa00384bbe176c92272739b5464a7a 100644
--- a/pkg/analysis_server/test/single_context_manager_test.dart
+++ b/pkg/analysis_server/test/single_context_manager_test.dart
@@ -64,13 +64,13 @@ class SingleContextManagerTest {
packageResolver = new TestUriResolver();
_processRequiredPlugins();
- DartSdkManager sdkManager = new DartSdkManager('', false);
+ DartSdkManager sdkManager = new DartSdkManager('/', false);
manager = new SingleContextManager(resourceProvider, sdkManager,
(_) => packageResolver, analysisFilesGlobs, new AnalysisOptionsImpl());
PerformanceLog logger = new PerformanceLog(new NullStringSink());
AnalysisDriverScheduler scheduler = new AnalysisDriverScheduler(logger);
- callbacks =
- new TestContextManagerCallbacks(resourceProvider, logger, scheduler);
+ callbacks = new TestContextManagerCallbacks(
+ resourceProvider, sdkManager, logger, scheduler);
manager.callbacks = callbacks;
}

Powered by Google App Engine
This is Rietveld 408576698