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

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

Issue 508203002: Rename some bools in the analysis server API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 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 61e16a420936ec591a654e1add7fcd9047aed283..e493623979b79071dc9fecdb1b342d8dd95be58b 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -69,14 +69,14 @@ final Matcher isServerConnectedParams = isNull;
* server.error params
*
* {
- * "fatal": bool
+ * "isFatal": bool
* "message": String
* "stackTrace": String
* }
*/
final Matcher isServerErrorParams = new LazyMatcher(() => new MatchesJsonObject(
"server.error params", {
- "fatal": isBool,
+ "isFatal": isBool,
"message": isString,
"stackTrace": isString
}));
@@ -384,7 +384,7 @@ final Matcher isCompletionGetSuggestionsResult = new LazyMatcher(() => new Match
* "replacementOffset": int
* "replacementLength": int
* "results": List<CompletionSuggestion>
- * "last": bool
+ * "isLast": bool
* }
*/
final Matcher isCompletionResultsParams = new LazyMatcher(() => new MatchesJsonObject(
@@ -393,7 +393,7 @@ final Matcher isCompletionResultsParams = new LazyMatcher(() => new MatchesJsonO
"replacementOffset": isInt,
"replacementLength": isInt,
"results": isListOf(isCompletionSuggestion),
- "last": isBool
+ "isLast": isBool
}));
/**
@@ -531,14 +531,14 @@ final Matcher isSearchGetTypeHierarchyResult = new LazyMatcher(() => new Matches
* {
* "id": SearchId
* "results": List<SearchResult>
- * "last": bool
+ * "isLast": bool
* }
*/
final Matcher isSearchResultsParams = new LazyMatcher(() => new MatchesJsonObject(
"search.results params", {
"id": isSearchId,
"results": isListOf(isSearchResult),
- "last": isBool
+ "isLast": isBool
}));
/**
@@ -850,13 +850,13 @@ final Matcher isAnalysisService = new MatchesEnum("AnalysisService", [
* AnalysisStatus
*
* {
- * "analyzing": bool
+ * "isAnalyzing": bool
* "analysisTarget": optional String
* }
*/
final Matcher isAnalysisStatus = new LazyMatcher(() => new MatchesJsonObject(
"AnalysisStatus", {
- "analyzing": isBool
+ "isAnalyzing": isBool
}, optionalFields: {
"analysisTarget": isString
}));

Powered by Google App Engine
This is Rietveld 408576698