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

Unified Diff: pkg/analysis_server/test/integration/analysis/highlights_test2.dart

Issue 2286923002: Convert analysis server over to use ContextBuilder (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: address comment, fix bugs, clean-up Created 4 years, 4 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/analysis/highlights_test2.dart
diff --git a/pkg/analysis_server/test/integration/analysis/highlights_test2.dart b/pkg/analysis_server/test/integration/analysis/highlights_test2.dart
index bd07449894ad0b1d8a51bfed8d125c4b11678b01..c8d75eec3b4a5ad469586a50317438ed7affacc2 100644
--- a/pkg/analysis_server/test/integration/analysis/highlights_test2.dart
+++ b/pkg/analysis_server/test/integration/analysis/highlights_test2.dart
@@ -20,10 +20,12 @@ main() {
@reflectiveTest
class AnalysisHighlightsTest extends AbstractAnalysisServerIntegrationTest {
- Future startServer({int servicesPort, bool checked: true}) {
+ Future startServer(
+ {bool checked: true, int diagnosticPort, int servicesPort}) {
return server.start(
- servicesPort: servicesPort,
checked: checked,
+ diagnosticPort: diagnosticPort,
+ servicesPort: servicesPort,
useAnalysisHighlight2: true);
}
@@ -109,6 +111,7 @@ int topLevelVariable;
expect(highlights[type], equals(expected.toSet()));
highlights.remove(type);
}
+
check(HighlightRegionType.ANNOTATION, ['@override']);
check(HighlightRegionType.BUILT_IN,
['as', 'get', 'import', 'set', 'static', 'typedef']);

Powered by Google App Engine
This is Rietveld 408576698