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

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

Issue 1325543006: Add the optional 'superOnly' request parameter for 'search.getTypeHierarchy'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 349e3f2700f9f45be7606b6f0ff7cba626f49aad..dfef91e16d1fd8df7998d9c0f76556dacedfc009 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -629,12 +629,15 @@ final Matcher isSearchFindTopLevelDeclarationsResult = new LazyMatcher(() => new
* {
* "file": FilePath
* "offset": int
+ * "superOnly": optional bool
* }
*/
final Matcher isSearchGetTypeHierarchyParams = new LazyMatcher(() => new MatchesJsonObject(
"search.getTypeHierarchy params", {
"file": isFilePath,
"offset": isInt
+ }, optionalFields: {
+ "superOnly": isBool
}));
/**

Powered by Google App Engine
This is Rietveld 408576698