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

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

Issue 874373003: Library dependencies server API updates (to pass package maps). (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/protocol_matchers.dart
===================================================================
--- pkg/analysis_server/test/integration/protocol_matchers.dart (revision 43154)
+++ pkg/analysis_server/test/integration/protocol_matchers.dart (working copy)
@@ -155,11 +155,13 @@
*
* {
* "libraries": List<FilePath>
+ * "packageMap": Map<String, Map<String, List<FilePath>>>
* }
*/
final Matcher isAnalysisGetLibraryDependenciesResult = new LazyMatcher(() => new MatchesJsonObject(
"analysis.getLibraryDependencies result", {
- "libraries": isListOf(isFilePath)
+ "libraries": isListOf(isFilePath),
+ "packageMap": isMapOf(isString, isMapOf(isString, isListOf(isFilePath)))
}));
/**

Powered by Google App Engine
This is Rietveld 408576698