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

Unified Diff: pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart

Issue 2692373002: Add the notification manager (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/src/plugin/protocol_test_utilities.dart
diff --git a/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart b/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart
index 37a3f014fc6f33ad6a95f3859aeb0b99cee139e2..41706588bbf39e1052f773a2eaa746ad8d3ad5bc 100644
--- a/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart
+++ b/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart
@@ -111,16 +111,16 @@ class ProtocolTestUtilities {
/**
* On return, increment [stringIndex] by 2 (or 3 if no [file] name is
- * provided) and [intIndex] by 6.
+ * provided) and [intIndex] by 4.
*/
plugin.AnalysisNavigationParams pluginNavigationParams(
int stringIndex, int intIndex, {String file}) =>
new plugin.AnalysisNavigationParams(
file ?? fileName(stringIndex++), <plugin.NavigationRegion>[
- new plugin.NavigationRegion(intIndex++, intIndex++, <int>[0])
+ new plugin.NavigationRegion(intIndex++, 2, <int>[0])
], <plugin.NavigationTarget>[
- new plugin.NavigationTarget(plugin.ElementKind.FIELD, 0, intIndex++,
- intIndex++, intIndex++, intIndex++)
+ new plugin.NavigationTarget(
+ plugin.ElementKind.FIELD, 0, intIndex++, 2, intIndex++, intIndex++)
], <String>[
strings[stringIndex++],
strings[stringIndex++]
@@ -230,16 +230,16 @@ class ProtocolTestUtilities {
/**
* On return, increment [stringIndex] by 2 (or 3 if no [file] name is
- * provided) and [intIndex] by 6.
+ * provided) and [intIndex] by 4.
*/
server.AnalysisNavigationParams serverNavigationParams(
int stringIndex, int intIndex, {String file}) =>
new server.AnalysisNavigationParams(
file ?? fileName(stringIndex++), <server.NavigationRegion>[
- new server.NavigationRegion(intIndex++, intIndex++, <int>[0])
+ new server.NavigationRegion(intIndex++, 2, <int>[0])
], <server.NavigationTarget>[
- new server.NavigationTarget(server.ElementKind.FIELD, 0, intIndex++,
- intIndex++, intIndex++, intIndex++)
+ new server.NavigationTarget(
+ server.ElementKind.FIELD, 0, intIndex++, 2, intIndex++, intIndex++)
], <String>[
strings[stringIndex++],
strings[stringIndex++]
« no previous file with comments | « pkg/analysis_server/test/src/plugin/notification_manager_test.dart ('k') | pkg/analysis_server/test/src/plugin/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698