| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 return server.send("analysis.reanalyze", null) | 323 return server.send("analysis.reanalyze", null) |
| 324 .then((result) { | 324 .then((result) { |
| 325 expect(result, isNull); | 325 expect(result, isNull); |
| 326 return null; | 326 return null; |
| 327 }); | 327 }); |
| 328 } | 328 } |
| 329 | 329 |
| 330 /** | 330 /** |
| 331 * Sets the root paths used to determine which files to analyze. The set of | 331 * Sets the root paths used to determine which files to analyze. The set of |
| 332 * files to be analyzed are all of the files in one of the root paths that | 332 * files to be analyzed are all of the files in one of the root paths that |
| 333 * are not also in one of the excluded paths. | 333 * are not also in one of the excluded paths and do not start with a dot |
| 334 * ('.'). |
| 334 * | 335 * |
| 335 * Note that this request determines the set of requested analysis roots. The | 336 * Note that this request determines the set of requested analysis roots. The |
| 336 * actual set of analysis roots at any given time is the intersection of this | 337 * actual set of analysis roots at any given time is the intersection of this |
| 337 * set with the set of files and directories actually present on the | 338 * set with the set of files and directories actually present on the |
| 338 * filesystem. When the filesystem changes, the actual set of analysis roots | 339 * filesystem. When the filesystem changes, the actual set of analysis roots |
| 339 * is automatically updated, but the set of requested analysis roots is | 340 * is automatically updated, but the set of requested analysis roots is |
| 340 * unchanged. This means that if the client sets an analysis root before the | 341 * unchanged. This means that if the client sets an analysis root before the |
| 341 * root becomes visible to server in the filesystem, there is no error; once | 342 * root becomes visible to server in the filesystem, there is no error; once |
| 342 * the server sees the root in the filesystem it will start analyzing it. | 343 * the server sees the root in the filesystem it will start analyzing it. |
| 343 * Similarly, server will stop analyzing files that are removed from the file | 344 * Similarly, server will stop analyzing files that are removed from the file |
| (...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 case "execution.launchData": | 1573 case "execution.launchData": |
| 1573 expect(params, isExecutionLaunchDataParams); | 1574 expect(params, isExecutionLaunchDataParams); |
| 1574 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1575 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
| 1575 break; | 1576 break; |
| 1576 default: | 1577 default: |
| 1577 fail('Unexpected notification: $event'); | 1578 fail('Unexpected notification: $event'); |
| 1578 break; | 1579 break; |
| 1579 } | 1580 } |
| 1580 } | 1581 } |
| 1581 } | 1582 } |
| OLD | NEW |