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

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

Issue 456613004: Integration test search.getTypeHierarchy and make some minor fixes. (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 46915d75df9f333646c1cf7941249791134a0d36..8a68f6744c7735853a16681cf981b84540a8f692 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -516,11 +516,11 @@ final Matcher isSearchGetTypeHierarchyParams = new MatchesJsonObject(
* search.getTypeHierarchy result
*
* {
- * "hierarchyItems": List<TypeHierarchyItem>
+ * "hierarchyItems": optional List<TypeHierarchyItem>
* }
*/
final Matcher isSearchGetTypeHierarchyResult = new MatchesJsonObject(
- "search.getTypeHierarchy result", {
+ "search.getTypeHierarchy result", null, optionalFields: {
"hierarchyItems": isListOf(isTypeHierarchyItem)
});

Powered by Google App Engine
This is Rietveld 408576698