Index: pkg/analysis_server/test/context_manager_test.dart |
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart |
index 95a97b8ac5cd296e566e7ee4b9d139b12dad0b8a..ba4210d71306fa8f5c2628eeb0637631a8702d47 100644 |
--- a/pkg/analysis_server/test/context_manager_test.dart |
+++ b/pkg/analysis_server/test/context_manager_test.dart |
@@ -926,7 +926,7 @@ class TestContextManager extends ContextManager { |
/** |
* The analysis context that was created. |
*/ |
- AnalysisContextImpl currentContext; |
+ AnalysisContext currentContext; |
/** |
* Map from context to the timestamp when the context was created. |
@@ -970,7 +970,7 @@ class TestContextManager extends ContextManager { |
currentContextFilePaths[path] = <String, int>{}; |
currentContextSources[path] = new HashSet<Source>(); |
currentContextPackageUriResolvers[path] = packageUriResolver; |
- currentContext = new AnalysisContextImpl(); |
+ currentContext = AnalysisEngine.instance.createAnalysisContext(); |
currentContext.sourceFactory = new SourceFactory( |
packageUriResolver == null ? [] : [packageUriResolver]); |
return currentContext; |