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 2742fcf29d0ddf280f6839adf968f8923d02779f..18e482c24c174ba6c23a6deb699601d7be67de8b 100644 |
--- a/pkg/analysis_server/test/context_manager_test.dart |
+++ b/pkg/analysis_server/test/context_manager_test.dart |
@@ -15,6 +15,7 @@ import 'package:analyzer/src/generated/source.dart'; |
import 'package:analyzer/src/generated/source_io.dart'; |
import 'package:package_config/packages.dart'; |
import 'package:path/path.dart'; |
+import 'package:plugin/manager.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
import 'package:unittest/unittest.dart'; |
@@ -90,6 +91,10 @@ class AbstractContextManagerTest { |
manager.callbacks = callbacks; |
resourceProvider.newFolder(projPath); |
ContextManagerImpl.ENABLE_PACKAGESPEC_SUPPORT = true; |
+ |
+ // Options processing is required in context creation. |
+ ExtensionManager em = new ExtensionManager(); |
+ em.processPlugins([AnalysisEngine.instance.optionsPlugin]); |
} |
void tearDown() { |