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

Unified Diff: pkg/analysis_server/test/integration/edit/organize_directives_test.dart

Issue 2710193002: Update the analysis server integration tests to always run on the analysis driver. (Closed)
Patch Set: Created 3 years, 10 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/integration/edit/organize_directives_test.dart
diff --git a/pkg/analysis_server/test/integration/edit/organize_directives_test.dart b/pkg/analysis_server/test/integration/edit/organize_directives_test.dart
index 3356a66a7d9a001041a46612a06565e5691aceb2..c0277e08b02b877efbc930c868bc94c435b5f8f5 100644
--- a/pkg/analysis_server/test/integration/edit/organize_directives_test.dart
+++ b/pkg/analysis_server/test/integration/edit/organize_directives_test.dart
@@ -28,10 +28,12 @@ int minified(int x, int y) => min(x, y);
writeFile(pathname, text);
standardAnalysisSetup();
- EditOrganizeDirectivesResult result = await sendEditOrganizeDirectives(pathname);
+ EditOrganizeDirectivesResult result =
+ await sendEditOrganizeDirectives(pathname);
SourceFileEdit edit = result.edit;
expect(edit.edits, hasLength(1));
- expect(edit.edits.first.replacement, "import 'dart:async';\nimport 'dart:math");
+ expect(edit.edits.first.replacement,
+ "import 'dart:async';\nimport 'dart:math");
}
test_organize_directives_no_changes() async {
@@ -46,7 +48,8 @@ int minified(int x, int y) => min(x, y);
writeFile(pathname, text);
standardAnalysisSetup();
- EditOrganizeDirectivesResult result = await sendEditOrganizeDirectives(pathname);
+ EditOrganizeDirectivesResult result =
+ await sendEditOrganizeDirectives(pathname);
SourceFileEdit edit = result.edit;
expect(edit.edits, isEmpty);
}
@@ -69,7 +72,4 @@ int minified(int x, int y) => min(x, y);
expect(message.error['code'], 'ORGANIZE_DIRECTIVES_ERROR');
}
}
-
- @override
- bool get enableNewAnalysisDriver => true;
}

Powered by Google App Engine
This is Rietveld 408576698