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

Side by Side Diff: pkg/analysis_server/test/integration/integration_test_methods.dart

Issue 884453002: Issue 22157. Cancel a pending refactoring request on receiving a new one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for review comments. 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 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/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 /** 9 /**
10 * Convenience methods for running integration tests 10 * Convenience methods for running integration tests
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 return server.send("edit.getFixes", params) 1181 return server.send("edit.getFixes", params)
1182 .then((result) { 1182 .then((result) {
1183 ResponseDecoder decoder = new ResponseDecoder(null); 1183 ResponseDecoder decoder = new ResponseDecoder(null);
1184 return new EditGetFixesResult.fromJson(decoder, 'result', result); 1184 return new EditGetFixesResult.fromJson(decoder, 'result', result);
1185 }); 1185 });
1186 } 1186 }
1187 1187
1188 /** 1188 /**
1189 * Get the changes required to perform a refactoring. 1189 * Get the changes required to perform a refactoring.
1190 * 1190 *
1191 * If another refactoring request is received during the processing of this
1192 * one, an error of type REFACTORING_REQUEST_CANCELLED will be generated.
1193 *
1191 * Parameters 1194 * Parameters
1192 * 1195 *
1193 * kind ( RefactoringKind ) 1196 * kind ( RefactoringKind )
1194 * 1197 *
1195 * The kind of refactoring to be performed. 1198 * The kind of refactoring to be performed.
1196 * 1199 *
1197 * file ( FilePath ) 1200 * file ( FilePath )
1198 * 1201 *
1199 * The file containing the code involved in the refactoring. 1202 * The file containing the code involved in the refactoring.
1200 * 1203 *
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 case "execution.launchData": 1553 case "execution.launchData":
1551 expect(params, isExecutionLaunchDataParams); 1554 expect(params, isExecutionLaunchDataParams);
1552 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params)); 1555 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params));
1553 break; 1556 break;
1554 default: 1557 default:
1555 fail('Unexpected notification: $event'); 1558 fail('Unexpected notification: $event');
1556 break; 1559 break;
1557 } 1560 }
1558 } 1561 }
1559 } 1562 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/edit/refactoring_test.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