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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/spec/generate_files". 7 // "pkg/analysis_server/spec/generate_files".
8 8
9 /** 9 /**
10 * Convenience methods for running integration tests 10 * Convenience methods for running integration tests
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 * feedback ( optional object ) 1139 * feedback ( optional object )
1140 * 1140 *
1141 * Data used to provide feedback to the user. The structure of the data is 1141 * Data used to provide feedback to the user. The structure of the data is
1142 * dependent on the kind of refactoring being created. The data that is 1142 * dependent on the kind of refactoring being created. The data that is
1143 * returned is documented in the section titled Refactorings, labeled as 1143 * returned is documented in the section titled Refactorings, labeled as
1144 * “Feedback”. 1144 * “Feedback”.
1145 * 1145 *
1146 * change ( optional SourceChange ) 1146 * change ( optional SourceChange )
1147 * 1147 *
1148 * The changes that are to be applied to affect the refactoring. This field 1148 * The changes that are to be applied to affect the refactoring. This field
1149 * will be omitted if there are problems that prevent a set of changed from 1149 * will be omitted if there are problems that prevent a set of changes from
1150 * being computed, such as having no options specified for a refactoring 1150 * being computed, such as having no options specified for a refactoring
1151 * that requires them, or if only validation was requested. 1151 * that requires them, or if only validation was requested.
1152 *
1153 * potentialChanges ( optional List<String> )
1154 *
1155 * The ids of source edits that are not known to be valid. An edit is not
1156 * known to be valid if there was insufficient type information for the
1157 * server to be able to determine whether or not the code needs to be
1158 * modified, such as when a member is being renamed and there is a
1159 * reference to a member from an unknown type. This field will be omitted
1160 * if the change field is omitted or if there are no potential edits for
1161 * the refactoring.
1152 */ 1162 */
1153 Future sendEditGetRefactoring(String kindId, String file, int offset, int leng th, bool validateOnly, {Map<String, dynamic> options, bool checkTypes: true}) { 1163 Future sendEditGetRefactoring(String kindId, String file, int offset, int leng th, bool validateOnly, {Map<String, dynamic> options, bool checkTypes: true}) {
1154 Map<String, dynamic> params = {}; 1164 Map<String, dynamic> params = {};
1155 params["kindId"] = kindId; 1165 params["kindId"] = kindId;
1156 params["file"] = file; 1166 params["file"] = file;
1157 params["offset"] = offset; 1167 params["offset"] = offset;
1158 params["length"] = length; 1168 params["length"] = length;
1159 params["validateOnly"] = validateOnly; 1169 params["validateOnly"] = validateOnly;
1160 if (options != null) { 1170 if (options != null) {
1161 params["options"] = options; 1171 params["options"] = options;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 case "debug.launchData": 1452 case "debug.launchData":
1443 expect(params, isDebugLaunchDataParams); 1453 expect(params, isDebugLaunchDataParams);
1444 _onDebugLaunchData.add(params); 1454 _onDebugLaunchData.add(params);
1445 break; 1455 break;
1446 default: 1456 default:
1447 fail('Unexpected notification: $event'); 1457 fail('Unexpected notification: $event');
1448 break; 1458 break;
1449 } 1459 }
1450 } 1460 }
1451 } 1461 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698