| 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1353 return null; | 1353 return null; |
| 1354 }); | 1354 }); |
| 1355 } | 1355 } |
| 1356 | 1356 |
| 1357 /** | 1357 /** |
| 1358 * Map a URI from the execution context to the file that it corresponds to, | 1358 * Map a URI from the execution context to the file that it corresponds to, |
| 1359 * or map a file to the URI that it corresponds to in the execution context. | 1359 * or map a file to the URI that it corresponds to in the execution context. |
| 1360 * | 1360 * |
| 1361 * Exactly one of the file and uri fields must be provided. | 1361 * Exactly one of the file and uri fields must be provided. |
| 1362 * | 1362 * |
| 1363 * If the file field is provided and the value is not the path of a file |
| 1364 * (either the file does not exist or the path references something other |
| 1365 * than a file), then an error of type MAP_URI_INVALID_FILE will be |
| 1366 * generated. |
| 1367 * |
| 1368 * If the uri field is provided and the value is not a valid URI or if the |
| 1369 * URI references something that is not a file (either a file that does not |
| 1370 * exist or something other than a file), then an error of type |
| 1371 * MAP_URI_INVALID_URI will be generated. |
| 1372 * |
| 1373 * If the contextRoot used to create the execution context is not a file |
| 1374 * (either the file does not exist or the path references something other |
| 1375 * than a file), then an error of type INVALID_EXECUTION_CONTEXT will be |
| 1376 * generated. |
| 1377 * |
| 1363 * Parameters | 1378 * Parameters |
| 1364 * | 1379 * |
| 1365 * id ( ExecutionContextId ) | 1380 * id ( ExecutionContextId ) |
| 1366 * | 1381 * |
| 1367 * The identifier of the execution context in which the URI is to be | 1382 * The identifier of the execution context in which the URI is to be |
| 1368 * mapped. | 1383 * mapped. |
| 1369 * | 1384 * |
| 1370 * file ( optional FilePath ) | 1385 * file ( optional FilePath ) |
| 1371 * | 1386 * |
| 1372 * The path of the file to be mapped into a URI. | 1387 * The path of the file to be mapped into a URI. |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1553 case "execution.launchData": | 1568 case "execution.launchData": |
| 1554 expect(params, isExecutionLaunchDataParams); | 1569 expect(params, isExecutionLaunchDataParams); |
| 1555 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); | 1570 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode
r, 'params', params)); |
| 1556 break; | 1571 break; |
| 1557 default: | 1572 default: |
| 1558 fail('Unexpected notification: $event'); | 1573 fail('Unexpected notification: $event'); |
| 1559 break; | 1574 break; |
| 1560 } | 1575 } |
| 1561 } | 1576 } |
| 1562 } | 1577 } |
| OLD | NEW |