| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 if (checkTypes) { | 419 if (checkTypes) { |
| 420 expect(result, isAnalysisUpdateContentResult); | 420 expect(result, isAnalysisUpdateContentResult); |
| 421 } | 421 } |
| 422 return result; | 422 return result; |
| 423 }); | 423 }); |
| 424 } | 424 } |
| 425 | 425 |
| 426 /** | 426 /** |
| 427 * Update the options controlling analysis based on the given set of options. | 427 * Update the options controlling analysis based on the given set of options. |
| 428 * Any options that are not included in the analysis options will not be | 428 * Any options that are not included in the analysis options will not be |
| 429 * changed. If there are options in the analysis options that are not valid | 429 * changed. If there are options in the analysis options that are not valid, |
| 430 * an error will be reported but the values of the valid options will still | 430 * they will be silently ignored. |
| 431 * be updated. | |
| 432 * | 431 * |
| 433 * Parameters | 432 * Parameters |
| 434 * | 433 * |
| 435 * options ( AnalysisOptions ) | 434 * options ( AnalysisOptions ) |
| 436 * | 435 * |
| 437 * The options that are to be used to control analysis. | 436 * The options that are to be used to control analysis. |
| 438 */ | 437 */ |
| 439 Future sendAnalysisUpdateOptions(Map<String, dynamic> options, {bool checkType
s: true}) { | 438 Future sendAnalysisUpdateOptions(Map<String, dynamic> options, {bool checkType
s: true}) { |
| 440 Map<String, dynamic> params = {}; | 439 Map<String, dynamic> params = {}; |
| 441 params["options"] = options; | 440 params["options"] = options; |
| (...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1452 case "debug.launchData": | 1451 case "debug.launchData": |
| 1453 expect(params, isDebugLaunchDataParams); | 1452 expect(params, isDebugLaunchDataParams); |
| 1454 _onDebugLaunchData.add(params); | 1453 _onDebugLaunchData.add(params); |
| 1455 break; | 1454 break; |
| 1456 default: | 1455 default: |
| 1457 fail('Unexpected notification: $event'); | 1456 fail('Unexpected notification: $event'); |
| 1458 break; | 1457 break; |
| 1459 } | 1458 } |
| 1460 } | 1459 } |
| 1461 } | 1460 } |
| OLD | NEW |