| 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 * Matchers for data types defined in the analysis server API | 10 * Matchers for data types defined in the analysis server API |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "subscriptions": isListOf(isServerService) | 55 "subscriptions": isListOf(isServerService) |
| 56 })); | 56 })); |
| 57 | 57 |
| 58 /** | 58 /** |
| 59 * server.setSubscriptions result | 59 * server.setSubscriptions result |
| 60 */ | 60 */ |
| 61 final Matcher isServerSetSubscriptionsResult = isNull; | 61 final Matcher isServerSetSubscriptionsResult = isNull; |
| 62 | 62 |
| 63 /** | 63 /** |
| 64 * server.connected params | 64 * server.connected params |
| 65 * |
| 66 * { |
| 67 * "version": String |
| 68 * } |
| 65 */ | 69 */ |
| 66 final Matcher isServerConnectedParams = isNull; | 70 final Matcher isServerConnectedParams = new LazyMatcher(() => new MatchesJsonObj
ect( |
| 71 "server.connected params", { |
| 72 "version": isString |
| 73 })); |
| 67 | 74 |
| 68 /** | 75 /** |
| 69 * server.error params | 76 * server.error params |
| 70 * | 77 * |
| 71 * { | 78 * { |
| 72 * "isFatal": bool | 79 * "isFatal": bool |
| 73 * "message": String | 80 * "message": String |
| 74 * "stackTrace": String | 81 * "stackTrace": String |
| 75 * } | 82 * } |
| 76 */ | 83 */ |
| (...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2168 * | 2175 * |
| 2169 * { | 2176 * { |
| 2170 * "newName": String | 2177 * "newName": String |
| 2171 * } | 2178 * } |
| 2172 */ | 2179 */ |
| 2173 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2180 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
| 2174 "rename options", { | 2181 "rename options", { |
| 2175 "newName": isString | 2182 "newName": isString |
| 2176 })); | 2183 })); |
| 2177 | 2184 |
| OLD | NEW |