| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 * request will be delayed until they have been computed. If some or all of | 165 * request will be delayed until they have been computed. If some or all of |
| 166 * the errors for the file cannot be computed, then the subset of the errors | 166 * the errors for the file cannot be computed, then the subset of the errors |
| 167 * that can be computed will be returned and the response will contain an | 167 * that can be computed will be returned and the response will contain an |
| 168 * error to indicate why the errors could not be computed. | 168 * error to indicate why the errors could not be computed. |
| 169 * | 169 * |
| 170 * This request is intended to be used by clients that cannot asynchronously | 170 * This request is intended to be used by clients that cannot asynchronously |
| 171 * apply updated error information. Clients that can apply error information | 171 * apply updated error information. Clients that can apply error information |
| 172 * as it becomes available should use the information provided by the | 172 * as it becomes available should use the information provided by the |
| 173 * 'analysis.errors' notification. | 173 * 'analysis.errors' notification. |
| 174 * | 174 * |
| 175 * If a request is made for a file which does not exist, or which is not |
| 176 * currently subject to analysis (e.g. because it is not associated with any |
| 177 * analysis root specified to analysis.setAnalysisRoots), an error of type |
| 178 * GET_ERRORS_INVALID_FILE will be generated. |
| 179 * |
| 175 * Parameters | 180 * Parameters |
| 176 * | 181 * |
| 177 * file ( FilePath ) | 182 * file ( FilePath ) |
| 178 * | 183 * |
| 179 * The file for which errors are being requested. | 184 * The file for which errors are being requested. |
| 180 * | 185 * |
| 181 * Returns | 186 * Returns |
| 182 * | 187 * |
| 183 * errors ( List<AnalysisError> ) | 188 * errors ( List<AnalysisError> ) |
| 184 * | 189 * |
| (...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1458 case "debug.launchData": | 1463 case "debug.launchData": |
| 1459 expect(params, isDebugLaunchDataParams); | 1464 expect(params, isDebugLaunchDataParams); |
| 1460 _onDebugLaunchData.add(params); | 1465 _onDebugLaunchData.add(params); |
| 1461 break; | 1466 break; |
| 1462 default: | 1467 default: |
| 1463 fail('Unexpected notification: $event'); | 1468 fail('Unexpected notification: $event'); |
| 1464 break; | 1469 break; |
| 1465 } | 1470 } |
| 1466 } | 1471 } |
| 1467 } | 1472 } |
| OLD | NEW |