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

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

Issue 838243004: Revert "Addition of the optional FileReadMode into the server spec." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 /** 981 /**
982 * AnalysisOptions 982 * AnalysisOptions
983 * 983 *
984 * { 984 * {
985 * "enableAsync": optional bool 985 * "enableAsync": optional bool
986 * "enableDeferredLoading": optional bool 986 * "enableDeferredLoading": optional bool
987 * "enableEnums": optional bool 987 * "enableEnums": optional bool
988 * "generateDart2jsHints": optional bool 988 * "generateDart2jsHints": optional bool
989 * "generateHints": optional bool 989 * "generateHints": optional bool
990 * "generateLints": optional bool 990 * "generateLints": optional bool
991 * "fileReadMode": optional FileReadMode
992 * } 991 * }
993 */ 992 */
994 final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject( 993 final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject(
995 "AnalysisOptions", null, optionalFields: { 994 "AnalysisOptions", null, optionalFields: {
996 "enableAsync": isBool, 995 "enableAsync": isBool,
997 "enableDeferredLoading": isBool, 996 "enableDeferredLoading": isBool,
998 "enableEnums": isBool, 997 "enableEnums": isBool,
999 "generateDart2jsHints": isBool, 998 "generateDart2jsHints": isBool,
1000 "generateHints": isBool, 999 "generateHints": isBool,
1001 "generateLints": isBool, 1000 "generateLints": isBool
1002 "fileReadMode": isFileReadMode
1003 })); 1001 }));
1004 1002
1005 /** 1003 /**
1006 * AnalysisService 1004 * AnalysisService
1007 * 1005 *
1008 * enum { 1006 * enum {
1009 * FOLDING 1007 * FOLDING
1010 * HIGHLIGHTS 1008 * HIGHLIGHTS
1011 * INVALIDATE 1009 * INVALIDATE
1012 * NAVIGATION 1010 * NAVIGATION
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 ]); 1253 ]);
1256 1254
1257 /** 1255 /**
1258 * FilePath 1256 * FilePath
1259 * 1257 *
1260 * String 1258 * String
1261 */ 1259 */
1262 final Matcher isFilePath = isString; 1260 final Matcher isFilePath = isString;
1263 1261
1264 /** 1262 /**
1265 * FileReadMode
1266 *
1267 * enum {
1268 * AS_IS
1269 * NORMALIZE_EOL
1270 * }
1271 */
1272 final Matcher isFileReadMode = new MatchesEnum("FileReadMode", [
1273 "AS_IS",
1274 "NORMALIZE_EOL"
1275 ]);
1276
1277 /**
1278 * FoldingKind 1263 * FoldingKind
1279 * 1264 *
1280 * enum { 1265 * enum {
1281 * COMMENT 1266 * COMMENT
1282 * CLASS_MEMBER 1267 * CLASS_MEMBER
1283 * DIRECTIVES 1268 * DIRECTIVES
1284 * DOCUMENTATION_COMMENT 1269 * DOCUMENTATION_COMMENT
1285 * TOP_LEVEL_DECLARATION 1270 * TOP_LEVEL_DECLARATION
1286 * } 1271 * }
1287 */ 1272 */
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
2143 * 2128 *
2144 * { 2129 * {
2145 * "newName": String 2130 * "newName": String
2146 * } 2131 * }
2147 */ 2132 */
2148 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2133 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2149 "rename options", { 2134 "rename options", {
2150 "newName": isString 2135 "newName": isString
2151 })); 2136 }));
2152 2137
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698