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

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

Issue 472373002: Support potential edits (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 9ffd6190fed41bb67dddd920e44194499c10e464..2c52723efde6572c1bd2e89905de5b4523e5b558 100644
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
@@ -1146,9 +1146,19 @@ abstract class IntegrationTestMixin {
* change ( optional SourceChange )
*
* The changes that are to be applied to affect the refactoring. This field
- * will be omitted if there are problems that prevent a set of changed from
+ * will be omitted if there are problems that prevent a set of changes from
* being computed, such as having no options specified for a refactoring
* that requires them, or if only validation was requested.
+ *
+ * potentialChanges ( optional List<String> )
+ *
+ * The ids of source edits that are not known to be valid. An edit is not
+ * known to be valid if there was insufficient type information for the
+ * server to be able to determine whether or not the code needs to be
+ * modified, such as when a member is being renamed and there is a
+ * reference to a member from an unknown type. This field will be omitted
+ * if the change field is omitted or if there are no potential edits for
+ * the refactoring.
*/
Future sendEditGetRefactoring(String kindId, String file, int offset, int length, bool validateOnly, {Map<String, dynamic> options, bool checkTypes: true}) {
Map<String, dynamic> params = {};

Powered by Google App Engine
This is Rietveld 408576698