| OLD | NEW |
| 1 library googleapis.plusDomains.v1.test; | 1 library googleapis.plusDomains.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:unittest/unittest.dart' as unittest; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 headers, core.String body) { |
| 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 buildUnnamed2004() { | 54 buildUnnamed1233() { |
| 55 var o = new core.List<api.PlusDomainsAclentryResource>(); | 55 var o = new core.List<api.PlusDomainsAclentryResource>(); |
| 56 o.add(buildPlusDomainsAclentryResource()); | 56 o.add(buildPlusDomainsAclentryResource()); |
| 57 o.add(buildPlusDomainsAclentryResource()); | 57 o.add(buildPlusDomainsAclentryResource()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed2004(core.List<api.PlusDomainsAclentryResource> o) { | 61 checkUnnamed1233(core.List<api.PlusDomainsAclentryResource> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkPlusDomainsAclentryResource(o[0]); | 63 checkPlusDomainsAclentryResource(o[0]); |
| 64 checkPlusDomainsAclentryResource(o[1]); | 64 checkPlusDomainsAclentryResource(o[1]); |
| 65 } | 65 } |
| 66 | 66 |
| 67 core.int buildCounterAcl = 0; | 67 core.int buildCounterAcl = 0; |
| 68 buildAcl() { | 68 buildAcl() { |
| 69 var o = new api.Acl(); | 69 var o = new api.Acl(); |
| 70 buildCounterAcl++; | 70 buildCounterAcl++; |
| 71 if (buildCounterAcl < 3) { | 71 if (buildCounterAcl < 3) { |
| 72 o.description = "foo"; | 72 o.description = "foo"; |
| 73 o.domainRestricted = true; | 73 o.domainRestricted = true; |
| 74 o.items = buildUnnamed2004(); | 74 o.items = buildUnnamed1233(); |
| 75 o.kind = "foo"; | 75 o.kind = "foo"; |
| 76 } | 76 } |
| 77 buildCounterAcl--; | 77 buildCounterAcl--; |
| 78 return o; | 78 return o; |
| 79 } | 79 } |
| 80 | 80 |
| 81 checkAcl(api.Acl o) { | 81 checkAcl(api.Acl o) { |
| 82 buildCounterAcl++; | 82 buildCounterAcl++; |
| 83 if (buildCounterAcl < 3) { | 83 if (buildCounterAcl < 3) { |
| 84 unittest.expect(o.description, unittest.equals('foo')); | 84 unittest.expect(o.description, unittest.equals('foo')); |
| 85 unittest.expect(o.domainRestricted, unittest.isTrue); | 85 unittest.expect(o.domainRestricted, unittest.isTrue); |
| 86 checkUnnamed2004(o.items); | 86 checkUnnamed1233(o.items); |
| 87 unittest.expect(o.kind, unittest.equals('foo')); | 87 unittest.expect(o.kind, unittest.equals('foo')); |
| 88 } | 88 } |
| 89 buildCounterAcl--; | 89 buildCounterAcl--; |
| 90 } | 90 } |
| 91 | 91 |
| 92 core.int buildCounterActivityActorImage = 0; | 92 core.int buildCounterActivityActorImage = 0; |
| 93 buildActivityActorImage() { | 93 buildActivityActorImage() { |
| 94 var o = new api.ActivityActorImage(); | 94 var o = new api.ActivityActorImage(); |
| 95 buildCounterActivityActorImage++; | 95 buildCounterActivityActorImage++; |
| 96 if (buildCounterActivityActorImage < 3) { | 96 if (buildCounterActivityActorImage < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 122 | 122 |
| 123 checkActivityActorName(api.ActivityActorName o) { | 123 checkActivityActorName(api.ActivityActorName o) { |
| 124 buildCounterActivityActorName++; | 124 buildCounterActivityActorName++; |
| 125 if (buildCounterActivityActorName < 3) { | 125 if (buildCounterActivityActorName < 3) { |
| 126 unittest.expect(o.familyName, unittest.equals('foo')); | 126 unittest.expect(o.familyName, unittest.equals('foo')); |
| 127 unittest.expect(o.givenName, unittest.equals('foo')); | 127 unittest.expect(o.givenName, unittest.equals('foo')); |
| 128 } | 128 } |
| 129 buildCounterActivityActorName--; | 129 buildCounterActivityActorName--; |
| 130 } | 130 } |
| 131 | 131 |
| 132 core.int buildCounterActivityActorVerification = 0; |
| 133 buildActivityActorVerification() { |
| 134 var o = new api.ActivityActorVerification(); |
| 135 buildCounterActivityActorVerification++; |
| 136 if (buildCounterActivityActorVerification < 3) { |
| 137 o.adHocVerified = "foo"; |
| 138 } |
| 139 buildCounterActivityActorVerification--; |
| 140 return o; |
| 141 } |
| 142 |
| 143 checkActivityActorVerification(api.ActivityActorVerification o) { |
| 144 buildCounterActivityActorVerification++; |
| 145 if (buildCounterActivityActorVerification < 3) { |
| 146 unittest.expect(o.adHocVerified, unittest.equals('foo')); |
| 147 } |
| 148 buildCounterActivityActorVerification--; |
| 149 } |
| 150 |
| 132 core.int buildCounterActivityActor = 0; | 151 core.int buildCounterActivityActor = 0; |
| 133 buildActivityActor() { | 152 buildActivityActor() { |
| 134 var o = new api.ActivityActor(); | 153 var o = new api.ActivityActor(); |
| 135 buildCounterActivityActor++; | 154 buildCounterActivityActor++; |
| 136 if (buildCounterActivityActor < 3) { | 155 if (buildCounterActivityActor < 3) { |
| 137 o.displayName = "foo"; | 156 o.displayName = "foo"; |
| 138 o.id = "foo"; | 157 o.id = "foo"; |
| 139 o.image = buildActivityActorImage(); | 158 o.image = buildActivityActorImage(); |
| 140 o.name = buildActivityActorName(); | 159 o.name = buildActivityActorName(); |
| 141 o.url = "foo"; | 160 o.url = "foo"; |
| 161 o.verification = buildActivityActorVerification(); |
| 142 } | 162 } |
| 143 buildCounterActivityActor--; | 163 buildCounterActivityActor--; |
| 144 return o; | 164 return o; |
| 145 } | 165 } |
| 146 | 166 |
| 147 checkActivityActor(api.ActivityActor o) { | 167 checkActivityActor(api.ActivityActor o) { |
| 148 buildCounterActivityActor++; | 168 buildCounterActivityActor++; |
| 149 if (buildCounterActivityActor < 3) { | 169 if (buildCounterActivityActor < 3) { |
| 150 unittest.expect(o.displayName, unittest.equals('foo')); | 170 unittest.expect(o.displayName, unittest.equals('foo')); |
| 151 unittest.expect(o.id, unittest.equals('foo')); | 171 unittest.expect(o.id, unittest.equals('foo')); |
| 152 checkActivityActorImage(o.image); | 172 checkActivityActorImage(o.image); |
| 153 checkActivityActorName(o.name); | 173 checkActivityActorName(o.name); |
| 154 unittest.expect(o.url, unittest.equals('foo')); | 174 unittest.expect(o.url, unittest.equals('foo')); |
| 175 checkActivityActorVerification(o.verification); |
| 155 } | 176 } |
| 156 buildCounterActivityActor--; | 177 buildCounterActivityActor--; |
| 157 } | 178 } |
| 158 | 179 |
| 159 core.int buildCounterActivityObjectActorImage = 0; | 180 core.int buildCounterActivityObjectActorImage = 0; |
| 160 buildActivityObjectActorImage() { | 181 buildActivityObjectActorImage() { |
| 161 var o = new api.ActivityObjectActorImage(); | 182 var o = new api.ActivityObjectActorImage(); |
| 162 buildCounterActivityObjectActorImage++; | 183 buildCounterActivityObjectActorImage++; |
| 163 if (buildCounterActivityObjectActorImage < 3) { | 184 if (buildCounterActivityObjectActorImage < 3) { |
| 164 o.url = "foo"; | 185 o.url = "foo"; |
| 165 } | 186 } |
| 166 buildCounterActivityObjectActorImage--; | 187 buildCounterActivityObjectActorImage--; |
| 167 return o; | 188 return o; |
| 168 } | 189 } |
| 169 | 190 |
| 170 checkActivityObjectActorImage(api.ActivityObjectActorImage o) { | 191 checkActivityObjectActorImage(api.ActivityObjectActorImage o) { |
| 171 buildCounterActivityObjectActorImage++; | 192 buildCounterActivityObjectActorImage++; |
| 172 if (buildCounterActivityObjectActorImage < 3) { | 193 if (buildCounterActivityObjectActorImage < 3) { |
| 173 unittest.expect(o.url, unittest.equals('foo')); | 194 unittest.expect(o.url, unittest.equals('foo')); |
| 174 } | 195 } |
| 175 buildCounterActivityObjectActorImage--; | 196 buildCounterActivityObjectActorImage--; |
| 176 } | 197 } |
| 177 | 198 |
| 199 core.int buildCounterActivityObjectActorVerification = 0; |
| 200 buildActivityObjectActorVerification() { |
| 201 var o = new api.ActivityObjectActorVerification(); |
| 202 buildCounterActivityObjectActorVerification++; |
| 203 if (buildCounterActivityObjectActorVerification < 3) { |
| 204 o.adHocVerified = "foo"; |
| 205 } |
| 206 buildCounterActivityObjectActorVerification--; |
| 207 return o; |
| 208 } |
| 209 |
| 210 checkActivityObjectActorVerification(api.ActivityObjectActorVerification o) { |
| 211 buildCounterActivityObjectActorVerification++; |
| 212 if (buildCounterActivityObjectActorVerification < 3) { |
| 213 unittest.expect(o.adHocVerified, unittest.equals('foo')); |
| 214 } |
| 215 buildCounterActivityObjectActorVerification--; |
| 216 } |
| 217 |
| 178 core.int buildCounterActivityObjectActor = 0; | 218 core.int buildCounterActivityObjectActor = 0; |
| 179 buildActivityObjectActor() { | 219 buildActivityObjectActor() { |
| 180 var o = new api.ActivityObjectActor(); | 220 var o = new api.ActivityObjectActor(); |
| 181 buildCounterActivityObjectActor++; | 221 buildCounterActivityObjectActor++; |
| 182 if (buildCounterActivityObjectActor < 3) { | 222 if (buildCounterActivityObjectActor < 3) { |
| 183 o.displayName = "foo"; | 223 o.displayName = "foo"; |
| 184 o.id = "foo"; | 224 o.id = "foo"; |
| 185 o.image = buildActivityObjectActorImage(); | 225 o.image = buildActivityObjectActorImage(); |
| 186 o.url = "foo"; | 226 o.url = "foo"; |
| 227 o.verification = buildActivityObjectActorVerification(); |
| 187 } | 228 } |
| 188 buildCounterActivityObjectActor--; | 229 buildCounterActivityObjectActor--; |
| 189 return o; | 230 return o; |
| 190 } | 231 } |
| 191 | 232 |
| 192 checkActivityObjectActor(api.ActivityObjectActor o) { | 233 checkActivityObjectActor(api.ActivityObjectActor o) { |
| 193 buildCounterActivityObjectActor++; | 234 buildCounterActivityObjectActor++; |
| 194 if (buildCounterActivityObjectActor < 3) { | 235 if (buildCounterActivityObjectActor < 3) { |
| 195 unittest.expect(o.displayName, unittest.equals('foo')); | 236 unittest.expect(o.displayName, unittest.equals('foo')); |
| 196 unittest.expect(o.id, unittest.equals('foo')); | 237 unittest.expect(o.id, unittest.equals('foo')); |
| 197 checkActivityObjectActorImage(o.image); | 238 checkActivityObjectActorImage(o.image); |
| 198 unittest.expect(o.url, unittest.equals('foo')); | 239 unittest.expect(o.url, unittest.equals('foo')); |
| 240 checkActivityObjectActorVerification(o.verification); |
| 199 } | 241 } |
| 200 buildCounterActivityObjectActor--; | 242 buildCounterActivityObjectActor--; |
| 201 } | 243 } |
| 202 | 244 |
| 203 core.int buildCounterActivityObjectAttachmentsEmbed = 0; | 245 core.int buildCounterActivityObjectAttachmentsEmbed = 0; |
| 204 buildActivityObjectAttachmentsEmbed() { | 246 buildActivityObjectAttachmentsEmbed() { |
| 205 var o = new api.ActivityObjectAttachmentsEmbed(); | 247 var o = new api.ActivityObjectAttachmentsEmbed(); |
| 206 buildCounterActivityObjectAttachmentsEmbed++; | 248 buildCounterActivityObjectAttachmentsEmbed++; |
| 207 if (buildCounterActivityObjectAttachmentsEmbed < 3) { | 249 if (buildCounterActivityObjectAttachmentsEmbed < 3) { |
| 208 o.type = "foo"; | 250 o.type = "foo"; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 } | 325 } |
| 284 | 326 |
| 285 checkActivityObjectAttachmentsPreviewThumbnails(api.ActivityObjectAttachmentsPre
viewThumbnails o) { | 327 checkActivityObjectAttachmentsPreviewThumbnails(api.ActivityObjectAttachmentsPre
viewThumbnails o) { |
| 286 buildCounterActivityObjectAttachmentsPreviewThumbnails++; | 328 buildCounterActivityObjectAttachmentsPreviewThumbnails++; |
| 287 if (buildCounterActivityObjectAttachmentsPreviewThumbnails < 3) { | 329 if (buildCounterActivityObjectAttachmentsPreviewThumbnails < 3) { |
| 288 unittest.expect(o.url, unittest.equals('foo')); | 330 unittest.expect(o.url, unittest.equals('foo')); |
| 289 } | 331 } |
| 290 buildCounterActivityObjectAttachmentsPreviewThumbnails--; | 332 buildCounterActivityObjectAttachmentsPreviewThumbnails--; |
| 291 } | 333 } |
| 292 | 334 |
| 293 buildUnnamed2005() { | 335 buildUnnamed1234() { |
| 294 var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>(); | 336 var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>(); |
| 295 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); | 337 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); |
| 296 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); | 338 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); |
| 297 return o; | 339 return o; |
| 298 } | 340 } |
| 299 | 341 |
| 300 checkUnnamed2005(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { | 342 checkUnnamed1234(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { |
| 301 unittest.expect(o, unittest.hasLength(2)); | 343 unittest.expect(o, unittest.hasLength(2)); |
| 302 checkActivityObjectAttachmentsPreviewThumbnails(o[0]); | 344 checkActivityObjectAttachmentsPreviewThumbnails(o[0]); |
| 303 checkActivityObjectAttachmentsPreviewThumbnails(o[1]); | 345 checkActivityObjectAttachmentsPreviewThumbnails(o[1]); |
| 304 } | 346 } |
| 305 | 347 |
| 306 core.int buildCounterActivityObjectAttachmentsThumbnailsImage = 0; | 348 core.int buildCounterActivityObjectAttachmentsThumbnailsImage = 0; |
| 307 buildActivityObjectAttachmentsThumbnailsImage() { | 349 buildActivityObjectAttachmentsThumbnailsImage() { |
| 308 var o = new api.ActivityObjectAttachmentsThumbnailsImage(); | 350 var o = new api.ActivityObjectAttachmentsThumbnailsImage(); |
| 309 buildCounterActivityObjectAttachmentsThumbnailsImage++; | 351 buildCounterActivityObjectAttachmentsThumbnailsImage++; |
| 310 if (buildCounterActivityObjectAttachmentsThumbnailsImage < 3) { | 352 if (buildCounterActivityObjectAttachmentsThumbnailsImage < 3) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { | 386 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { |
| 345 buildCounterActivityObjectAttachmentsThumbnails++; | 387 buildCounterActivityObjectAttachmentsThumbnails++; |
| 346 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { | 388 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { |
| 347 unittest.expect(o.description, unittest.equals('foo')); | 389 unittest.expect(o.description, unittest.equals('foo')); |
| 348 checkActivityObjectAttachmentsThumbnailsImage(o.image); | 390 checkActivityObjectAttachmentsThumbnailsImage(o.image); |
| 349 unittest.expect(o.url, unittest.equals('foo')); | 391 unittest.expect(o.url, unittest.equals('foo')); |
| 350 } | 392 } |
| 351 buildCounterActivityObjectAttachmentsThumbnails--; | 393 buildCounterActivityObjectAttachmentsThumbnails--; |
| 352 } | 394 } |
| 353 | 395 |
| 354 buildUnnamed2006() { | 396 buildUnnamed1235() { |
| 355 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); | 397 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); |
| 356 o.add(buildActivityObjectAttachmentsThumbnails()); | 398 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 357 o.add(buildActivityObjectAttachmentsThumbnails()); | 399 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 358 return o; | 400 return o; |
| 359 } | 401 } |
| 360 | 402 |
| 361 checkUnnamed2006(core.List<api.ActivityObjectAttachmentsThumbnails> o) { | 403 checkUnnamed1235(core.List<api.ActivityObjectAttachmentsThumbnails> o) { |
| 362 unittest.expect(o, unittest.hasLength(2)); | 404 unittest.expect(o, unittest.hasLength(2)); |
| 363 checkActivityObjectAttachmentsThumbnails(o[0]); | 405 checkActivityObjectAttachmentsThumbnails(o[0]); |
| 364 checkActivityObjectAttachmentsThumbnails(o[1]); | 406 checkActivityObjectAttachmentsThumbnails(o[1]); |
| 365 } | 407 } |
| 366 | 408 |
| 367 core.int buildCounterActivityObjectAttachments = 0; | 409 core.int buildCounterActivityObjectAttachments = 0; |
| 368 buildActivityObjectAttachments() { | 410 buildActivityObjectAttachments() { |
| 369 var o = new api.ActivityObjectAttachments(); | 411 var o = new api.ActivityObjectAttachments(); |
| 370 buildCounterActivityObjectAttachments++; | 412 buildCounterActivityObjectAttachments++; |
| 371 if (buildCounterActivityObjectAttachments < 3) { | 413 if (buildCounterActivityObjectAttachments < 3) { |
| 372 o.content = "foo"; | 414 o.content = "foo"; |
| 373 o.displayName = "foo"; | 415 o.displayName = "foo"; |
| 374 o.embed = buildActivityObjectAttachmentsEmbed(); | 416 o.embed = buildActivityObjectAttachmentsEmbed(); |
| 375 o.fullImage = buildActivityObjectAttachmentsFullImage(); | 417 o.fullImage = buildActivityObjectAttachmentsFullImage(); |
| 376 o.id = "foo"; | 418 o.id = "foo"; |
| 377 o.image = buildActivityObjectAttachmentsImage(); | 419 o.image = buildActivityObjectAttachmentsImage(); |
| 378 o.objectType = "foo"; | 420 o.objectType = "foo"; |
| 379 o.previewThumbnails = buildUnnamed2005(); | 421 o.previewThumbnails = buildUnnamed1234(); |
| 380 o.thumbnails = buildUnnamed2006(); | 422 o.thumbnails = buildUnnamed1235(); |
| 381 o.url = "foo"; | 423 o.url = "foo"; |
| 382 } | 424 } |
| 383 buildCounterActivityObjectAttachments--; | 425 buildCounterActivityObjectAttachments--; |
| 384 return o; | 426 return o; |
| 385 } | 427 } |
| 386 | 428 |
| 387 checkActivityObjectAttachments(api.ActivityObjectAttachments o) { | 429 checkActivityObjectAttachments(api.ActivityObjectAttachments o) { |
| 388 buildCounterActivityObjectAttachments++; | 430 buildCounterActivityObjectAttachments++; |
| 389 if (buildCounterActivityObjectAttachments < 3) { | 431 if (buildCounterActivityObjectAttachments < 3) { |
| 390 unittest.expect(o.content, unittest.equals('foo')); | 432 unittest.expect(o.content, unittest.equals('foo')); |
| 391 unittest.expect(o.displayName, unittest.equals('foo')); | 433 unittest.expect(o.displayName, unittest.equals('foo')); |
| 392 checkActivityObjectAttachmentsEmbed(o.embed); | 434 checkActivityObjectAttachmentsEmbed(o.embed); |
| 393 checkActivityObjectAttachmentsFullImage(o.fullImage); | 435 checkActivityObjectAttachmentsFullImage(o.fullImage); |
| 394 unittest.expect(o.id, unittest.equals('foo')); | 436 unittest.expect(o.id, unittest.equals('foo')); |
| 395 checkActivityObjectAttachmentsImage(o.image); | 437 checkActivityObjectAttachmentsImage(o.image); |
| 396 unittest.expect(o.objectType, unittest.equals('foo')); | 438 unittest.expect(o.objectType, unittest.equals('foo')); |
| 397 checkUnnamed2005(o.previewThumbnails); | 439 checkUnnamed1234(o.previewThumbnails); |
| 398 checkUnnamed2006(o.thumbnails); | 440 checkUnnamed1235(o.thumbnails); |
| 399 unittest.expect(o.url, unittest.equals('foo')); | 441 unittest.expect(o.url, unittest.equals('foo')); |
| 400 } | 442 } |
| 401 buildCounterActivityObjectAttachments--; | 443 buildCounterActivityObjectAttachments--; |
| 402 } | 444 } |
| 403 | 445 |
| 404 buildUnnamed2007() { | 446 buildUnnamed1236() { |
| 405 var o = new core.List<api.ActivityObjectAttachments>(); | 447 var o = new core.List<api.ActivityObjectAttachments>(); |
| 406 o.add(buildActivityObjectAttachments()); | 448 o.add(buildActivityObjectAttachments()); |
| 407 o.add(buildActivityObjectAttachments()); | 449 o.add(buildActivityObjectAttachments()); |
| 408 return o; | 450 return o; |
| 409 } | 451 } |
| 410 | 452 |
| 411 checkUnnamed2007(core.List<api.ActivityObjectAttachments> o) { | 453 checkUnnamed1236(core.List<api.ActivityObjectAttachments> o) { |
| 412 unittest.expect(o, unittest.hasLength(2)); | 454 unittest.expect(o, unittest.hasLength(2)); |
| 413 checkActivityObjectAttachments(o[0]); | 455 checkActivityObjectAttachments(o[0]); |
| 414 checkActivityObjectAttachments(o[1]); | 456 checkActivityObjectAttachments(o[1]); |
| 415 } | 457 } |
| 416 | 458 |
| 417 core.int buildCounterActivityObjectPlusoners = 0; | 459 core.int buildCounterActivityObjectPlusoners = 0; |
| 418 buildActivityObjectPlusoners() { | 460 buildActivityObjectPlusoners() { |
| 419 var o = new api.ActivityObjectPlusoners(); | 461 var o = new api.ActivityObjectPlusoners(); |
| 420 buildCounterActivityObjectPlusoners++; | 462 buildCounterActivityObjectPlusoners++; |
| 421 if (buildCounterActivityObjectPlusoners < 3) { | 463 if (buildCounterActivityObjectPlusoners < 3) { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 } | 545 } |
| 504 buildCounterActivityObjectStatusForViewer--; | 546 buildCounterActivityObjectStatusForViewer--; |
| 505 } | 547 } |
| 506 | 548 |
| 507 core.int buildCounterActivityObject = 0; | 549 core.int buildCounterActivityObject = 0; |
| 508 buildActivityObject() { | 550 buildActivityObject() { |
| 509 var o = new api.ActivityObject(); | 551 var o = new api.ActivityObject(); |
| 510 buildCounterActivityObject++; | 552 buildCounterActivityObject++; |
| 511 if (buildCounterActivityObject < 3) { | 553 if (buildCounterActivityObject < 3) { |
| 512 o.actor = buildActivityObjectActor(); | 554 o.actor = buildActivityObjectActor(); |
| 513 o.attachments = buildUnnamed2007(); | 555 o.attachments = buildUnnamed1236(); |
| 514 o.content = "foo"; | 556 o.content = "foo"; |
| 515 o.id = "foo"; | 557 o.id = "foo"; |
| 516 o.objectType = "foo"; | 558 o.objectType = "foo"; |
| 517 o.originalContent = "foo"; | 559 o.originalContent = "foo"; |
| 518 o.plusoners = buildActivityObjectPlusoners(); | 560 o.plusoners = buildActivityObjectPlusoners(); |
| 519 o.replies = buildActivityObjectReplies(); | 561 o.replies = buildActivityObjectReplies(); |
| 520 o.resharers = buildActivityObjectResharers(); | 562 o.resharers = buildActivityObjectResharers(); |
| 521 o.statusForViewer = buildActivityObjectStatusForViewer(); | 563 o.statusForViewer = buildActivityObjectStatusForViewer(); |
| 522 o.url = "foo"; | 564 o.url = "foo"; |
| 523 } | 565 } |
| 524 buildCounterActivityObject--; | 566 buildCounterActivityObject--; |
| 525 return o; | 567 return o; |
| 526 } | 568 } |
| 527 | 569 |
| 528 checkActivityObject(api.ActivityObject o) { | 570 checkActivityObject(api.ActivityObject o) { |
| 529 buildCounterActivityObject++; | 571 buildCounterActivityObject++; |
| 530 if (buildCounterActivityObject < 3) { | 572 if (buildCounterActivityObject < 3) { |
| 531 checkActivityObjectActor(o.actor); | 573 checkActivityObjectActor(o.actor); |
| 532 checkUnnamed2007(o.attachments); | 574 checkUnnamed1236(o.attachments); |
| 533 unittest.expect(o.content, unittest.equals('foo')); | 575 unittest.expect(o.content, unittest.equals('foo')); |
| 534 unittest.expect(o.id, unittest.equals('foo')); | 576 unittest.expect(o.id, unittest.equals('foo')); |
| 535 unittest.expect(o.objectType, unittest.equals('foo')); | 577 unittest.expect(o.objectType, unittest.equals('foo')); |
| 536 unittest.expect(o.originalContent, unittest.equals('foo')); | 578 unittest.expect(o.originalContent, unittest.equals('foo')); |
| 537 checkActivityObjectPlusoners(o.plusoners); | 579 checkActivityObjectPlusoners(o.plusoners); |
| 538 checkActivityObjectReplies(o.replies); | 580 checkActivityObjectReplies(o.replies); |
| 539 checkActivityObjectResharers(o.resharers); | 581 checkActivityObjectResharers(o.resharers); |
| 540 checkActivityObjectStatusForViewer(o.statusForViewer); | 582 checkActivityObjectStatusForViewer(o.statusForViewer); |
| 541 unittest.expect(o.url, unittest.equals('foo')); | 583 unittest.expect(o.url, unittest.equals('foo')); |
| 542 } | 584 } |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 654 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 613 unittest.expect(o.radius, unittest.equals('foo')); | 655 unittest.expect(o.radius, unittest.equals('foo')); |
| 614 unittest.expect(o.title, unittest.equals('foo')); | 656 unittest.expect(o.title, unittest.equals('foo')); |
| 615 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 657 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 616 unittest.expect(o.url, unittest.equals('foo')); | 658 unittest.expect(o.url, unittest.equals('foo')); |
| 617 unittest.expect(o.verb, unittest.equals('foo')); | 659 unittest.expect(o.verb, unittest.equals('foo')); |
| 618 } | 660 } |
| 619 buildCounterActivity--; | 661 buildCounterActivity--; |
| 620 } | 662 } |
| 621 | 663 |
| 622 buildUnnamed2008() { | 664 buildUnnamed1237() { |
| 623 var o = new core.List<api.Activity>(); | 665 var o = new core.List<api.Activity>(); |
| 624 o.add(buildActivity()); | 666 o.add(buildActivity()); |
| 625 o.add(buildActivity()); | 667 o.add(buildActivity()); |
| 626 return o; | 668 return o; |
| 627 } | 669 } |
| 628 | 670 |
| 629 checkUnnamed2008(core.List<api.Activity> o) { | 671 checkUnnamed1237(core.List<api.Activity> o) { |
| 630 unittest.expect(o, unittest.hasLength(2)); | 672 unittest.expect(o, unittest.hasLength(2)); |
| 631 checkActivity(o[0]); | 673 checkActivity(o[0]); |
| 632 checkActivity(o[1]); | 674 checkActivity(o[1]); |
| 633 } | 675 } |
| 634 | 676 |
| 635 core.int buildCounterActivityFeed = 0; | 677 core.int buildCounterActivityFeed = 0; |
| 636 buildActivityFeed() { | 678 buildActivityFeed() { |
| 637 var o = new api.ActivityFeed(); | 679 var o = new api.ActivityFeed(); |
| 638 buildCounterActivityFeed++; | 680 buildCounterActivityFeed++; |
| 639 if (buildCounterActivityFeed < 3) { | 681 if (buildCounterActivityFeed < 3) { |
| 640 o.etag = "foo"; | 682 o.etag = "foo"; |
| 641 o.id = "foo"; | 683 o.id = "foo"; |
| 642 o.items = buildUnnamed2008(); | 684 o.items = buildUnnamed1237(); |
| 643 o.kind = "foo"; | 685 o.kind = "foo"; |
| 644 o.nextLink = "foo"; | 686 o.nextLink = "foo"; |
| 645 o.nextPageToken = "foo"; | 687 o.nextPageToken = "foo"; |
| 646 o.selfLink = "foo"; | 688 o.selfLink = "foo"; |
| 647 o.title = "foo"; | 689 o.title = "foo"; |
| 648 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 690 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 649 } | 691 } |
| 650 buildCounterActivityFeed--; | 692 buildCounterActivityFeed--; |
| 651 return o; | 693 return o; |
| 652 } | 694 } |
| 653 | 695 |
| 654 checkActivityFeed(api.ActivityFeed o) { | 696 checkActivityFeed(api.ActivityFeed o) { |
| 655 buildCounterActivityFeed++; | 697 buildCounterActivityFeed++; |
| 656 if (buildCounterActivityFeed < 3) { | 698 if (buildCounterActivityFeed < 3) { |
| 657 unittest.expect(o.etag, unittest.equals('foo')); | 699 unittest.expect(o.etag, unittest.equals('foo')); |
| 658 unittest.expect(o.id, unittest.equals('foo')); | 700 unittest.expect(o.id, unittest.equals('foo')); |
| 659 checkUnnamed2008(o.items); | 701 checkUnnamed1237(o.items); |
| 660 unittest.expect(o.kind, unittest.equals('foo')); | 702 unittest.expect(o.kind, unittest.equals('foo')); |
| 661 unittest.expect(o.nextLink, unittest.equals('foo')); | 703 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 662 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 704 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 663 unittest.expect(o.selfLink, unittest.equals('foo')); | 705 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 664 unittest.expect(o.title, unittest.equals('foo')); | 706 unittest.expect(o.title, unittest.equals('foo')); |
| 665 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 707 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 666 } | 708 } |
| 667 buildCounterActivityFeed--; | 709 buildCounterActivityFeed--; |
| 668 } | 710 } |
| 669 | 711 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 687 if (buildCounterAudience < 3) { | 729 if (buildCounterAudience < 3) { |
| 688 unittest.expect(o.etag, unittest.equals('foo')); | 730 unittest.expect(o.etag, unittest.equals('foo')); |
| 689 checkPlusDomainsAclentryResource(o.item); | 731 checkPlusDomainsAclentryResource(o.item); |
| 690 unittest.expect(o.kind, unittest.equals('foo')); | 732 unittest.expect(o.kind, unittest.equals('foo')); |
| 691 unittest.expect(o.memberCount, unittest.equals(42)); | 733 unittest.expect(o.memberCount, unittest.equals(42)); |
| 692 unittest.expect(o.visibility, unittest.equals('foo')); | 734 unittest.expect(o.visibility, unittest.equals('foo')); |
| 693 } | 735 } |
| 694 buildCounterAudience--; | 736 buildCounterAudience--; |
| 695 } | 737 } |
| 696 | 738 |
| 697 buildUnnamed2009() { | 739 buildUnnamed1238() { |
| 698 var o = new core.List<api.Audience>(); | 740 var o = new core.List<api.Audience>(); |
| 699 o.add(buildAudience()); | 741 o.add(buildAudience()); |
| 700 o.add(buildAudience()); | 742 o.add(buildAudience()); |
| 701 return o; | 743 return o; |
| 702 } | 744 } |
| 703 | 745 |
| 704 checkUnnamed2009(core.List<api.Audience> o) { | 746 checkUnnamed1238(core.List<api.Audience> o) { |
| 705 unittest.expect(o, unittest.hasLength(2)); | 747 unittest.expect(o, unittest.hasLength(2)); |
| 706 checkAudience(o[0]); | 748 checkAudience(o[0]); |
| 707 checkAudience(o[1]); | 749 checkAudience(o[1]); |
| 708 } | 750 } |
| 709 | 751 |
| 710 core.int buildCounterAudiencesFeed = 0; | 752 core.int buildCounterAudiencesFeed = 0; |
| 711 buildAudiencesFeed() { | 753 buildAudiencesFeed() { |
| 712 var o = new api.AudiencesFeed(); | 754 var o = new api.AudiencesFeed(); |
| 713 buildCounterAudiencesFeed++; | 755 buildCounterAudiencesFeed++; |
| 714 if (buildCounterAudiencesFeed < 3) { | 756 if (buildCounterAudiencesFeed < 3) { |
| 715 o.etag = "foo"; | 757 o.etag = "foo"; |
| 716 o.items = buildUnnamed2009(); | 758 o.items = buildUnnamed1238(); |
| 717 o.kind = "foo"; | 759 o.kind = "foo"; |
| 718 o.nextPageToken = "foo"; | 760 o.nextPageToken = "foo"; |
| 719 o.totalItems = 42; | 761 o.totalItems = 42; |
| 720 } | 762 } |
| 721 buildCounterAudiencesFeed--; | 763 buildCounterAudiencesFeed--; |
| 722 return o; | 764 return o; |
| 723 } | 765 } |
| 724 | 766 |
| 725 checkAudiencesFeed(api.AudiencesFeed o) { | 767 checkAudiencesFeed(api.AudiencesFeed o) { |
| 726 buildCounterAudiencesFeed++; | 768 buildCounterAudiencesFeed++; |
| 727 if (buildCounterAudiencesFeed < 3) { | 769 if (buildCounterAudiencesFeed < 3) { |
| 728 unittest.expect(o.etag, unittest.equals('foo')); | 770 unittest.expect(o.etag, unittest.equals('foo')); |
| 729 checkUnnamed2009(o.items); | 771 checkUnnamed1238(o.items); |
| 730 unittest.expect(o.kind, unittest.equals('foo')); | 772 unittest.expect(o.kind, unittest.equals('foo')); |
| 731 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 773 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 732 unittest.expect(o.totalItems, unittest.equals(42)); | 774 unittest.expect(o.totalItems, unittest.equals(42)); |
| 733 } | 775 } |
| 734 buildCounterAudiencesFeed--; | 776 buildCounterAudiencesFeed--; |
| 735 } | 777 } |
| 736 | 778 |
| 737 core.int buildCounterCirclePeople = 0; | 779 core.int buildCounterCirclePeople = 0; |
| 738 buildCirclePeople() { | 780 buildCirclePeople() { |
| 739 var o = new api.CirclePeople(); | 781 var o = new api.CirclePeople(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 unittest.expect(o.displayName, unittest.equals('foo')); | 819 unittest.expect(o.displayName, unittest.equals('foo')); |
| 778 unittest.expect(o.etag, unittest.equals('foo')); | 820 unittest.expect(o.etag, unittest.equals('foo')); |
| 779 unittest.expect(o.id, unittest.equals('foo')); | 821 unittest.expect(o.id, unittest.equals('foo')); |
| 780 unittest.expect(o.kind, unittest.equals('foo')); | 822 unittest.expect(o.kind, unittest.equals('foo')); |
| 781 checkCirclePeople(o.people); | 823 checkCirclePeople(o.people); |
| 782 unittest.expect(o.selfLink, unittest.equals('foo')); | 824 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 783 } | 825 } |
| 784 buildCounterCircle--; | 826 buildCounterCircle--; |
| 785 } | 827 } |
| 786 | 828 |
| 787 buildUnnamed2010() { | 829 buildUnnamed1239() { |
| 788 var o = new core.List<api.Circle>(); | 830 var o = new core.List<api.Circle>(); |
| 789 o.add(buildCircle()); | 831 o.add(buildCircle()); |
| 790 o.add(buildCircle()); | 832 o.add(buildCircle()); |
| 791 return o; | 833 return o; |
| 792 } | 834 } |
| 793 | 835 |
| 794 checkUnnamed2010(core.List<api.Circle> o) { | 836 checkUnnamed1239(core.List<api.Circle> o) { |
| 795 unittest.expect(o, unittest.hasLength(2)); | 837 unittest.expect(o, unittest.hasLength(2)); |
| 796 checkCircle(o[0]); | 838 checkCircle(o[0]); |
| 797 checkCircle(o[1]); | 839 checkCircle(o[1]); |
| 798 } | 840 } |
| 799 | 841 |
| 800 core.int buildCounterCircleFeed = 0; | 842 core.int buildCounterCircleFeed = 0; |
| 801 buildCircleFeed() { | 843 buildCircleFeed() { |
| 802 var o = new api.CircleFeed(); | 844 var o = new api.CircleFeed(); |
| 803 buildCounterCircleFeed++; | 845 buildCounterCircleFeed++; |
| 804 if (buildCounterCircleFeed < 3) { | 846 if (buildCounterCircleFeed < 3) { |
| 805 o.etag = "foo"; | 847 o.etag = "foo"; |
| 806 o.items = buildUnnamed2010(); | 848 o.items = buildUnnamed1239(); |
| 807 o.kind = "foo"; | 849 o.kind = "foo"; |
| 808 o.nextLink = "foo"; | 850 o.nextLink = "foo"; |
| 809 o.nextPageToken = "foo"; | 851 o.nextPageToken = "foo"; |
| 810 o.selfLink = "foo"; | 852 o.selfLink = "foo"; |
| 811 o.title = "foo"; | 853 o.title = "foo"; |
| 812 o.totalItems = 42; | 854 o.totalItems = 42; |
| 813 } | 855 } |
| 814 buildCounterCircleFeed--; | 856 buildCounterCircleFeed--; |
| 815 return o; | 857 return o; |
| 816 } | 858 } |
| 817 | 859 |
| 818 checkCircleFeed(api.CircleFeed o) { | 860 checkCircleFeed(api.CircleFeed o) { |
| 819 buildCounterCircleFeed++; | 861 buildCounterCircleFeed++; |
| 820 if (buildCounterCircleFeed < 3) { | 862 if (buildCounterCircleFeed < 3) { |
| 821 unittest.expect(o.etag, unittest.equals('foo')); | 863 unittest.expect(o.etag, unittest.equals('foo')); |
| 822 checkUnnamed2010(o.items); | 864 checkUnnamed1239(o.items); |
| 823 unittest.expect(o.kind, unittest.equals('foo')); | 865 unittest.expect(o.kind, unittest.equals('foo')); |
| 824 unittest.expect(o.nextLink, unittest.equals('foo')); | 866 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 825 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 867 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 826 unittest.expect(o.selfLink, unittest.equals('foo')); | 868 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 827 unittest.expect(o.title, unittest.equals('foo')); | 869 unittest.expect(o.title, unittest.equals('foo')); |
| 828 unittest.expect(o.totalItems, unittest.equals(42)); | 870 unittest.expect(o.totalItems, unittest.equals(42)); |
| 829 } | 871 } |
| 830 buildCounterCircleFeed--; | 872 buildCounterCircleFeed--; |
| 831 } | 873 } |
| 832 | 874 |
| 833 core.int buildCounterCommentActorImage = 0; | 875 core.int buildCounterCommentActorImage = 0; |
| 834 buildCommentActorImage() { | 876 buildCommentActorImage() { |
| 835 var o = new api.CommentActorImage(); | 877 var o = new api.CommentActorImage(); |
| 836 buildCounterCommentActorImage++; | 878 buildCounterCommentActorImage++; |
| 837 if (buildCounterCommentActorImage < 3) { | 879 if (buildCounterCommentActorImage < 3) { |
| 838 o.url = "foo"; | 880 o.url = "foo"; |
| 839 } | 881 } |
| 840 buildCounterCommentActorImage--; | 882 buildCounterCommentActorImage--; |
| 841 return o; | 883 return o; |
| 842 } | 884 } |
| 843 | 885 |
| 844 checkCommentActorImage(api.CommentActorImage o) { | 886 checkCommentActorImage(api.CommentActorImage o) { |
| 845 buildCounterCommentActorImage++; | 887 buildCounterCommentActorImage++; |
| 846 if (buildCounterCommentActorImage < 3) { | 888 if (buildCounterCommentActorImage < 3) { |
| 847 unittest.expect(o.url, unittest.equals('foo')); | 889 unittest.expect(o.url, unittest.equals('foo')); |
| 848 } | 890 } |
| 849 buildCounterCommentActorImage--; | 891 buildCounterCommentActorImage--; |
| 850 } | 892 } |
| 851 | 893 |
| 894 core.int buildCounterCommentActorVerification = 0; |
| 895 buildCommentActorVerification() { |
| 896 var o = new api.CommentActorVerification(); |
| 897 buildCounterCommentActorVerification++; |
| 898 if (buildCounterCommentActorVerification < 3) { |
| 899 o.adHocVerified = "foo"; |
| 900 } |
| 901 buildCounterCommentActorVerification--; |
| 902 return o; |
| 903 } |
| 904 |
| 905 checkCommentActorVerification(api.CommentActorVerification o) { |
| 906 buildCounterCommentActorVerification++; |
| 907 if (buildCounterCommentActorVerification < 3) { |
| 908 unittest.expect(o.adHocVerified, unittest.equals('foo')); |
| 909 } |
| 910 buildCounterCommentActorVerification--; |
| 911 } |
| 912 |
| 852 core.int buildCounterCommentActor = 0; | 913 core.int buildCounterCommentActor = 0; |
| 853 buildCommentActor() { | 914 buildCommentActor() { |
| 854 var o = new api.CommentActor(); | 915 var o = new api.CommentActor(); |
| 855 buildCounterCommentActor++; | 916 buildCounterCommentActor++; |
| 856 if (buildCounterCommentActor < 3) { | 917 if (buildCounterCommentActor < 3) { |
| 857 o.displayName = "foo"; | 918 o.displayName = "foo"; |
| 858 o.id = "foo"; | 919 o.id = "foo"; |
| 859 o.image = buildCommentActorImage(); | 920 o.image = buildCommentActorImage(); |
| 860 o.url = "foo"; | 921 o.url = "foo"; |
| 922 o.verification = buildCommentActorVerification(); |
| 861 } | 923 } |
| 862 buildCounterCommentActor--; | 924 buildCounterCommentActor--; |
| 863 return o; | 925 return o; |
| 864 } | 926 } |
| 865 | 927 |
| 866 checkCommentActor(api.CommentActor o) { | 928 checkCommentActor(api.CommentActor o) { |
| 867 buildCounterCommentActor++; | 929 buildCounterCommentActor++; |
| 868 if (buildCounterCommentActor < 3) { | 930 if (buildCounterCommentActor < 3) { |
| 869 unittest.expect(o.displayName, unittest.equals('foo')); | 931 unittest.expect(o.displayName, unittest.equals('foo')); |
| 870 unittest.expect(o.id, unittest.equals('foo')); | 932 unittest.expect(o.id, unittest.equals('foo')); |
| 871 checkCommentActorImage(o.image); | 933 checkCommentActorImage(o.image); |
| 872 unittest.expect(o.url, unittest.equals('foo')); | 934 unittest.expect(o.url, unittest.equals('foo')); |
| 935 checkCommentActorVerification(o.verification); |
| 873 } | 936 } |
| 874 buildCounterCommentActor--; | 937 buildCounterCommentActor--; |
| 875 } | 938 } |
| 876 | 939 |
| 877 core.int buildCounterCommentInReplyTo = 0; | 940 core.int buildCounterCommentInReplyTo = 0; |
| 878 buildCommentInReplyTo() { | 941 buildCommentInReplyTo() { |
| 879 var o = new api.CommentInReplyTo(); | 942 var o = new api.CommentInReplyTo(); |
| 880 buildCounterCommentInReplyTo++; | 943 buildCounterCommentInReplyTo++; |
| 881 if (buildCounterCommentInReplyTo < 3) { | 944 if (buildCounterCommentInReplyTo < 3) { |
| 882 o.id = "foo"; | 945 o.id = "foo"; |
| 883 o.url = "foo"; | 946 o.url = "foo"; |
| 884 } | 947 } |
| 885 buildCounterCommentInReplyTo--; | 948 buildCounterCommentInReplyTo--; |
| 886 return o; | 949 return o; |
| 887 } | 950 } |
| 888 | 951 |
| 889 checkCommentInReplyTo(api.CommentInReplyTo o) { | 952 checkCommentInReplyTo(api.CommentInReplyTo o) { |
| 890 buildCounterCommentInReplyTo++; | 953 buildCounterCommentInReplyTo++; |
| 891 if (buildCounterCommentInReplyTo < 3) { | 954 if (buildCounterCommentInReplyTo < 3) { |
| 892 unittest.expect(o.id, unittest.equals('foo')); | 955 unittest.expect(o.id, unittest.equals('foo')); |
| 893 unittest.expect(o.url, unittest.equals('foo')); | 956 unittest.expect(o.url, unittest.equals('foo')); |
| 894 } | 957 } |
| 895 buildCounterCommentInReplyTo--; | 958 buildCounterCommentInReplyTo--; |
| 896 } | 959 } |
| 897 | 960 |
| 898 buildUnnamed2011() { | 961 buildUnnamed1240() { |
| 899 var o = new core.List<api.CommentInReplyTo>(); | 962 var o = new core.List<api.CommentInReplyTo>(); |
| 900 o.add(buildCommentInReplyTo()); | 963 o.add(buildCommentInReplyTo()); |
| 901 o.add(buildCommentInReplyTo()); | 964 o.add(buildCommentInReplyTo()); |
| 902 return o; | 965 return o; |
| 903 } | 966 } |
| 904 | 967 |
| 905 checkUnnamed2011(core.List<api.CommentInReplyTo> o) { | 968 checkUnnamed1240(core.List<api.CommentInReplyTo> o) { |
| 906 unittest.expect(o, unittest.hasLength(2)); | 969 unittest.expect(o, unittest.hasLength(2)); |
| 907 checkCommentInReplyTo(o[0]); | 970 checkCommentInReplyTo(o[0]); |
| 908 checkCommentInReplyTo(o[1]); | 971 checkCommentInReplyTo(o[1]); |
| 909 } | 972 } |
| 910 | 973 |
| 911 core.int buildCounterCommentObject = 0; | 974 core.int buildCounterCommentObject = 0; |
| 912 buildCommentObject() { | 975 buildCommentObject() { |
| 913 var o = new api.CommentObject(); | 976 var o = new api.CommentObject(); |
| 914 buildCounterCommentObject++; | 977 buildCounterCommentObject++; |
| 915 if (buildCounterCommentObject < 3) { | 978 if (buildCounterCommentObject < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 } | 1014 } |
| 952 | 1015 |
| 953 core.int buildCounterComment = 0; | 1016 core.int buildCounterComment = 0; |
| 954 buildComment() { | 1017 buildComment() { |
| 955 var o = new api.Comment(); | 1018 var o = new api.Comment(); |
| 956 buildCounterComment++; | 1019 buildCounterComment++; |
| 957 if (buildCounterComment < 3) { | 1020 if (buildCounterComment < 3) { |
| 958 o.actor = buildCommentActor(); | 1021 o.actor = buildCommentActor(); |
| 959 o.etag = "foo"; | 1022 o.etag = "foo"; |
| 960 o.id = "foo"; | 1023 o.id = "foo"; |
| 961 o.inReplyTo = buildUnnamed2011(); | 1024 o.inReplyTo = buildUnnamed1240(); |
| 962 o.kind = "foo"; | 1025 o.kind = "foo"; |
| 963 o.object = buildCommentObject(); | 1026 o.object = buildCommentObject(); |
| 964 o.plusoners = buildCommentPlusoners(); | 1027 o.plusoners = buildCommentPlusoners(); |
| 965 o.published = core.DateTime.parse("2002-02-27T14:01:02"); | 1028 o.published = core.DateTime.parse("2002-02-27T14:01:02"); |
| 966 o.selfLink = "foo"; | 1029 o.selfLink = "foo"; |
| 967 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1030 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 968 o.verb = "foo"; | 1031 o.verb = "foo"; |
| 969 } | 1032 } |
| 970 buildCounterComment--; | 1033 buildCounterComment--; |
| 971 return o; | 1034 return o; |
| 972 } | 1035 } |
| 973 | 1036 |
| 974 checkComment(api.Comment o) { | 1037 checkComment(api.Comment o) { |
| 975 buildCounterComment++; | 1038 buildCounterComment++; |
| 976 if (buildCounterComment < 3) { | 1039 if (buildCounterComment < 3) { |
| 977 checkCommentActor(o.actor); | 1040 checkCommentActor(o.actor); |
| 978 unittest.expect(o.etag, unittest.equals('foo')); | 1041 unittest.expect(o.etag, unittest.equals('foo')); |
| 979 unittest.expect(o.id, unittest.equals('foo')); | 1042 unittest.expect(o.id, unittest.equals('foo')); |
| 980 checkUnnamed2011(o.inReplyTo); | 1043 checkUnnamed1240(o.inReplyTo); |
| 981 unittest.expect(o.kind, unittest.equals('foo')); | 1044 unittest.expect(o.kind, unittest.equals('foo')); |
| 982 checkCommentObject(o.object); | 1045 checkCommentObject(o.object); |
| 983 checkCommentPlusoners(o.plusoners); | 1046 checkCommentPlusoners(o.plusoners); |
| 984 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1047 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 985 unittest.expect(o.selfLink, unittest.equals('foo')); | 1048 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 986 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1049 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 987 unittest.expect(o.verb, unittest.equals('foo')); | 1050 unittest.expect(o.verb, unittest.equals('foo')); |
| 988 } | 1051 } |
| 989 buildCounterComment--; | 1052 buildCounterComment--; |
| 990 } | 1053 } |
| 991 | 1054 |
| 992 buildUnnamed2012() { | 1055 buildUnnamed1241() { |
| 993 var o = new core.List<api.Comment>(); | 1056 var o = new core.List<api.Comment>(); |
| 994 o.add(buildComment()); | 1057 o.add(buildComment()); |
| 995 o.add(buildComment()); | 1058 o.add(buildComment()); |
| 996 return o; | 1059 return o; |
| 997 } | 1060 } |
| 998 | 1061 |
| 999 checkUnnamed2012(core.List<api.Comment> o) { | 1062 checkUnnamed1241(core.List<api.Comment> o) { |
| 1000 unittest.expect(o, unittest.hasLength(2)); | 1063 unittest.expect(o, unittest.hasLength(2)); |
| 1001 checkComment(o[0]); | 1064 checkComment(o[0]); |
| 1002 checkComment(o[1]); | 1065 checkComment(o[1]); |
| 1003 } | 1066 } |
| 1004 | 1067 |
| 1005 core.int buildCounterCommentFeed = 0; | 1068 core.int buildCounterCommentFeed = 0; |
| 1006 buildCommentFeed() { | 1069 buildCommentFeed() { |
| 1007 var o = new api.CommentFeed(); | 1070 var o = new api.CommentFeed(); |
| 1008 buildCounterCommentFeed++; | 1071 buildCounterCommentFeed++; |
| 1009 if (buildCounterCommentFeed < 3) { | 1072 if (buildCounterCommentFeed < 3) { |
| 1010 o.etag = "foo"; | 1073 o.etag = "foo"; |
| 1011 o.id = "foo"; | 1074 o.id = "foo"; |
| 1012 o.items = buildUnnamed2012(); | 1075 o.items = buildUnnamed1241(); |
| 1013 o.kind = "foo"; | 1076 o.kind = "foo"; |
| 1014 o.nextLink = "foo"; | 1077 o.nextLink = "foo"; |
| 1015 o.nextPageToken = "foo"; | 1078 o.nextPageToken = "foo"; |
| 1016 o.title = "foo"; | 1079 o.title = "foo"; |
| 1017 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1080 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1018 } | 1081 } |
| 1019 buildCounterCommentFeed--; | 1082 buildCounterCommentFeed--; |
| 1020 return o; | 1083 return o; |
| 1021 } | 1084 } |
| 1022 | 1085 |
| 1023 checkCommentFeed(api.CommentFeed o) { | 1086 checkCommentFeed(api.CommentFeed o) { |
| 1024 buildCounterCommentFeed++; | 1087 buildCounterCommentFeed++; |
| 1025 if (buildCounterCommentFeed < 3) { | 1088 if (buildCounterCommentFeed < 3) { |
| 1026 unittest.expect(o.etag, unittest.equals('foo')); | 1089 unittest.expect(o.etag, unittest.equals('foo')); |
| 1027 unittest.expect(o.id, unittest.equals('foo')); | 1090 unittest.expect(o.id, unittest.equals('foo')); |
| 1028 checkUnnamed2012(o.items); | 1091 checkUnnamed1241(o.items); |
| 1029 unittest.expect(o.kind, unittest.equals('foo')); | 1092 unittest.expect(o.kind, unittest.equals('foo')); |
| 1030 unittest.expect(o.nextLink, unittest.equals('foo')); | 1093 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 1031 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1094 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1032 unittest.expect(o.title, unittest.equals('foo')); | 1095 unittest.expect(o.title, unittest.equals('foo')); |
| 1033 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1096 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1034 } | 1097 } |
| 1035 buildCounterCommentFeed--; | 1098 buildCounterCommentFeed--; |
| 1036 } | 1099 } |
| 1037 | 1100 |
| 1038 core.int buildCounterMediaAuthorImage = 0; | 1101 core.int buildCounterMediaAuthorImage = 0; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1091 } | 1154 } |
| 1092 | 1155 |
| 1093 checkMediaExif(api.MediaExif o) { | 1156 checkMediaExif(api.MediaExif o) { |
| 1094 buildCounterMediaExif++; | 1157 buildCounterMediaExif++; |
| 1095 if (buildCounterMediaExif < 3) { | 1158 if (buildCounterMediaExif < 3) { |
| 1096 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); | 1159 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); |
| 1097 } | 1160 } |
| 1098 buildCounterMediaExif--; | 1161 buildCounterMediaExif--; |
| 1099 } | 1162 } |
| 1100 | 1163 |
| 1101 buildUnnamed2013() { | 1164 buildUnnamed1242() { |
| 1102 var o = new core.List<api.Videostream>(); | 1165 var o = new core.List<api.Videostream>(); |
| 1103 o.add(buildVideostream()); | 1166 o.add(buildVideostream()); |
| 1104 o.add(buildVideostream()); | 1167 o.add(buildVideostream()); |
| 1105 return o; | 1168 return o; |
| 1106 } | 1169 } |
| 1107 | 1170 |
| 1108 checkUnnamed2013(core.List<api.Videostream> o) { | 1171 checkUnnamed1242(core.List<api.Videostream> o) { |
| 1109 unittest.expect(o, unittest.hasLength(2)); | 1172 unittest.expect(o, unittest.hasLength(2)); |
| 1110 checkVideostream(o[0]); | 1173 checkVideostream(o[0]); |
| 1111 checkVideostream(o[1]); | 1174 checkVideostream(o[1]); |
| 1112 } | 1175 } |
| 1113 | 1176 |
| 1114 core.int buildCounterMedia = 0; | 1177 core.int buildCounterMedia = 0; |
| 1115 buildMedia() { | 1178 buildMedia() { |
| 1116 var o = new api.Media(); | 1179 var o = new api.Media(); |
| 1117 buildCounterMedia++; | 1180 buildCounterMedia++; |
| 1118 if (buildCounterMedia < 3) { | 1181 if (buildCounterMedia < 3) { |
| 1119 o.author = buildMediaAuthor(); | 1182 o.author = buildMediaAuthor(); |
| 1120 o.displayName = "foo"; | 1183 o.displayName = "foo"; |
| 1121 o.etag = "foo"; | 1184 o.etag = "foo"; |
| 1122 o.exif = buildMediaExif(); | 1185 o.exif = buildMediaExif(); |
| 1123 o.height = 42; | 1186 o.height = 42; |
| 1124 o.id = "foo"; | 1187 o.id = "foo"; |
| 1125 o.kind = "foo"; | 1188 o.kind = "foo"; |
| 1126 o.mediaCreatedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1189 o.mediaCreatedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1127 o.mediaUrl = "foo"; | 1190 o.mediaUrl = "foo"; |
| 1128 o.published = core.DateTime.parse("2002-02-27T14:01:02"); | 1191 o.published = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1129 o.sizeBytes = "foo"; | 1192 o.sizeBytes = "foo"; |
| 1130 o.streams = buildUnnamed2013(); | 1193 o.streams = buildUnnamed1242(); |
| 1131 o.summary = "foo"; | 1194 o.summary = "foo"; |
| 1132 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1195 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1133 o.url = "foo"; | 1196 o.url = "foo"; |
| 1134 o.videoDuration = "foo"; | 1197 o.videoDuration = "foo"; |
| 1135 o.videoStatus = "foo"; | 1198 o.videoStatus = "foo"; |
| 1136 o.width = 42; | 1199 o.width = 42; |
| 1137 } | 1200 } |
| 1138 buildCounterMedia--; | 1201 buildCounterMedia--; |
| 1139 return o; | 1202 return o; |
| 1140 } | 1203 } |
| 1141 | 1204 |
| 1142 checkMedia(api.Media o) { | 1205 checkMedia(api.Media o) { |
| 1143 buildCounterMedia++; | 1206 buildCounterMedia++; |
| 1144 if (buildCounterMedia < 3) { | 1207 if (buildCounterMedia < 3) { |
| 1145 checkMediaAuthor(o.author); | 1208 checkMediaAuthor(o.author); |
| 1146 unittest.expect(o.displayName, unittest.equals('foo')); | 1209 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1147 unittest.expect(o.etag, unittest.equals('foo')); | 1210 unittest.expect(o.etag, unittest.equals('foo')); |
| 1148 checkMediaExif(o.exif); | 1211 checkMediaExif(o.exif); |
| 1149 unittest.expect(o.height, unittest.equals(42)); | 1212 unittest.expect(o.height, unittest.equals(42)); |
| 1150 unittest.expect(o.id, unittest.equals('foo')); | 1213 unittest.expect(o.id, unittest.equals('foo')); |
| 1151 unittest.expect(o.kind, unittest.equals('foo')); | 1214 unittest.expect(o.kind, unittest.equals('foo')); |
| 1152 unittest.expect(o.mediaCreatedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1215 unittest.expect(o.mediaCreatedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 1153 unittest.expect(o.mediaUrl, unittest.equals('foo')); | 1216 unittest.expect(o.mediaUrl, unittest.equals('foo')); |
| 1154 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1217 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 1155 unittest.expect(o.sizeBytes, unittest.equals('foo')); | 1218 unittest.expect(o.sizeBytes, unittest.equals('foo')); |
| 1156 checkUnnamed2013(o.streams); | 1219 checkUnnamed1242(o.streams); |
| 1157 unittest.expect(o.summary, unittest.equals('foo')); | 1220 unittest.expect(o.summary, unittest.equals('foo')); |
| 1158 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1221 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1159 unittest.expect(o.url, unittest.equals('foo')); | 1222 unittest.expect(o.url, unittest.equals('foo')); |
| 1160 unittest.expect(o.videoDuration, unittest.equals('foo')); | 1223 unittest.expect(o.videoDuration, unittest.equals('foo')); |
| 1161 unittest.expect(o.videoStatus, unittest.equals('foo')); | 1224 unittest.expect(o.videoStatus, unittest.equals('foo')); |
| 1162 unittest.expect(o.width, unittest.equals(42)); | 1225 unittest.expect(o.width, unittest.equals(42)); |
| 1163 } | 1226 } |
| 1164 buildCounterMedia--; | 1227 buildCounterMedia--; |
| 1165 } | 1228 } |
| 1166 | 1229 |
| 1167 buildUnnamed2014() { | 1230 buildUnnamed1243() { |
| 1168 var o = new core.List<api.Person>(); | 1231 var o = new core.List<api.Person>(); |
| 1169 o.add(buildPerson()); | 1232 o.add(buildPerson()); |
| 1170 o.add(buildPerson()); | 1233 o.add(buildPerson()); |
| 1171 return o; | 1234 return o; |
| 1172 } | 1235 } |
| 1173 | 1236 |
| 1174 checkUnnamed2014(core.List<api.Person> o) { | 1237 checkUnnamed1243(core.List<api.Person> o) { |
| 1175 unittest.expect(o, unittest.hasLength(2)); | 1238 unittest.expect(o, unittest.hasLength(2)); |
| 1176 checkPerson(o[0]); | 1239 checkPerson(o[0]); |
| 1177 checkPerson(o[1]); | 1240 checkPerson(o[1]); |
| 1178 } | 1241 } |
| 1179 | 1242 |
| 1180 core.int buildCounterPeopleFeed = 0; | 1243 core.int buildCounterPeopleFeed = 0; |
| 1181 buildPeopleFeed() { | 1244 buildPeopleFeed() { |
| 1182 var o = new api.PeopleFeed(); | 1245 var o = new api.PeopleFeed(); |
| 1183 buildCounterPeopleFeed++; | 1246 buildCounterPeopleFeed++; |
| 1184 if (buildCounterPeopleFeed < 3) { | 1247 if (buildCounterPeopleFeed < 3) { |
| 1185 o.etag = "foo"; | 1248 o.etag = "foo"; |
| 1186 o.items = buildUnnamed2014(); | 1249 o.items = buildUnnamed1243(); |
| 1187 o.kind = "foo"; | 1250 o.kind = "foo"; |
| 1188 o.nextPageToken = "foo"; | 1251 o.nextPageToken = "foo"; |
| 1189 o.selfLink = "foo"; | 1252 o.selfLink = "foo"; |
| 1190 o.title = "foo"; | 1253 o.title = "foo"; |
| 1191 o.totalItems = 42; | 1254 o.totalItems = 42; |
| 1192 } | 1255 } |
| 1193 buildCounterPeopleFeed--; | 1256 buildCounterPeopleFeed--; |
| 1194 return o; | 1257 return o; |
| 1195 } | 1258 } |
| 1196 | 1259 |
| 1197 checkPeopleFeed(api.PeopleFeed o) { | 1260 checkPeopleFeed(api.PeopleFeed o) { |
| 1198 buildCounterPeopleFeed++; | 1261 buildCounterPeopleFeed++; |
| 1199 if (buildCounterPeopleFeed < 3) { | 1262 if (buildCounterPeopleFeed < 3) { |
| 1200 unittest.expect(o.etag, unittest.equals('foo')); | 1263 unittest.expect(o.etag, unittest.equals('foo')); |
| 1201 checkUnnamed2014(o.items); | 1264 checkUnnamed1243(o.items); |
| 1202 unittest.expect(o.kind, unittest.equals('foo')); | 1265 unittest.expect(o.kind, unittest.equals('foo')); |
| 1203 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1266 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1204 unittest.expect(o.selfLink, unittest.equals('foo')); | 1267 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1205 unittest.expect(o.title, unittest.equals('foo')); | 1268 unittest.expect(o.title, unittest.equals('foo')); |
| 1206 unittest.expect(o.totalItems, unittest.equals(42)); | 1269 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1207 } | 1270 } |
| 1208 buildCounterPeopleFeed--; | 1271 buildCounterPeopleFeed--; |
| 1209 } | 1272 } |
| 1210 | 1273 |
| 1211 core.int buildCounterPersonCoverCoverInfo = 0; | 1274 core.int buildCounterPersonCoverCoverInfo = 0; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 | 1352 |
| 1290 checkPersonEmails(api.PersonEmails o) { | 1353 checkPersonEmails(api.PersonEmails o) { |
| 1291 buildCounterPersonEmails++; | 1354 buildCounterPersonEmails++; |
| 1292 if (buildCounterPersonEmails < 3) { | 1355 if (buildCounterPersonEmails < 3) { |
| 1293 unittest.expect(o.type, unittest.equals('foo')); | 1356 unittest.expect(o.type, unittest.equals('foo')); |
| 1294 unittest.expect(o.value, unittest.equals('foo')); | 1357 unittest.expect(o.value, unittest.equals('foo')); |
| 1295 } | 1358 } |
| 1296 buildCounterPersonEmails--; | 1359 buildCounterPersonEmails--; |
| 1297 } | 1360 } |
| 1298 | 1361 |
| 1299 buildUnnamed2015() { | 1362 buildUnnamed1244() { |
| 1300 var o = new core.List<api.PersonEmails>(); | 1363 var o = new core.List<api.PersonEmails>(); |
| 1301 o.add(buildPersonEmails()); | 1364 o.add(buildPersonEmails()); |
| 1302 o.add(buildPersonEmails()); | 1365 o.add(buildPersonEmails()); |
| 1303 return o; | 1366 return o; |
| 1304 } | 1367 } |
| 1305 | 1368 |
| 1306 checkUnnamed2015(core.List<api.PersonEmails> o) { | 1369 checkUnnamed1244(core.List<api.PersonEmails> o) { |
| 1307 unittest.expect(o, unittest.hasLength(2)); | 1370 unittest.expect(o, unittest.hasLength(2)); |
| 1308 checkPersonEmails(o[0]); | 1371 checkPersonEmails(o[0]); |
| 1309 checkPersonEmails(o[1]); | 1372 checkPersonEmails(o[1]); |
| 1310 } | 1373 } |
| 1311 | 1374 |
| 1312 core.int buildCounterPersonImage = 0; | 1375 core.int buildCounterPersonImage = 0; |
| 1313 buildPersonImage() { | 1376 buildPersonImage() { |
| 1314 var o = new api.PersonImage(); | 1377 var o = new api.PersonImage(); |
| 1315 buildCounterPersonImage++; | 1378 buildCounterPersonImage++; |
| 1316 if (buildCounterPersonImage < 3) { | 1379 if (buildCounterPersonImage < 3) { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 unittest.expect(o.location, unittest.equals('foo')); | 1450 unittest.expect(o.location, unittest.equals('foo')); |
| 1388 unittest.expect(o.name, unittest.equals('foo')); | 1451 unittest.expect(o.name, unittest.equals('foo')); |
| 1389 unittest.expect(o.primary, unittest.isTrue); | 1452 unittest.expect(o.primary, unittest.isTrue); |
| 1390 unittest.expect(o.startDate, unittest.equals('foo')); | 1453 unittest.expect(o.startDate, unittest.equals('foo')); |
| 1391 unittest.expect(o.title, unittest.equals('foo')); | 1454 unittest.expect(o.title, unittest.equals('foo')); |
| 1392 unittest.expect(o.type, unittest.equals('foo')); | 1455 unittest.expect(o.type, unittest.equals('foo')); |
| 1393 } | 1456 } |
| 1394 buildCounterPersonOrganizations--; | 1457 buildCounterPersonOrganizations--; |
| 1395 } | 1458 } |
| 1396 | 1459 |
| 1397 buildUnnamed2016() { | 1460 buildUnnamed1245() { |
| 1398 var o = new core.List<api.PersonOrganizations>(); | 1461 var o = new core.List<api.PersonOrganizations>(); |
| 1399 o.add(buildPersonOrganizations()); | 1462 o.add(buildPersonOrganizations()); |
| 1400 o.add(buildPersonOrganizations()); | 1463 o.add(buildPersonOrganizations()); |
| 1401 return o; | 1464 return o; |
| 1402 } | 1465 } |
| 1403 | 1466 |
| 1404 checkUnnamed2016(core.List<api.PersonOrganizations> o) { | 1467 checkUnnamed1245(core.List<api.PersonOrganizations> o) { |
| 1405 unittest.expect(o, unittest.hasLength(2)); | 1468 unittest.expect(o, unittest.hasLength(2)); |
| 1406 checkPersonOrganizations(o[0]); | 1469 checkPersonOrganizations(o[0]); |
| 1407 checkPersonOrganizations(o[1]); | 1470 checkPersonOrganizations(o[1]); |
| 1408 } | 1471 } |
| 1409 | 1472 |
| 1410 core.int buildCounterPersonPlacesLived = 0; | 1473 core.int buildCounterPersonPlacesLived = 0; |
| 1411 buildPersonPlacesLived() { | 1474 buildPersonPlacesLived() { |
| 1412 var o = new api.PersonPlacesLived(); | 1475 var o = new api.PersonPlacesLived(); |
| 1413 buildCounterPersonPlacesLived++; | 1476 buildCounterPersonPlacesLived++; |
| 1414 if (buildCounterPersonPlacesLived < 3) { | 1477 if (buildCounterPersonPlacesLived < 3) { |
| 1415 o.primary = true; | 1478 o.primary = true; |
| 1416 o.value = "foo"; | 1479 o.value = "foo"; |
| 1417 } | 1480 } |
| 1418 buildCounterPersonPlacesLived--; | 1481 buildCounterPersonPlacesLived--; |
| 1419 return o; | 1482 return o; |
| 1420 } | 1483 } |
| 1421 | 1484 |
| 1422 checkPersonPlacesLived(api.PersonPlacesLived o) { | 1485 checkPersonPlacesLived(api.PersonPlacesLived o) { |
| 1423 buildCounterPersonPlacesLived++; | 1486 buildCounterPersonPlacesLived++; |
| 1424 if (buildCounterPersonPlacesLived < 3) { | 1487 if (buildCounterPersonPlacesLived < 3) { |
| 1425 unittest.expect(o.primary, unittest.isTrue); | 1488 unittest.expect(o.primary, unittest.isTrue); |
| 1426 unittest.expect(o.value, unittest.equals('foo')); | 1489 unittest.expect(o.value, unittest.equals('foo')); |
| 1427 } | 1490 } |
| 1428 buildCounterPersonPlacesLived--; | 1491 buildCounterPersonPlacesLived--; |
| 1429 } | 1492 } |
| 1430 | 1493 |
| 1431 buildUnnamed2017() { | 1494 buildUnnamed1246() { |
| 1432 var o = new core.List<api.PersonPlacesLived>(); | 1495 var o = new core.List<api.PersonPlacesLived>(); |
| 1433 o.add(buildPersonPlacesLived()); | 1496 o.add(buildPersonPlacesLived()); |
| 1434 o.add(buildPersonPlacesLived()); | 1497 o.add(buildPersonPlacesLived()); |
| 1435 return o; | 1498 return o; |
| 1436 } | 1499 } |
| 1437 | 1500 |
| 1438 checkUnnamed2017(core.List<api.PersonPlacesLived> o) { | 1501 checkUnnamed1246(core.List<api.PersonPlacesLived> o) { |
| 1439 unittest.expect(o, unittest.hasLength(2)); | 1502 unittest.expect(o, unittest.hasLength(2)); |
| 1440 checkPersonPlacesLived(o[0]); | 1503 checkPersonPlacesLived(o[0]); |
| 1441 checkPersonPlacesLived(o[1]); | 1504 checkPersonPlacesLived(o[1]); |
| 1442 } | 1505 } |
| 1443 | 1506 |
| 1444 core.int buildCounterPersonUrls = 0; | 1507 core.int buildCounterPersonUrls = 0; |
| 1445 buildPersonUrls() { | 1508 buildPersonUrls() { |
| 1446 var o = new api.PersonUrls(); | 1509 var o = new api.PersonUrls(); |
| 1447 buildCounterPersonUrls++; | 1510 buildCounterPersonUrls++; |
| 1448 if (buildCounterPersonUrls < 3) { | 1511 if (buildCounterPersonUrls < 3) { |
| 1449 o.label = "foo"; | 1512 o.label = "foo"; |
| 1450 o.type = "foo"; | 1513 o.type = "foo"; |
| 1451 o.value = "foo"; | 1514 o.value = "foo"; |
| 1452 } | 1515 } |
| 1453 buildCounterPersonUrls--; | 1516 buildCounterPersonUrls--; |
| 1454 return o; | 1517 return o; |
| 1455 } | 1518 } |
| 1456 | 1519 |
| 1457 checkPersonUrls(api.PersonUrls o) { | 1520 checkPersonUrls(api.PersonUrls o) { |
| 1458 buildCounterPersonUrls++; | 1521 buildCounterPersonUrls++; |
| 1459 if (buildCounterPersonUrls < 3) { | 1522 if (buildCounterPersonUrls < 3) { |
| 1460 unittest.expect(o.label, unittest.equals('foo')); | 1523 unittest.expect(o.label, unittest.equals('foo')); |
| 1461 unittest.expect(o.type, unittest.equals('foo')); | 1524 unittest.expect(o.type, unittest.equals('foo')); |
| 1462 unittest.expect(o.value, unittest.equals('foo')); | 1525 unittest.expect(o.value, unittest.equals('foo')); |
| 1463 } | 1526 } |
| 1464 buildCounterPersonUrls--; | 1527 buildCounterPersonUrls--; |
| 1465 } | 1528 } |
| 1466 | 1529 |
| 1467 buildUnnamed2018() { | 1530 buildUnnamed1247() { |
| 1468 var o = new core.List<api.PersonUrls>(); | 1531 var o = new core.List<api.PersonUrls>(); |
| 1469 o.add(buildPersonUrls()); | 1532 o.add(buildPersonUrls()); |
| 1470 o.add(buildPersonUrls()); | 1533 o.add(buildPersonUrls()); |
| 1471 return o; | 1534 return o; |
| 1472 } | 1535 } |
| 1473 | 1536 |
| 1474 checkUnnamed2018(core.List<api.PersonUrls> o) { | 1537 checkUnnamed1247(core.List<api.PersonUrls> o) { |
| 1475 unittest.expect(o, unittest.hasLength(2)); | 1538 unittest.expect(o, unittest.hasLength(2)); |
| 1476 checkPersonUrls(o[0]); | 1539 checkPersonUrls(o[0]); |
| 1477 checkPersonUrls(o[1]); | 1540 checkPersonUrls(o[1]); |
| 1478 } | 1541 } |
| 1479 | 1542 |
| 1480 core.int buildCounterPerson = 0; | 1543 core.int buildCounterPerson = 0; |
| 1481 buildPerson() { | 1544 buildPerson() { |
| 1482 var o = new api.Person(); | 1545 var o = new api.Person(); |
| 1483 buildCounterPerson++; | 1546 buildCounterPerson++; |
| 1484 if (buildCounterPerson < 3) { | 1547 if (buildCounterPerson < 3) { |
| 1485 o.aboutMe = "foo"; | 1548 o.aboutMe = "foo"; |
| 1486 o.birthday = "foo"; | 1549 o.birthday = "foo"; |
| 1487 o.braggingRights = "foo"; | 1550 o.braggingRights = "foo"; |
| 1488 o.circledByCount = 42; | 1551 o.circledByCount = 42; |
| 1489 o.cover = buildPersonCover(); | 1552 o.cover = buildPersonCover(); |
| 1490 o.currentLocation = "foo"; | 1553 o.currentLocation = "foo"; |
| 1491 o.displayName = "foo"; | 1554 o.displayName = "foo"; |
| 1492 o.domain = "foo"; | 1555 o.domain = "foo"; |
| 1493 o.emails = buildUnnamed2015(); | 1556 o.emails = buildUnnamed1244(); |
| 1494 o.etag = "foo"; | 1557 o.etag = "foo"; |
| 1495 o.gender = "foo"; | 1558 o.gender = "foo"; |
| 1496 o.id = "foo"; | 1559 o.id = "foo"; |
| 1497 o.image = buildPersonImage(); | 1560 o.image = buildPersonImage(); |
| 1498 o.isPlusUser = true; | 1561 o.isPlusUser = true; |
| 1499 o.kind = "foo"; | 1562 o.kind = "foo"; |
| 1500 o.name = buildPersonName(); | 1563 o.name = buildPersonName(); |
| 1501 o.nickname = "foo"; | 1564 o.nickname = "foo"; |
| 1502 o.objectType = "foo"; | 1565 o.objectType = "foo"; |
| 1503 o.occupation = "foo"; | 1566 o.occupation = "foo"; |
| 1504 o.organizations = buildUnnamed2016(); | 1567 o.organizations = buildUnnamed1245(); |
| 1505 o.placesLived = buildUnnamed2017(); | 1568 o.placesLived = buildUnnamed1246(); |
| 1506 o.plusOneCount = 42; | 1569 o.plusOneCount = 42; |
| 1507 o.relationshipStatus = "foo"; | 1570 o.relationshipStatus = "foo"; |
| 1508 o.skills = "foo"; | 1571 o.skills = "foo"; |
| 1509 o.tagline = "foo"; | 1572 o.tagline = "foo"; |
| 1510 o.url = "foo"; | 1573 o.url = "foo"; |
| 1511 o.urls = buildUnnamed2018(); | 1574 o.urls = buildUnnamed1247(); |
| 1512 o.verified = true; | 1575 o.verified = true; |
| 1513 } | 1576 } |
| 1514 buildCounterPerson--; | 1577 buildCounterPerson--; |
| 1515 return o; | 1578 return o; |
| 1516 } | 1579 } |
| 1517 | 1580 |
| 1518 checkPerson(api.Person o) { | 1581 checkPerson(api.Person o) { |
| 1519 buildCounterPerson++; | 1582 buildCounterPerson++; |
| 1520 if (buildCounterPerson < 3) { | 1583 if (buildCounterPerson < 3) { |
| 1521 unittest.expect(o.aboutMe, unittest.equals('foo')); | 1584 unittest.expect(o.aboutMe, unittest.equals('foo')); |
| 1522 unittest.expect(o.birthday, unittest.equals('foo')); | 1585 unittest.expect(o.birthday, unittest.equals('foo')); |
| 1523 unittest.expect(o.braggingRights, unittest.equals('foo')); | 1586 unittest.expect(o.braggingRights, unittest.equals('foo')); |
| 1524 unittest.expect(o.circledByCount, unittest.equals(42)); | 1587 unittest.expect(o.circledByCount, unittest.equals(42)); |
| 1525 checkPersonCover(o.cover); | 1588 checkPersonCover(o.cover); |
| 1526 unittest.expect(o.currentLocation, unittest.equals('foo')); | 1589 unittest.expect(o.currentLocation, unittest.equals('foo')); |
| 1527 unittest.expect(o.displayName, unittest.equals('foo')); | 1590 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1528 unittest.expect(o.domain, unittest.equals('foo')); | 1591 unittest.expect(o.domain, unittest.equals('foo')); |
| 1529 checkUnnamed2015(o.emails); | 1592 checkUnnamed1244(o.emails); |
| 1530 unittest.expect(o.etag, unittest.equals('foo')); | 1593 unittest.expect(o.etag, unittest.equals('foo')); |
| 1531 unittest.expect(o.gender, unittest.equals('foo')); | 1594 unittest.expect(o.gender, unittest.equals('foo')); |
| 1532 unittest.expect(o.id, unittest.equals('foo')); | 1595 unittest.expect(o.id, unittest.equals('foo')); |
| 1533 checkPersonImage(o.image); | 1596 checkPersonImage(o.image); |
| 1534 unittest.expect(o.isPlusUser, unittest.isTrue); | 1597 unittest.expect(o.isPlusUser, unittest.isTrue); |
| 1535 unittest.expect(o.kind, unittest.equals('foo')); | 1598 unittest.expect(o.kind, unittest.equals('foo')); |
| 1536 checkPersonName(o.name); | 1599 checkPersonName(o.name); |
| 1537 unittest.expect(o.nickname, unittest.equals('foo')); | 1600 unittest.expect(o.nickname, unittest.equals('foo')); |
| 1538 unittest.expect(o.objectType, unittest.equals('foo')); | 1601 unittest.expect(o.objectType, unittest.equals('foo')); |
| 1539 unittest.expect(o.occupation, unittest.equals('foo')); | 1602 unittest.expect(o.occupation, unittest.equals('foo')); |
| 1540 checkUnnamed2016(o.organizations); | 1603 checkUnnamed1245(o.organizations); |
| 1541 checkUnnamed2017(o.placesLived); | 1604 checkUnnamed1246(o.placesLived); |
| 1542 unittest.expect(o.plusOneCount, unittest.equals(42)); | 1605 unittest.expect(o.plusOneCount, unittest.equals(42)); |
| 1543 unittest.expect(o.relationshipStatus, unittest.equals('foo')); | 1606 unittest.expect(o.relationshipStatus, unittest.equals('foo')); |
| 1544 unittest.expect(o.skills, unittest.equals('foo')); | 1607 unittest.expect(o.skills, unittest.equals('foo')); |
| 1545 unittest.expect(o.tagline, unittest.equals('foo')); | 1608 unittest.expect(o.tagline, unittest.equals('foo')); |
| 1546 unittest.expect(o.url, unittest.equals('foo')); | 1609 unittest.expect(o.url, unittest.equals('foo')); |
| 1547 checkUnnamed2018(o.urls); | 1610 checkUnnamed1247(o.urls); |
| 1548 unittest.expect(o.verified, unittest.isTrue); | 1611 unittest.expect(o.verified, unittest.isTrue); |
| 1549 } | 1612 } |
| 1550 buildCounterPerson--; | 1613 buildCounterPerson--; |
| 1551 } | 1614 } |
| 1552 | 1615 |
| 1553 core.int buildCounterPlaceAddress = 0; | 1616 core.int buildCounterPlaceAddress = 0; |
| 1554 buildPlaceAddress() { | 1617 buildPlaceAddress() { |
| 1555 var o = new api.PlaceAddress(); | 1618 var o = new api.PlaceAddress(); |
| 1556 buildCounterPlaceAddress++; | 1619 buildCounterPlaceAddress++; |
| 1557 if (buildCounterPlaceAddress < 3) { | 1620 if (buildCounterPlaceAddress < 3) { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1658 buildCounterVideostream++; | 1721 buildCounterVideostream++; |
| 1659 if (buildCounterVideostream < 3) { | 1722 if (buildCounterVideostream < 3) { |
| 1660 unittest.expect(o.height, unittest.equals(42)); | 1723 unittest.expect(o.height, unittest.equals(42)); |
| 1661 unittest.expect(o.type, unittest.equals('foo')); | 1724 unittest.expect(o.type, unittest.equals('foo')); |
| 1662 unittest.expect(o.url, unittest.equals('foo')); | 1725 unittest.expect(o.url, unittest.equals('foo')); |
| 1663 unittest.expect(o.width, unittest.equals(42)); | 1726 unittest.expect(o.width, unittest.equals(42)); |
| 1664 } | 1727 } |
| 1665 buildCounterVideostream--; | 1728 buildCounterVideostream--; |
| 1666 } | 1729 } |
| 1667 | 1730 |
| 1668 buildUnnamed2019() { | 1731 buildUnnamed1248() { |
| 1669 var o = new core.List<core.String>(); | 1732 var o = new core.List<core.String>(); |
| 1670 o.add("foo"); | 1733 o.add("foo"); |
| 1671 o.add("foo"); | 1734 o.add("foo"); |
| 1672 return o; | 1735 return o; |
| 1673 } | 1736 } |
| 1674 | 1737 |
| 1675 checkUnnamed2019(core.List<core.String> o) { | 1738 checkUnnamed1248(core.List<core.String> o) { |
| 1676 unittest.expect(o, unittest.hasLength(2)); | 1739 unittest.expect(o, unittest.hasLength(2)); |
| 1677 unittest.expect(o[0], unittest.equals('foo')); | 1740 unittest.expect(o[0], unittest.equals('foo')); |
| 1678 unittest.expect(o[1], unittest.equals('foo')); | 1741 unittest.expect(o[1], unittest.equals('foo')); |
| 1679 } | 1742 } |
| 1680 | 1743 |
| 1681 buildUnnamed2020() { | 1744 buildUnnamed1249() { |
| 1682 var o = new core.List<core.String>(); | 1745 var o = new core.List<core.String>(); |
| 1683 o.add("foo"); | 1746 o.add("foo"); |
| 1684 o.add("foo"); | 1747 o.add("foo"); |
| 1685 return o; | 1748 return o; |
| 1686 } | 1749 } |
| 1687 | 1750 |
| 1688 checkUnnamed2020(core.List<core.String> o) { | 1751 checkUnnamed1249(core.List<core.String> o) { |
| 1689 unittest.expect(o, unittest.hasLength(2)); | 1752 unittest.expect(o, unittest.hasLength(2)); |
| 1690 unittest.expect(o[0], unittest.equals('foo')); | 1753 unittest.expect(o[0], unittest.equals('foo')); |
| 1691 unittest.expect(o[1], unittest.equals('foo')); | 1754 unittest.expect(o[1], unittest.equals('foo')); |
| 1692 } | 1755 } |
| 1693 | 1756 |
| 1694 buildUnnamed2021() { | 1757 buildUnnamed1250() { |
| 1695 var o = new core.List<core.String>(); | 1758 var o = new core.List<core.String>(); |
| 1696 o.add("foo"); | 1759 o.add("foo"); |
| 1697 o.add("foo"); | 1760 o.add("foo"); |
| 1698 return o; | 1761 return o; |
| 1699 } | 1762 } |
| 1700 | 1763 |
| 1701 checkUnnamed2021(core.List<core.String> o) { | 1764 checkUnnamed1250(core.List<core.String> o) { |
| 1702 unittest.expect(o, unittest.hasLength(2)); | 1765 unittest.expect(o, unittest.hasLength(2)); |
| 1703 unittest.expect(o[0], unittest.equals('foo')); | 1766 unittest.expect(o[0], unittest.equals('foo')); |
| 1704 unittest.expect(o[1], unittest.equals('foo')); | 1767 unittest.expect(o[1], unittest.equals('foo')); |
| 1705 } | 1768 } |
| 1706 | 1769 |
| 1707 buildUnnamed2022() { | 1770 buildUnnamed1251() { |
| 1708 var o = new core.List<core.String>(); | 1771 var o = new core.List<core.String>(); |
| 1709 o.add("foo"); | 1772 o.add("foo"); |
| 1710 o.add("foo"); | 1773 o.add("foo"); |
| 1711 return o; | 1774 return o; |
| 1712 } | 1775 } |
| 1713 | 1776 |
| 1714 checkUnnamed2022(core.List<core.String> o) { | 1777 checkUnnamed1251(core.List<core.String> o) { |
| 1715 unittest.expect(o, unittest.hasLength(2)); | 1778 unittest.expect(o, unittest.hasLength(2)); |
| 1716 unittest.expect(o[0], unittest.equals('foo')); | 1779 unittest.expect(o[0], unittest.equals('foo')); |
| 1717 unittest.expect(o[1], unittest.equals('foo')); | 1780 unittest.expect(o[1], unittest.equals('foo')); |
| 1718 } | 1781 } |
| 1719 | 1782 |
| 1720 | 1783 |
| 1721 main() { | 1784 main() { |
| 1722 unittest.group("obj-schema-Acl", () { | 1785 unittest.group("obj-schema-Acl", () { |
| 1723 unittest.test("to-json--from-json", () { | 1786 unittest.test("to-json--from-json", () { |
| 1724 var o = buildAcl(); | 1787 var o = buildAcl(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1739 | 1802 |
| 1740 unittest.group("obj-schema-ActivityActorName", () { | 1803 unittest.group("obj-schema-ActivityActorName", () { |
| 1741 unittest.test("to-json--from-json", () { | 1804 unittest.test("to-json--from-json", () { |
| 1742 var o = buildActivityActorName(); | 1805 var o = buildActivityActorName(); |
| 1743 var od = new api.ActivityActorName.fromJson(o.toJson()); | 1806 var od = new api.ActivityActorName.fromJson(o.toJson()); |
| 1744 checkActivityActorName(od); | 1807 checkActivityActorName(od); |
| 1745 }); | 1808 }); |
| 1746 }); | 1809 }); |
| 1747 | 1810 |
| 1748 | 1811 |
| 1812 unittest.group("obj-schema-ActivityActorVerification", () { |
| 1813 unittest.test("to-json--from-json", () { |
| 1814 var o = buildActivityActorVerification(); |
| 1815 var od = new api.ActivityActorVerification.fromJson(o.toJson()); |
| 1816 checkActivityActorVerification(od); |
| 1817 }); |
| 1818 }); |
| 1819 |
| 1820 |
| 1749 unittest.group("obj-schema-ActivityActor", () { | 1821 unittest.group("obj-schema-ActivityActor", () { |
| 1750 unittest.test("to-json--from-json", () { | 1822 unittest.test("to-json--from-json", () { |
| 1751 var o = buildActivityActor(); | 1823 var o = buildActivityActor(); |
| 1752 var od = new api.ActivityActor.fromJson(o.toJson()); | 1824 var od = new api.ActivityActor.fromJson(o.toJson()); |
| 1753 checkActivityActor(od); | 1825 checkActivityActor(od); |
| 1754 }); | 1826 }); |
| 1755 }); | 1827 }); |
| 1756 | 1828 |
| 1757 | 1829 |
| 1758 unittest.group("obj-schema-ActivityObjectActorImage", () { | 1830 unittest.group("obj-schema-ActivityObjectActorImage", () { |
| 1759 unittest.test("to-json--from-json", () { | 1831 unittest.test("to-json--from-json", () { |
| 1760 var o = buildActivityObjectActorImage(); | 1832 var o = buildActivityObjectActorImage(); |
| 1761 var od = new api.ActivityObjectActorImage.fromJson(o.toJson()); | 1833 var od = new api.ActivityObjectActorImage.fromJson(o.toJson()); |
| 1762 checkActivityObjectActorImage(od); | 1834 checkActivityObjectActorImage(od); |
| 1763 }); | 1835 }); |
| 1764 }); | 1836 }); |
| 1765 | 1837 |
| 1766 | 1838 |
| 1839 unittest.group("obj-schema-ActivityObjectActorVerification", () { |
| 1840 unittest.test("to-json--from-json", () { |
| 1841 var o = buildActivityObjectActorVerification(); |
| 1842 var od = new api.ActivityObjectActorVerification.fromJson(o.toJson()); |
| 1843 checkActivityObjectActorVerification(od); |
| 1844 }); |
| 1845 }); |
| 1846 |
| 1847 |
| 1767 unittest.group("obj-schema-ActivityObjectActor", () { | 1848 unittest.group("obj-schema-ActivityObjectActor", () { |
| 1768 unittest.test("to-json--from-json", () { | 1849 unittest.test("to-json--from-json", () { |
| 1769 var o = buildActivityObjectActor(); | 1850 var o = buildActivityObjectActor(); |
| 1770 var od = new api.ActivityObjectActor.fromJson(o.toJson()); | 1851 var od = new api.ActivityObjectActor.fromJson(o.toJson()); |
| 1771 checkActivityObjectActor(od); | 1852 checkActivityObjectActor(od); |
| 1772 }); | 1853 }); |
| 1773 }); | 1854 }); |
| 1774 | 1855 |
| 1775 | 1856 |
| 1776 unittest.group("obj-schema-ActivityObjectAttachmentsEmbed", () { | 1857 unittest.group("obj-schema-ActivityObjectAttachmentsEmbed", () { |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1955 | 2036 |
| 1956 unittest.group("obj-schema-CommentActorImage", () { | 2037 unittest.group("obj-schema-CommentActorImage", () { |
| 1957 unittest.test("to-json--from-json", () { | 2038 unittest.test("to-json--from-json", () { |
| 1958 var o = buildCommentActorImage(); | 2039 var o = buildCommentActorImage(); |
| 1959 var od = new api.CommentActorImage.fromJson(o.toJson()); | 2040 var od = new api.CommentActorImage.fromJson(o.toJson()); |
| 1960 checkCommentActorImage(od); | 2041 checkCommentActorImage(od); |
| 1961 }); | 2042 }); |
| 1962 }); | 2043 }); |
| 1963 | 2044 |
| 1964 | 2045 |
| 2046 unittest.group("obj-schema-CommentActorVerification", () { |
| 2047 unittest.test("to-json--from-json", () { |
| 2048 var o = buildCommentActorVerification(); |
| 2049 var od = new api.CommentActorVerification.fromJson(o.toJson()); |
| 2050 checkCommentActorVerification(od); |
| 2051 }); |
| 2052 }); |
| 2053 |
| 2054 |
| 1965 unittest.group("obj-schema-CommentActor", () { | 2055 unittest.group("obj-schema-CommentActor", () { |
| 1966 unittest.test("to-json--from-json", () { | 2056 unittest.test("to-json--from-json", () { |
| 1967 var o = buildCommentActor(); | 2057 var o = buildCommentActor(); |
| 1968 var od = new api.CommentActor.fromJson(o.toJson()); | 2058 var od = new api.CommentActor.fromJson(o.toJson()); |
| 1969 checkCommentActor(od); | 2059 checkCommentActor(od); |
| 1970 }); | 2060 }); |
| 1971 }); | 2061 }); |
| 1972 | 2062 |
| 1973 | 2063 |
| 1974 unittest.group("obj-schema-CommentInReplyTo", () { | 2064 unittest.group("obj-schema-CommentInReplyTo", () { |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2429 | 2519 |
| 2430 }); | 2520 }); |
| 2431 | 2521 |
| 2432 | 2522 |
| 2433 unittest.group("resource-CirclesResourceApi", () { | 2523 unittest.group("resource-CirclesResourceApi", () { |
| 2434 unittest.test("method--addPeople", () { | 2524 unittest.test("method--addPeople", () { |
| 2435 | 2525 |
| 2436 var mock = new HttpServerMock(); | 2526 var mock = new HttpServerMock(); |
| 2437 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; | 2527 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; |
| 2438 var arg_circleId = "foo"; | 2528 var arg_circleId = "foo"; |
| 2439 var arg_email = buildUnnamed2019(); | 2529 var arg_email = buildUnnamed1248(); |
| 2440 var arg_userId = buildUnnamed2020(); | 2530 var arg_userId = buildUnnamed1249(); |
| 2441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2531 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2442 var path = (req.url).path; | 2532 var path = (req.url).path; |
| 2443 var pathOffset = 0; | 2533 var pathOffset = 0; |
| 2444 var index; | 2534 var index; |
| 2445 var subPart; | 2535 var subPart; |
| 2446 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2536 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2447 pathOffset += 1; | 2537 pathOffset += 1; |
| 2448 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); | 2538 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); |
| 2449 pathOffset += 15; | 2539 pathOffset += 15; |
| 2450 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); | 2540 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2749 return new async.Future.value(stringResponse(200, h, resp)); | 2839 return new async.Future.value(stringResponse(200, h, resp)); |
| 2750 }), true); | 2840 }), true); |
| 2751 res.remove(arg_circleId).then(unittest.expectAsync((_) {})); | 2841 res.remove(arg_circleId).then(unittest.expectAsync((_) {})); |
| 2752 }); | 2842 }); |
| 2753 | 2843 |
| 2754 unittest.test("method--removePeople", () { | 2844 unittest.test("method--removePeople", () { |
| 2755 | 2845 |
| 2756 var mock = new HttpServerMock(); | 2846 var mock = new HttpServerMock(); |
| 2757 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; | 2847 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; |
| 2758 var arg_circleId = "foo"; | 2848 var arg_circleId = "foo"; |
| 2759 var arg_email = buildUnnamed2021(); | 2849 var arg_email = buildUnnamed1250(); |
| 2760 var arg_userId = buildUnnamed2022(); | 2850 var arg_userId = buildUnnamed1251(); |
| 2761 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2851 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2762 var path = (req.url).path; | 2852 var path = (req.url).path; |
| 2763 var pathOffset = 0; | 2853 var pathOffset = 0; |
| 2764 var index; | 2854 var index; |
| 2765 var subPart; | 2855 var subPart; |
| 2766 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2856 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2767 pathOffset += 1; | 2857 pathOffset += 1; |
| 2768 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); | 2858 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); |
| 2769 pathOffset += 15; | 2859 pathOffset += 15; |
| 2770 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); | 2860 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3327 res.listByCircle(arg_circleId, maxResults: arg_maxResults, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { | 3417 res.listByCircle(arg_circleId, maxResults: arg_maxResults, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { |
| 3328 checkPeopleFeed(response); | 3418 checkPeopleFeed(response); |
| 3329 }))); | 3419 }))); |
| 3330 }); | 3420 }); |
| 3331 | 3421 |
| 3332 }); | 3422 }); |
| 3333 | 3423 |
| 3334 | 3424 |
| 3335 } | 3425 } |
| 3336 | 3426 |
| OLD | NEW |