| 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 * Matchers for data types defined in the analysis server API | 10 * Matchers for data types defined in the analysis server API |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 203 |
| 204 /** | 204 /** |
| 205 * analysis.setSubscriptions result | 205 * analysis.setSubscriptions result |
| 206 */ | 206 */ |
| 207 final Matcher isAnalysisSetSubscriptionsResult = isNull; | 207 final Matcher isAnalysisSetSubscriptionsResult = isNull; |
| 208 | 208 |
| 209 /** | 209 /** |
| 210 * analysis.updateContent params | 210 * analysis.updateContent params |
| 211 * | 211 * |
| 212 * { | 212 * { |
| 213 * "files": Map<FilePath, object> | 213 * "files": Map<FilePath, AddContentOverlay | ChangeContentOverlay | RemoveCon
tentOverlay> |
| 214 * } | 214 * } |
| 215 */ | 215 */ |
| 216 final Matcher isAnalysisUpdateContentParams = new MatchesJsonObject( | 216 final Matcher isAnalysisUpdateContentParams = new MatchesJsonObject( |
| 217 "analysis.updateContent params", { | 217 "analysis.updateContent params", { |
| 218 "files": isMapOf(isFilePath, isObject) | 218 "files": isMapOf(isFilePath, isOneOf([isAddContentOverlay, isChangeContentOv
erlay, isRemoveContentOverlay])) |
| 219 }); | 219 }); |
| 220 | 220 |
| 221 /** | 221 /** |
| 222 * analysis.updateContent result | 222 * analysis.updateContent result |
| 223 */ | 223 */ |
| 224 final Matcher isAnalysisUpdateContentResult = isNull; | 224 final Matcher isAnalysisUpdateContentResult = isNull; |
| 225 | 225 |
| 226 /** | 226 /** |
| 227 * analysis.updateOptions params | 227 * analysis.updateOptions params |
| 228 * | 228 * |
| (...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1866 * | 1866 * |
| 1867 * { | 1867 * { |
| 1868 * "newName": String | 1868 * "newName": String |
| 1869 * } | 1869 * } |
| 1870 */ | 1870 */ |
| 1871 final Matcher isRenameOptions = new MatchesJsonObject( | 1871 final Matcher isRenameOptions = new MatchesJsonObject( |
| 1872 "rename options", { | 1872 "rename options", { |
| 1873 "newName": isString | 1873 "newName": isString |
| 1874 }); | 1874 }); |
| 1875 | 1875 |
| OLD | NEW |