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

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

Issue 2936123002: Convert more tests (Closed)
Patch Set: Created 3 years, 6 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
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,
« no previous file with comments | « pkg/analysis_server/test/analysis/update_content_test.dart ('k') | pkg/analysis_server/test/edit/refactoring_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698