| OLD | NEW |
| 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 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1175 return server.send("edit.getFixes", params) | 1175 return server.send("edit.getFixes", params) |
| 1176 .then((result) { | 1176 .then((result) { |
| 1177 ResponseDecoder decoder = new ResponseDecoder(null); | 1177 ResponseDecoder decoder = new ResponseDecoder(null); |
| 1178 return new EditGetFixesResult.fromJson(decoder, 'result', result); | 1178 return new EditGetFixesResult.fromJson(decoder, 'result', result); |
| 1179 }); | 1179 }); |
| 1180 } | 1180 } |
| 1181 | 1181 |
| 1182 /** | 1182 /** |
| 1183 * Get the changes required to perform a refactoring. | 1183 * Get the changes required to perform a refactoring. |
| 1184 * | 1184 * |
| 1185 * If another refactoring request is received during the processing of this |
| 1186 * one, an error of type REFACTORING_REQUEST_CANCELLED will be generated. |
| 1187 * |
| 1185 * Parameters | 1188 * Parameters |
| 1186 * | 1189 * |
| 1187 * kind ( RefactoringKind ) | 1190 * kind ( RefactoringKind ) |
| 1188 * | 1191 * |
| 1189 * The kind of refactoring to be performed. | 1192 * The kind of refactoring to be performed. |
| 1190 * | 1193 * |
| 1191 * file ( FilePath ) | 1194 * file ( FilePath ) |
| 1192 * | 1195 * |
| 1193 * The file containing the code involved in the refactoring. | 1196 * The file containing the code involved in the refactoring. |
| 1194 * | 1197 * |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1544 case "execution.launchData": | 1547 case "execution.launchData": |
| 1545 expect(params, isExecutionLaunchDataParams); | 1548 expect(params, isExecutionLaunchDataParams); |
| 1546 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1549 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
| 1547 break; | 1550 break; |
| 1548 default: | 1551 default: |
| 1549 fail('Unexpected notification: $event'); | 1552 fail('Unexpected notification: $event'); |
| 1550 break; | 1553 break; |
| 1551 } | 1554 } |
| 1552 } | 1555 } |
| 1553 } | 1556 } |
| OLD | NEW |