| 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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 * Returns | 558 * Returns |
| 559 */ | 559 */ |
| 560 Future<AnalysisUpdateContentResult> sendAnalysisUpdateContent(Map<String, dyna
mic> files) async { | 560 Future<AnalysisUpdateContentResult> sendAnalysisUpdateContent(Map<String, dyna
mic> files) async { |
| 561 var params = new AnalysisUpdateContentParams(files).toJson(); | 561 var params = new AnalysisUpdateContentParams(files).toJson(); |
| 562 var result = await server.send("analysis.updateContent", params); | 562 var result = await server.send("analysis.updateContent", params); |
| 563 ResponseDecoder decoder = new ResponseDecoder(null); | 563 ResponseDecoder decoder = new ResponseDecoder(null); |
| 564 return new AnalysisUpdateContentResult.fromJson(decoder, 'result', result); | 564 return new AnalysisUpdateContentResult.fromJson(decoder, 'result', result); |
| 565 } | 565 } |
| 566 | 566 |
| 567 /** | 567 /** |
| 568 * Deprecated: all of the options can be set by users in an analysis options |
| 569 * file. |
| 570 * |
| 568 * Update the options controlling analysis based on the given set of options. | 571 * Update the options controlling analysis based on the given set of options. |
| 569 * Any options that are not included in the analysis options will not be | 572 * Any options that are not included in the analysis options will not be |
| 570 * changed. If there are options in the analysis options that are not valid, | 573 * changed. If there are options in the analysis options that are not valid, |
| 571 * they will be silently ignored. | 574 * they will be silently ignored. |
| 572 * | 575 * |
| 573 * Parameters | 576 * Parameters |
| 574 * | 577 * |
| 575 * options (AnalysisOptions) | 578 * options (AnalysisOptions) |
| 576 * | 579 * |
| 577 * The options that are to be used to control analysis. | 580 * The options that are to be used to control analysis. |
| (...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1760 case "execution.launchData": | 1763 case "execution.launchData": |
| 1761 outOfTestExpect(params, isExecutionLaunchDataParams); | 1764 outOfTestExpect(params, isExecutionLaunchDataParams); |
| 1762 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1765 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
| 1763 break; | 1766 break; |
| 1764 default: | 1767 default: |
| 1765 fail('Unexpected notification: $event'); | 1768 fail('Unexpected notification: $event'); |
| 1766 break; | 1769 break; |
| 1767 } | 1770 } |
| 1768 } | 1771 } |
| 1769 } | 1772 } |
| OLD | NEW |