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

Unified Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 1232393005: Add notification of analyzed files (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: pkg/analysis_server/test/integration/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index fbb40a8f7b9613cb2f962ab9ef49c70c93166a55..944edb6364cd353eb3d9b596315e997ebdb6a02a 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -243,6 +243,23 @@ final Matcher isAnalysisSetAnalysisRootsParams = new LazyMatcher(() => new Match
final Matcher isAnalysisSetAnalysisRootsResult = isNull;
/**
+ * analysis.setGeneralSubscriptions params
+ *
+ * {
+ * "subscriptions": List<GeneralAnalysisService>
+ * }
+ */
+final Matcher isAnalysisSetGeneralSubscriptionsParams = new LazyMatcher(() => new MatchesJsonObject(
+ "analysis.setGeneralSubscriptions params", {
+ "subscriptions": isListOf(isGeneralAnalysisService)
+ }));
+
+/**
+ * analysis.setGeneralSubscriptions result
+ */
+final Matcher isAnalysisSetGeneralSubscriptionsResult = isNull;
+
+/**
* analysis.setPriorityFiles params
*
* {
@@ -315,6 +332,18 @@ final Matcher isAnalysisUpdateOptionsParams = new LazyMatcher(() => new MatchesJ
final Matcher isAnalysisUpdateOptionsResult = isNull;
/**
+ * analysis.analyzedFiles params
+ *
+ * {
+ * "directories": List<FilePath>
+ * }
+ */
+final Matcher isAnalysisAnalyzedFilesParams = new LazyMatcher(() => new MatchesJsonObject(
+ "analysis.analyzedFiles params", {
+ "directories": isListOf(isFilePath)
+ }));
+
+/**
* analysis.errors params
*
* {
@@ -1345,6 +1374,17 @@ final Matcher isFoldingRegion = new LazyMatcher(() => new MatchesJsonObject(
}));
/**
+ * GeneralAnalysisService
+ *
+ * enum {
+ * ANALYZED_FILES
+ * }
+ */
+final Matcher isGeneralAnalysisService = new MatchesEnum("GeneralAnalysisService", [
+ "ANALYZED_FILES"
+]);
+
+/**
* HighlightRegion
*
* {

Powered by Google App Engine
This is Rietveld 408576698