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

Unified Diff: pkg/analysis_server/test/integration/integration_test_methods.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/integration_test_methods.dart
diff --git a/pkg/analysis_server/test/integration/integration_test_methods.dart b/pkg/analysis_server/test/integration/integration_test_methods.dart
index e176a3025160f491c71f1713a2ef272dcf39311c..6d08310e2af7468b6120e9f6f1da44ff6e756c45 100644
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
@@ -593,13 +593,17 @@ abstract class InttestMixin {
*
* Returns
*
- * hierarchyItems ( List<TypeHierarchyItem> )
+ * hierarchyItems ( optional List<TypeHierarchyItem> )
*
* A list of the types in the requested hierarchy. The first element of the
* list is the item representing the type for which the hierarchy was
* requested. The index of other elements of the list is unspecified, but
* correspond to the integers used to reference supertype and subtype items
* within the items.
+ *
+ * This field will be absent if the code at the given file and offset does
+ * not represent a type, or if the file has not been sufficiently analyzed
+ * to allow a type hierarchy to be produced.
*/
Future sendSearchGetTypeHierarchy(String file, int offset, {bool checkTypes: true}) {
Map<String, dynamic> params = {};

Powered by Google App Engine
This is Rietveld 408576698