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

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

Issue 868893003: update analysis server spec and regen files (Closed) Base URL: https://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
diff --git a/pkg/analysis_server/test/integration/integration_test_methods.dart b/pkg/analysis_server/test/integration/integration_test_methods.dart
index b21b103da2bba655f9c76f16dcf4e328d520b24d..2158ed6d9fec2be709c10092948e4345e92acb81 100644
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
@@ -468,13 +468,15 @@ abstract class IntegrationTestMixin {
*
* A table mapping the files whose content has changed to a description of
* the content change.
+ *
+ * Returns
*/
- Future sendAnalysisUpdateContent(Map<String, dynamic> files) {
+ Future<AnalysisUpdateContentResult> sendAnalysisUpdateContent(Map<String, dynamic> files) {
var params = new AnalysisUpdateContentParams(files).toJson();
return server.send("analysis.updateContent", params)
.then((result) {
- expect(result, isNull);
- return null;
+ ResponseDecoder decoder = new ResponseDecoder(null);
+ return new AnalysisUpdateContentResult.fromJson(decoder, 'result', result);
});
}
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698