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

Side by Side Diff: pkg/analysis_server/test/integration/support/protocol_matchers.dart

Issue 3000823002: Forward Kythe requests to plugins and merge in the results (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 /** 9 /**
10 * Matchers for data types defined in the analysis server API 10 * Matchers for data types defined in the analysis server API
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 * RequestErrorCode 1070 * RequestErrorCode
1071 * 1071 *
1072 * enum { 1072 * enum {
1073 * CONTENT_MODIFIED 1073 * CONTENT_MODIFIED
1074 * DEBUG_PORT_COULD_NOT_BE_OPENED 1074 * DEBUG_PORT_COULD_NOT_BE_OPENED
1075 * FILE_NOT_ANALYZED 1075 * FILE_NOT_ANALYZED
1076 * FORMAT_INVALID_FILE 1076 * FORMAT_INVALID_FILE
1077 * FORMAT_WITH_ERRORS 1077 * FORMAT_WITH_ERRORS
1078 * GET_ERRORS_INVALID_FILE 1078 * GET_ERRORS_INVALID_FILE
1079 * GET_IMPORTED_ELEMENTS_INVALID_FILE 1079 * GET_IMPORTED_ELEMENTS_INVALID_FILE
1080 * GET_KYTHE_ENTRIES_INVALID_FILE
1080 * GET_NAVIGATION_INVALID_FILE 1081 * GET_NAVIGATION_INVALID_FILE
1081 * GET_REACHABLE_SOURCES_INVALID_FILE 1082 * GET_REACHABLE_SOURCES_INVALID_FILE
1082 * IMPORT_ELEMENTS_INVALID_FILE 1083 * IMPORT_ELEMENTS_INVALID_FILE
1083 * INVALID_ANALYSIS_ROOT 1084 * INVALID_ANALYSIS_ROOT
1084 * INVALID_EXECUTION_CONTEXT 1085 * INVALID_EXECUTION_CONTEXT
1085 * INVALID_FILE_PATH_FORMAT 1086 * INVALID_FILE_PATH_FORMAT
1086 * INVALID_OVERLAY_CHANGE 1087 * INVALID_OVERLAY_CHANGE
1087 * INVALID_PARAMETER 1088 * INVALID_PARAMETER
1088 * INVALID_REQUEST 1089 * INVALID_REQUEST
1089 * ORGANIZE_DIRECTIVES_ERROR 1090 * ORGANIZE_DIRECTIVES_ERROR
1090 * REFACTORING_REQUEST_CANCELLED 1091 * REFACTORING_REQUEST_CANCELLED
1091 * SERVER_ALREADY_STARTED 1092 * SERVER_ALREADY_STARTED
1092 * SERVER_ERROR 1093 * SERVER_ERROR
1093 * SORT_MEMBERS_INVALID_FILE 1094 * SORT_MEMBERS_INVALID_FILE
1094 * SORT_MEMBERS_PARSE_ERRORS 1095 * SORT_MEMBERS_PARSE_ERRORS
1095 * UNANALYZED_PRIORITY_FILES 1096 * UNANALYZED_PRIORITY_FILES
1096 * UNKNOWN_REQUEST 1097 * UNKNOWN_REQUEST
1097 * UNKNOWN_SOURCE 1098 * UNKNOWN_SOURCE
1098 * UNSUPPORTED_FEATURE 1099 * UNSUPPORTED_FEATURE
1099 * } 1100 * }
1100 */ 1101 */
1101 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [ 1102 final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
1102 "CONTENT_MODIFIED", 1103 "CONTENT_MODIFIED",
1103 "DEBUG_PORT_COULD_NOT_BE_OPENED", 1104 "DEBUG_PORT_COULD_NOT_BE_OPENED",
1104 "FILE_NOT_ANALYZED", 1105 "FILE_NOT_ANALYZED",
1105 "FORMAT_INVALID_FILE", 1106 "FORMAT_INVALID_FILE",
1106 "FORMAT_WITH_ERRORS", 1107 "FORMAT_WITH_ERRORS",
1107 "GET_ERRORS_INVALID_FILE", 1108 "GET_ERRORS_INVALID_FILE",
1108 "GET_IMPORTED_ELEMENTS_INVALID_FILE", 1109 "GET_IMPORTED_ELEMENTS_INVALID_FILE",
1110 "GET_KYTHE_ENTRIES_INVALID_FILE",
1109 "GET_NAVIGATION_INVALID_FILE", 1111 "GET_NAVIGATION_INVALID_FILE",
1110 "GET_REACHABLE_SOURCES_INVALID_FILE", 1112 "GET_REACHABLE_SOURCES_INVALID_FILE",
1111 "IMPORT_ELEMENTS_INVALID_FILE", 1113 "IMPORT_ELEMENTS_INVALID_FILE",
1112 "INVALID_ANALYSIS_ROOT", 1114 "INVALID_ANALYSIS_ROOT",
1113 "INVALID_EXECUTION_CONTEXT", 1115 "INVALID_EXECUTION_CONTEXT",
1114 "INVALID_FILE_PATH_FORMAT", 1116 "INVALID_FILE_PATH_FORMAT",
1115 "INVALID_OVERLAY_CHANGE", 1117 "INVALID_OVERLAY_CHANGE",
1116 "INVALID_PARAMETER", 1118 "INVALID_PARAMETER",
1117 "INVALID_REQUEST", 1119 "INVALID_REQUEST",
1118 "ORGANIZE_DIRECTIVES_ERROR", 1120 "ORGANIZE_DIRECTIVES_ERROR",
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 * server.status params 2630 * server.status params
2629 * 2631 *
2630 * { 2632 * {
2631 * "analysis": optional AnalysisStatus 2633 * "analysis": optional AnalysisStatus
2632 * "pub": optional PubStatus 2634 * "pub": optional PubStatus
2633 * } 2635 * }
2634 */ 2636 */
2635 final Matcher isServerStatusParams = new LazyMatcher(() => 2637 final Matcher isServerStatusParams = new LazyMatcher(() =>
2636 new MatchesJsonObject("server.status params", null, 2638 new MatchesJsonObject("server.status params", null,
2637 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus})); 2639 optionalFields: {"analysis": isAnalysisStatus, "pub": isPubStatus}));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698