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

Unified Diff: pkg/analyzer_cli/test/driver_test.dart

Issue 2963323002: Add analytics to analyzer-cli and analysis server. (Closed)
Patch Set: update from review comments Created 3 years, 5 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
« no previous file with comments | « pkg/analyzer_cli/test/analysis_options_test.dart ('k') | pkg/analyzer_cli/test/embedder_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 614712ef06886b93a4e649fca58113c5f185eba7..fb7db7ea997397717e6584f3daf9897bed4a762f 100644
--- a/pkg/analyzer_cli/test/driver_test.dart
+++ b/pkg/analyzer_cli/test/driver_test.dart
@@ -111,7 +111,7 @@ main() {
});
test('non-dangling part file', () async {
- Driver driver = new Driver();
+ Driver driver = new Driver(isTesting: true);
await driver.start([
path.join(testDirectory, 'data/library_and_parts/lib.dart'),
path.join(testDirectory, 'data/library_and_parts/part1.dart')
@@ -120,7 +120,7 @@ main() {
});
test('extra part file', () async {
- Driver driver = new Driver();
+ Driver driver = new Driver(isTesting: true);
await driver.start([
path.join(testDirectory, 'data/library_and_parts/lib.dart'),
path.join(testDirectory, 'data/library_and_parts/part1.dart'),
@@ -140,7 +140,7 @@ main() {
Directory origWorkingDir = Directory.current;
try {
Directory.current = path.join(tempDirPath, 'proj');
- Driver driver = new Driver();
+ Driver driver = new Driver(isTesting: true);
try {
await driver.start([
path.join('lib', 'file.dart'),
@@ -551,7 +551,7 @@ String adjustFileSpec(String fileSpec) {
Future<Null> drive(String source,
{String options: emptyOptionsFile,
List<String> args: const <String>[]}) async {
- driver = new Driver();
+ driver = new Driver(isTesting: true);
var cmd = [
'--options',
path.join(testDirectory, options),
« no previous file with comments | « pkg/analyzer_cli/test/analysis_options_test.dart ('k') | pkg/analyzer_cli/test/embedder_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698