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

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

Issue 3001723002: Update edit.importElements response data to support part files (Closed)
Patch Set: Created 3 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/support/integration_test_methods.dart
diff --git a/pkg/analysis_server/test/integration/support/integration_test_methods.dart b/pkg/analysis_server/test/integration/support/integration_test_methods.dart
index d3e63a698c3c217213cb12773bdf30db26d8ce5d..2580f2cfc8501fa62554ddf44b45a1914a3b5c89 100644
--- a/pkg/analysis_server/test/integration/support/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/support/integration_test_methods.dart
@@ -1665,10 +1665,13 @@ abstract class IntegrationTestMixin {
*
* Returns
*
- * edits: List<SourceEdit>
+ * edit: SourceFileEdit
*
- * The edit(s) to be applied in order to make the specified elements
- * accessible.
+ * The edits to be applied in order to make the specified elements
+ * accessible. The file to be edited will be the defining compilation unit
+ * of the library containing the file specified in the request, which can
+ * be different than the file specified in the request if the specified
+ * file is a part file.
*/
Future<EditImportElementsResult> sendEditImportElements(
String file, List<ImportedElements> elements) async {

Powered by Google App Engine
This is Rietveld 408576698