Index: pkg/analyzer_cli/test/driver_test.dart |
diff --git a/pkg/analyzer_cli/test/driver_test.dart b/pkg/analyzer_cli/test/driver_test.dart |
index 58b5c1a142fe50e83692e08bdbd6ae6efaae4e70..cacbc2810b8e7a0771624a1e48596df883bbf050 100644 |
--- a/pkg/analyzer_cli/test/driver_test.dart |
+++ b/pkg/analyzer_cli/test/driver_test.dart |
@@ -6,13 +6,15 @@ library analyzer_cli.test.driver; |
import 'dart:io'; |
+import 'package:analyzer/error/error.dart'; |
import 'package:analyzer/plugin/options.dart'; |
import 'package:analyzer/source/analysis_options_provider.dart'; |
import 'package:analyzer/source/error_processor.dart'; |
+import 'package:analyzer/src/error/codes.dart'; |
import 'package:analyzer/src/generated/engine.dart'; |
-import 'package:analyzer/src/generated/error.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
import 'package:analyzer/src/services/lint.dart'; |
+import 'package:analyzer/src/task/options.dart'; |
import 'package:analyzer_cli/src/driver.dart'; |
import 'package:analyzer_cli/src/options.dart'; |
import 'package:path/path.dart' as path; |
@@ -204,6 +206,7 @@ main() { |
}); |
}); |
} |
+ |
createTests('old', AnalysisEngine.ANALYSIS_OPTIONS_FILE); |
createTests('new', AnalysisEngine.ANALYSIS_OPTIONS_YAML_FILE); |
}); |
@@ -303,6 +306,7 @@ linter: |
}); |
}); |
} |
+ |
createTests('old', AnalysisEngine.ANALYSIS_OPTIONS_FILE); |
createTests('new', AnalysisEngine.ANALYSIS_OPTIONS_YAML_FILE); |
}); |
@@ -351,6 +355,7 @@ linter: |
}); |
}); |
} |
+ |
createTests('old', AnalysisEngine.ANALYSIS_OPTIONS_FILE); |
createTests('new', AnalysisEngine.ANALYSIS_OPTIONS_YAML_FILE); |
@@ -459,6 +464,7 @@ String findSdkDirForSummaries() { |
return new File(path.join(sdkDir, 'lib', '_internal', 'spec.sum')) |
.existsSync(); |
} |
+ |
// Usually the sdk directory is the parent of the parent of the "dart" |
// executable. |
Directory executableParent = new File(Platform.executable).parent; |