| OLD | NEW |
| 1 library googleapis.discovery.v1.test; | 1 library googleapis.discovery.v1.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
| 11 | 11 |
| 12 import 'package:googleapis/discovery/v1.dart' as api; | 12 import 'package:googleapis/discovery/v1.dart' as api; |
| 13 | 13 |
| 14 class HttpServerMock extends http.BaseClient { | 14 class HttpServerMock extends http.BaseClient { |
| 15 core.Function _callback; | 15 core.Function _callback; |
| 16 core.bool _expectJson; | 16 core.bool _expectJson; |
| 17 | 17 |
| 18 void register(core.Function callback, core.bool expectJson) { | 18 void register(core.Function callback, core.bool expectJson) { |
| 19 _callback = callback; | 19 _callback = callback; |
| 20 _expectJson = expectJson; | 20 _expectJson = expectJson; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 } else { | 39 } else { |
| 40 return stream.toBytes().then((data) { | 40 return stream.toBytes().then((data) { |
| 41 return _callback(request, data); | 41 return _callback(request, data); |
| 42 }); | 42 }); |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 core.int buildCounterDirectoryListItemsIcons = 0; | 54 core.int buildCounterDirectoryListItemsIcons = 0; |
| 55 buildDirectoryListItemsIcons() { | 55 buildDirectoryListItemsIcons() { |
| 56 var o = new api.DirectoryListItemsIcons(); | 56 var o = new api.DirectoryListItemsIcons(); |
| 57 buildCounterDirectoryListItemsIcons++; | 57 buildCounterDirectoryListItemsIcons++; |
| 58 if (buildCounterDirectoryListItemsIcons < 3) { | 58 if (buildCounterDirectoryListItemsIcons < 3) { |
| 59 o.x16 = "foo"; | 59 o.x16 = "foo"; |
| 60 o.x32 = "foo"; | 60 o.x32 = "foo"; |
| 61 } | 61 } |
| 62 buildCounterDirectoryListItemsIcons--; | 62 buildCounterDirectoryListItemsIcons--; |
| 63 return o; | 63 return o; |
| 64 } | 64 } |
| 65 | 65 |
| 66 checkDirectoryListItemsIcons(api.DirectoryListItemsIcons o) { | 66 checkDirectoryListItemsIcons(api.DirectoryListItemsIcons o) { |
| 67 buildCounterDirectoryListItemsIcons++; | 67 buildCounterDirectoryListItemsIcons++; |
| 68 if (buildCounterDirectoryListItemsIcons < 3) { | 68 if (buildCounterDirectoryListItemsIcons < 3) { |
| 69 unittest.expect(o.x16, unittest.equals('foo')); | 69 unittest.expect(o.x16, unittest.equals('foo')); |
| 70 unittest.expect(o.x32, unittest.equals('foo')); | 70 unittest.expect(o.x32, unittest.equals('foo')); |
| 71 } | 71 } |
| 72 buildCounterDirectoryListItemsIcons--; | 72 buildCounterDirectoryListItemsIcons--; |
| 73 } | 73 } |
| 74 | 74 |
| 75 buildUnnamed253() { | 75 buildUnnamed255() { |
| 76 var o = new core.List<core.String>(); | 76 var o = new core.List<core.String>(); |
| 77 o.add("foo"); | 77 o.add("foo"); |
| 78 o.add("foo"); | 78 o.add("foo"); |
| 79 return o; | 79 return o; |
| 80 } | 80 } |
| 81 | 81 |
| 82 checkUnnamed253(core.List<core.String> o) { | 82 checkUnnamed255(core.List<core.String> o) { |
| 83 unittest.expect(o, unittest.hasLength(2)); | 83 unittest.expect(o, unittest.hasLength(2)); |
| 84 unittest.expect(o[0], unittest.equals('foo')); | 84 unittest.expect(o[0], unittest.equals('foo')); |
| 85 unittest.expect(o[1], unittest.equals('foo')); | 85 unittest.expect(o[1], unittest.equals('foo')); |
| 86 } | 86 } |
| 87 | 87 |
| 88 core.int buildCounterDirectoryListItems = 0; | 88 core.int buildCounterDirectoryListItems = 0; |
| 89 buildDirectoryListItems() { | 89 buildDirectoryListItems() { |
| 90 var o = new api.DirectoryListItems(); | 90 var o = new api.DirectoryListItems(); |
| 91 buildCounterDirectoryListItems++; | 91 buildCounterDirectoryListItems++; |
| 92 if (buildCounterDirectoryListItems < 3) { | 92 if (buildCounterDirectoryListItems < 3) { |
| 93 o.description = "foo"; | 93 o.description = "foo"; |
| 94 o.discoveryLink = "foo"; | 94 o.discoveryLink = "foo"; |
| 95 o.discoveryRestUrl = "foo"; | 95 o.discoveryRestUrl = "foo"; |
| 96 o.documentationLink = "foo"; | 96 o.documentationLink = "foo"; |
| 97 o.icons = buildDirectoryListItemsIcons(); | 97 o.icons = buildDirectoryListItemsIcons(); |
| 98 o.id = "foo"; | 98 o.id = "foo"; |
| 99 o.kind = "foo"; | 99 o.kind = "foo"; |
| 100 o.labels = buildUnnamed253(); | 100 o.labels = buildUnnamed255(); |
| 101 o.name = "foo"; | 101 o.name = "foo"; |
| 102 o.preferred = true; | 102 o.preferred = true; |
| 103 o.title = "foo"; | 103 o.title = "foo"; |
| 104 o.version = "foo"; | 104 o.version = "foo"; |
| 105 } | 105 } |
| 106 buildCounterDirectoryListItems--; | 106 buildCounterDirectoryListItems--; |
| 107 return o; | 107 return o; |
| 108 } | 108 } |
| 109 | 109 |
| 110 checkDirectoryListItems(api.DirectoryListItems o) { | 110 checkDirectoryListItems(api.DirectoryListItems o) { |
| 111 buildCounterDirectoryListItems++; | 111 buildCounterDirectoryListItems++; |
| 112 if (buildCounterDirectoryListItems < 3) { | 112 if (buildCounterDirectoryListItems < 3) { |
| 113 unittest.expect(o.description, unittest.equals('foo')); | 113 unittest.expect(o.description, unittest.equals('foo')); |
| 114 unittest.expect(o.discoveryLink, unittest.equals('foo')); | 114 unittest.expect(o.discoveryLink, unittest.equals('foo')); |
| 115 unittest.expect(o.discoveryRestUrl, unittest.equals('foo')); | 115 unittest.expect(o.discoveryRestUrl, unittest.equals('foo')); |
| 116 unittest.expect(o.documentationLink, unittest.equals('foo')); | 116 unittest.expect(o.documentationLink, unittest.equals('foo')); |
| 117 checkDirectoryListItemsIcons(o.icons); | 117 checkDirectoryListItemsIcons(o.icons); |
| 118 unittest.expect(o.id, unittest.equals('foo')); | 118 unittest.expect(o.id, unittest.equals('foo')); |
| 119 unittest.expect(o.kind, unittest.equals('foo')); | 119 unittest.expect(o.kind, unittest.equals('foo')); |
| 120 checkUnnamed253(o.labels); | 120 checkUnnamed255(o.labels); |
| 121 unittest.expect(o.name, unittest.equals('foo')); | 121 unittest.expect(o.name, unittest.equals('foo')); |
| 122 unittest.expect(o.preferred, unittest.isTrue); | 122 unittest.expect(o.preferred, unittest.isTrue); |
| 123 unittest.expect(o.title, unittest.equals('foo')); | 123 unittest.expect(o.title, unittest.equals('foo')); |
| 124 unittest.expect(o.version, unittest.equals('foo')); | 124 unittest.expect(o.version, unittest.equals('foo')); |
| 125 } | 125 } |
| 126 buildCounterDirectoryListItems--; | 126 buildCounterDirectoryListItems--; |
| 127 } | 127 } |
| 128 | 128 |
| 129 buildUnnamed254() { | 129 buildUnnamed256() { |
| 130 var o = new core.List<api.DirectoryListItems>(); | 130 var o = new core.List<api.DirectoryListItems>(); |
| 131 o.add(buildDirectoryListItems()); | 131 o.add(buildDirectoryListItems()); |
| 132 o.add(buildDirectoryListItems()); | 132 o.add(buildDirectoryListItems()); |
| 133 return o; | 133 return o; |
| 134 } | 134 } |
| 135 | 135 |
| 136 checkUnnamed254(core.List<api.DirectoryListItems> o) { | 136 checkUnnamed256(core.List<api.DirectoryListItems> o) { |
| 137 unittest.expect(o, unittest.hasLength(2)); | 137 unittest.expect(o, unittest.hasLength(2)); |
| 138 checkDirectoryListItems(o[0]); | 138 checkDirectoryListItems(o[0]); |
| 139 checkDirectoryListItems(o[1]); | 139 checkDirectoryListItems(o[1]); |
| 140 } | 140 } |
| 141 | 141 |
| 142 core.int buildCounterDirectoryList = 0; | 142 core.int buildCounterDirectoryList = 0; |
| 143 buildDirectoryList() { | 143 buildDirectoryList() { |
| 144 var o = new api.DirectoryList(); | 144 var o = new api.DirectoryList(); |
| 145 buildCounterDirectoryList++; | 145 buildCounterDirectoryList++; |
| 146 if (buildCounterDirectoryList < 3) { | 146 if (buildCounterDirectoryList < 3) { |
| 147 o.discoveryVersion = "foo"; | 147 o.discoveryVersion = "foo"; |
| 148 o.items = buildUnnamed254(); | 148 o.items = buildUnnamed256(); |
| 149 o.kind = "foo"; | 149 o.kind = "foo"; |
| 150 } | 150 } |
| 151 buildCounterDirectoryList--; | 151 buildCounterDirectoryList--; |
| 152 return o; | 152 return o; |
| 153 } | 153 } |
| 154 | 154 |
| 155 checkDirectoryList(api.DirectoryList o) { | 155 checkDirectoryList(api.DirectoryList o) { |
| 156 buildCounterDirectoryList++; | 156 buildCounterDirectoryList++; |
| 157 if (buildCounterDirectoryList < 3) { | 157 if (buildCounterDirectoryList < 3) { |
| 158 unittest.expect(o.discoveryVersion, unittest.equals('foo')); | 158 unittest.expect(o.discoveryVersion, unittest.equals('foo')); |
| 159 checkUnnamed254(o.items); | 159 checkUnnamed256(o.items); |
| 160 unittest.expect(o.kind, unittest.equals('foo')); | 160 unittest.expect(o.kind, unittest.equals('foo')); |
| 161 } | 161 } |
| 162 buildCounterDirectoryList--; | 162 buildCounterDirectoryList--; |
| 163 } | 163 } |
| 164 | 164 |
| 165 buildUnnamed255() { | 165 buildUnnamed257() { |
| 166 var o = new core.List<core.String>(); | 166 var o = new core.List<core.String>(); |
| 167 o.add("foo"); | 167 o.add("foo"); |
| 168 o.add("foo"); | 168 o.add("foo"); |
| 169 return o; | 169 return o; |
| 170 } | 170 } |
| 171 | 171 |
| 172 checkUnnamed255(core.List<core.String> o) { | 172 checkUnnamed257(core.List<core.String> o) { |
| 173 unittest.expect(o, unittest.hasLength(2)); | 173 unittest.expect(o, unittest.hasLength(2)); |
| 174 unittest.expect(o[0], unittest.equals('foo')); | 174 unittest.expect(o[0], unittest.equals('foo')); |
| 175 unittest.expect(o[1], unittest.equals('foo')); | 175 unittest.expect(o[1], unittest.equals('foo')); |
| 176 } | 176 } |
| 177 | 177 |
| 178 core.int buildCounterJsonSchemaAnnotations = 0; | 178 core.int buildCounterJsonSchemaAnnotations = 0; |
| 179 buildJsonSchemaAnnotations() { | 179 buildJsonSchemaAnnotations() { |
| 180 var o = new api.JsonSchemaAnnotations(); | 180 var o = new api.JsonSchemaAnnotations(); |
| 181 buildCounterJsonSchemaAnnotations++; | 181 buildCounterJsonSchemaAnnotations++; |
| 182 if (buildCounterJsonSchemaAnnotations < 3) { | 182 if (buildCounterJsonSchemaAnnotations < 3) { |
| 183 o.required = buildUnnamed255(); | 183 o.required = buildUnnamed257(); |
| 184 } | 184 } |
| 185 buildCounterJsonSchemaAnnotations--; | 185 buildCounterJsonSchemaAnnotations--; |
| 186 return o; | 186 return o; |
| 187 } | 187 } |
| 188 | 188 |
| 189 checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) { | 189 checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) { |
| 190 buildCounterJsonSchemaAnnotations++; | 190 buildCounterJsonSchemaAnnotations++; |
| 191 if (buildCounterJsonSchemaAnnotations < 3) { | 191 if (buildCounterJsonSchemaAnnotations < 3) { |
| 192 checkUnnamed255(o.required); | 192 checkUnnamed257(o.required); |
| 193 } | 193 } |
| 194 buildCounterJsonSchemaAnnotations--; | 194 buildCounterJsonSchemaAnnotations--; |
| 195 } | 195 } |
| 196 | 196 |
| 197 buildUnnamed256() { | 197 buildUnnamed258() { |
| 198 var o = new core.List<core.String>(); | 198 var o = new core.List<core.String>(); |
| 199 o.add("foo"); | 199 o.add("foo"); |
| 200 o.add("foo"); | 200 o.add("foo"); |
| 201 return o; | 201 return o; |
| 202 } | 202 } |
| 203 | 203 |
| 204 checkUnnamed256(core.List<core.String> o) { | 204 checkUnnamed258(core.List<core.String> o) { |
| 205 unittest.expect(o, unittest.hasLength(2)); | 205 unittest.expect(o, unittest.hasLength(2)); |
| 206 unittest.expect(o[0], unittest.equals('foo')); | 206 unittest.expect(o[0], unittest.equals('foo')); |
| 207 unittest.expect(o[1], unittest.equals('foo')); | 207 unittest.expect(o[1], unittest.equals('foo')); |
| 208 } | 208 } |
| 209 | 209 |
| 210 buildUnnamed257() { | 210 buildUnnamed259() { |
| 211 var o = new core.List<core.String>(); | 211 var o = new core.List<core.String>(); |
| 212 o.add("foo"); | 212 o.add("foo"); |
| 213 o.add("foo"); | 213 o.add("foo"); |
| 214 return o; | 214 return o; |
| 215 } | 215 } |
| 216 | 216 |
| 217 checkUnnamed257(core.List<core.String> o) { | 217 checkUnnamed259(core.List<core.String> o) { |
| 218 unittest.expect(o, unittest.hasLength(2)); | 218 unittest.expect(o, unittest.hasLength(2)); |
| 219 unittest.expect(o[0], unittest.equals('foo')); | 219 unittest.expect(o[0], unittest.equals('foo')); |
| 220 unittest.expect(o[1], unittest.equals('foo')); | 220 unittest.expect(o[1], unittest.equals('foo')); |
| 221 } | 221 } |
| 222 | 222 |
| 223 buildUnnamed258() { | 223 buildUnnamed260() { |
| 224 var o = new core.Map<core.String, api.JsonSchema>(); | 224 var o = new core.Map<core.String, api.JsonSchema>(); |
| 225 o["x"] = buildJsonSchema(); | 225 o["x"] = buildJsonSchema(); |
| 226 o["y"] = buildJsonSchema(); | 226 o["y"] = buildJsonSchema(); |
| 227 return o; | 227 return o; |
| 228 } | 228 } |
| 229 | 229 |
| 230 checkUnnamed258(core.Map<core.String, api.JsonSchema> o) { | 230 checkUnnamed260(core.Map<core.String, api.JsonSchema> o) { |
| 231 unittest.expect(o, unittest.hasLength(2)); | 231 unittest.expect(o, unittest.hasLength(2)); |
| 232 checkJsonSchema(o["x"]); | 232 checkJsonSchema(o["x"]); |
| 233 checkJsonSchema(o["y"]); | 233 checkJsonSchema(o["y"]); |
| 234 } | 234 } |
| 235 | 235 |
| 236 core.int buildCounterJsonSchemaVariantMap = 0; | 236 core.int buildCounterJsonSchemaVariantMap = 0; |
| 237 buildJsonSchemaVariantMap() { | 237 buildJsonSchemaVariantMap() { |
| 238 var o = new api.JsonSchemaVariantMap(); | 238 var o = new api.JsonSchemaVariantMap(); |
| 239 buildCounterJsonSchemaVariantMap++; | 239 buildCounterJsonSchemaVariantMap++; |
| 240 if (buildCounterJsonSchemaVariantMap < 3) { | 240 if (buildCounterJsonSchemaVariantMap < 3) { |
| 241 o.P_ref = "foo"; | 241 o.P_ref = "foo"; |
| 242 o.typeValue = "foo"; | 242 o.typeValue = "foo"; |
| 243 } | 243 } |
| 244 buildCounterJsonSchemaVariantMap--; | 244 buildCounterJsonSchemaVariantMap--; |
| 245 return o; | 245 return o; |
| 246 } | 246 } |
| 247 | 247 |
| 248 checkJsonSchemaVariantMap(api.JsonSchemaVariantMap o) { | 248 checkJsonSchemaVariantMap(api.JsonSchemaVariantMap o) { |
| 249 buildCounterJsonSchemaVariantMap++; | 249 buildCounterJsonSchemaVariantMap++; |
| 250 if (buildCounterJsonSchemaVariantMap < 3) { | 250 if (buildCounterJsonSchemaVariantMap < 3) { |
| 251 unittest.expect(o.P_ref, unittest.equals('foo')); | 251 unittest.expect(o.P_ref, unittest.equals('foo')); |
| 252 unittest.expect(o.typeValue, unittest.equals('foo')); | 252 unittest.expect(o.typeValue, unittest.equals('foo')); |
| 253 } | 253 } |
| 254 buildCounterJsonSchemaVariantMap--; | 254 buildCounterJsonSchemaVariantMap--; |
| 255 } | 255 } |
| 256 | 256 |
| 257 buildUnnamed259() { | 257 buildUnnamed261() { |
| 258 var o = new core.List<api.JsonSchemaVariantMap>(); | 258 var o = new core.List<api.JsonSchemaVariantMap>(); |
| 259 o.add(buildJsonSchemaVariantMap()); | 259 o.add(buildJsonSchemaVariantMap()); |
| 260 o.add(buildJsonSchemaVariantMap()); | 260 o.add(buildJsonSchemaVariantMap()); |
| 261 return o; | 261 return o; |
| 262 } | 262 } |
| 263 | 263 |
| 264 checkUnnamed259(core.List<api.JsonSchemaVariantMap> o) { | 264 checkUnnamed261(core.List<api.JsonSchemaVariantMap> o) { |
| 265 unittest.expect(o, unittest.hasLength(2)); | 265 unittest.expect(o, unittest.hasLength(2)); |
| 266 checkJsonSchemaVariantMap(o[0]); | 266 checkJsonSchemaVariantMap(o[0]); |
| 267 checkJsonSchemaVariantMap(o[1]); | 267 checkJsonSchemaVariantMap(o[1]); |
| 268 } | 268 } |
| 269 | 269 |
| 270 core.int buildCounterJsonSchemaVariant = 0; | 270 core.int buildCounterJsonSchemaVariant = 0; |
| 271 buildJsonSchemaVariant() { | 271 buildJsonSchemaVariant() { |
| 272 var o = new api.JsonSchemaVariant(); | 272 var o = new api.JsonSchemaVariant(); |
| 273 buildCounterJsonSchemaVariant++; | 273 buildCounterJsonSchemaVariant++; |
| 274 if (buildCounterJsonSchemaVariant < 3) { | 274 if (buildCounterJsonSchemaVariant < 3) { |
| 275 o.discriminant = "foo"; | 275 o.discriminant = "foo"; |
| 276 o.map = buildUnnamed259(); | 276 o.map = buildUnnamed261(); |
| 277 } | 277 } |
| 278 buildCounterJsonSchemaVariant--; | 278 buildCounterJsonSchemaVariant--; |
| 279 return o; | 279 return o; |
| 280 } | 280 } |
| 281 | 281 |
| 282 checkJsonSchemaVariant(api.JsonSchemaVariant o) { | 282 checkJsonSchemaVariant(api.JsonSchemaVariant o) { |
| 283 buildCounterJsonSchemaVariant++; | 283 buildCounterJsonSchemaVariant++; |
| 284 if (buildCounterJsonSchemaVariant < 3) { | 284 if (buildCounterJsonSchemaVariant < 3) { |
| 285 unittest.expect(o.discriminant, unittest.equals('foo')); | 285 unittest.expect(o.discriminant, unittest.equals('foo')); |
| 286 checkUnnamed259(o.map); | 286 checkUnnamed261(o.map); |
| 287 } | 287 } |
| 288 buildCounterJsonSchemaVariant--; | 288 buildCounterJsonSchemaVariant--; |
| 289 } | 289 } |
| 290 | 290 |
| 291 core.int buildCounterJsonSchema = 0; | 291 core.int buildCounterJsonSchema = 0; |
| 292 buildJsonSchema() { | 292 buildJsonSchema() { |
| 293 var o = new api.JsonSchema(); | 293 var o = new api.JsonSchema(); |
| 294 buildCounterJsonSchema++; | 294 buildCounterJsonSchema++; |
| 295 if (buildCounterJsonSchema < 3) { | 295 if (buildCounterJsonSchema < 3) { |
| 296 o.P_ref = "foo"; | 296 o.P_ref = "foo"; |
| 297 o.additionalProperties = buildJsonSchema(); | 297 o.additionalProperties = buildJsonSchema(); |
| 298 o.annotations = buildJsonSchemaAnnotations(); | 298 o.annotations = buildJsonSchemaAnnotations(); |
| 299 o.default_ = "foo"; | 299 o.default_ = "foo"; |
| 300 o.description = "foo"; | 300 o.description = "foo"; |
| 301 o.enum_ = buildUnnamed256(); | 301 o.enum_ = buildUnnamed258(); |
| 302 o.enumDescriptions = buildUnnamed257(); | 302 o.enumDescriptions = buildUnnamed259(); |
| 303 o.format = "foo"; | 303 o.format = "foo"; |
| 304 o.id = "foo"; | 304 o.id = "foo"; |
| 305 o.items = buildJsonSchema(); | 305 o.items = buildJsonSchema(); |
| 306 o.location = "foo"; | 306 o.location = "foo"; |
| 307 o.maximum = "foo"; | 307 o.maximum = "foo"; |
| 308 o.minimum = "foo"; | 308 o.minimum = "foo"; |
| 309 o.pattern = "foo"; | 309 o.pattern = "foo"; |
| 310 o.properties = buildUnnamed258(); | 310 o.properties = buildUnnamed260(); |
| 311 o.readOnly = true; | 311 o.readOnly = true; |
| 312 o.repeated = true; | 312 o.repeated = true; |
| 313 o.required = true; | 313 o.required = true; |
| 314 o.type = "foo"; | 314 o.type = "foo"; |
| 315 o.variant = buildJsonSchemaVariant(); | 315 o.variant = buildJsonSchemaVariant(); |
| 316 } | 316 } |
| 317 buildCounterJsonSchema--; | 317 buildCounterJsonSchema--; |
| 318 return o; | 318 return o; |
| 319 } | 319 } |
| 320 | 320 |
| 321 checkJsonSchema(api.JsonSchema o) { | 321 checkJsonSchema(api.JsonSchema o) { |
| 322 buildCounterJsonSchema++; | 322 buildCounterJsonSchema++; |
| 323 if (buildCounterJsonSchema < 3) { | 323 if (buildCounterJsonSchema < 3) { |
| 324 unittest.expect(o.P_ref, unittest.equals('foo')); | 324 unittest.expect(o.P_ref, unittest.equals('foo')); |
| 325 checkJsonSchema(o.additionalProperties); | 325 checkJsonSchema(o.additionalProperties); |
| 326 checkJsonSchemaAnnotations(o.annotations); | 326 checkJsonSchemaAnnotations(o.annotations); |
| 327 unittest.expect(o.default_, unittest.equals('foo')); | 327 unittest.expect(o.default_, unittest.equals('foo')); |
| 328 unittest.expect(o.description, unittest.equals('foo')); | 328 unittest.expect(o.description, unittest.equals('foo')); |
| 329 checkUnnamed256(o.enum_); | 329 checkUnnamed258(o.enum_); |
| 330 checkUnnamed257(o.enumDescriptions); | 330 checkUnnamed259(o.enumDescriptions); |
| 331 unittest.expect(o.format, unittest.equals('foo')); | 331 unittest.expect(o.format, unittest.equals('foo')); |
| 332 unittest.expect(o.id, unittest.equals('foo')); | 332 unittest.expect(o.id, unittest.equals('foo')); |
| 333 checkJsonSchema(o.items); | 333 checkJsonSchema(o.items); |
| 334 unittest.expect(o.location, unittest.equals('foo')); | 334 unittest.expect(o.location, unittest.equals('foo')); |
| 335 unittest.expect(o.maximum, unittest.equals('foo')); | 335 unittest.expect(o.maximum, unittest.equals('foo')); |
| 336 unittest.expect(o.minimum, unittest.equals('foo')); | 336 unittest.expect(o.minimum, unittest.equals('foo')); |
| 337 unittest.expect(o.pattern, unittest.equals('foo')); | 337 unittest.expect(o.pattern, unittest.equals('foo')); |
| 338 checkUnnamed258(o.properties); | 338 checkUnnamed260(o.properties); |
| 339 unittest.expect(o.readOnly, unittest.isTrue); | 339 unittest.expect(o.readOnly, unittest.isTrue); |
| 340 unittest.expect(o.repeated, unittest.isTrue); | 340 unittest.expect(o.repeated, unittest.isTrue); |
| 341 unittest.expect(o.required, unittest.isTrue); | 341 unittest.expect(o.required, unittest.isTrue); |
| 342 unittest.expect(o.type, unittest.equals('foo')); | 342 unittest.expect(o.type, unittest.equals('foo')); |
| 343 checkJsonSchemaVariant(o.variant); | 343 checkJsonSchemaVariant(o.variant); |
| 344 } | 344 } |
| 345 buildCounterJsonSchema--; | 345 buildCounterJsonSchema--; |
| 346 } | 346 } |
| 347 | 347 |
| 348 core.int buildCounterRestDescriptionAuthOauth2ScopesValue = 0; | 348 core.int buildCounterRestDescriptionAuthOauth2ScopesValue = 0; |
| 349 buildRestDescriptionAuthOauth2ScopesValue() { | 349 buildRestDescriptionAuthOauth2ScopesValue() { |
| 350 var o = new api.RestDescriptionAuthOauth2ScopesValue(); | 350 var o = new api.RestDescriptionAuthOauth2ScopesValue(); |
| 351 buildCounterRestDescriptionAuthOauth2ScopesValue++; | 351 buildCounterRestDescriptionAuthOauth2ScopesValue++; |
| 352 if (buildCounterRestDescriptionAuthOauth2ScopesValue < 3) { | 352 if (buildCounterRestDescriptionAuthOauth2ScopesValue < 3) { |
| 353 o.description = "foo"; | 353 o.description = "foo"; |
| 354 } | 354 } |
| 355 buildCounterRestDescriptionAuthOauth2ScopesValue--; | 355 buildCounterRestDescriptionAuthOauth2ScopesValue--; |
| 356 return o; | 356 return o; |
| 357 } | 357 } |
| 358 | 358 |
| 359 checkRestDescriptionAuthOauth2ScopesValue(api.RestDescriptionAuthOauth2ScopesVal
ue o) { | 359 checkRestDescriptionAuthOauth2ScopesValue(api.RestDescriptionAuthOauth2ScopesVal
ue o) { |
| 360 buildCounterRestDescriptionAuthOauth2ScopesValue++; | 360 buildCounterRestDescriptionAuthOauth2ScopesValue++; |
| 361 if (buildCounterRestDescriptionAuthOauth2ScopesValue < 3) { | 361 if (buildCounterRestDescriptionAuthOauth2ScopesValue < 3) { |
| 362 unittest.expect(o.description, unittest.equals('foo')); | 362 unittest.expect(o.description, unittest.equals('foo')); |
| 363 } | 363 } |
| 364 buildCounterRestDescriptionAuthOauth2ScopesValue--; | 364 buildCounterRestDescriptionAuthOauth2ScopesValue--; |
| 365 } | 365 } |
| 366 | 366 |
| 367 buildUnnamed260() { | 367 buildUnnamed262() { |
| 368 var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>(); | 368 var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>(); |
| 369 o["x"] = buildRestDescriptionAuthOauth2ScopesValue(); | 369 o["x"] = buildRestDescriptionAuthOauth2ScopesValue(); |
| 370 o["y"] = buildRestDescriptionAuthOauth2ScopesValue(); | 370 o["y"] = buildRestDescriptionAuthOauth2ScopesValue(); |
| 371 return o; | 371 return o; |
| 372 } | 372 } |
| 373 | 373 |
| 374 checkUnnamed260(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>
o) { | 374 checkUnnamed262(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>
o) { |
| 375 unittest.expect(o, unittest.hasLength(2)); | 375 unittest.expect(o, unittest.hasLength(2)); |
| 376 checkRestDescriptionAuthOauth2ScopesValue(o["x"]); | 376 checkRestDescriptionAuthOauth2ScopesValue(o["x"]); |
| 377 checkRestDescriptionAuthOauth2ScopesValue(o["y"]); | 377 checkRestDescriptionAuthOauth2ScopesValue(o["y"]); |
| 378 } | 378 } |
| 379 | 379 |
| 380 core.int buildCounterRestDescriptionAuthOauth2 = 0; | 380 core.int buildCounterRestDescriptionAuthOauth2 = 0; |
| 381 buildRestDescriptionAuthOauth2() { | 381 buildRestDescriptionAuthOauth2() { |
| 382 var o = new api.RestDescriptionAuthOauth2(); | 382 var o = new api.RestDescriptionAuthOauth2(); |
| 383 buildCounterRestDescriptionAuthOauth2++; | 383 buildCounterRestDescriptionAuthOauth2++; |
| 384 if (buildCounterRestDescriptionAuthOauth2 < 3) { | 384 if (buildCounterRestDescriptionAuthOauth2 < 3) { |
| 385 o.scopes = buildUnnamed260(); | 385 o.scopes = buildUnnamed262(); |
| 386 } | 386 } |
| 387 buildCounterRestDescriptionAuthOauth2--; | 387 buildCounterRestDescriptionAuthOauth2--; |
| 388 return o; | 388 return o; |
| 389 } | 389 } |
| 390 | 390 |
| 391 checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) { | 391 checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) { |
| 392 buildCounterRestDescriptionAuthOauth2++; | 392 buildCounterRestDescriptionAuthOauth2++; |
| 393 if (buildCounterRestDescriptionAuthOauth2 < 3) { | 393 if (buildCounterRestDescriptionAuthOauth2 < 3) { |
| 394 checkUnnamed260(o.scopes); | 394 checkUnnamed262(o.scopes); |
| 395 } | 395 } |
| 396 buildCounterRestDescriptionAuthOauth2--; | 396 buildCounterRestDescriptionAuthOauth2--; |
| 397 } | 397 } |
| 398 | 398 |
| 399 core.int buildCounterRestDescriptionAuth = 0; | 399 core.int buildCounterRestDescriptionAuth = 0; |
| 400 buildRestDescriptionAuth() { | 400 buildRestDescriptionAuth() { |
| 401 var o = new api.RestDescriptionAuth(); | 401 var o = new api.RestDescriptionAuth(); |
| 402 buildCounterRestDescriptionAuth++; | 402 buildCounterRestDescriptionAuth++; |
| 403 if (buildCounterRestDescriptionAuth < 3) { | 403 if (buildCounterRestDescriptionAuth < 3) { |
| 404 o.oauth2 = buildRestDescriptionAuthOauth2(); | 404 o.oauth2 = buildRestDescriptionAuthOauth2(); |
| 405 } | 405 } |
| 406 buildCounterRestDescriptionAuth--; | 406 buildCounterRestDescriptionAuth--; |
| 407 return o; | 407 return o; |
| 408 } | 408 } |
| 409 | 409 |
| 410 checkRestDescriptionAuth(api.RestDescriptionAuth o) { | 410 checkRestDescriptionAuth(api.RestDescriptionAuth o) { |
| 411 buildCounterRestDescriptionAuth++; | 411 buildCounterRestDescriptionAuth++; |
| 412 if (buildCounterRestDescriptionAuth < 3) { | 412 if (buildCounterRestDescriptionAuth < 3) { |
| 413 checkRestDescriptionAuthOauth2(o.oauth2); | 413 checkRestDescriptionAuthOauth2(o.oauth2); |
| 414 } | 414 } |
| 415 buildCounterRestDescriptionAuth--; | 415 buildCounterRestDescriptionAuth--; |
| 416 } | 416 } |
| 417 | 417 |
| 418 buildUnnamed261() { | 418 buildUnnamed263() { |
| 419 var o = new core.List<core.String>(); | 419 var o = new core.List<core.String>(); |
| 420 o.add("foo"); | 420 o.add("foo"); |
| 421 o.add("foo"); | 421 o.add("foo"); |
| 422 return o; | 422 return o; |
| 423 } | 423 } |
| 424 | 424 |
| 425 checkUnnamed261(core.List<core.String> o) { | 425 checkUnnamed263(core.List<core.String> o) { |
| 426 unittest.expect(o, unittest.hasLength(2)); | 426 unittest.expect(o, unittest.hasLength(2)); |
| 427 unittest.expect(o[0], unittest.equals('foo')); | 427 unittest.expect(o[0], unittest.equals('foo')); |
| 428 unittest.expect(o[1], unittest.equals('foo')); | 428 unittest.expect(o[1], unittest.equals('foo')); |
| 429 } | 429 } |
| 430 | 430 |
| 431 core.int buildCounterRestDescriptionIcons = 0; | 431 core.int buildCounterRestDescriptionIcons = 0; |
| 432 buildRestDescriptionIcons() { | 432 buildRestDescriptionIcons() { |
| 433 var o = new api.RestDescriptionIcons(); | 433 var o = new api.RestDescriptionIcons(); |
| 434 buildCounterRestDescriptionIcons++; | 434 buildCounterRestDescriptionIcons++; |
| 435 if (buildCounterRestDescriptionIcons < 3) { | 435 if (buildCounterRestDescriptionIcons < 3) { |
| 436 o.x16 = "foo"; | 436 o.x16 = "foo"; |
| 437 o.x32 = "foo"; | 437 o.x32 = "foo"; |
| 438 } | 438 } |
| 439 buildCounterRestDescriptionIcons--; | 439 buildCounterRestDescriptionIcons--; |
| 440 return o; | 440 return o; |
| 441 } | 441 } |
| 442 | 442 |
| 443 checkRestDescriptionIcons(api.RestDescriptionIcons o) { | 443 checkRestDescriptionIcons(api.RestDescriptionIcons o) { |
| 444 buildCounterRestDescriptionIcons++; | 444 buildCounterRestDescriptionIcons++; |
| 445 if (buildCounterRestDescriptionIcons < 3) { | 445 if (buildCounterRestDescriptionIcons < 3) { |
| 446 unittest.expect(o.x16, unittest.equals('foo')); | 446 unittest.expect(o.x16, unittest.equals('foo')); |
| 447 unittest.expect(o.x32, unittest.equals('foo')); | 447 unittest.expect(o.x32, unittest.equals('foo')); |
| 448 } | 448 } |
| 449 buildCounterRestDescriptionIcons--; | 449 buildCounterRestDescriptionIcons--; |
| 450 } | 450 } |
| 451 | 451 |
| 452 buildUnnamed262() { | 452 buildUnnamed264() { |
| 453 var o = new core.List<core.String>(); | 453 var o = new core.List<core.String>(); |
| 454 o.add("foo"); | 454 o.add("foo"); |
| 455 o.add("foo"); | 455 o.add("foo"); |
| 456 return o; | 456 return o; |
| 457 } | 457 } |
| 458 | 458 |
| 459 checkUnnamed262(core.List<core.String> o) { | 459 checkUnnamed264(core.List<core.String> o) { |
| 460 unittest.expect(o, unittest.hasLength(2)); | 460 unittest.expect(o, unittest.hasLength(2)); |
| 461 unittest.expect(o[0], unittest.equals('foo')); | 461 unittest.expect(o[0], unittest.equals('foo')); |
| 462 unittest.expect(o[1], unittest.equals('foo')); | 462 unittest.expect(o[1], unittest.equals('foo')); |
| 463 } | 463 } |
| 464 | 464 |
| 465 buildUnnamed263() { | 465 buildUnnamed265() { |
| 466 var o = new core.Map<core.String, api.RestMethod>(); | 466 var o = new core.Map<core.String, api.RestMethod>(); |
| 467 o["x"] = buildRestMethod(); | 467 o["x"] = buildRestMethod(); |
| 468 o["y"] = buildRestMethod(); | 468 o["y"] = buildRestMethod(); |
| 469 return o; | 469 return o; |
| 470 } | 470 } |
| 471 | 471 |
| 472 checkUnnamed263(core.Map<core.String, api.RestMethod> o) { | 472 checkUnnamed265(core.Map<core.String, api.RestMethod> o) { |
| 473 unittest.expect(o, unittest.hasLength(2)); | 473 unittest.expect(o, unittest.hasLength(2)); |
| 474 checkRestMethod(o["x"]); | 474 checkRestMethod(o["x"]); |
| 475 checkRestMethod(o["y"]); | 475 checkRestMethod(o["y"]); |
| 476 } | 476 } |
| 477 | 477 |
| 478 buildUnnamed264() { | |
| 479 var o = new core.Map<core.String, api.JsonSchema>(); | |
| 480 o["x"] = buildJsonSchema(); | |
| 481 o["y"] = buildJsonSchema(); | |
| 482 return o; | |
| 483 } | |
| 484 | |
| 485 checkUnnamed264(core.Map<core.String, api.JsonSchema> o) { | |
| 486 unittest.expect(o, unittest.hasLength(2)); | |
| 487 checkJsonSchema(o["x"]); | |
| 488 checkJsonSchema(o["y"]); | |
| 489 } | |
| 490 | |
| 491 buildUnnamed265() { | |
| 492 var o = new core.Map<core.String, api.RestResource>(); | |
| 493 o["x"] = buildRestResource(); | |
| 494 o["y"] = buildRestResource(); | |
| 495 return o; | |
| 496 } | |
| 497 | |
| 498 checkUnnamed265(core.Map<core.String, api.RestResource> o) { | |
| 499 unittest.expect(o, unittest.hasLength(2)); | |
| 500 checkRestResource(o["x"]); | |
| 501 checkRestResource(o["y"]); | |
| 502 } | |
| 503 | |
| 504 buildUnnamed266() { | 478 buildUnnamed266() { |
| 505 var o = new core.Map<core.String, api.JsonSchema>(); | 479 var o = new core.Map<core.String, api.JsonSchema>(); |
| 506 o["x"] = buildJsonSchema(); | 480 o["x"] = buildJsonSchema(); |
| 507 o["y"] = buildJsonSchema(); | 481 o["y"] = buildJsonSchema(); |
| 508 return o; | 482 return o; |
| 509 } | 483 } |
| 510 | 484 |
| 511 checkUnnamed266(core.Map<core.String, api.JsonSchema> o) { | 485 checkUnnamed266(core.Map<core.String, api.JsonSchema> o) { |
| 512 unittest.expect(o, unittest.hasLength(2)); | 486 unittest.expect(o, unittest.hasLength(2)); |
| 513 checkJsonSchema(o["x"]); | 487 checkJsonSchema(o["x"]); |
| 514 checkJsonSchema(o["y"]); | 488 checkJsonSchema(o["y"]); |
| 489 } |
| 490 |
| 491 buildUnnamed267() { |
| 492 var o = new core.Map<core.String, api.RestResource>(); |
| 493 o["x"] = buildRestResource(); |
| 494 o["y"] = buildRestResource(); |
| 495 return o; |
| 496 } |
| 497 |
| 498 checkUnnamed267(core.Map<core.String, api.RestResource> o) { |
| 499 unittest.expect(o, unittest.hasLength(2)); |
| 500 checkRestResource(o["x"]); |
| 501 checkRestResource(o["y"]); |
| 502 } |
| 503 |
| 504 buildUnnamed268() { |
| 505 var o = new core.Map<core.String, api.JsonSchema>(); |
| 506 o["x"] = buildJsonSchema(); |
| 507 o["y"] = buildJsonSchema(); |
| 508 return o; |
| 509 } |
| 510 |
| 511 checkUnnamed268(core.Map<core.String, api.JsonSchema> o) { |
| 512 unittest.expect(o, unittest.hasLength(2)); |
| 513 checkJsonSchema(o["x"]); |
| 514 checkJsonSchema(o["y"]); |
| 515 } | 515 } |
| 516 | 516 |
| 517 core.int buildCounterRestDescription = 0; | 517 core.int buildCounterRestDescription = 0; |
| 518 buildRestDescription() { | 518 buildRestDescription() { |
| 519 var o = new api.RestDescription(); | 519 var o = new api.RestDescription(); |
| 520 buildCounterRestDescription++; | 520 buildCounterRestDescription++; |
| 521 if (buildCounterRestDescription < 3) { | 521 if (buildCounterRestDescription < 3) { |
| 522 o.auth = buildRestDescriptionAuth(); | 522 o.auth = buildRestDescriptionAuth(); |
| 523 o.basePath = "foo"; | 523 o.basePath = "foo"; |
| 524 o.baseUrl = "foo"; | 524 o.baseUrl = "foo"; |
| 525 o.batchPath = "foo"; | 525 o.batchPath = "foo"; |
| 526 o.canonicalName = "foo"; | 526 o.canonicalName = "foo"; |
| 527 o.description = "foo"; | 527 o.description = "foo"; |
| 528 o.discoveryVersion = "foo"; | 528 o.discoveryVersion = "foo"; |
| 529 o.documentationLink = "foo"; | 529 o.documentationLink = "foo"; |
| 530 o.etag = "foo"; | 530 o.etag = "foo"; |
| 531 o.exponentialBackoffDefault = true; | 531 o.exponentialBackoffDefault = true; |
| 532 o.features = buildUnnamed261(); | 532 o.features = buildUnnamed263(); |
| 533 o.icons = buildRestDescriptionIcons(); | 533 o.icons = buildRestDescriptionIcons(); |
| 534 o.id = "foo"; | 534 o.id = "foo"; |
| 535 o.kind = "foo"; | 535 o.kind = "foo"; |
| 536 o.labels = buildUnnamed262(); | 536 o.labels = buildUnnamed264(); |
| 537 o.methods = buildUnnamed263(); | 537 o.methods = buildUnnamed265(); |
| 538 o.name = "foo"; | 538 o.name = "foo"; |
| 539 o.ownerDomain = "foo"; | 539 o.ownerDomain = "foo"; |
| 540 o.ownerName = "foo"; | 540 o.ownerName = "foo"; |
| 541 o.packagePath = "foo"; | 541 o.packagePath = "foo"; |
| 542 o.parameters = buildUnnamed264(); | 542 o.parameters = buildUnnamed266(); |
| 543 o.protocol = "foo"; | 543 o.protocol = "foo"; |
| 544 o.resources = buildUnnamed265(); | 544 o.resources = buildUnnamed267(); |
| 545 o.revision = "foo"; | 545 o.revision = "foo"; |
| 546 o.rootUrl = "foo"; | 546 o.rootUrl = "foo"; |
| 547 o.schemas = buildUnnamed266(); | 547 o.schemas = buildUnnamed268(); |
| 548 o.servicePath = "foo"; | 548 o.servicePath = "foo"; |
| 549 o.title = "foo"; | 549 o.title = "foo"; |
| 550 o.version = "foo"; | 550 o.version = "foo"; |
| 551 o.versionModule = true; | 551 o.versionModule = true; |
| 552 } | 552 } |
| 553 buildCounterRestDescription--; | 553 buildCounterRestDescription--; |
| 554 return o; | 554 return o; |
| 555 } | 555 } |
| 556 | 556 |
| 557 checkRestDescription(api.RestDescription o) { | 557 checkRestDescription(api.RestDescription o) { |
| 558 buildCounterRestDescription++; | 558 buildCounterRestDescription++; |
| 559 if (buildCounterRestDescription < 3) { | 559 if (buildCounterRestDescription < 3) { |
| 560 checkRestDescriptionAuth(o.auth); | 560 checkRestDescriptionAuth(o.auth); |
| 561 unittest.expect(o.basePath, unittest.equals('foo')); | 561 unittest.expect(o.basePath, unittest.equals('foo')); |
| 562 unittest.expect(o.baseUrl, unittest.equals('foo')); | 562 unittest.expect(o.baseUrl, unittest.equals('foo')); |
| 563 unittest.expect(o.batchPath, unittest.equals('foo')); | 563 unittest.expect(o.batchPath, unittest.equals('foo')); |
| 564 unittest.expect(o.canonicalName, unittest.equals('foo')); | 564 unittest.expect(o.canonicalName, unittest.equals('foo')); |
| 565 unittest.expect(o.description, unittest.equals('foo')); | 565 unittest.expect(o.description, unittest.equals('foo')); |
| 566 unittest.expect(o.discoveryVersion, unittest.equals('foo')); | 566 unittest.expect(o.discoveryVersion, unittest.equals('foo')); |
| 567 unittest.expect(o.documentationLink, unittest.equals('foo')); | 567 unittest.expect(o.documentationLink, unittest.equals('foo')); |
| 568 unittest.expect(o.etag, unittest.equals('foo')); | 568 unittest.expect(o.etag, unittest.equals('foo')); |
| 569 unittest.expect(o.exponentialBackoffDefault, unittest.isTrue); | 569 unittest.expect(o.exponentialBackoffDefault, unittest.isTrue); |
| 570 checkUnnamed261(o.features); | 570 checkUnnamed263(o.features); |
| 571 checkRestDescriptionIcons(o.icons); | 571 checkRestDescriptionIcons(o.icons); |
| 572 unittest.expect(o.id, unittest.equals('foo')); | 572 unittest.expect(o.id, unittest.equals('foo')); |
| 573 unittest.expect(o.kind, unittest.equals('foo')); | 573 unittest.expect(o.kind, unittest.equals('foo')); |
| 574 checkUnnamed262(o.labels); | 574 checkUnnamed264(o.labels); |
| 575 checkUnnamed263(o.methods); | 575 checkUnnamed265(o.methods); |
| 576 unittest.expect(o.name, unittest.equals('foo')); | 576 unittest.expect(o.name, unittest.equals('foo')); |
| 577 unittest.expect(o.ownerDomain, unittest.equals('foo')); | 577 unittest.expect(o.ownerDomain, unittest.equals('foo')); |
| 578 unittest.expect(o.ownerName, unittest.equals('foo')); | 578 unittest.expect(o.ownerName, unittest.equals('foo')); |
| 579 unittest.expect(o.packagePath, unittest.equals('foo')); | 579 unittest.expect(o.packagePath, unittest.equals('foo')); |
| 580 checkUnnamed264(o.parameters); | 580 checkUnnamed266(o.parameters); |
| 581 unittest.expect(o.protocol, unittest.equals('foo')); | 581 unittest.expect(o.protocol, unittest.equals('foo')); |
| 582 checkUnnamed265(o.resources); | 582 checkUnnamed267(o.resources); |
| 583 unittest.expect(o.revision, unittest.equals('foo')); | 583 unittest.expect(o.revision, unittest.equals('foo')); |
| 584 unittest.expect(o.rootUrl, unittest.equals('foo')); | 584 unittest.expect(o.rootUrl, unittest.equals('foo')); |
| 585 checkUnnamed266(o.schemas); | 585 checkUnnamed268(o.schemas); |
| 586 unittest.expect(o.servicePath, unittest.equals('foo')); | 586 unittest.expect(o.servicePath, unittest.equals('foo')); |
| 587 unittest.expect(o.title, unittest.equals('foo')); | 587 unittest.expect(o.title, unittest.equals('foo')); |
| 588 unittest.expect(o.version, unittest.equals('foo')); | 588 unittest.expect(o.version, unittest.equals('foo')); |
| 589 unittest.expect(o.versionModule, unittest.isTrue); | 589 unittest.expect(o.versionModule, unittest.isTrue); |
| 590 } | 590 } |
| 591 buildCounterRestDescription--; | 591 buildCounterRestDescription--; |
| 592 } | 592 } |
| 593 | 593 |
| 594 buildUnnamed267() { | 594 buildUnnamed269() { |
| 595 var o = new core.List<core.String>(); | 595 var o = new core.List<core.String>(); |
| 596 o.add("foo"); | 596 o.add("foo"); |
| 597 o.add("foo"); | 597 o.add("foo"); |
| 598 return o; | 598 return o; |
| 599 } | 599 } |
| 600 | 600 |
| 601 checkUnnamed267(core.List<core.String> o) { | 601 checkUnnamed269(core.List<core.String> o) { |
| 602 unittest.expect(o, unittest.hasLength(2)); | 602 unittest.expect(o, unittest.hasLength(2)); |
| 603 unittest.expect(o[0], unittest.equals('foo')); | 603 unittest.expect(o[0], unittest.equals('foo')); |
| 604 unittest.expect(o[1], unittest.equals('foo')); | 604 unittest.expect(o[1], unittest.equals('foo')); |
| 605 } | 605 } |
| 606 | 606 |
| 607 core.int buildCounterRestMethodMediaUploadProtocolsResumable = 0; | 607 core.int buildCounterRestMethodMediaUploadProtocolsResumable = 0; |
| 608 buildRestMethodMediaUploadProtocolsResumable() { | 608 buildRestMethodMediaUploadProtocolsResumable() { |
| 609 var o = new api.RestMethodMediaUploadProtocolsResumable(); | 609 var o = new api.RestMethodMediaUploadProtocolsResumable(); |
| 610 buildCounterRestMethodMediaUploadProtocolsResumable++; | 610 buildCounterRestMethodMediaUploadProtocolsResumable++; |
| 611 if (buildCounterRestMethodMediaUploadProtocolsResumable < 3) { | 611 if (buildCounterRestMethodMediaUploadProtocolsResumable < 3) { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 checkRestMethodMediaUploadProtocolsSimple(o.simple); | 665 checkRestMethodMediaUploadProtocolsSimple(o.simple); |
| 666 } | 666 } |
| 667 buildCounterRestMethodMediaUploadProtocols--; | 667 buildCounterRestMethodMediaUploadProtocols--; |
| 668 } | 668 } |
| 669 | 669 |
| 670 core.int buildCounterRestMethodMediaUpload = 0; | 670 core.int buildCounterRestMethodMediaUpload = 0; |
| 671 buildRestMethodMediaUpload() { | 671 buildRestMethodMediaUpload() { |
| 672 var o = new api.RestMethodMediaUpload(); | 672 var o = new api.RestMethodMediaUpload(); |
| 673 buildCounterRestMethodMediaUpload++; | 673 buildCounterRestMethodMediaUpload++; |
| 674 if (buildCounterRestMethodMediaUpload < 3) { | 674 if (buildCounterRestMethodMediaUpload < 3) { |
| 675 o.accept = buildUnnamed267(); | 675 o.accept = buildUnnamed269(); |
| 676 o.maxSize = "foo"; | 676 o.maxSize = "foo"; |
| 677 o.protocols = buildRestMethodMediaUploadProtocols(); | 677 o.protocols = buildRestMethodMediaUploadProtocols(); |
| 678 } | 678 } |
| 679 buildCounterRestMethodMediaUpload--; | 679 buildCounterRestMethodMediaUpload--; |
| 680 return o; | 680 return o; |
| 681 } | 681 } |
| 682 | 682 |
| 683 checkRestMethodMediaUpload(api.RestMethodMediaUpload o) { | 683 checkRestMethodMediaUpload(api.RestMethodMediaUpload o) { |
| 684 buildCounterRestMethodMediaUpload++; | 684 buildCounterRestMethodMediaUpload++; |
| 685 if (buildCounterRestMethodMediaUpload < 3) { | 685 if (buildCounterRestMethodMediaUpload < 3) { |
| 686 checkUnnamed267(o.accept); | 686 checkUnnamed269(o.accept); |
| 687 unittest.expect(o.maxSize, unittest.equals('foo')); | 687 unittest.expect(o.maxSize, unittest.equals('foo')); |
| 688 checkRestMethodMediaUploadProtocols(o.protocols); | 688 checkRestMethodMediaUploadProtocols(o.protocols); |
| 689 } | 689 } |
| 690 buildCounterRestMethodMediaUpload--; | 690 buildCounterRestMethodMediaUpload--; |
| 691 } | 691 } |
| 692 | 692 |
| 693 buildUnnamed268() { | 693 buildUnnamed270() { |
| 694 var o = new core.List<core.String>(); | 694 var o = new core.List<core.String>(); |
| 695 o.add("foo"); | 695 o.add("foo"); |
| 696 o.add("foo"); | 696 o.add("foo"); |
| 697 return o; | 697 return o; |
| 698 } | 698 } |
| 699 | 699 |
| 700 checkUnnamed268(core.List<core.String> o) { | 700 checkUnnamed270(core.List<core.String> o) { |
| 701 unittest.expect(o, unittest.hasLength(2)); | 701 unittest.expect(o, unittest.hasLength(2)); |
| 702 unittest.expect(o[0], unittest.equals('foo')); | 702 unittest.expect(o[0], unittest.equals('foo')); |
| 703 unittest.expect(o[1], unittest.equals('foo')); | 703 unittest.expect(o[1], unittest.equals('foo')); |
| 704 } | 704 } |
| 705 | 705 |
| 706 buildUnnamed269() { | 706 buildUnnamed271() { |
| 707 var o = new core.Map<core.String, api.JsonSchema>(); | 707 var o = new core.Map<core.String, api.JsonSchema>(); |
| 708 o["x"] = buildJsonSchema(); | 708 o["x"] = buildJsonSchema(); |
| 709 o["y"] = buildJsonSchema(); | 709 o["y"] = buildJsonSchema(); |
| 710 return o; | 710 return o; |
| 711 } | 711 } |
| 712 | 712 |
| 713 checkUnnamed269(core.Map<core.String, api.JsonSchema> o) { | 713 checkUnnamed271(core.Map<core.String, api.JsonSchema> o) { |
| 714 unittest.expect(o, unittest.hasLength(2)); | 714 unittest.expect(o, unittest.hasLength(2)); |
| 715 checkJsonSchema(o["x"]); | 715 checkJsonSchema(o["x"]); |
| 716 checkJsonSchema(o["y"]); | 716 checkJsonSchema(o["y"]); |
| 717 } | 717 } |
| 718 | 718 |
| 719 core.int buildCounterRestMethodRequest = 0; | 719 core.int buildCounterRestMethodRequest = 0; |
| 720 buildRestMethodRequest() { | 720 buildRestMethodRequest() { |
| 721 var o = new api.RestMethodRequest(); | 721 var o = new api.RestMethodRequest(); |
| 722 buildCounterRestMethodRequest++; | 722 buildCounterRestMethodRequest++; |
| 723 if (buildCounterRestMethodRequest < 3) { | 723 if (buildCounterRestMethodRequest < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 749 } | 749 } |
| 750 | 750 |
| 751 checkRestMethodResponse(api.RestMethodResponse o) { | 751 checkRestMethodResponse(api.RestMethodResponse o) { |
| 752 buildCounterRestMethodResponse++; | 752 buildCounterRestMethodResponse++; |
| 753 if (buildCounterRestMethodResponse < 3) { | 753 if (buildCounterRestMethodResponse < 3) { |
| 754 unittest.expect(o.P_ref, unittest.equals('foo')); | 754 unittest.expect(o.P_ref, unittest.equals('foo')); |
| 755 } | 755 } |
| 756 buildCounterRestMethodResponse--; | 756 buildCounterRestMethodResponse--; |
| 757 } | 757 } |
| 758 | 758 |
| 759 buildUnnamed270() { | 759 buildUnnamed272() { |
| 760 var o = new core.List<core.String>(); | 760 var o = new core.List<core.String>(); |
| 761 o.add("foo"); | 761 o.add("foo"); |
| 762 o.add("foo"); | 762 o.add("foo"); |
| 763 return o; | 763 return o; |
| 764 } | 764 } |
| 765 | 765 |
| 766 checkUnnamed270(core.List<core.String> o) { | 766 checkUnnamed272(core.List<core.String> o) { |
| 767 unittest.expect(o, unittest.hasLength(2)); | 767 unittest.expect(o, unittest.hasLength(2)); |
| 768 unittest.expect(o[0], unittest.equals('foo')); | 768 unittest.expect(o[0], unittest.equals('foo')); |
| 769 unittest.expect(o[1], unittest.equals('foo')); | 769 unittest.expect(o[1], unittest.equals('foo')); |
| 770 } | 770 } |
| 771 | 771 |
| 772 core.int buildCounterRestMethod = 0; | 772 core.int buildCounterRestMethod = 0; |
| 773 buildRestMethod() { | 773 buildRestMethod() { |
| 774 var o = new api.RestMethod(); | 774 var o = new api.RestMethod(); |
| 775 buildCounterRestMethod++; | 775 buildCounterRestMethod++; |
| 776 if (buildCounterRestMethod < 3) { | 776 if (buildCounterRestMethod < 3) { |
| 777 o.description = "foo"; | 777 o.description = "foo"; |
| 778 o.etagRequired = true; | 778 o.etagRequired = true; |
| 779 o.httpMethod = "foo"; | 779 o.httpMethod = "foo"; |
| 780 o.id = "foo"; | 780 o.id = "foo"; |
| 781 o.mediaUpload = buildRestMethodMediaUpload(); | 781 o.mediaUpload = buildRestMethodMediaUpload(); |
| 782 o.parameterOrder = buildUnnamed268(); | 782 o.parameterOrder = buildUnnamed270(); |
| 783 o.parameters = buildUnnamed269(); | 783 o.parameters = buildUnnamed271(); |
| 784 o.path = "foo"; | 784 o.path = "foo"; |
| 785 o.request = buildRestMethodRequest(); | 785 o.request = buildRestMethodRequest(); |
| 786 o.response = buildRestMethodResponse(); | 786 o.response = buildRestMethodResponse(); |
| 787 o.scopes = buildUnnamed270(); | 787 o.scopes = buildUnnamed272(); |
| 788 o.supportsMediaDownload = true; | 788 o.supportsMediaDownload = true; |
| 789 o.supportsMediaUpload = true; | 789 o.supportsMediaUpload = true; |
| 790 o.supportsSubscription = true; | 790 o.supportsSubscription = true; |
| 791 o.useMediaDownloadService = true; | 791 o.useMediaDownloadService = true; |
| 792 } | 792 } |
| 793 buildCounterRestMethod--; | 793 buildCounterRestMethod--; |
| 794 return o; | 794 return o; |
| 795 } | 795 } |
| 796 | 796 |
| 797 checkRestMethod(api.RestMethod o) { | 797 checkRestMethod(api.RestMethod o) { |
| 798 buildCounterRestMethod++; | 798 buildCounterRestMethod++; |
| 799 if (buildCounterRestMethod < 3) { | 799 if (buildCounterRestMethod < 3) { |
| 800 unittest.expect(o.description, unittest.equals('foo')); | 800 unittest.expect(o.description, unittest.equals('foo')); |
| 801 unittest.expect(o.etagRequired, unittest.isTrue); | 801 unittest.expect(o.etagRequired, unittest.isTrue); |
| 802 unittest.expect(o.httpMethod, unittest.equals('foo')); | 802 unittest.expect(o.httpMethod, unittest.equals('foo')); |
| 803 unittest.expect(o.id, unittest.equals('foo')); | 803 unittest.expect(o.id, unittest.equals('foo')); |
| 804 checkRestMethodMediaUpload(o.mediaUpload); | 804 checkRestMethodMediaUpload(o.mediaUpload); |
| 805 checkUnnamed268(o.parameterOrder); | 805 checkUnnamed270(o.parameterOrder); |
| 806 checkUnnamed269(o.parameters); | 806 checkUnnamed271(o.parameters); |
| 807 unittest.expect(o.path, unittest.equals('foo')); | 807 unittest.expect(o.path, unittest.equals('foo')); |
| 808 checkRestMethodRequest(o.request); | 808 checkRestMethodRequest(o.request); |
| 809 checkRestMethodResponse(o.response); | 809 checkRestMethodResponse(o.response); |
| 810 checkUnnamed270(o.scopes); | 810 checkUnnamed272(o.scopes); |
| 811 unittest.expect(o.supportsMediaDownload, unittest.isTrue); | 811 unittest.expect(o.supportsMediaDownload, unittest.isTrue); |
| 812 unittest.expect(o.supportsMediaUpload, unittest.isTrue); | 812 unittest.expect(o.supportsMediaUpload, unittest.isTrue); |
| 813 unittest.expect(o.supportsSubscription, unittest.isTrue); | 813 unittest.expect(o.supportsSubscription, unittest.isTrue); |
| 814 unittest.expect(o.useMediaDownloadService, unittest.isTrue); | 814 unittest.expect(o.useMediaDownloadService, unittest.isTrue); |
| 815 } | 815 } |
| 816 buildCounterRestMethod--; | 816 buildCounterRestMethod--; |
| 817 } | 817 } |
| 818 | 818 |
| 819 buildUnnamed271() { | 819 buildUnnamed273() { |
| 820 var o = new core.Map<core.String, api.RestMethod>(); | 820 var o = new core.Map<core.String, api.RestMethod>(); |
| 821 o["x"] = buildRestMethod(); | 821 o["x"] = buildRestMethod(); |
| 822 o["y"] = buildRestMethod(); | 822 o["y"] = buildRestMethod(); |
| 823 return o; | 823 return o; |
| 824 } | 824 } |
| 825 | 825 |
| 826 checkUnnamed271(core.Map<core.String, api.RestMethod> o) { | 826 checkUnnamed273(core.Map<core.String, api.RestMethod> o) { |
| 827 unittest.expect(o, unittest.hasLength(2)); | 827 unittest.expect(o, unittest.hasLength(2)); |
| 828 checkRestMethod(o["x"]); | 828 checkRestMethod(o["x"]); |
| 829 checkRestMethod(o["y"]); | 829 checkRestMethod(o["y"]); |
| 830 } | 830 } |
| 831 | 831 |
| 832 buildUnnamed272() { | 832 buildUnnamed274() { |
| 833 var o = new core.Map<core.String, api.RestResource>(); | 833 var o = new core.Map<core.String, api.RestResource>(); |
| 834 o["x"] = buildRestResource(); | 834 o["x"] = buildRestResource(); |
| 835 o["y"] = buildRestResource(); | 835 o["y"] = buildRestResource(); |
| 836 return o; | 836 return o; |
| 837 } | 837 } |
| 838 | 838 |
| 839 checkUnnamed272(core.Map<core.String, api.RestResource> o) { | 839 checkUnnamed274(core.Map<core.String, api.RestResource> o) { |
| 840 unittest.expect(o, unittest.hasLength(2)); | 840 unittest.expect(o, unittest.hasLength(2)); |
| 841 checkRestResource(o["x"]); | 841 checkRestResource(o["x"]); |
| 842 checkRestResource(o["y"]); | 842 checkRestResource(o["y"]); |
| 843 } | 843 } |
| 844 | 844 |
| 845 core.int buildCounterRestResource = 0; | 845 core.int buildCounterRestResource = 0; |
| 846 buildRestResource() { | 846 buildRestResource() { |
| 847 var o = new api.RestResource(); | 847 var o = new api.RestResource(); |
| 848 buildCounterRestResource++; | 848 buildCounterRestResource++; |
| 849 if (buildCounterRestResource < 3) { | 849 if (buildCounterRestResource < 3) { |
| 850 o.methods = buildUnnamed271(); | 850 o.methods = buildUnnamed273(); |
| 851 o.resources = buildUnnamed272(); | 851 o.resources = buildUnnamed274(); |
| 852 } | 852 } |
| 853 buildCounterRestResource--; | 853 buildCounterRestResource--; |
| 854 return o; | 854 return o; |
| 855 } | 855 } |
| 856 | 856 |
| 857 checkRestResource(api.RestResource o) { | 857 checkRestResource(api.RestResource o) { |
| 858 buildCounterRestResource++; | 858 buildCounterRestResource++; |
| 859 if (buildCounterRestResource < 3) { | 859 if (buildCounterRestResource < 3) { |
| 860 checkUnnamed271(o.methods); | 860 checkUnnamed273(o.methods); |
| 861 checkUnnamed272(o.resources); | 861 checkUnnamed274(o.resources); |
| 862 } | 862 } |
| 863 buildCounterRestResource--; | 863 buildCounterRestResource--; |
| 864 } | 864 } |
| 865 | 865 |
| 866 | 866 |
| 867 main() { | 867 main() { |
| 868 unittest.group("obj-schema-DirectoryListItemsIcons", () { | 868 unittest.group("obj-schema-DirectoryListItemsIcons", () { |
| 869 unittest.test("to-json--from-json", () { | 869 unittest.test("to-json--from-json", () { |
| 870 var o = buildDirectoryListItemsIcons(); | 870 var o = buildDirectoryListItemsIcons(); |
| 871 var od = new api.DirectoryListItemsIcons.fromJson(o.toJson()); | 871 var od = new api.DirectoryListItemsIcons.fromJson(o.toJson()); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 }); | 1045 }); |
| 1046 | 1046 |
| 1047 | 1047 |
| 1048 unittest.group("resource-ApisResourceApi", () { | 1048 unittest.group("resource-ApisResourceApi", () { |
| 1049 unittest.test("method--getRest", () { | 1049 unittest.test("method--getRest", () { |
| 1050 | 1050 |
| 1051 var mock = new HttpServerMock(); | 1051 var mock = new HttpServerMock(); |
| 1052 api.ApisResourceApi res = new api.DiscoveryApi(mock).apis; | 1052 api.ApisResourceApi res = new api.DiscoveryApi(mock).apis; |
| 1053 var arg_api = "foo"; | 1053 var arg_api = "foo"; |
| 1054 var arg_version = "foo"; | 1054 var arg_version = "foo"; |
| 1055 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1055 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 1056 var path = (req.url).path; | 1056 var path = (req.url).path; |
| 1057 var pathOffset = 0; | 1057 var pathOffset = 0; |
| 1058 var index; | 1058 var index; |
| 1059 var subPart; | 1059 var subPart; |
| 1060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1061 pathOffset += 1; | 1061 pathOffset += 1; |
| 1062 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("discovery/v1/")); | 1062 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("discovery/v1/")); |
| 1063 pathOffset += 13; | 1063 pathOffset += 13; |
| 1064 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("apis/")); | 1064 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("apis/")); |
| 1065 pathOffset += 5; | 1065 pathOffset += 5; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1095 } | 1095 } |
| 1096 } | 1096 } |
| 1097 | 1097 |
| 1098 | 1098 |
| 1099 var h = { | 1099 var h = { |
| 1100 "content-type" : "application/json; charset=utf-8", | 1100 "content-type" : "application/json; charset=utf-8", |
| 1101 }; | 1101 }; |
| 1102 var resp = convert.JSON.encode(buildRestDescription()); | 1102 var resp = convert.JSON.encode(buildRestDescription()); |
| 1103 return new async.Future.value(stringResponse(200, h, resp)); | 1103 return new async.Future.value(stringResponse(200, h, resp)); |
| 1104 }), true); | 1104 }), true); |
| 1105 res.getRest(arg_api, arg_version).then(unittest.expectAsync(((api.RestDesc
ription response) { | 1105 res.getRest(arg_api, arg_version).then(unittest.expectAsync1(((api.RestDes
cription response) { |
| 1106 checkRestDescription(response); | 1106 checkRestDescription(response); |
| 1107 }))); | 1107 }))); |
| 1108 }); | 1108 }); |
| 1109 | 1109 |
| 1110 unittest.test("method--list", () { | 1110 unittest.test("method--list", () { |
| 1111 | 1111 |
| 1112 var mock = new HttpServerMock(); | 1112 var mock = new HttpServerMock(); |
| 1113 api.ApisResourceApi res = new api.DiscoveryApi(mock).apis; | 1113 api.ApisResourceApi res = new api.DiscoveryApi(mock).apis; |
| 1114 var arg_name = "foo"; | 1114 var arg_name = "foo"; |
| 1115 var arg_preferred = true; | 1115 var arg_preferred = true; |
| 1116 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1116 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 1117 var path = (req.url).path; | 1117 var path = (req.url).path; |
| 1118 var pathOffset = 0; | 1118 var pathOffset = 0; |
| 1119 var index; | 1119 var index; |
| 1120 var subPart; | 1120 var subPart; |
| 1121 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1121 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1122 pathOffset += 1; | 1122 pathOffset += 1; |
| 1123 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("discovery/v1/")); | 1123 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("discovery/v1/")); |
| 1124 pathOffset += 13; | 1124 pathOffset += 13; |
| 1125 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("apis")); | 1125 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("apis")); |
| 1126 pathOffset += 4; | 1126 pathOffset += 4; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1144 unittest.expect(queryMap["name"].first, unittest.equals(arg_name)); | 1144 unittest.expect(queryMap["name"].first, unittest.equals(arg_name)); |
| 1145 unittest.expect(queryMap["preferred"].first, unittest.equals("$arg_prefe
rred")); | 1145 unittest.expect(queryMap["preferred"].first, unittest.equals("$arg_prefe
rred")); |
| 1146 | 1146 |
| 1147 | 1147 |
| 1148 var h = { | 1148 var h = { |
| 1149 "content-type" : "application/json; charset=utf-8", | 1149 "content-type" : "application/json; charset=utf-8", |
| 1150 }; | 1150 }; |
| 1151 var resp = convert.JSON.encode(buildDirectoryList()); | 1151 var resp = convert.JSON.encode(buildDirectoryList()); |
| 1152 return new async.Future.value(stringResponse(200, h, resp)); | 1152 return new async.Future.value(stringResponse(200, h, resp)); |
| 1153 }), true); | 1153 }), true); |
| 1154 res.list(name: arg_name, preferred: arg_preferred).then(unittest.expectAsy
nc(((api.DirectoryList response) { | 1154 res.list(name: arg_name, preferred: arg_preferred).then(unittest.expectAsy
nc1(((api.DirectoryList response) { |
| 1155 checkDirectoryList(response); | 1155 checkDirectoryList(response); |
| 1156 }))); | 1156 }))); |
| 1157 }); | 1157 }); |
| 1158 | 1158 |
| 1159 }); | 1159 }); |
| 1160 | 1160 |
| 1161 | 1161 |
| 1162 } | 1162 } |
| 1163 | 1163 |
| OLD | NEW |