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 8fbfbc85e14b613c7dc0f1cda3d0233cda36bb03..ff2c77130df70bd881fe44547750c346b3f1b982 100644 |
--- a/pkg/analysis_server/test/analysis_abstract.dart |
+++ b/pkg/analysis_server/test/analysis_abstract.dart |
@@ -75,13 +75,7 @@ class AbstractAnalysisTest { |
AnalysisDomainHandler get analysisHandler => server.handlers |
.singleWhere((handler) => handler is AnalysisDomainHandler); |
- AnalysisOptions get analysisOptions => enableNewAnalysisDriver |
- ? testDiver.analysisOptions |
- : testContext.analysisOptions; |
- |
- bool get enableNewAnalysisDriver => true; |
- |
- AnalysisContext get testContext => server.getAnalysisContext(testFile); |
+ AnalysisOptions get analysisOptions => testDiver.analysisOptions; |
AnalysisDriver get testDiver => server.getAnalysisDriver(testFile); |
@@ -145,7 +139,7 @@ class AbstractAnalysisTest { |
// Create server |
// |
AnalysisServerOptions options = new AnalysisServerOptions(); |
- options.enableNewAnalysisDriver = enableNewAnalysisDriver; |
+ options.enableNewAnalysisDriver = true; |
return new AnalysisServer( |
serverChannel, |
resourceProvider, |