| 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/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 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 * file ( FilePath ) | 1065 * file ( FilePath ) |
| 1066 * | 1066 * |
| 1067 * The file containing the errors for which fixes are being requested. | 1067 * The file containing the errors for which fixes are being requested. |
| 1068 * | 1068 * |
| 1069 * offset ( int ) | 1069 * offset ( int ) |
| 1070 * | 1070 * |
| 1071 * The offset used to select the errors for which fixes will be returned. | 1071 * The offset used to select the errors for which fixes will be returned. |
| 1072 * | 1072 * |
| 1073 * Returns | 1073 * Returns |
| 1074 * | 1074 * |
| 1075 * fixes ( List<ErrorFixes> ) | 1075 * fixes ( List<AnalysisErrorFixes> ) |
| 1076 * | 1076 * |
| 1077 * The fixes that are available for each of the analysis errors. There is a | 1077 * The fixes that are available for each of the analysis errors. There is a |
| 1078 * one-to-one correspondence between the analysis errors in the request and | 1078 * one-to-one correspondence between the analysis errors in the request and |
| 1079 * the lists of changes in the response. In particular, it is always the | 1079 * the lists of changes in the response. In particular, it is always the |
| 1080 * case that errors.length == fixes.length and that fixes[i] is the list of | 1080 * case that errors.length == fixes.length and that fixes[i] is the list of |
| 1081 * fixes for the error in errors[i]. The list of changes corresponding to | 1081 * fixes for the error in errors[i]. The list of changes corresponding to |
| 1082 * an error can be empty if there are no fixes available for that error. | 1082 * an error can be empty if there are no fixes available for that error. |
| 1083 */ | 1083 */ |
| 1084 Future sendEditGetFixes(String file, int offset, {bool checkTypes: true}) { | 1084 Future sendEditGetFixes(String file, int offset, {bool checkTypes: true}) { |
| 1085 Map<String, dynamic> params = {}; | 1085 Map<String, dynamic> params = {}; |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1454 case "debug.launchData": | 1454 case "debug.launchData": |
| 1455 expect(params, isDebugLaunchDataParams); | 1455 expect(params, isDebugLaunchDataParams); |
| 1456 _onDebugLaunchData.add(params); | 1456 _onDebugLaunchData.add(params); |
| 1457 break; | 1457 break; |
| 1458 default: | 1458 default: |
| 1459 fail('Unexpected notification: $event'); | 1459 fail('Unexpected notification: $event'); |
| 1460 break; | 1460 break; |
| 1461 } | 1461 } |
| 1462 } | 1462 } |
| 1463 } | 1463 } |
| OLD | NEW |