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

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

Issue 861893003: Library Dependencies Analysis service API. (Closed) Base URL: http://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
Index: pkg/analysis_server/test/integration/integration_test_methods.dart
===================================================================
--- pkg/analysis_server/test/integration/integration_test_methods.dart (revision 43031)
+++ pkg/analysis_server/test/integration/integration_test_methods.dart (working copy)
@@ -231,6 +231,25 @@
}
/**
+ * Return a list of all of the directories containing libraries referenced by
+ * any files in existing analysis roots.
+ *
+ * Returns
+ *
+ * directories ( List<FilePath> )
+ *
+ * A list of the paths of directories that contain library elements
+ * referenced by files in existing analysis roots.
+ */
+ Future<AnalysisGetLibraryDependenciesResult> sendAnalysisGetLibraryDependencies() {
+ return server.send("analysis.getLibraryDependencies", null)
+ .then((result) {
+ ResponseDecoder decoder = new ResponseDecoder(null);
+ return new AnalysisGetLibraryDependenciesResult.fromJson(decoder, 'result', result);
+ });
+ }
+
+ /**
* Return the navigation information associated with the given region of the
* given file. If the navigation information for the given file has not yet
* been computed, or the most recently computed navigation information for

Powered by Google App Engine
This is Rietveld 408576698