OLD | NEW |
1 library googleapis.androidpublisher.v2.test; | 1 library googleapis.androidpublisher.v2.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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 checkApkListing(api.ApkListing o) { | 106 checkApkListing(api.ApkListing o) { |
107 buildCounterApkListing++; | 107 buildCounterApkListing++; |
108 if (buildCounterApkListing < 3) { | 108 if (buildCounterApkListing < 3) { |
109 unittest.expect(o.language, unittest.equals('foo')); | 109 unittest.expect(o.language, unittest.equals('foo')); |
110 unittest.expect(o.recentChanges, unittest.equals('foo')); | 110 unittest.expect(o.recentChanges, unittest.equals('foo')); |
111 } | 111 } |
112 buildCounterApkListing--; | 112 buildCounterApkListing--; |
113 } | 113 } |
114 | 114 |
115 buildUnnamed2789() { | 115 buildUnnamed2883() { |
116 var o = new core.List<api.ApkListing>(); | 116 var o = new core.List<api.ApkListing>(); |
117 o.add(buildApkListing()); | 117 o.add(buildApkListing()); |
118 o.add(buildApkListing()); | 118 o.add(buildApkListing()); |
119 return o; | 119 return o; |
120 } | 120 } |
121 | 121 |
122 checkUnnamed2789(core.List<api.ApkListing> o) { | 122 checkUnnamed2883(core.List<api.ApkListing> o) { |
123 unittest.expect(o, unittest.hasLength(2)); | 123 unittest.expect(o, unittest.hasLength(2)); |
124 checkApkListing(o[0]); | 124 checkApkListing(o[0]); |
125 checkApkListing(o[1]); | 125 checkApkListing(o[1]); |
126 } | 126 } |
127 | 127 |
128 core.int buildCounterApkListingsListResponse = 0; | 128 core.int buildCounterApkListingsListResponse = 0; |
129 buildApkListingsListResponse() { | 129 buildApkListingsListResponse() { |
130 var o = new api.ApkListingsListResponse(); | 130 var o = new api.ApkListingsListResponse(); |
131 buildCounterApkListingsListResponse++; | 131 buildCounterApkListingsListResponse++; |
132 if (buildCounterApkListingsListResponse < 3) { | 132 if (buildCounterApkListingsListResponse < 3) { |
133 o.kind = "foo"; | 133 o.kind = "foo"; |
134 o.listings = buildUnnamed2789(); | 134 o.listings = buildUnnamed2883(); |
135 } | 135 } |
136 buildCounterApkListingsListResponse--; | 136 buildCounterApkListingsListResponse--; |
137 return o; | 137 return o; |
138 } | 138 } |
139 | 139 |
140 checkApkListingsListResponse(api.ApkListingsListResponse o) { | 140 checkApkListingsListResponse(api.ApkListingsListResponse o) { |
141 buildCounterApkListingsListResponse++; | 141 buildCounterApkListingsListResponse++; |
142 if (buildCounterApkListingsListResponse < 3) { | 142 if (buildCounterApkListingsListResponse < 3) { |
143 unittest.expect(o.kind, unittest.equals('foo')); | 143 unittest.expect(o.kind, unittest.equals('foo')); |
144 checkUnnamed2789(o.listings); | 144 checkUnnamed2883(o.listings); |
145 } | 145 } |
146 buildCounterApkListingsListResponse--; | 146 buildCounterApkListingsListResponse--; |
147 } | 147 } |
148 | 148 |
149 core.int buildCounterApksAddExternallyHostedRequest = 0; | 149 core.int buildCounterApksAddExternallyHostedRequest = 0; |
150 buildApksAddExternallyHostedRequest() { | 150 buildApksAddExternallyHostedRequest() { |
151 var o = new api.ApksAddExternallyHostedRequest(); | 151 var o = new api.ApksAddExternallyHostedRequest(); |
152 buildCounterApksAddExternallyHostedRequest++; | 152 buildCounterApksAddExternallyHostedRequest++; |
153 if (buildCounterApksAddExternallyHostedRequest < 3) { | 153 if (buildCounterApksAddExternallyHostedRequest < 3) { |
154 o.externallyHostedApk = buildExternallyHostedApk(); | 154 o.externallyHostedApk = buildExternallyHostedApk(); |
(...skipping 22 matching lines...) Expand all Loading... |
177 } | 177 } |
178 | 178 |
179 checkApksAddExternallyHostedResponse(api.ApksAddExternallyHostedResponse o) { | 179 checkApksAddExternallyHostedResponse(api.ApksAddExternallyHostedResponse o) { |
180 buildCounterApksAddExternallyHostedResponse++; | 180 buildCounterApksAddExternallyHostedResponse++; |
181 if (buildCounterApksAddExternallyHostedResponse < 3) { | 181 if (buildCounterApksAddExternallyHostedResponse < 3) { |
182 checkExternallyHostedApk(o.externallyHostedApk); | 182 checkExternallyHostedApk(o.externallyHostedApk); |
183 } | 183 } |
184 buildCounterApksAddExternallyHostedResponse--; | 184 buildCounterApksAddExternallyHostedResponse--; |
185 } | 185 } |
186 | 186 |
187 buildUnnamed2790() { | 187 buildUnnamed2884() { |
188 var o = new core.List<api.Apk>(); | 188 var o = new core.List<api.Apk>(); |
189 o.add(buildApk()); | 189 o.add(buildApk()); |
190 o.add(buildApk()); | 190 o.add(buildApk()); |
191 return o; | 191 return o; |
192 } | 192 } |
193 | 193 |
194 checkUnnamed2790(core.List<api.Apk> o) { | 194 checkUnnamed2884(core.List<api.Apk> o) { |
195 unittest.expect(o, unittest.hasLength(2)); | 195 unittest.expect(o, unittest.hasLength(2)); |
196 checkApk(o[0]); | 196 checkApk(o[0]); |
197 checkApk(o[1]); | 197 checkApk(o[1]); |
198 } | 198 } |
199 | 199 |
200 core.int buildCounterApksListResponse = 0; | 200 core.int buildCounterApksListResponse = 0; |
201 buildApksListResponse() { | 201 buildApksListResponse() { |
202 var o = new api.ApksListResponse(); | 202 var o = new api.ApksListResponse(); |
203 buildCounterApksListResponse++; | 203 buildCounterApksListResponse++; |
204 if (buildCounterApksListResponse < 3) { | 204 if (buildCounterApksListResponse < 3) { |
205 o.apks = buildUnnamed2790(); | 205 o.apks = buildUnnamed2884(); |
206 o.kind = "foo"; | 206 o.kind = "foo"; |
207 } | 207 } |
208 buildCounterApksListResponse--; | 208 buildCounterApksListResponse--; |
209 return o; | 209 return o; |
210 } | 210 } |
211 | 211 |
212 checkApksListResponse(api.ApksListResponse o) { | 212 checkApksListResponse(api.ApksListResponse o) { |
213 buildCounterApksListResponse++; | 213 buildCounterApksListResponse++; |
214 if (buildCounterApksListResponse < 3) { | 214 if (buildCounterApksListResponse < 3) { |
215 checkUnnamed2790(o.apks); | 215 checkUnnamed2884(o.apks); |
216 unittest.expect(o.kind, unittest.equals('foo')); | 216 unittest.expect(o.kind, unittest.equals('foo')); |
217 } | 217 } |
218 buildCounterApksListResponse--; | 218 buildCounterApksListResponse--; |
219 } | 219 } |
220 | 220 |
221 core.int buildCounterAppDetails = 0; | 221 core.int buildCounterAppDetails = 0; |
222 buildAppDetails() { | 222 buildAppDetails() { |
223 var o = new api.AppDetails(); | 223 var o = new api.AppDetails(); |
224 buildCounterAppDetails++; | 224 buildCounterAppDetails++; |
225 if (buildCounterAppDetails < 3) { | 225 if (buildCounterAppDetails < 3) { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 buildCounterEntitlement++; | 401 buildCounterEntitlement++; |
402 if (buildCounterEntitlement < 3) { | 402 if (buildCounterEntitlement < 3) { |
403 unittest.expect(o.kind, unittest.equals('foo')); | 403 unittest.expect(o.kind, unittest.equals('foo')); |
404 unittest.expect(o.productId, unittest.equals('foo')); | 404 unittest.expect(o.productId, unittest.equals('foo')); |
405 unittest.expect(o.productType, unittest.equals('foo')); | 405 unittest.expect(o.productType, unittest.equals('foo')); |
406 unittest.expect(o.token, unittest.equals('foo')); | 406 unittest.expect(o.token, unittest.equals('foo')); |
407 } | 407 } |
408 buildCounterEntitlement--; | 408 buildCounterEntitlement--; |
409 } | 409 } |
410 | 410 |
411 buildUnnamed2791() { | 411 buildUnnamed2885() { |
412 var o = new core.List<api.Entitlement>(); | 412 var o = new core.List<api.Entitlement>(); |
413 o.add(buildEntitlement()); | 413 o.add(buildEntitlement()); |
414 o.add(buildEntitlement()); | 414 o.add(buildEntitlement()); |
415 return o; | 415 return o; |
416 } | 416 } |
417 | 417 |
418 checkUnnamed2791(core.List<api.Entitlement> o) { | 418 checkUnnamed2885(core.List<api.Entitlement> o) { |
419 unittest.expect(o, unittest.hasLength(2)); | 419 unittest.expect(o, unittest.hasLength(2)); |
420 checkEntitlement(o[0]); | 420 checkEntitlement(o[0]); |
421 checkEntitlement(o[1]); | 421 checkEntitlement(o[1]); |
422 } | 422 } |
423 | 423 |
424 core.int buildCounterEntitlementsListResponse = 0; | 424 core.int buildCounterEntitlementsListResponse = 0; |
425 buildEntitlementsListResponse() { | 425 buildEntitlementsListResponse() { |
426 var o = new api.EntitlementsListResponse(); | 426 var o = new api.EntitlementsListResponse(); |
427 buildCounterEntitlementsListResponse++; | 427 buildCounterEntitlementsListResponse++; |
428 if (buildCounterEntitlementsListResponse < 3) { | 428 if (buildCounterEntitlementsListResponse < 3) { |
429 o.pageInfo = buildPageInfo(); | 429 o.pageInfo = buildPageInfo(); |
430 o.resources = buildUnnamed2791(); | 430 o.resources = buildUnnamed2885(); |
431 o.tokenPagination = buildTokenPagination(); | 431 o.tokenPagination = buildTokenPagination(); |
432 } | 432 } |
433 buildCounterEntitlementsListResponse--; | 433 buildCounterEntitlementsListResponse--; |
434 return o; | 434 return o; |
435 } | 435 } |
436 | 436 |
437 checkEntitlementsListResponse(api.EntitlementsListResponse o) { | 437 checkEntitlementsListResponse(api.EntitlementsListResponse o) { |
438 buildCounterEntitlementsListResponse++; | 438 buildCounterEntitlementsListResponse++; |
439 if (buildCounterEntitlementsListResponse < 3) { | 439 if (buildCounterEntitlementsListResponse < 3) { |
440 checkPageInfo(o.pageInfo); | 440 checkPageInfo(o.pageInfo); |
441 checkUnnamed2791(o.resources); | 441 checkUnnamed2885(o.resources); |
442 checkTokenPagination(o.tokenPagination); | 442 checkTokenPagination(o.tokenPagination); |
443 } | 443 } |
444 buildCounterEntitlementsListResponse--; | 444 buildCounterEntitlementsListResponse--; |
445 } | 445 } |
446 | 446 |
447 core.int buildCounterExpansionFile = 0; | 447 core.int buildCounterExpansionFile = 0; |
448 buildExpansionFile() { | 448 buildExpansionFile() { |
449 var o = new api.ExpansionFile(); | 449 var o = new api.ExpansionFile(); |
450 buildCounterExpansionFile++; | 450 buildCounterExpansionFile++; |
451 if (buildCounterExpansionFile < 3) { | 451 if (buildCounterExpansionFile < 3) { |
(...skipping 25 matching lines...) Expand all Loading... |
477 } | 477 } |
478 | 478 |
479 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { | 479 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { |
480 buildCounterExpansionFilesUploadResponse++; | 480 buildCounterExpansionFilesUploadResponse++; |
481 if (buildCounterExpansionFilesUploadResponse < 3) { | 481 if (buildCounterExpansionFilesUploadResponse < 3) { |
482 checkExpansionFile(o.expansionFile); | 482 checkExpansionFile(o.expansionFile); |
483 } | 483 } |
484 buildCounterExpansionFilesUploadResponse--; | 484 buildCounterExpansionFilesUploadResponse--; |
485 } | 485 } |
486 | 486 |
487 buildUnnamed2792() { | 487 buildUnnamed2886() { |
488 var o = new core.List<core.String>(); | 488 var o = new core.List<core.String>(); |
489 o.add("foo"); | 489 o.add("foo"); |
490 o.add("foo"); | 490 o.add("foo"); |
491 return o; | 491 return o; |
492 } | 492 } |
493 | 493 |
494 checkUnnamed2792(core.List<core.String> o) { | 494 checkUnnamed2886(core.List<core.String> o) { |
495 unittest.expect(o, unittest.hasLength(2)); | 495 unittest.expect(o, unittest.hasLength(2)); |
496 unittest.expect(o[0], unittest.equals('foo')); | 496 unittest.expect(o[0], unittest.equals('foo')); |
497 unittest.expect(o[1], unittest.equals('foo')); | 497 unittest.expect(o[1], unittest.equals('foo')); |
498 } | 498 } |
499 | 499 |
500 buildUnnamed2793() { | 500 buildUnnamed2887() { |
501 var o = new core.List<core.String>(); | 501 var o = new core.List<core.String>(); |
502 o.add("foo"); | 502 o.add("foo"); |
503 o.add("foo"); | 503 o.add("foo"); |
504 return o; | 504 return o; |
505 } | 505 } |
506 | 506 |
507 checkUnnamed2793(core.List<core.String> o) { | 507 checkUnnamed2887(core.List<core.String> o) { |
508 unittest.expect(o, unittest.hasLength(2)); | 508 unittest.expect(o, unittest.hasLength(2)); |
509 unittest.expect(o[0], unittest.equals('foo')); | 509 unittest.expect(o[0], unittest.equals('foo')); |
510 unittest.expect(o[1], unittest.equals('foo')); | 510 unittest.expect(o[1], unittest.equals('foo')); |
511 } | 511 } |
512 | 512 |
513 buildUnnamed2794() { | 513 buildUnnamed2888() { |
514 var o = new core.List<core.String>(); | 514 var o = new core.List<core.String>(); |
515 o.add("foo"); | 515 o.add("foo"); |
516 o.add("foo"); | 516 o.add("foo"); |
517 return o; | 517 return o; |
518 } | 518 } |
519 | 519 |
520 checkUnnamed2794(core.List<core.String> o) { | 520 checkUnnamed2888(core.List<core.String> o) { |
521 unittest.expect(o, unittest.hasLength(2)); | 521 unittest.expect(o, unittest.hasLength(2)); |
522 unittest.expect(o[0], unittest.equals('foo')); | 522 unittest.expect(o[0], unittest.equals('foo')); |
523 unittest.expect(o[1], unittest.equals('foo')); | 523 unittest.expect(o[1], unittest.equals('foo')); |
524 } | 524 } |
525 | 525 |
526 buildUnnamed2795() { | 526 buildUnnamed2889() { |
527 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); | 527 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); |
528 o.add(buildExternallyHostedApkUsesPermission()); | 528 o.add(buildExternallyHostedApkUsesPermission()); |
529 o.add(buildExternallyHostedApkUsesPermission()); | 529 o.add(buildExternallyHostedApkUsesPermission()); |
530 return o; | 530 return o; |
531 } | 531 } |
532 | 532 |
533 checkUnnamed2795(core.List<api.ExternallyHostedApkUsesPermission> o) { | 533 checkUnnamed2889(core.List<api.ExternallyHostedApkUsesPermission> o) { |
534 unittest.expect(o, unittest.hasLength(2)); | 534 unittest.expect(o, unittest.hasLength(2)); |
535 checkExternallyHostedApkUsesPermission(o[0]); | 535 checkExternallyHostedApkUsesPermission(o[0]); |
536 checkExternallyHostedApkUsesPermission(o[1]); | 536 checkExternallyHostedApkUsesPermission(o[1]); |
537 } | 537 } |
538 | 538 |
539 core.int buildCounterExternallyHostedApk = 0; | 539 core.int buildCounterExternallyHostedApk = 0; |
540 buildExternallyHostedApk() { | 540 buildExternallyHostedApk() { |
541 var o = new api.ExternallyHostedApk(); | 541 var o = new api.ExternallyHostedApk(); |
542 buildCounterExternallyHostedApk++; | 542 buildCounterExternallyHostedApk++; |
543 if (buildCounterExternallyHostedApk < 3) { | 543 if (buildCounterExternallyHostedApk < 3) { |
544 o.applicationLabel = "foo"; | 544 o.applicationLabel = "foo"; |
545 o.certificateBase64s = buildUnnamed2792(); | 545 o.certificateBase64s = buildUnnamed2886(); |
546 o.externallyHostedUrl = "foo"; | 546 o.externallyHostedUrl = "foo"; |
547 o.fileSha1Base64 = "foo"; | 547 o.fileSha1Base64 = "foo"; |
548 o.fileSha256Base64 = "foo"; | 548 o.fileSha256Base64 = "foo"; |
549 o.fileSize = "foo"; | 549 o.fileSize = "foo"; |
550 o.iconBase64 = "foo"; | 550 o.iconBase64 = "foo"; |
551 o.maximumSdk = 42; | 551 o.maximumSdk = 42; |
552 o.minimumSdk = 42; | 552 o.minimumSdk = 42; |
553 o.nativeCodes = buildUnnamed2793(); | 553 o.nativeCodes = buildUnnamed2887(); |
554 o.packageName = "foo"; | 554 o.packageName = "foo"; |
555 o.usesFeatures = buildUnnamed2794(); | 555 o.usesFeatures = buildUnnamed2888(); |
556 o.usesPermissions = buildUnnamed2795(); | 556 o.usesPermissions = buildUnnamed2889(); |
557 o.versionCode = 42; | 557 o.versionCode = 42; |
558 o.versionName = "foo"; | 558 o.versionName = "foo"; |
559 } | 559 } |
560 buildCounterExternallyHostedApk--; | 560 buildCounterExternallyHostedApk--; |
561 return o; | 561 return o; |
562 } | 562 } |
563 | 563 |
564 checkExternallyHostedApk(api.ExternallyHostedApk o) { | 564 checkExternallyHostedApk(api.ExternallyHostedApk o) { |
565 buildCounterExternallyHostedApk++; | 565 buildCounterExternallyHostedApk++; |
566 if (buildCounterExternallyHostedApk < 3) { | 566 if (buildCounterExternallyHostedApk < 3) { |
567 unittest.expect(o.applicationLabel, unittest.equals('foo')); | 567 unittest.expect(o.applicationLabel, unittest.equals('foo')); |
568 checkUnnamed2792(o.certificateBase64s); | 568 checkUnnamed2886(o.certificateBase64s); |
569 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); | 569 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); |
570 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); | 570 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); |
571 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); | 571 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); |
572 unittest.expect(o.fileSize, unittest.equals('foo')); | 572 unittest.expect(o.fileSize, unittest.equals('foo')); |
573 unittest.expect(o.iconBase64, unittest.equals('foo')); | 573 unittest.expect(o.iconBase64, unittest.equals('foo')); |
574 unittest.expect(o.maximumSdk, unittest.equals(42)); | 574 unittest.expect(o.maximumSdk, unittest.equals(42)); |
575 unittest.expect(o.minimumSdk, unittest.equals(42)); | 575 unittest.expect(o.minimumSdk, unittest.equals(42)); |
576 checkUnnamed2793(o.nativeCodes); | 576 checkUnnamed2887(o.nativeCodes); |
577 unittest.expect(o.packageName, unittest.equals('foo')); | 577 unittest.expect(o.packageName, unittest.equals('foo')); |
578 checkUnnamed2794(o.usesFeatures); | 578 checkUnnamed2888(o.usesFeatures); |
579 checkUnnamed2795(o.usesPermissions); | 579 checkUnnamed2889(o.usesPermissions); |
580 unittest.expect(o.versionCode, unittest.equals(42)); | 580 unittest.expect(o.versionCode, unittest.equals(42)); |
581 unittest.expect(o.versionName, unittest.equals('foo')); | 581 unittest.expect(o.versionName, unittest.equals('foo')); |
582 } | 582 } |
583 buildCounterExternallyHostedApk--; | 583 buildCounterExternallyHostedApk--; |
584 } | 584 } |
585 | 585 |
586 core.int buildCounterExternallyHostedApkUsesPermission = 0; | 586 core.int buildCounterExternallyHostedApkUsesPermission = 0; |
587 buildExternallyHostedApkUsesPermission() { | 587 buildExternallyHostedApkUsesPermission() { |
588 var o = new api.ExternallyHostedApkUsesPermission(); | 588 var o = new api.ExternallyHostedApkUsesPermission(); |
589 buildCounterExternallyHostedApkUsesPermission++; | 589 buildCounterExternallyHostedApkUsesPermission++; |
(...skipping 30 matching lines...) Expand all Loading... |
620 checkImage(api.Image o) { | 620 checkImage(api.Image o) { |
621 buildCounterImage++; | 621 buildCounterImage++; |
622 if (buildCounterImage < 3) { | 622 if (buildCounterImage < 3) { |
623 unittest.expect(o.id, unittest.equals('foo')); | 623 unittest.expect(o.id, unittest.equals('foo')); |
624 unittest.expect(o.sha1, unittest.equals('foo')); | 624 unittest.expect(o.sha1, unittest.equals('foo')); |
625 unittest.expect(o.url, unittest.equals('foo')); | 625 unittest.expect(o.url, unittest.equals('foo')); |
626 } | 626 } |
627 buildCounterImage--; | 627 buildCounterImage--; |
628 } | 628 } |
629 | 629 |
630 buildUnnamed2796() { | 630 buildUnnamed2890() { |
631 var o = new core.List<api.Image>(); | 631 var o = new core.List<api.Image>(); |
632 o.add(buildImage()); | 632 o.add(buildImage()); |
633 o.add(buildImage()); | 633 o.add(buildImage()); |
634 return o; | 634 return o; |
635 } | 635 } |
636 | 636 |
637 checkUnnamed2796(core.List<api.Image> o) { | 637 checkUnnamed2890(core.List<api.Image> o) { |
638 unittest.expect(o, unittest.hasLength(2)); | 638 unittest.expect(o, unittest.hasLength(2)); |
639 checkImage(o[0]); | 639 checkImage(o[0]); |
640 checkImage(o[1]); | 640 checkImage(o[1]); |
641 } | 641 } |
642 | 642 |
643 core.int buildCounterImagesDeleteAllResponse = 0; | 643 core.int buildCounterImagesDeleteAllResponse = 0; |
644 buildImagesDeleteAllResponse() { | 644 buildImagesDeleteAllResponse() { |
645 var o = new api.ImagesDeleteAllResponse(); | 645 var o = new api.ImagesDeleteAllResponse(); |
646 buildCounterImagesDeleteAllResponse++; | 646 buildCounterImagesDeleteAllResponse++; |
647 if (buildCounterImagesDeleteAllResponse < 3) { | 647 if (buildCounterImagesDeleteAllResponse < 3) { |
648 o.deleted = buildUnnamed2796(); | 648 o.deleted = buildUnnamed2890(); |
649 } | 649 } |
650 buildCounterImagesDeleteAllResponse--; | 650 buildCounterImagesDeleteAllResponse--; |
651 return o; | 651 return o; |
652 } | 652 } |
653 | 653 |
654 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { | 654 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { |
655 buildCounterImagesDeleteAllResponse++; | 655 buildCounterImagesDeleteAllResponse++; |
656 if (buildCounterImagesDeleteAllResponse < 3) { | 656 if (buildCounterImagesDeleteAllResponse < 3) { |
657 checkUnnamed2796(o.deleted); | 657 checkUnnamed2890(o.deleted); |
658 } | 658 } |
659 buildCounterImagesDeleteAllResponse--; | 659 buildCounterImagesDeleteAllResponse--; |
660 } | 660 } |
661 | 661 |
662 buildUnnamed2797() { | 662 buildUnnamed2891() { |
663 var o = new core.List<api.Image>(); | 663 var o = new core.List<api.Image>(); |
664 o.add(buildImage()); | 664 o.add(buildImage()); |
665 o.add(buildImage()); | 665 o.add(buildImage()); |
666 return o; | 666 return o; |
667 } | 667 } |
668 | 668 |
669 checkUnnamed2797(core.List<api.Image> o) { | 669 checkUnnamed2891(core.List<api.Image> o) { |
670 unittest.expect(o, unittest.hasLength(2)); | 670 unittest.expect(o, unittest.hasLength(2)); |
671 checkImage(o[0]); | 671 checkImage(o[0]); |
672 checkImage(o[1]); | 672 checkImage(o[1]); |
673 } | 673 } |
674 | 674 |
675 core.int buildCounterImagesListResponse = 0; | 675 core.int buildCounterImagesListResponse = 0; |
676 buildImagesListResponse() { | 676 buildImagesListResponse() { |
677 var o = new api.ImagesListResponse(); | 677 var o = new api.ImagesListResponse(); |
678 buildCounterImagesListResponse++; | 678 buildCounterImagesListResponse++; |
679 if (buildCounterImagesListResponse < 3) { | 679 if (buildCounterImagesListResponse < 3) { |
680 o.images = buildUnnamed2797(); | 680 o.images = buildUnnamed2891(); |
681 } | 681 } |
682 buildCounterImagesListResponse--; | 682 buildCounterImagesListResponse--; |
683 return o; | 683 return o; |
684 } | 684 } |
685 | 685 |
686 checkImagesListResponse(api.ImagesListResponse o) { | 686 checkImagesListResponse(api.ImagesListResponse o) { |
687 buildCounterImagesListResponse++; | 687 buildCounterImagesListResponse++; |
688 if (buildCounterImagesListResponse < 3) { | 688 if (buildCounterImagesListResponse < 3) { |
689 checkUnnamed2797(o.images); | 689 checkUnnamed2891(o.images); |
690 } | 690 } |
691 buildCounterImagesListResponse--; | 691 buildCounterImagesListResponse--; |
692 } | 692 } |
693 | 693 |
694 core.int buildCounterImagesUploadResponse = 0; | 694 core.int buildCounterImagesUploadResponse = 0; |
695 buildImagesUploadResponse() { | 695 buildImagesUploadResponse() { |
696 var o = new api.ImagesUploadResponse(); | 696 var o = new api.ImagesUploadResponse(); |
697 buildCounterImagesUploadResponse++; | 697 buildCounterImagesUploadResponse++; |
698 if (buildCounterImagesUploadResponse < 3) { | 698 if (buildCounterImagesUploadResponse < 3) { |
699 o.image = buildImage(); | 699 o.image = buildImage(); |
700 } | 700 } |
701 buildCounterImagesUploadResponse--; | 701 buildCounterImagesUploadResponse--; |
702 return o; | 702 return o; |
703 } | 703 } |
704 | 704 |
705 checkImagesUploadResponse(api.ImagesUploadResponse o) { | 705 checkImagesUploadResponse(api.ImagesUploadResponse o) { |
706 buildCounterImagesUploadResponse++; | 706 buildCounterImagesUploadResponse++; |
707 if (buildCounterImagesUploadResponse < 3) { | 707 if (buildCounterImagesUploadResponse < 3) { |
708 checkImage(o.image); | 708 checkImage(o.image); |
709 } | 709 } |
710 buildCounterImagesUploadResponse--; | 710 buildCounterImagesUploadResponse--; |
711 } | 711 } |
712 | 712 |
713 buildUnnamed2798() { | 713 buildUnnamed2892() { |
714 var o = new core.Map<core.String, api.InAppProductListing>(); | 714 var o = new core.Map<core.String, api.InAppProductListing>(); |
715 o["x"] = buildInAppProductListing(); | 715 o["x"] = buildInAppProductListing(); |
716 o["y"] = buildInAppProductListing(); | 716 o["y"] = buildInAppProductListing(); |
717 return o; | 717 return o; |
718 } | 718 } |
719 | 719 |
720 checkUnnamed2798(core.Map<core.String, api.InAppProductListing> o) { | 720 checkUnnamed2892(core.Map<core.String, api.InAppProductListing> o) { |
721 unittest.expect(o, unittest.hasLength(2)); | 721 unittest.expect(o, unittest.hasLength(2)); |
722 checkInAppProductListing(o["x"]); | 722 checkInAppProductListing(o["x"]); |
723 checkInAppProductListing(o["y"]); | 723 checkInAppProductListing(o["y"]); |
724 } | 724 } |
725 | 725 |
726 buildUnnamed2799() { | 726 buildUnnamed2893() { |
727 var o = new core.Map<core.String, api.Price>(); | 727 var o = new core.Map<core.String, api.Price>(); |
728 o["x"] = buildPrice(); | 728 o["x"] = buildPrice(); |
729 o["y"] = buildPrice(); | 729 o["y"] = buildPrice(); |
730 return o; | 730 return o; |
731 } | 731 } |
732 | 732 |
733 checkUnnamed2799(core.Map<core.String, api.Price> o) { | 733 checkUnnamed2893(core.Map<core.String, api.Price> o) { |
734 unittest.expect(o, unittest.hasLength(2)); | 734 unittest.expect(o, unittest.hasLength(2)); |
735 checkPrice(o["x"]); | 735 checkPrice(o["x"]); |
736 checkPrice(o["y"]); | 736 checkPrice(o["y"]); |
737 } | 737 } |
738 | 738 |
739 core.int buildCounterInAppProduct = 0; | 739 core.int buildCounterInAppProduct = 0; |
740 buildInAppProduct() { | 740 buildInAppProduct() { |
741 var o = new api.InAppProduct(); | 741 var o = new api.InAppProduct(); |
742 buildCounterInAppProduct++; | 742 buildCounterInAppProduct++; |
743 if (buildCounterInAppProduct < 3) { | 743 if (buildCounterInAppProduct < 3) { |
744 o.defaultLanguage = "foo"; | 744 o.defaultLanguage = "foo"; |
745 o.defaultPrice = buildPrice(); | 745 o.defaultPrice = buildPrice(); |
746 o.listings = buildUnnamed2798(); | 746 o.listings = buildUnnamed2892(); |
747 o.packageName = "foo"; | 747 o.packageName = "foo"; |
748 o.prices = buildUnnamed2799(); | 748 o.prices = buildUnnamed2893(); |
749 o.purchaseType = "foo"; | 749 o.purchaseType = "foo"; |
750 o.season = buildSeason(); | 750 o.season = buildSeason(); |
751 o.sku = "foo"; | 751 o.sku = "foo"; |
752 o.status = "foo"; | 752 o.status = "foo"; |
753 o.subscriptionPeriod = "foo"; | 753 o.subscriptionPeriod = "foo"; |
754 o.trialPeriod = "foo"; | 754 o.trialPeriod = "foo"; |
755 } | 755 } |
756 buildCounterInAppProduct--; | 756 buildCounterInAppProduct--; |
757 return o; | 757 return o; |
758 } | 758 } |
759 | 759 |
760 checkInAppProduct(api.InAppProduct o) { | 760 checkInAppProduct(api.InAppProduct o) { |
761 buildCounterInAppProduct++; | 761 buildCounterInAppProduct++; |
762 if (buildCounterInAppProduct < 3) { | 762 if (buildCounterInAppProduct < 3) { |
763 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 763 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
764 checkPrice(o.defaultPrice); | 764 checkPrice(o.defaultPrice); |
765 checkUnnamed2798(o.listings); | 765 checkUnnamed2892(o.listings); |
766 unittest.expect(o.packageName, unittest.equals('foo')); | 766 unittest.expect(o.packageName, unittest.equals('foo')); |
767 checkUnnamed2799(o.prices); | 767 checkUnnamed2893(o.prices); |
768 unittest.expect(o.purchaseType, unittest.equals('foo')); | 768 unittest.expect(o.purchaseType, unittest.equals('foo')); |
769 checkSeason(o.season); | 769 checkSeason(o.season); |
770 unittest.expect(o.sku, unittest.equals('foo')); | 770 unittest.expect(o.sku, unittest.equals('foo')); |
771 unittest.expect(o.status, unittest.equals('foo')); | 771 unittest.expect(o.status, unittest.equals('foo')); |
772 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); | 772 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); |
773 unittest.expect(o.trialPeriod, unittest.equals('foo')); | 773 unittest.expect(o.trialPeriod, unittest.equals('foo')); |
774 } | 774 } |
775 buildCounterInAppProduct--; | 775 buildCounterInAppProduct--; |
776 } | 776 } |
777 | 777 |
(...skipping 11 matching lines...) Expand all Loading... |
789 | 789 |
790 checkInAppProductListing(api.InAppProductListing o) { | 790 checkInAppProductListing(api.InAppProductListing o) { |
791 buildCounterInAppProductListing++; | 791 buildCounterInAppProductListing++; |
792 if (buildCounterInAppProductListing < 3) { | 792 if (buildCounterInAppProductListing < 3) { |
793 unittest.expect(o.description, unittest.equals('foo')); | 793 unittest.expect(o.description, unittest.equals('foo')); |
794 unittest.expect(o.title, unittest.equals('foo')); | 794 unittest.expect(o.title, unittest.equals('foo')); |
795 } | 795 } |
796 buildCounterInAppProductListing--; | 796 buildCounterInAppProductListing--; |
797 } | 797 } |
798 | 798 |
799 buildUnnamed2800() { | 799 buildUnnamed2894() { |
800 var o = new core.List<api.InappproductsBatchRequestEntry>(); | 800 var o = new core.List<api.InappproductsBatchRequestEntry>(); |
801 o.add(buildInappproductsBatchRequestEntry()); | 801 o.add(buildInappproductsBatchRequestEntry()); |
802 o.add(buildInappproductsBatchRequestEntry()); | 802 o.add(buildInappproductsBatchRequestEntry()); |
803 return o; | 803 return o; |
804 } | 804 } |
805 | 805 |
806 checkUnnamed2800(core.List<api.InappproductsBatchRequestEntry> o) { | 806 checkUnnamed2894(core.List<api.InappproductsBatchRequestEntry> o) { |
807 unittest.expect(o, unittest.hasLength(2)); | 807 unittest.expect(o, unittest.hasLength(2)); |
808 checkInappproductsBatchRequestEntry(o[0]); | 808 checkInappproductsBatchRequestEntry(o[0]); |
809 checkInappproductsBatchRequestEntry(o[1]); | 809 checkInappproductsBatchRequestEntry(o[1]); |
810 } | 810 } |
811 | 811 |
812 core.int buildCounterInappproductsBatchRequest = 0; | 812 core.int buildCounterInappproductsBatchRequest = 0; |
813 buildInappproductsBatchRequest() { | 813 buildInappproductsBatchRequest() { |
814 var o = new api.InappproductsBatchRequest(); | 814 var o = new api.InappproductsBatchRequest(); |
815 buildCounterInappproductsBatchRequest++; | 815 buildCounterInappproductsBatchRequest++; |
816 if (buildCounterInappproductsBatchRequest < 3) { | 816 if (buildCounterInappproductsBatchRequest < 3) { |
817 o.entrys = buildUnnamed2800(); | 817 o.entrys = buildUnnamed2894(); |
818 } | 818 } |
819 buildCounterInappproductsBatchRequest--; | 819 buildCounterInappproductsBatchRequest--; |
820 return o; | 820 return o; |
821 } | 821 } |
822 | 822 |
823 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { | 823 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { |
824 buildCounterInappproductsBatchRequest++; | 824 buildCounterInappproductsBatchRequest++; |
825 if (buildCounterInappproductsBatchRequest < 3) { | 825 if (buildCounterInappproductsBatchRequest < 3) { |
826 checkUnnamed2800(o.entrys); | 826 checkUnnamed2894(o.entrys); |
827 } | 827 } |
828 buildCounterInappproductsBatchRequest--; | 828 buildCounterInappproductsBatchRequest--; |
829 } | 829 } |
830 | 830 |
831 core.int buildCounterInappproductsBatchRequestEntry = 0; | 831 core.int buildCounterInappproductsBatchRequestEntry = 0; |
832 buildInappproductsBatchRequestEntry() { | 832 buildInappproductsBatchRequestEntry() { |
833 var o = new api.InappproductsBatchRequestEntry(); | 833 var o = new api.InappproductsBatchRequestEntry(); |
834 buildCounterInappproductsBatchRequestEntry++; | 834 buildCounterInappproductsBatchRequestEntry++; |
835 if (buildCounterInappproductsBatchRequestEntry < 3) { | 835 if (buildCounterInappproductsBatchRequestEntry < 3) { |
836 o.batchId = 42; | 836 o.batchId = 42; |
837 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); | 837 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); |
838 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); | 838 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); |
839 o.methodName = "foo"; | 839 o.methodName = "foo"; |
840 } | 840 } |
841 buildCounterInappproductsBatchRequestEntry--; | 841 buildCounterInappproductsBatchRequestEntry--; |
842 return o; | 842 return o; |
843 } | 843 } |
844 | 844 |
845 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { | 845 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { |
846 buildCounterInappproductsBatchRequestEntry++; | 846 buildCounterInappproductsBatchRequestEntry++; |
847 if (buildCounterInappproductsBatchRequestEntry < 3) { | 847 if (buildCounterInappproductsBatchRequestEntry < 3) { |
848 unittest.expect(o.batchId, unittest.equals(42)); | 848 unittest.expect(o.batchId, unittest.equals(42)); |
849 checkInappproductsInsertRequest(o.inappproductsinsertrequest); | 849 checkInappproductsInsertRequest(o.inappproductsinsertrequest); |
850 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); | 850 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); |
851 unittest.expect(o.methodName, unittest.equals('foo')); | 851 unittest.expect(o.methodName, unittest.equals('foo')); |
852 } | 852 } |
853 buildCounterInappproductsBatchRequestEntry--; | 853 buildCounterInappproductsBatchRequestEntry--; |
854 } | 854 } |
855 | 855 |
856 buildUnnamed2801() { | 856 buildUnnamed2895() { |
857 var o = new core.List<api.InappproductsBatchResponseEntry>(); | 857 var o = new core.List<api.InappproductsBatchResponseEntry>(); |
858 o.add(buildInappproductsBatchResponseEntry()); | 858 o.add(buildInappproductsBatchResponseEntry()); |
859 o.add(buildInappproductsBatchResponseEntry()); | 859 o.add(buildInappproductsBatchResponseEntry()); |
860 return o; | 860 return o; |
861 } | 861 } |
862 | 862 |
863 checkUnnamed2801(core.List<api.InappproductsBatchResponseEntry> o) { | 863 checkUnnamed2895(core.List<api.InappproductsBatchResponseEntry> o) { |
864 unittest.expect(o, unittest.hasLength(2)); | 864 unittest.expect(o, unittest.hasLength(2)); |
865 checkInappproductsBatchResponseEntry(o[0]); | 865 checkInappproductsBatchResponseEntry(o[0]); |
866 checkInappproductsBatchResponseEntry(o[1]); | 866 checkInappproductsBatchResponseEntry(o[1]); |
867 } | 867 } |
868 | 868 |
869 core.int buildCounterInappproductsBatchResponse = 0; | 869 core.int buildCounterInappproductsBatchResponse = 0; |
870 buildInappproductsBatchResponse() { | 870 buildInappproductsBatchResponse() { |
871 var o = new api.InappproductsBatchResponse(); | 871 var o = new api.InappproductsBatchResponse(); |
872 buildCounterInappproductsBatchResponse++; | 872 buildCounterInappproductsBatchResponse++; |
873 if (buildCounterInappproductsBatchResponse < 3) { | 873 if (buildCounterInappproductsBatchResponse < 3) { |
874 o.entrys = buildUnnamed2801(); | 874 o.entrys = buildUnnamed2895(); |
875 o.kind = "foo"; | 875 o.kind = "foo"; |
876 } | 876 } |
877 buildCounterInappproductsBatchResponse--; | 877 buildCounterInappproductsBatchResponse--; |
878 return o; | 878 return o; |
879 } | 879 } |
880 | 880 |
881 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { | 881 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { |
882 buildCounterInappproductsBatchResponse++; | 882 buildCounterInappproductsBatchResponse++; |
883 if (buildCounterInappproductsBatchResponse < 3) { | 883 if (buildCounterInappproductsBatchResponse < 3) { |
884 checkUnnamed2801(o.entrys); | 884 checkUnnamed2895(o.entrys); |
885 unittest.expect(o.kind, unittest.equals('foo')); | 885 unittest.expect(o.kind, unittest.equals('foo')); |
886 } | 886 } |
887 buildCounterInappproductsBatchResponse--; | 887 buildCounterInappproductsBatchResponse--; |
888 } | 888 } |
889 | 889 |
890 core.int buildCounterInappproductsBatchResponseEntry = 0; | 890 core.int buildCounterInappproductsBatchResponseEntry = 0; |
891 buildInappproductsBatchResponseEntry() { | 891 buildInappproductsBatchResponseEntry() { |
892 var o = new api.InappproductsBatchResponseEntry(); | 892 var o = new api.InappproductsBatchResponseEntry(); |
893 buildCounterInappproductsBatchResponseEntry++; | 893 buildCounterInappproductsBatchResponseEntry++; |
894 if (buildCounterInappproductsBatchResponseEntry < 3) { | 894 if (buildCounterInappproductsBatchResponseEntry < 3) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 } | 941 } |
942 | 942 |
943 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { | 943 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { |
944 buildCounterInappproductsInsertResponse++; | 944 buildCounterInappproductsInsertResponse++; |
945 if (buildCounterInappproductsInsertResponse < 3) { | 945 if (buildCounterInappproductsInsertResponse < 3) { |
946 checkInAppProduct(o.inappproduct); | 946 checkInAppProduct(o.inappproduct); |
947 } | 947 } |
948 buildCounterInappproductsInsertResponse--; | 948 buildCounterInappproductsInsertResponse--; |
949 } | 949 } |
950 | 950 |
951 buildUnnamed2802() { | 951 buildUnnamed2896() { |
952 var o = new core.List<api.InAppProduct>(); | 952 var o = new core.List<api.InAppProduct>(); |
953 o.add(buildInAppProduct()); | 953 o.add(buildInAppProduct()); |
954 o.add(buildInAppProduct()); | 954 o.add(buildInAppProduct()); |
955 return o; | 955 return o; |
956 } | 956 } |
957 | 957 |
958 checkUnnamed2802(core.List<api.InAppProduct> o) { | 958 checkUnnamed2896(core.List<api.InAppProduct> o) { |
959 unittest.expect(o, unittest.hasLength(2)); | 959 unittest.expect(o, unittest.hasLength(2)); |
960 checkInAppProduct(o[0]); | 960 checkInAppProduct(o[0]); |
961 checkInAppProduct(o[1]); | 961 checkInAppProduct(o[1]); |
962 } | 962 } |
963 | 963 |
964 core.int buildCounterInappproductsListResponse = 0; | 964 core.int buildCounterInappproductsListResponse = 0; |
965 buildInappproductsListResponse() { | 965 buildInappproductsListResponse() { |
966 var o = new api.InappproductsListResponse(); | 966 var o = new api.InappproductsListResponse(); |
967 buildCounterInappproductsListResponse++; | 967 buildCounterInappproductsListResponse++; |
968 if (buildCounterInappproductsListResponse < 3) { | 968 if (buildCounterInappproductsListResponse < 3) { |
969 o.inappproduct = buildUnnamed2802(); | 969 o.inappproduct = buildUnnamed2896(); |
970 o.kind = "foo"; | 970 o.kind = "foo"; |
971 o.pageInfo = buildPageInfo(); | 971 o.pageInfo = buildPageInfo(); |
972 o.tokenPagination = buildTokenPagination(); | 972 o.tokenPagination = buildTokenPagination(); |
973 } | 973 } |
974 buildCounterInappproductsListResponse--; | 974 buildCounterInappproductsListResponse--; |
975 return o; | 975 return o; |
976 } | 976 } |
977 | 977 |
978 checkInappproductsListResponse(api.InappproductsListResponse o) { | 978 checkInappproductsListResponse(api.InappproductsListResponse o) { |
979 buildCounterInappproductsListResponse++; | 979 buildCounterInappproductsListResponse++; |
980 if (buildCounterInappproductsListResponse < 3) { | 980 if (buildCounterInappproductsListResponse < 3) { |
981 checkUnnamed2802(o.inappproduct); | 981 checkUnnamed2896(o.inappproduct); |
982 unittest.expect(o.kind, unittest.equals('foo')); | 982 unittest.expect(o.kind, unittest.equals('foo')); |
983 checkPageInfo(o.pageInfo); | 983 checkPageInfo(o.pageInfo); |
984 checkTokenPagination(o.tokenPagination); | 984 checkTokenPagination(o.tokenPagination); |
985 } | 985 } |
986 buildCounterInappproductsListResponse--; | 986 buildCounterInappproductsListResponse--; |
987 } | 987 } |
988 | 988 |
989 core.int buildCounterInappproductsUpdateRequest = 0; | 989 core.int buildCounterInappproductsUpdateRequest = 0; |
990 buildInappproductsUpdateRequest() { | 990 buildInappproductsUpdateRequest() { |
991 var o = new api.InappproductsUpdateRequest(); | 991 var o = new api.InappproductsUpdateRequest(); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 if (buildCounterListing < 3) { | 1044 if (buildCounterListing < 3) { |
1045 unittest.expect(o.fullDescription, unittest.equals('foo')); | 1045 unittest.expect(o.fullDescription, unittest.equals('foo')); |
1046 unittest.expect(o.language, unittest.equals('foo')); | 1046 unittest.expect(o.language, unittest.equals('foo')); |
1047 unittest.expect(o.shortDescription, unittest.equals('foo')); | 1047 unittest.expect(o.shortDescription, unittest.equals('foo')); |
1048 unittest.expect(o.title, unittest.equals('foo')); | 1048 unittest.expect(o.title, unittest.equals('foo')); |
1049 unittest.expect(o.video, unittest.equals('foo')); | 1049 unittest.expect(o.video, unittest.equals('foo')); |
1050 } | 1050 } |
1051 buildCounterListing--; | 1051 buildCounterListing--; |
1052 } | 1052 } |
1053 | 1053 |
1054 buildUnnamed2803() { | 1054 buildUnnamed2897() { |
1055 var o = new core.List<api.Listing>(); | 1055 var o = new core.List<api.Listing>(); |
1056 o.add(buildListing()); | 1056 o.add(buildListing()); |
1057 o.add(buildListing()); | 1057 o.add(buildListing()); |
1058 return o; | 1058 return o; |
1059 } | 1059 } |
1060 | 1060 |
1061 checkUnnamed2803(core.List<api.Listing> o) { | 1061 checkUnnamed2897(core.List<api.Listing> o) { |
1062 unittest.expect(o, unittest.hasLength(2)); | 1062 unittest.expect(o, unittest.hasLength(2)); |
1063 checkListing(o[0]); | 1063 checkListing(o[0]); |
1064 checkListing(o[1]); | 1064 checkListing(o[1]); |
1065 } | 1065 } |
1066 | 1066 |
1067 core.int buildCounterListingsListResponse = 0; | 1067 core.int buildCounterListingsListResponse = 0; |
1068 buildListingsListResponse() { | 1068 buildListingsListResponse() { |
1069 var o = new api.ListingsListResponse(); | 1069 var o = new api.ListingsListResponse(); |
1070 buildCounterListingsListResponse++; | 1070 buildCounterListingsListResponse++; |
1071 if (buildCounterListingsListResponse < 3) { | 1071 if (buildCounterListingsListResponse < 3) { |
1072 o.kind = "foo"; | 1072 o.kind = "foo"; |
1073 o.listings = buildUnnamed2803(); | 1073 o.listings = buildUnnamed2897(); |
1074 } | 1074 } |
1075 buildCounterListingsListResponse--; | 1075 buildCounterListingsListResponse--; |
1076 return o; | 1076 return o; |
1077 } | 1077 } |
1078 | 1078 |
1079 checkListingsListResponse(api.ListingsListResponse o) { | 1079 checkListingsListResponse(api.ListingsListResponse o) { |
1080 buildCounterListingsListResponse++; | 1080 buildCounterListingsListResponse++; |
1081 if (buildCounterListingsListResponse < 3) { | 1081 if (buildCounterListingsListResponse < 3) { |
1082 unittest.expect(o.kind, unittest.equals('foo')); | 1082 unittest.expect(o.kind, unittest.equals('foo')); |
1083 checkUnnamed2803(o.listings); | 1083 checkUnnamed2897(o.listings); |
1084 } | 1084 } |
1085 buildCounterListingsListResponse--; | 1085 buildCounterListingsListResponse--; |
1086 } | 1086 } |
1087 | 1087 |
1088 core.int buildCounterMonthDay = 0; | 1088 core.int buildCounterMonthDay = 0; |
1089 buildMonthDay() { | 1089 buildMonthDay() { |
1090 var o = new api.MonthDay(); | 1090 var o = new api.MonthDay(); |
1091 buildCounterMonthDay++; | 1091 buildCounterMonthDay++; |
1092 if (buildCounterMonthDay < 3) { | 1092 if (buildCounterMonthDay < 3) { |
1093 o.day = 42; | 1093 o.day = 42; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 | 1191 |
1192 checkProrate(api.Prorate o) { | 1192 checkProrate(api.Prorate o) { |
1193 buildCounterProrate++; | 1193 buildCounterProrate++; |
1194 if (buildCounterProrate < 3) { | 1194 if (buildCounterProrate < 3) { |
1195 checkPrice(o.defaultPrice); | 1195 checkPrice(o.defaultPrice); |
1196 checkMonthDay(o.start); | 1196 checkMonthDay(o.start); |
1197 } | 1197 } |
1198 buildCounterProrate--; | 1198 buildCounterProrate--; |
1199 } | 1199 } |
1200 | 1200 |
1201 buildUnnamed2804() { | 1201 buildUnnamed2898() { |
1202 var o = new core.List<api.Comment>(); | 1202 var o = new core.List<api.Comment>(); |
1203 o.add(buildComment()); | 1203 o.add(buildComment()); |
1204 o.add(buildComment()); | 1204 o.add(buildComment()); |
1205 return o; | 1205 return o; |
1206 } | 1206 } |
1207 | 1207 |
1208 checkUnnamed2804(core.List<api.Comment> o) { | 1208 checkUnnamed2898(core.List<api.Comment> o) { |
1209 unittest.expect(o, unittest.hasLength(2)); | 1209 unittest.expect(o, unittest.hasLength(2)); |
1210 checkComment(o[0]); | 1210 checkComment(o[0]); |
1211 checkComment(o[1]); | 1211 checkComment(o[1]); |
1212 } | 1212 } |
1213 | 1213 |
1214 core.int buildCounterReview = 0; | 1214 core.int buildCounterReview = 0; |
1215 buildReview() { | 1215 buildReview() { |
1216 var o = new api.Review(); | 1216 var o = new api.Review(); |
1217 buildCounterReview++; | 1217 buildCounterReview++; |
1218 if (buildCounterReview < 3) { | 1218 if (buildCounterReview < 3) { |
1219 o.authorName = "foo"; | 1219 o.authorName = "foo"; |
1220 o.comments = buildUnnamed2804(); | 1220 o.comments = buildUnnamed2898(); |
1221 o.reviewId = "foo"; | 1221 o.reviewId = "foo"; |
1222 } | 1222 } |
1223 buildCounterReview--; | 1223 buildCounterReview--; |
1224 return o; | 1224 return o; |
1225 } | 1225 } |
1226 | 1226 |
1227 checkReview(api.Review o) { | 1227 checkReview(api.Review o) { |
1228 buildCounterReview++; | 1228 buildCounterReview++; |
1229 if (buildCounterReview < 3) { | 1229 if (buildCounterReview < 3) { |
1230 unittest.expect(o.authorName, unittest.equals('foo')); | 1230 unittest.expect(o.authorName, unittest.equals('foo')); |
1231 checkUnnamed2804(o.comments); | 1231 checkUnnamed2898(o.comments); |
1232 unittest.expect(o.reviewId, unittest.equals('foo')); | 1232 unittest.expect(o.reviewId, unittest.equals('foo')); |
1233 } | 1233 } |
1234 buildCounterReview--; | 1234 buildCounterReview--; |
1235 } | 1235 } |
1236 | 1236 |
1237 core.int buildCounterReviewReplyResult = 0; | 1237 core.int buildCounterReviewReplyResult = 0; |
1238 buildReviewReplyResult() { | 1238 buildReviewReplyResult() { |
1239 var o = new api.ReviewReplyResult(); | 1239 var o = new api.ReviewReplyResult(); |
1240 buildCounterReviewReplyResult++; | 1240 buildCounterReviewReplyResult++; |
1241 if (buildCounterReviewReplyResult < 3) { | 1241 if (buildCounterReviewReplyResult < 3) { |
1242 o.lastEdited = buildTimestamp(); | 1242 o.lastEdited = buildTimestamp(); |
1243 o.replyText = "foo"; | 1243 o.replyText = "foo"; |
1244 } | 1244 } |
1245 buildCounterReviewReplyResult--; | 1245 buildCounterReviewReplyResult--; |
1246 return o; | 1246 return o; |
1247 } | 1247 } |
1248 | 1248 |
1249 checkReviewReplyResult(api.ReviewReplyResult o) { | 1249 checkReviewReplyResult(api.ReviewReplyResult o) { |
1250 buildCounterReviewReplyResult++; | 1250 buildCounterReviewReplyResult++; |
1251 if (buildCounterReviewReplyResult < 3) { | 1251 if (buildCounterReviewReplyResult < 3) { |
1252 checkTimestamp(o.lastEdited); | 1252 checkTimestamp(o.lastEdited); |
1253 unittest.expect(o.replyText, unittest.equals('foo')); | 1253 unittest.expect(o.replyText, unittest.equals('foo')); |
1254 } | 1254 } |
1255 buildCounterReviewReplyResult--; | 1255 buildCounterReviewReplyResult--; |
1256 } | 1256 } |
1257 | 1257 |
1258 buildUnnamed2805() { | 1258 buildUnnamed2899() { |
1259 var o = new core.List<api.Review>(); | 1259 var o = new core.List<api.Review>(); |
1260 o.add(buildReview()); | 1260 o.add(buildReview()); |
1261 o.add(buildReview()); | 1261 o.add(buildReview()); |
1262 return o; | 1262 return o; |
1263 } | 1263 } |
1264 | 1264 |
1265 checkUnnamed2805(core.List<api.Review> o) { | 1265 checkUnnamed2899(core.List<api.Review> o) { |
1266 unittest.expect(o, unittest.hasLength(2)); | 1266 unittest.expect(o, unittest.hasLength(2)); |
1267 checkReview(o[0]); | 1267 checkReview(o[0]); |
1268 checkReview(o[1]); | 1268 checkReview(o[1]); |
1269 } | 1269 } |
1270 | 1270 |
1271 core.int buildCounterReviewsListResponse = 0; | 1271 core.int buildCounterReviewsListResponse = 0; |
1272 buildReviewsListResponse() { | 1272 buildReviewsListResponse() { |
1273 var o = new api.ReviewsListResponse(); | 1273 var o = new api.ReviewsListResponse(); |
1274 buildCounterReviewsListResponse++; | 1274 buildCounterReviewsListResponse++; |
1275 if (buildCounterReviewsListResponse < 3) { | 1275 if (buildCounterReviewsListResponse < 3) { |
1276 o.pageInfo = buildPageInfo(); | 1276 o.pageInfo = buildPageInfo(); |
1277 o.reviews = buildUnnamed2805(); | 1277 o.reviews = buildUnnamed2899(); |
1278 o.tokenPagination = buildTokenPagination(); | 1278 o.tokenPagination = buildTokenPagination(); |
1279 } | 1279 } |
1280 buildCounterReviewsListResponse--; | 1280 buildCounterReviewsListResponse--; |
1281 return o; | 1281 return o; |
1282 } | 1282 } |
1283 | 1283 |
1284 checkReviewsListResponse(api.ReviewsListResponse o) { | 1284 checkReviewsListResponse(api.ReviewsListResponse o) { |
1285 buildCounterReviewsListResponse++; | 1285 buildCounterReviewsListResponse++; |
1286 if (buildCounterReviewsListResponse < 3) { | 1286 if (buildCounterReviewsListResponse < 3) { |
1287 checkPageInfo(o.pageInfo); | 1287 checkPageInfo(o.pageInfo); |
1288 checkUnnamed2805(o.reviews); | 1288 checkUnnamed2899(o.reviews); |
1289 checkTokenPagination(o.tokenPagination); | 1289 checkTokenPagination(o.tokenPagination); |
1290 } | 1290 } |
1291 buildCounterReviewsListResponse--; | 1291 buildCounterReviewsListResponse--; |
1292 } | 1292 } |
1293 | 1293 |
1294 core.int buildCounterReviewsReplyRequest = 0; | 1294 core.int buildCounterReviewsReplyRequest = 0; |
1295 buildReviewsReplyRequest() { | 1295 buildReviewsReplyRequest() { |
1296 var o = new api.ReviewsReplyRequest(); | 1296 var o = new api.ReviewsReplyRequest(); |
1297 buildCounterReviewsReplyRequest++; | 1297 buildCounterReviewsReplyRequest++; |
1298 if (buildCounterReviewsReplyRequest < 3) { | 1298 if (buildCounterReviewsReplyRequest < 3) { |
(...skipping 23 matching lines...) Expand all Loading... |
1322 } | 1322 } |
1323 | 1323 |
1324 checkReviewsReplyResponse(api.ReviewsReplyResponse o) { | 1324 checkReviewsReplyResponse(api.ReviewsReplyResponse o) { |
1325 buildCounterReviewsReplyResponse++; | 1325 buildCounterReviewsReplyResponse++; |
1326 if (buildCounterReviewsReplyResponse < 3) { | 1326 if (buildCounterReviewsReplyResponse < 3) { |
1327 checkReviewReplyResult(o.result); | 1327 checkReviewReplyResult(o.result); |
1328 } | 1328 } |
1329 buildCounterReviewsReplyResponse--; | 1329 buildCounterReviewsReplyResponse--; |
1330 } | 1330 } |
1331 | 1331 |
1332 buildUnnamed2806() { | 1332 buildUnnamed2900() { |
1333 var o = new core.List<api.Prorate>(); | 1333 var o = new core.List<api.Prorate>(); |
1334 o.add(buildProrate()); | 1334 o.add(buildProrate()); |
1335 o.add(buildProrate()); | 1335 o.add(buildProrate()); |
1336 return o; | 1336 return o; |
1337 } | 1337 } |
1338 | 1338 |
1339 checkUnnamed2806(core.List<api.Prorate> o) { | 1339 checkUnnamed2900(core.List<api.Prorate> o) { |
1340 unittest.expect(o, unittest.hasLength(2)); | 1340 unittest.expect(o, unittest.hasLength(2)); |
1341 checkProrate(o[0]); | 1341 checkProrate(o[0]); |
1342 checkProrate(o[1]); | 1342 checkProrate(o[1]); |
1343 } | 1343 } |
1344 | 1344 |
1345 core.int buildCounterSeason = 0; | 1345 core.int buildCounterSeason = 0; |
1346 buildSeason() { | 1346 buildSeason() { |
1347 var o = new api.Season(); | 1347 var o = new api.Season(); |
1348 buildCounterSeason++; | 1348 buildCounterSeason++; |
1349 if (buildCounterSeason < 3) { | 1349 if (buildCounterSeason < 3) { |
1350 o.end = buildMonthDay(); | 1350 o.end = buildMonthDay(); |
1351 o.prorations = buildUnnamed2806(); | 1351 o.prorations = buildUnnamed2900(); |
1352 o.start = buildMonthDay(); | 1352 o.start = buildMonthDay(); |
1353 } | 1353 } |
1354 buildCounterSeason--; | 1354 buildCounterSeason--; |
1355 return o; | 1355 return o; |
1356 } | 1356 } |
1357 | 1357 |
1358 checkSeason(api.Season o) { | 1358 checkSeason(api.Season o) { |
1359 buildCounterSeason++; | 1359 buildCounterSeason++; |
1360 if (buildCounterSeason < 3) { | 1360 if (buildCounterSeason < 3) { |
1361 checkMonthDay(o.end); | 1361 checkMonthDay(o.end); |
1362 checkUnnamed2806(o.prorations); | 1362 checkUnnamed2900(o.prorations); |
1363 checkMonthDay(o.start); | 1363 checkMonthDay(o.start); |
1364 } | 1364 } |
1365 buildCounterSeason--; | 1365 buildCounterSeason--; |
1366 } | 1366 } |
1367 | 1367 |
1368 core.int buildCounterSubscriptionDeferralInfo = 0; | 1368 core.int buildCounterSubscriptionDeferralInfo = 0; |
1369 buildSubscriptionDeferralInfo() { | 1369 buildSubscriptionDeferralInfo() { |
1370 var o = new api.SubscriptionDeferralInfo(); | 1370 var o = new api.SubscriptionDeferralInfo(); |
1371 buildCounterSubscriptionDeferralInfo++; | 1371 buildCounterSubscriptionDeferralInfo++; |
1372 if (buildCounterSubscriptionDeferralInfo < 3) { | 1372 if (buildCounterSubscriptionDeferralInfo < 3) { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 } | 1454 } |
1455 | 1455 |
1456 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { | 1456 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { |
1457 buildCounterSubscriptionPurchasesDeferResponse++; | 1457 buildCounterSubscriptionPurchasesDeferResponse++; |
1458 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { | 1458 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { |
1459 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); | 1459 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); |
1460 } | 1460 } |
1461 buildCounterSubscriptionPurchasesDeferResponse--; | 1461 buildCounterSubscriptionPurchasesDeferResponse--; |
1462 } | 1462 } |
1463 | 1463 |
1464 buildUnnamed2807() { | 1464 buildUnnamed2901() { |
1465 var o = new core.List<core.String>(); | 1465 var o = new core.List<core.String>(); |
1466 o.add("foo"); | 1466 o.add("foo"); |
1467 o.add("foo"); | 1467 o.add("foo"); |
1468 return o; | 1468 return o; |
1469 } | 1469 } |
1470 | 1470 |
1471 checkUnnamed2807(core.List<core.String> o) { | 1471 checkUnnamed2901(core.List<core.String> o) { |
1472 unittest.expect(o, unittest.hasLength(2)); | 1472 unittest.expect(o, unittest.hasLength(2)); |
1473 unittest.expect(o[0], unittest.equals('foo')); | 1473 unittest.expect(o[0], unittest.equals('foo')); |
1474 unittest.expect(o[1], unittest.equals('foo')); | 1474 unittest.expect(o[1], unittest.equals('foo')); |
1475 } | 1475 } |
1476 | 1476 |
1477 buildUnnamed2808() { | 1477 buildUnnamed2902() { |
1478 var o = new core.List<core.String>(); | 1478 var o = new core.List<core.String>(); |
1479 o.add("foo"); | 1479 o.add("foo"); |
1480 o.add("foo"); | 1480 o.add("foo"); |
1481 return o; | 1481 return o; |
1482 } | 1482 } |
1483 | 1483 |
1484 checkUnnamed2808(core.List<core.String> o) { | 1484 checkUnnamed2902(core.List<core.String> o) { |
1485 unittest.expect(o, unittest.hasLength(2)); | 1485 unittest.expect(o, unittest.hasLength(2)); |
1486 unittest.expect(o[0], unittest.equals('foo')); | 1486 unittest.expect(o[0], unittest.equals('foo')); |
1487 unittest.expect(o[1], unittest.equals('foo')); | 1487 unittest.expect(o[1], unittest.equals('foo')); |
1488 } | 1488 } |
1489 | 1489 |
1490 core.int buildCounterTesters = 0; | 1490 core.int buildCounterTesters = 0; |
1491 buildTesters() { | 1491 buildTesters() { |
1492 var o = new api.Testers(); | 1492 var o = new api.Testers(); |
1493 buildCounterTesters++; | 1493 buildCounterTesters++; |
1494 if (buildCounterTesters < 3) { | 1494 if (buildCounterTesters < 3) { |
1495 o.googleGroups = buildUnnamed2807(); | 1495 o.googleGroups = buildUnnamed2901(); |
1496 o.googlePlusCommunities = buildUnnamed2808(); | 1496 o.googlePlusCommunities = buildUnnamed2902(); |
1497 } | 1497 } |
1498 buildCounterTesters--; | 1498 buildCounterTesters--; |
1499 return o; | 1499 return o; |
1500 } | 1500 } |
1501 | 1501 |
1502 checkTesters(api.Testers o) { | 1502 checkTesters(api.Testers o) { |
1503 buildCounterTesters++; | 1503 buildCounterTesters++; |
1504 if (buildCounterTesters < 3) { | 1504 if (buildCounterTesters < 3) { |
1505 checkUnnamed2807(o.googleGroups); | 1505 checkUnnamed2901(o.googleGroups); |
1506 checkUnnamed2808(o.googlePlusCommunities); | 1506 checkUnnamed2902(o.googlePlusCommunities); |
1507 } | 1507 } |
1508 buildCounterTesters--; | 1508 buildCounterTesters--; |
1509 } | 1509 } |
1510 | 1510 |
1511 core.int buildCounterTimestamp = 0; | 1511 core.int buildCounterTimestamp = 0; |
1512 buildTimestamp() { | 1512 buildTimestamp() { |
1513 var o = new api.Timestamp(); | 1513 var o = new api.Timestamp(); |
1514 buildCounterTimestamp++; | 1514 buildCounterTimestamp++; |
1515 if (buildCounterTimestamp < 3) { | 1515 if (buildCounterTimestamp < 3) { |
1516 o.nanos = 42; | 1516 o.nanos = 42; |
(...skipping 26 matching lines...) Expand all Loading... |
1543 | 1543 |
1544 checkTokenPagination(api.TokenPagination o) { | 1544 checkTokenPagination(api.TokenPagination o) { |
1545 buildCounterTokenPagination++; | 1545 buildCounterTokenPagination++; |
1546 if (buildCounterTokenPagination < 3) { | 1546 if (buildCounterTokenPagination < 3) { |
1547 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1547 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1548 unittest.expect(o.previousPageToken, unittest.equals('foo')); | 1548 unittest.expect(o.previousPageToken, unittest.equals('foo')); |
1549 } | 1549 } |
1550 buildCounterTokenPagination--; | 1550 buildCounterTokenPagination--; |
1551 } | 1551 } |
1552 | 1552 |
1553 buildUnnamed2809() { | 1553 buildUnnamed2903() { |
1554 var o = new core.List<core.int>(); | 1554 var o = new core.List<core.int>(); |
1555 o.add(42); | 1555 o.add(42); |
1556 o.add(42); | 1556 o.add(42); |
1557 return o; | 1557 return o; |
1558 } | 1558 } |
1559 | 1559 |
1560 checkUnnamed2809(core.List<core.int> o) { | 1560 checkUnnamed2903(core.List<core.int> o) { |
1561 unittest.expect(o, unittest.hasLength(2)); | 1561 unittest.expect(o, unittest.hasLength(2)); |
1562 unittest.expect(o[0], unittest.equals(42)); | 1562 unittest.expect(o[0], unittest.equals(42)); |
1563 unittest.expect(o[1], unittest.equals(42)); | 1563 unittest.expect(o[1], unittest.equals(42)); |
1564 } | 1564 } |
1565 | 1565 |
1566 core.int buildCounterTrack = 0; | 1566 core.int buildCounterTrack = 0; |
1567 buildTrack() { | 1567 buildTrack() { |
1568 var o = new api.Track(); | 1568 var o = new api.Track(); |
1569 buildCounterTrack++; | 1569 buildCounterTrack++; |
1570 if (buildCounterTrack < 3) { | 1570 if (buildCounterTrack < 3) { |
1571 o.track = "foo"; | 1571 o.track = "foo"; |
1572 o.userFraction = 42.0; | 1572 o.userFraction = 42.0; |
1573 o.versionCodes = buildUnnamed2809(); | 1573 o.versionCodes = buildUnnamed2903(); |
1574 } | 1574 } |
1575 buildCounterTrack--; | 1575 buildCounterTrack--; |
1576 return o; | 1576 return o; |
1577 } | 1577 } |
1578 | 1578 |
1579 checkTrack(api.Track o) { | 1579 checkTrack(api.Track o) { |
1580 buildCounterTrack++; | 1580 buildCounterTrack++; |
1581 if (buildCounterTrack < 3) { | 1581 if (buildCounterTrack < 3) { |
1582 unittest.expect(o.track, unittest.equals('foo')); | 1582 unittest.expect(o.track, unittest.equals('foo')); |
1583 unittest.expect(o.userFraction, unittest.equals(42.0)); | 1583 unittest.expect(o.userFraction, unittest.equals(42.0)); |
1584 checkUnnamed2809(o.versionCodes); | 1584 checkUnnamed2903(o.versionCodes); |
1585 } | 1585 } |
1586 buildCounterTrack--; | 1586 buildCounterTrack--; |
1587 } | 1587 } |
1588 | 1588 |
1589 buildUnnamed2810() { | 1589 buildUnnamed2904() { |
1590 var o = new core.List<api.Track>(); | 1590 var o = new core.List<api.Track>(); |
1591 o.add(buildTrack()); | 1591 o.add(buildTrack()); |
1592 o.add(buildTrack()); | 1592 o.add(buildTrack()); |
1593 return o; | 1593 return o; |
1594 } | 1594 } |
1595 | 1595 |
1596 checkUnnamed2810(core.List<api.Track> o) { | 1596 checkUnnamed2904(core.List<api.Track> o) { |
1597 unittest.expect(o, unittest.hasLength(2)); | 1597 unittest.expect(o, unittest.hasLength(2)); |
1598 checkTrack(o[0]); | 1598 checkTrack(o[0]); |
1599 checkTrack(o[1]); | 1599 checkTrack(o[1]); |
1600 } | 1600 } |
1601 | 1601 |
1602 core.int buildCounterTracksListResponse = 0; | 1602 core.int buildCounterTracksListResponse = 0; |
1603 buildTracksListResponse() { | 1603 buildTracksListResponse() { |
1604 var o = new api.TracksListResponse(); | 1604 var o = new api.TracksListResponse(); |
1605 buildCounterTracksListResponse++; | 1605 buildCounterTracksListResponse++; |
1606 if (buildCounterTracksListResponse < 3) { | 1606 if (buildCounterTracksListResponse < 3) { |
1607 o.kind = "foo"; | 1607 o.kind = "foo"; |
1608 o.tracks = buildUnnamed2810(); | 1608 o.tracks = buildUnnamed2904(); |
1609 } | 1609 } |
1610 buildCounterTracksListResponse--; | 1610 buildCounterTracksListResponse--; |
1611 return o; | 1611 return o; |
1612 } | 1612 } |
1613 | 1613 |
1614 checkTracksListResponse(api.TracksListResponse o) { | 1614 checkTracksListResponse(api.TracksListResponse o) { |
1615 buildCounterTracksListResponse++; | 1615 buildCounterTracksListResponse++; |
1616 if (buildCounterTracksListResponse < 3) { | 1616 if (buildCounterTracksListResponse < 3) { |
1617 unittest.expect(o.kind, unittest.equals('foo')); | 1617 unittest.expect(o.kind, unittest.equals('foo')); |
1618 checkUnnamed2810(o.tracks); | 1618 checkUnnamed2904(o.tracks); |
1619 } | 1619 } |
1620 buildCounterTracksListResponse--; | 1620 buildCounterTracksListResponse--; |
1621 } | 1621 } |
1622 | 1622 |
1623 core.int buildCounterUserComment = 0; | 1623 core.int buildCounterUserComment = 0; |
1624 buildUserComment() { | 1624 buildUserComment() { |
1625 var o = new api.UserComment(); | 1625 var o = new api.UserComment(); |
1626 buildCounterUserComment++; | 1626 buildCounterUserComment++; |
1627 if (buildCounterUserComment < 3) { | 1627 if (buildCounterUserComment < 3) { |
1628 o.androidOsVersion = 42; | 1628 o.androidOsVersion = 42; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1679 buildCounterVoidedPurchase++; | 1679 buildCounterVoidedPurchase++; |
1680 if (buildCounterVoidedPurchase < 3) { | 1680 if (buildCounterVoidedPurchase < 3) { |
1681 unittest.expect(o.kind, unittest.equals('foo')); | 1681 unittest.expect(o.kind, unittest.equals('foo')); |
1682 unittest.expect(o.purchaseTimeMillis, unittest.equals('foo')); | 1682 unittest.expect(o.purchaseTimeMillis, unittest.equals('foo')); |
1683 unittest.expect(o.purchaseToken, unittest.equals('foo')); | 1683 unittest.expect(o.purchaseToken, unittest.equals('foo')); |
1684 unittest.expect(o.voidedTimeMillis, unittest.equals('foo')); | 1684 unittest.expect(o.voidedTimeMillis, unittest.equals('foo')); |
1685 } | 1685 } |
1686 buildCounterVoidedPurchase--; | 1686 buildCounterVoidedPurchase--; |
1687 } | 1687 } |
1688 | 1688 |
1689 buildUnnamed2811() { | 1689 buildUnnamed2905() { |
1690 var o = new core.List<api.VoidedPurchase>(); | 1690 var o = new core.List<api.VoidedPurchase>(); |
1691 o.add(buildVoidedPurchase()); | 1691 o.add(buildVoidedPurchase()); |
1692 o.add(buildVoidedPurchase()); | 1692 o.add(buildVoidedPurchase()); |
1693 return o; | 1693 return o; |
1694 } | 1694 } |
1695 | 1695 |
1696 checkUnnamed2811(core.List<api.VoidedPurchase> o) { | 1696 checkUnnamed2905(core.List<api.VoidedPurchase> o) { |
1697 unittest.expect(o, unittest.hasLength(2)); | 1697 unittest.expect(o, unittest.hasLength(2)); |
1698 checkVoidedPurchase(o[0]); | 1698 checkVoidedPurchase(o[0]); |
1699 checkVoidedPurchase(o[1]); | 1699 checkVoidedPurchase(o[1]); |
1700 } | 1700 } |
1701 | 1701 |
1702 core.int buildCounterVoidedPurchasesListResponse = 0; | 1702 core.int buildCounterVoidedPurchasesListResponse = 0; |
1703 buildVoidedPurchasesListResponse() { | 1703 buildVoidedPurchasesListResponse() { |
1704 var o = new api.VoidedPurchasesListResponse(); | 1704 var o = new api.VoidedPurchasesListResponse(); |
1705 buildCounterVoidedPurchasesListResponse++; | 1705 buildCounterVoidedPurchasesListResponse++; |
1706 if (buildCounterVoidedPurchasesListResponse < 3) { | 1706 if (buildCounterVoidedPurchasesListResponse < 3) { |
1707 o.pageInfo = buildPageInfo(); | 1707 o.pageInfo = buildPageInfo(); |
1708 o.tokenPagination = buildTokenPagination(); | 1708 o.tokenPagination = buildTokenPagination(); |
1709 o.voidedPurchases = buildUnnamed2811(); | 1709 o.voidedPurchases = buildUnnamed2905(); |
1710 } | 1710 } |
1711 buildCounterVoidedPurchasesListResponse--; | 1711 buildCounterVoidedPurchasesListResponse--; |
1712 return o; | 1712 return o; |
1713 } | 1713 } |
1714 | 1714 |
1715 checkVoidedPurchasesListResponse(api.VoidedPurchasesListResponse o) { | 1715 checkVoidedPurchasesListResponse(api.VoidedPurchasesListResponse o) { |
1716 buildCounterVoidedPurchasesListResponse++; | 1716 buildCounterVoidedPurchasesListResponse++; |
1717 if (buildCounterVoidedPurchasesListResponse < 3) { | 1717 if (buildCounterVoidedPurchasesListResponse < 3) { |
1718 checkPageInfo(o.pageInfo); | 1718 checkPageInfo(o.pageInfo); |
1719 checkTokenPagination(o.tokenPagination); | 1719 checkTokenPagination(o.tokenPagination); |
1720 checkUnnamed2811(o.voidedPurchases); | 1720 checkUnnamed2905(o.voidedPurchases); |
1721 } | 1721 } |
1722 buildCounterVoidedPurchasesListResponse--; | 1722 buildCounterVoidedPurchasesListResponse--; |
1723 } | 1723 } |
1724 | 1724 |
1725 | 1725 |
1726 main() { | 1726 main() { |
1727 unittest.group("obj-schema-Apk", () { | 1727 unittest.group("obj-schema-Apk", () { |
1728 unittest.test("to-json--from-json", () { | 1728 unittest.test("to-json--from-json", () { |
1729 var o = buildApk(); | 1729 var o = buildApk(); |
1730 var od = new api.Apk.fromJson(o.toJson()); | 1730 var od = new api.Apk.fromJson(o.toJson()); |
(...skipping 3192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4923 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect
Async(((api.ReviewsReplyResponse response) { | 4923 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect
Async(((api.ReviewsReplyResponse response) { |
4924 checkReviewsReplyResponse(response); | 4924 checkReviewsReplyResponse(response); |
4925 }))); | 4925 }))); |
4926 }); | 4926 }); |
4927 | 4927 |
4928 }); | 4928 }); |
4929 | 4929 |
4930 | 4930 |
4931 } | 4931 } |
4932 | 4932 |
OLD | NEW |