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 2022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2033 var params = new AnalyticsSendTimingParams(event, millis).toJson(); | 2033 var params = new AnalyticsSendTimingParams(event, millis).toJson(); |
2034 var result = await server.send("analytics.sendTiming", params); | 2034 var result = await server.send("analytics.sendTiming", params); |
2035 outOfTestExpect(result, isNull); | 2035 outOfTestExpect(result, isNull); |
2036 return null; | 2036 return null; |
2037 } | 2037 } |
2038 | 2038 |
2039 /** | 2039 /** |
2040 * Return the list of KytheEntry objects for some file, given the current | 2040 * Return the list of KytheEntry objects for some file, given the current |
2041 * state of the file system populated by "analysis.updateContent". | 2041 * state of the file system populated by "analysis.updateContent". |
2042 * | 2042 * |
| 2043 * If a request is made for a file that does not exist, or that is not |
| 2044 * currently subject to analysis (e.g. because it is not associated with any |
| 2045 * analysis root specified to analysis.setAnalysisRoots), an error of type |
| 2046 * GET_KYTHE_ENTRIES_INVALID_FILE will be generated. |
| 2047 * |
2043 * Parameters | 2048 * Parameters |
2044 * | 2049 * |
2045 * file: FilePath | 2050 * file: FilePath |
2046 * | 2051 * |
2047 * The file containing the code for which the Kythe Entry objects are being | 2052 * The file containing the code for which the Kythe Entry objects are being |
2048 * requested. | 2053 * requested. |
2049 * | 2054 * |
2050 * Returns | 2055 * Returns |
2051 * | 2056 * |
2052 * entries: List<KytheEntry> | 2057 * entries: List<KytheEntry> |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2223 outOfTestExpect(params, isExecutionLaunchDataParams); | 2228 outOfTestExpect(params, isExecutionLaunchDataParams); |
2224 _onExecutionLaunchData.add( | 2229 _onExecutionLaunchData.add( |
2225 new ExecutionLaunchDataParams.fromJson(decoder, 'params', params)); | 2230 new ExecutionLaunchDataParams.fromJson(decoder, 'params', params)); |
2226 break; | 2231 break; |
2227 default: | 2232 default: |
2228 fail('Unexpected notification: $event'); | 2233 fail('Unexpected notification: $event'); |
2229 break; | 2234 break; |
2230 } | 2235 } |
2231 } | 2236 } |
2232 } | 2237 } |
OLD | NEW |