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

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

Issue 825393005: 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32970af3a66963cfe18cad21e535cab330e48bd7..723fda1e4b99a0bbaacb9f988e064b173685b48d 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -988,6 +988,7 @@ final Matcher isAnalysisErrorType = new MatchesEnum("AnalysisErrorType", [
* "generateDart2jsHints": optional bool
* "generateHints": optional bool
* "generateLints": optional bool
+ * "fileReadMode": optional FileReadMode
* }
*/
final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject(
@@ -997,7 +998,8 @@ final Matcher isAnalysisOptions = new LazyMatcher(() => new MatchesJsonObject(
"enableEnums": isBool,
"generateDart2jsHints": isBool,
"generateHints": isBool,
- "generateLints": isBool
+ "generateLints": isBool,
+ "fileReadMode": isFileReadMode
}));
/**
@@ -1260,6 +1262,19 @@ final Matcher isExecutionService = new MatchesEnum("ExecutionService", [
final Matcher isFilePath = isString;
/**
+ * FileReadMode
+ *
+ * enum {
+ * AS_IS
+ * NORMALIZE_EOL
+ * }
+ */
+final Matcher isFileReadMode = new MatchesEnum("FileReadMode", [
+ "AS_IS",
+ "NORMALIZE_EOL"
+]);
+
+/**
* FoldingKind
*
* enum {
« 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