| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 var result = await server.send("analysis.updateContent", params); | 257 var result = await server.send("analysis.updateContent", params); |
| 258 outOfTestExpect(result, isNull); | 258 outOfTestExpect(result, isNull); |
| 259 return null; | 259 return null; |
| 260 } | 260 } |
| 261 | 261 |
| 262 /** | 262 /** |
| 263 * Used to report the errors associated with a given file. The set of errors | 263 * Used to report the errors associated with a given file. The set of errors |
| 264 * included in the notification is always a complete list that supersedes any | 264 * included in the notification is always a complete list that supersedes any |
| 265 * previously reported errors. | 265 * previously reported errors. |
| 266 * | 266 * |
| 267 * TODO: Decide whether we need to support the '--no-error-notification' | |
| 268 * option. | |
| 269 * | |
| 270 * Parameters | 267 * Parameters |
| 271 * | 268 * |
| 272 * file (FilePath) | 269 * file (FilePath) |
| 273 * | 270 * |
| 274 * The file containing the errors. | 271 * The file containing the errors. |
| 275 * | 272 * |
| 276 * errors (List<AnalysisError>) | 273 * errors (List<AnalysisError>) |
| 277 * | 274 * |
| 278 * The errors contained in the file. | 275 * The errors contained in the file. |
| 279 */ | 276 */ |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 case "analysis.outline": | 724 case "analysis.outline": |
| 728 outOfTestExpect(params, isAnalysisOutlineParams); | 725 outOfTestExpect(params, isAnalysisOutlineParams); |
| 729 _onAnalysisOutline.add(new AnalysisOutlineParams.fromJson(decoder, 'para
ms', params)); | 726 _onAnalysisOutline.add(new AnalysisOutlineParams.fromJson(decoder, 'para
ms', params)); |
| 730 break; | 727 break; |
| 731 default: | 728 default: |
| 732 fail('Unexpected notification: $event'); | 729 fail('Unexpected notification: $event'); |
| 733 break; | 730 break; |
| 734 } | 731 } |
| 735 } | 732 } |
| 736 } | 733 } |
| OLD | NEW |