Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: generated/googleapis/test/androidpublisher/v2_test.dart

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 buildUnnamed3003() { 115 buildUnnamed2791() {
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 checkUnnamed3003(core.List<api.ApkListing> o) { 122 checkUnnamed2791(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 = buildUnnamed3003(); 134 o.listings = buildUnnamed2791();
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 checkUnnamed3003(o.listings); 144 checkUnnamed2791(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
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 buildUnnamed3004() { 187 buildUnnamed2792() {
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 checkUnnamed3004(core.List<api.Apk> o) { 194 checkUnnamed2792(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 = buildUnnamed3004(); 205 o.apks = buildUnnamed2792();
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 checkUnnamed3004(o.apks); 215 checkUnnamed2792(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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 buildCounterEntitlement++; 362 buildCounterEntitlement++;
363 if (buildCounterEntitlement < 3) { 363 if (buildCounterEntitlement < 3) {
364 unittest.expect(o.kind, unittest.equals('foo')); 364 unittest.expect(o.kind, unittest.equals('foo'));
365 unittest.expect(o.productId, unittest.equals('foo')); 365 unittest.expect(o.productId, unittest.equals('foo'));
366 unittest.expect(o.productType, unittest.equals('foo')); 366 unittest.expect(o.productType, unittest.equals('foo'));
367 unittest.expect(o.token, unittest.equals('foo')); 367 unittest.expect(o.token, unittest.equals('foo'));
368 } 368 }
369 buildCounterEntitlement--; 369 buildCounterEntitlement--;
370 } 370 }
371 371
372 buildUnnamed3005() { 372 buildUnnamed2793() {
373 var o = new core.List<api.Entitlement>(); 373 var o = new core.List<api.Entitlement>();
374 o.add(buildEntitlement()); 374 o.add(buildEntitlement());
375 o.add(buildEntitlement()); 375 o.add(buildEntitlement());
376 return o; 376 return o;
377 } 377 }
378 378
379 checkUnnamed3005(core.List<api.Entitlement> o) { 379 checkUnnamed2793(core.List<api.Entitlement> o) {
380 unittest.expect(o, unittest.hasLength(2)); 380 unittest.expect(o, unittest.hasLength(2));
381 checkEntitlement(o[0]); 381 checkEntitlement(o[0]);
382 checkEntitlement(o[1]); 382 checkEntitlement(o[1]);
383 } 383 }
384 384
385 core.int buildCounterEntitlementsListResponse = 0; 385 core.int buildCounterEntitlementsListResponse = 0;
386 buildEntitlementsListResponse() { 386 buildEntitlementsListResponse() {
387 var o = new api.EntitlementsListResponse(); 387 var o = new api.EntitlementsListResponse();
388 buildCounterEntitlementsListResponse++; 388 buildCounterEntitlementsListResponse++;
389 if (buildCounterEntitlementsListResponse < 3) { 389 if (buildCounterEntitlementsListResponse < 3) {
390 o.pageInfo = buildPageInfo(); 390 o.pageInfo = buildPageInfo();
391 o.resources = buildUnnamed3005(); 391 o.resources = buildUnnamed2793();
392 o.tokenPagination = buildTokenPagination(); 392 o.tokenPagination = buildTokenPagination();
393 } 393 }
394 buildCounterEntitlementsListResponse--; 394 buildCounterEntitlementsListResponse--;
395 return o; 395 return o;
396 } 396 }
397 397
398 checkEntitlementsListResponse(api.EntitlementsListResponse o) { 398 checkEntitlementsListResponse(api.EntitlementsListResponse o) {
399 buildCounterEntitlementsListResponse++; 399 buildCounterEntitlementsListResponse++;
400 if (buildCounterEntitlementsListResponse < 3) { 400 if (buildCounterEntitlementsListResponse < 3) {
401 checkPageInfo(o.pageInfo); 401 checkPageInfo(o.pageInfo);
402 checkUnnamed3005(o.resources); 402 checkUnnamed2793(o.resources);
403 checkTokenPagination(o.tokenPagination); 403 checkTokenPagination(o.tokenPagination);
404 } 404 }
405 buildCounterEntitlementsListResponse--; 405 buildCounterEntitlementsListResponse--;
406 } 406 }
407 407
408 core.int buildCounterExpansionFile = 0; 408 core.int buildCounterExpansionFile = 0;
409 buildExpansionFile() { 409 buildExpansionFile() {
410 var o = new api.ExpansionFile(); 410 var o = new api.ExpansionFile();
411 buildCounterExpansionFile++; 411 buildCounterExpansionFile++;
412 if (buildCounterExpansionFile < 3) { 412 if (buildCounterExpansionFile < 3) {
(...skipping 25 matching lines...) Expand all
438 } 438 }
439 439
440 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { 440 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) {
441 buildCounterExpansionFilesUploadResponse++; 441 buildCounterExpansionFilesUploadResponse++;
442 if (buildCounterExpansionFilesUploadResponse < 3) { 442 if (buildCounterExpansionFilesUploadResponse < 3) {
443 checkExpansionFile(o.expansionFile); 443 checkExpansionFile(o.expansionFile);
444 } 444 }
445 buildCounterExpansionFilesUploadResponse--; 445 buildCounterExpansionFilesUploadResponse--;
446 } 446 }
447 447
448 buildUnnamed3006() { 448 buildUnnamed2794() {
449 var o = new core.List<core.String>(); 449 var o = new core.List<core.String>();
450 o.add("foo"); 450 o.add("foo");
451 o.add("foo"); 451 o.add("foo");
452 return o; 452 return o;
453 } 453 }
454 454
455 checkUnnamed3006(core.List<core.String> o) { 455 checkUnnamed2794(core.List<core.String> o) {
456 unittest.expect(o, unittest.hasLength(2)); 456 unittest.expect(o, unittest.hasLength(2));
457 unittest.expect(o[0], unittest.equals('foo')); 457 unittest.expect(o[0], unittest.equals('foo'));
458 unittest.expect(o[1], unittest.equals('foo')); 458 unittest.expect(o[1], unittest.equals('foo'));
459 } 459 }
460 460
461 buildUnnamed3007() { 461 buildUnnamed2795() {
462 var o = new core.List<core.String>(); 462 var o = new core.List<core.String>();
463 o.add("foo"); 463 o.add("foo");
464 o.add("foo"); 464 o.add("foo");
465 return o; 465 return o;
466 } 466 }
467 467
468 checkUnnamed3007(core.List<core.String> o) { 468 checkUnnamed2795(core.List<core.String> o) {
469 unittest.expect(o, unittest.hasLength(2)); 469 unittest.expect(o, unittest.hasLength(2));
470 unittest.expect(o[0], unittest.equals('foo')); 470 unittest.expect(o[0], unittest.equals('foo'));
471 unittest.expect(o[1], unittest.equals('foo')); 471 unittest.expect(o[1], unittest.equals('foo'));
472 } 472 }
473 473
474 buildUnnamed3008() { 474 buildUnnamed2796() {
475 var o = new core.List<core.String>(); 475 var o = new core.List<core.String>();
476 o.add("foo"); 476 o.add("foo");
477 o.add("foo"); 477 o.add("foo");
478 return o; 478 return o;
479 } 479 }
480 480
481 checkUnnamed3008(core.List<core.String> o) { 481 checkUnnamed2796(core.List<core.String> o) {
482 unittest.expect(o, unittest.hasLength(2)); 482 unittest.expect(o, unittest.hasLength(2));
483 unittest.expect(o[0], unittest.equals('foo')); 483 unittest.expect(o[0], unittest.equals('foo'));
484 unittest.expect(o[1], unittest.equals('foo')); 484 unittest.expect(o[1], unittest.equals('foo'));
485 } 485 }
486 486
487 buildUnnamed3009() { 487 buildUnnamed2797() {
488 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); 488 var o = new core.List<api.ExternallyHostedApkUsesPermission>();
489 o.add(buildExternallyHostedApkUsesPermission()); 489 o.add(buildExternallyHostedApkUsesPermission());
490 o.add(buildExternallyHostedApkUsesPermission()); 490 o.add(buildExternallyHostedApkUsesPermission());
491 return o; 491 return o;
492 } 492 }
493 493
494 checkUnnamed3009(core.List<api.ExternallyHostedApkUsesPermission> o) { 494 checkUnnamed2797(core.List<api.ExternallyHostedApkUsesPermission> o) {
495 unittest.expect(o, unittest.hasLength(2)); 495 unittest.expect(o, unittest.hasLength(2));
496 checkExternallyHostedApkUsesPermission(o[0]); 496 checkExternallyHostedApkUsesPermission(o[0]);
497 checkExternallyHostedApkUsesPermission(o[1]); 497 checkExternallyHostedApkUsesPermission(o[1]);
498 } 498 }
499 499
500 core.int buildCounterExternallyHostedApk = 0; 500 core.int buildCounterExternallyHostedApk = 0;
501 buildExternallyHostedApk() { 501 buildExternallyHostedApk() {
502 var o = new api.ExternallyHostedApk(); 502 var o = new api.ExternallyHostedApk();
503 buildCounterExternallyHostedApk++; 503 buildCounterExternallyHostedApk++;
504 if (buildCounterExternallyHostedApk < 3) { 504 if (buildCounterExternallyHostedApk < 3) {
505 o.applicationLabel = "foo"; 505 o.applicationLabel = "foo";
506 o.certificateBase64s = buildUnnamed3006(); 506 o.certificateBase64s = buildUnnamed2794();
507 o.externallyHostedUrl = "foo"; 507 o.externallyHostedUrl = "foo";
508 o.fileSha1Base64 = "foo"; 508 o.fileSha1Base64 = "foo";
509 o.fileSha256Base64 = "foo"; 509 o.fileSha256Base64 = "foo";
510 o.fileSize = "foo"; 510 o.fileSize = "foo";
511 o.iconBase64 = "foo"; 511 o.iconBase64 = "foo";
512 o.maximumSdk = 42; 512 o.maximumSdk = 42;
513 o.minimumSdk = 42; 513 o.minimumSdk = 42;
514 o.nativeCodes = buildUnnamed3007(); 514 o.nativeCodes = buildUnnamed2795();
515 o.packageName = "foo"; 515 o.packageName = "foo";
516 o.usesFeatures = buildUnnamed3008(); 516 o.usesFeatures = buildUnnamed2796();
517 o.usesPermissions = buildUnnamed3009(); 517 o.usesPermissions = buildUnnamed2797();
518 o.versionCode = 42; 518 o.versionCode = 42;
519 o.versionName = "foo"; 519 o.versionName = "foo";
520 } 520 }
521 buildCounterExternallyHostedApk--; 521 buildCounterExternallyHostedApk--;
522 return o; 522 return o;
523 } 523 }
524 524
525 checkExternallyHostedApk(api.ExternallyHostedApk o) { 525 checkExternallyHostedApk(api.ExternallyHostedApk o) {
526 buildCounterExternallyHostedApk++; 526 buildCounterExternallyHostedApk++;
527 if (buildCounterExternallyHostedApk < 3) { 527 if (buildCounterExternallyHostedApk < 3) {
528 unittest.expect(o.applicationLabel, unittest.equals('foo')); 528 unittest.expect(o.applicationLabel, unittest.equals('foo'));
529 checkUnnamed3006(o.certificateBase64s); 529 checkUnnamed2794(o.certificateBase64s);
530 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); 530 unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
531 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); 531 unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
532 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); 532 unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
533 unittest.expect(o.fileSize, unittest.equals('foo')); 533 unittest.expect(o.fileSize, unittest.equals('foo'));
534 unittest.expect(o.iconBase64, unittest.equals('foo')); 534 unittest.expect(o.iconBase64, unittest.equals('foo'));
535 unittest.expect(o.maximumSdk, unittest.equals(42)); 535 unittest.expect(o.maximumSdk, unittest.equals(42));
536 unittest.expect(o.minimumSdk, unittest.equals(42)); 536 unittest.expect(o.minimumSdk, unittest.equals(42));
537 checkUnnamed3007(o.nativeCodes); 537 checkUnnamed2795(o.nativeCodes);
538 unittest.expect(o.packageName, unittest.equals('foo')); 538 unittest.expect(o.packageName, unittest.equals('foo'));
539 checkUnnamed3008(o.usesFeatures); 539 checkUnnamed2796(o.usesFeatures);
540 checkUnnamed3009(o.usesPermissions); 540 checkUnnamed2797(o.usesPermissions);
541 unittest.expect(o.versionCode, unittest.equals(42)); 541 unittest.expect(o.versionCode, unittest.equals(42));
542 unittest.expect(o.versionName, unittest.equals('foo')); 542 unittest.expect(o.versionName, unittest.equals('foo'));
543 } 543 }
544 buildCounterExternallyHostedApk--; 544 buildCounterExternallyHostedApk--;
545 } 545 }
546 546
547 core.int buildCounterExternallyHostedApkUsesPermission = 0; 547 core.int buildCounterExternallyHostedApkUsesPermission = 0;
548 buildExternallyHostedApkUsesPermission() { 548 buildExternallyHostedApkUsesPermission() {
549 var o = new api.ExternallyHostedApkUsesPermission(); 549 var o = new api.ExternallyHostedApkUsesPermission();
550 buildCounterExternallyHostedApkUsesPermission++; 550 buildCounterExternallyHostedApkUsesPermission++;
(...skipping 30 matching lines...) Expand all
581 checkImage(api.Image o) { 581 checkImage(api.Image o) {
582 buildCounterImage++; 582 buildCounterImage++;
583 if (buildCounterImage < 3) { 583 if (buildCounterImage < 3) {
584 unittest.expect(o.id, unittest.equals('foo')); 584 unittest.expect(o.id, unittest.equals('foo'));
585 unittest.expect(o.sha1, unittest.equals('foo')); 585 unittest.expect(o.sha1, unittest.equals('foo'));
586 unittest.expect(o.url, unittest.equals('foo')); 586 unittest.expect(o.url, unittest.equals('foo'));
587 } 587 }
588 buildCounterImage--; 588 buildCounterImage--;
589 } 589 }
590 590
591 buildUnnamed3010() { 591 buildUnnamed2798() {
592 var o = new core.List<api.Image>(); 592 var o = new core.List<api.Image>();
593 o.add(buildImage()); 593 o.add(buildImage());
594 o.add(buildImage()); 594 o.add(buildImage());
595 return o; 595 return o;
596 } 596 }
597 597
598 checkUnnamed3010(core.List<api.Image> o) { 598 checkUnnamed2798(core.List<api.Image> o) {
599 unittest.expect(o, unittest.hasLength(2)); 599 unittest.expect(o, unittest.hasLength(2));
600 checkImage(o[0]); 600 checkImage(o[0]);
601 checkImage(o[1]); 601 checkImage(o[1]);
602 } 602 }
603 603
604 core.int buildCounterImagesDeleteAllResponse = 0; 604 core.int buildCounterImagesDeleteAllResponse = 0;
605 buildImagesDeleteAllResponse() { 605 buildImagesDeleteAllResponse() {
606 var o = new api.ImagesDeleteAllResponse(); 606 var o = new api.ImagesDeleteAllResponse();
607 buildCounterImagesDeleteAllResponse++; 607 buildCounterImagesDeleteAllResponse++;
608 if (buildCounterImagesDeleteAllResponse < 3) { 608 if (buildCounterImagesDeleteAllResponse < 3) {
609 o.deleted = buildUnnamed3010(); 609 o.deleted = buildUnnamed2798();
610 } 610 }
611 buildCounterImagesDeleteAllResponse--; 611 buildCounterImagesDeleteAllResponse--;
612 return o; 612 return o;
613 } 613 }
614 614
615 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { 615 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
616 buildCounterImagesDeleteAllResponse++; 616 buildCounterImagesDeleteAllResponse++;
617 if (buildCounterImagesDeleteAllResponse < 3) { 617 if (buildCounterImagesDeleteAllResponse < 3) {
618 checkUnnamed3010(o.deleted); 618 checkUnnamed2798(o.deleted);
619 } 619 }
620 buildCounterImagesDeleteAllResponse--; 620 buildCounterImagesDeleteAllResponse--;
621 } 621 }
622 622
623 buildUnnamed3011() { 623 buildUnnamed2799() {
624 var o = new core.List<api.Image>(); 624 var o = new core.List<api.Image>();
625 o.add(buildImage()); 625 o.add(buildImage());
626 o.add(buildImage()); 626 o.add(buildImage());
627 return o; 627 return o;
628 } 628 }
629 629
630 checkUnnamed3011(core.List<api.Image> o) { 630 checkUnnamed2799(core.List<api.Image> o) {
631 unittest.expect(o, unittest.hasLength(2)); 631 unittest.expect(o, unittest.hasLength(2));
632 checkImage(o[0]); 632 checkImage(o[0]);
633 checkImage(o[1]); 633 checkImage(o[1]);
634 } 634 }
635 635
636 core.int buildCounterImagesListResponse = 0; 636 core.int buildCounterImagesListResponse = 0;
637 buildImagesListResponse() { 637 buildImagesListResponse() {
638 var o = new api.ImagesListResponse(); 638 var o = new api.ImagesListResponse();
639 buildCounterImagesListResponse++; 639 buildCounterImagesListResponse++;
640 if (buildCounterImagesListResponse < 3) { 640 if (buildCounterImagesListResponse < 3) {
641 o.images = buildUnnamed3011(); 641 o.images = buildUnnamed2799();
642 } 642 }
643 buildCounterImagesListResponse--; 643 buildCounterImagesListResponse--;
644 return o; 644 return o;
645 } 645 }
646 646
647 checkImagesListResponse(api.ImagesListResponse o) { 647 checkImagesListResponse(api.ImagesListResponse o) {
648 buildCounterImagesListResponse++; 648 buildCounterImagesListResponse++;
649 if (buildCounterImagesListResponse < 3) { 649 if (buildCounterImagesListResponse < 3) {
650 checkUnnamed3011(o.images); 650 checkUnnamed2799(o.images);
651 } 651 }
652 buildCounterImagesListResponse--; 652 buildCounterImagesListResponse--;
653 } 653 }
654 654
655 core.int buildCounterImagesUploadResponse = 0; 655 core.int buildCounterImagesUploadResponse = 0;
656 buildImagesUploadResponse() { 656 buildImagesUploadResponse() {
657 var o = new api.ImagesUploadResponse(); 657 var o = new api.ImagesUploadResponse();
658 buildCounterImagesUploadResponse++; 658 buildCounterImagesUploadResponse++;
659 if (buildCounterImagesUploadResponse < 3) { 659 if (buildCounterImagesUploadResponse < 3) {
660 o.image = buildImage(); 660 o.image = buildImage();
661 } 661 }
662 buildCounterImagesUploadResponse--; 662 buildCounterImagesUploadResponse--;
663 return o; 663 return o;
664 } 664 }
665 665
666 checkImagesUploadResponse(api.ImagesUploadResponse o) { 666 checkImagesUploadResponse(api.ImagesUploadResponse o) {
667 buildCounterImagesUploadResponse++; 667 buildCounterImagesUploadResponse++;
668 if (buildCounterImagesUploadResponse < 3) { 668 if (buildCounterImagesUploadResponse < 3) {
669 checkImage(o.image); 669 checkImage(o.image);
670 } 670 }
671 buildCounterImagesUploadResponse--; 671 buildCounterImagesUploadResponse--;
672 } 672 }
673 673
674 buildUnnamed3012() { 674 buildUnnamed2800() {
675 var o = new core.Map<core.String, api.InAppProductListing>(); 675 var o = new core.Map<core.String, api.InAppProductListing>();
676 o["x"] = buildInAppProductListing(); 676 o["x"] = buildInAppProductListing();
677 o["y"] = buildInAppProductListing(); 677 o["y"] = buildInAppProductListing();
678 return o; 678 return o;
679 } 679 }
680 680
681 checkUnnamed3012(core.Map<core.String, api.InAppProductListing> o) { 681 checkUnnamed2800(core.Map<core.String, api.InAppProductListing> o) {
682 unittest.expect(o, unittest.hasLength(2)); 682 unittest.expect(o, unittest.hasLength(2));
683 checkInAppProductListing(o["x"]); 683 checkInAppProductListing(o["x"]);
684 checkInAppProductListing(o["y"]); 684 checkInAppProductListing(o["y"]);
685 } 685 }
686 686
687 buildUnnamed3013() { 687 buildUnnamed2801() {
688 var o = new core.Map<core.String, api.Price>(); 688 var o = new core.Map<core.String, api.Price>();
689 o["x"] = buildPrice(); 689 o["x"] = buildPrice();
690 o["y"] = buildPrice(); 690 o["y"] = buildPrice();
691 return o; 691 return o;
692 } 692 }
693 693
694 checkUnnamed3013(core.Map<core.String, api.Price> o) { 694 checkUnnamed2801(core.Map<core.String, api.Price> o) {
695 unittest.expect(o, unittest.hasLength(2)); 695 unittest.expect(o, unittest.hasLength(2));
696 checkPrice(o["x"]); 696 checkPrice(o["x"]);
697 checkPrice(o["y"]); 697 checkPrice(o["y"]);
698 } 698 }
699 699
700 core.int buildCounterInAppProduct = 0; 700 core.int buildCounterInAppProduct = 0;
701 buildInAppProduct() { 701 buildInAppProduct() {
702 var o = new api.InAppProduct(); 702 var o = new api.InAppProduct();
703 buildCounterInAppProduct++; 703 buildCounterInAppProduct++;
704 if (buildCounterInAppProduct < 3) { 704 if (buildCounterInAppProduct < 3) {
705 o.defaultLanguage = "foo"; 705 o.defaultLanguage = "foo";
706 o.defaultPrice = buildPrice(); 706 o.defaultPrice = buildPrice();
707 o.listings = buildUnnamed3012(); 707 o.listings = buildUnnamed2800();
708 o.packageName = "foo"; 708 o.packageName = "foo";
709 o.prices = buildUnnamed3013(); 709 o.prices = buildUnnamed2801();
710 o.purchaseType = "foo"; 710 o.purchaseType = "foo";
711 o.season = buildSeason(); 711 o.season = buildSeason();
712 o.sku = "foo"; 712 o.sku = "foo";
713 o.status = "foo"; 713 o.status = "foo";
714 o.subscriptionPeriod = "foo"; 714 o.subscriptionPeriod = "foo";
715 o.trialPeriod = "foo"; 715 o.trialPeriod = "foo";
716 } 716 }
717 buildCounterInAppProduct--; 717 buildCounterInAppProduct--;
718 return o; 718 return o;
719 } 719 }
720 720
721 checkInAppProduct(api.InAppProduct o) { 721 checkInAppProduct(api.InAppProduct o) {
722 buildCounterInAppProduct++; 722 buildCounterInAppProduct++;
723 if (buildCounterInAppProduct < 3) { 723 if (buildCounterInAppProduct < 3) {
724 unittest.expect(o.defaultLanguage, unittest.equals('foo')); 724 unittest.expect(o.defaultLanguage, unittest.equals('foo'));
725 checkPrice(o.defaultPrice); 725 checkPrice(o.defaultPrice);
726 checkUnnamed3012(o.listings); 726 checkUnnamed2800(o.listings);
727 unittest.expect(o.packageName, unittest.equals('foo')); 727 unittest.expect(o.packageName, unittest.equals('foo'));
728 checkUnnamed3013(o.prices); 728 checkUnnamed2801(o.prices);
729 unittest.expect(o.purchaseType, unittest.equals('foo')); 729 unittest.expect(o.purchaseType, unittest.equals('foo'));
730 checkSeason(o.season); 730 checkSeason(o.season);
731 unittest.expect(o.sku, unittest.equals('foo')); 731 unittest.expect(o.sku, unittest.equals('foo'));
732 unittest.expect(o.status, unittest.equals('foo')); 732 unittest.expect(o.status, unittest.equals('foo'));
733 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); 733 unittest.expect(o.subscriptionPeriod, unittest.equals('foo'));
734 unittest.expect(o.trialPeriod, unittest.equals('foo')); 734 unittest.expect(o.trialPeriod, unittest.equals('foo'));
735 } 735 }
736 buildCounterInAppProduct--; 736 buildCounterInAppProduct--;
737 } 737 }
738 738
(...skipping 11 matching lines...) Expand all
750 750
751 checkInAppProductListing(api.InAppProductListing o) { 751 checkInAppProductListing(api.InAppProductListing o) {
752 buildCounterInAppProductListing++; 752 buildCounterInAppProductListing++;
753 if (buildCounterInAppProductListing < 3) { 753 if (buildCounterInAppProductListing < 3) {
754 unittest.expect(o.description, unittest.equals('foo')); 754 unittest.expect(o.description, unittest.equals('foo'));
755 unittest.expect(o.title, unittest.equals('foo')); 755 unittest.expect(o.title, unittest.equals('foo'));
756 } 756 }
757 buildCounterInAppProductListing--; 757 buildCounterInAppProductListing--;
758 } 758 }
759 759
760 buildUnnamed3014() { 760 buildUnnamed2802() {
761 var o = new core.List<api.InappproductsBatchRequestEntry>(); 761 var o = new core.List<api.InappproductsBatchRequestEntry>();
762 o.add(buildInappproductsBatchRequestEntry()); 762 o.add(buildInappproductsBatchRequestEntry());
763 o.add(buildInappproductsBatchRequestEntry()); 763 o.add(buildInappproductsBatchRequestEntry());
764 return o; 764 return o;
765 } 765 }
766 766
767 checkUnnamed3014(core.List<api.InappproductsBatchRequestEntry> o) { 767 checkUnnamed2802(core.List<api.InappproductsBatchRequestEntry> o) {
768 unittest.expect(o, unittest.hasLength(2)); 768 unittest.expect(o, unittest.hasLength(2));
769 checkInappproductsBatchRequestEntry(o[0]); 769 checkInappproductsBatchRequestEntry(o[0]);
770 checkInappproductsBatchRequestEntry(o[1]); 770 checkInappproductsBatchRequestEntry(o[1]);
771 } 771 }
772 772
773 core.int buildCounterInappproductsBatchRequest = 0; 773 core.int buildCounterInappproductsBatchRequest = 0;
774 buildInappproductsBatchRequest() { 774 buildInappproductsBatchRequest() {
775 var o = new api.InappproductsBatchRequest(); 775 var o = new api.InappproductsBatchRequest();
776 buildCounterInappproductsBatchRequest++; 776 buildCounterInappproductsBatchRequest++;
777 if (buildCounterInappproductsBatchRequest < 3) { 777 if (buildCounterInappproductsBatchRequest < 3) {
778 o.entrys = buildUnnamed3014(); 778 o.entrys = buildUnnamed2802();
779 } 779 }
780 buildCounterInappproductsBatchRequest--; 780 buildCounterInappproductsBatchRequest--;
781 return o; 781 return o;
782 } 782 }
783 783
784 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { 784 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) {
785 buildCounterInappproductsBatchRequest++; 785 buildCounterInappproductsBatchRequest++;
786 if (buildCounterInappproductsBatchRequest < 3) { 786 if (buildCounterInappproductsBatchRequest < 3) {
787 checkUnnamed3014(o.entrys); 787 checkUnnamed2802(o.entrys);
788 } 788 }
789 buildCounterInappproductsBatchRequest--; 789 buildCounterInappproductsBatchRequest--;
790 } 790 }
791 791
792 core.int buildCounterInappproductsBatchRequestEntry = 0; 792 core.int buildCounterInappproductsBatchRequestEntry = 0;
793 buildInappproductsBatchRequestEntry() { 793 buildInappproductsBatchRequestEntry() {
794 var o = new api.InappproductsBatchRequestEntry(); 794 var o = new api.InappproductsBatchRequestEntry();
795 buildCounterInappproductsBatchRequestEntry++; 795 buildCounterInappproductsBatchRequestEntry++;
796 if (buildCounterInappproductsBatchRequestEntry < 3) { 796 if (buildCounterInappproductsBatchRequestEntry < 3) {
797 o.batchId = 42; 797 o.batchId = 42;
798 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); 798 o.inappproductsinsertrequest = buildInappproductsInsertRequest();
799 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); 799 o.inappproductsupdaterequest = buildInappproductsUpdateRequest();
800 o.methodName = "foo"; 800 o.methodName = "foo";
801 } 801 }
802 buildCounterInappproductsBatchRequestEntry--; 802 buildCounterInappproductsBatchRequestEntry--;
803 return o; 803 return o;
804 } 804 }
805 805
806 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { 806 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) {
807 buildCounterInappproductsBatchRequestEntry++; 807 buildCounterInappproductsBatchRequestEntry++;
808 if (buildCounterInappproductsBatchRequestEntry < 3) { 808 if (buildCounterInappproductsBatchRequestEntry < 3) {
809 unittest.expect(o.batchId, unittest.equals(42)); 809 unittest.expect(o.batchId, unittest.equals(42));
810 checkInappproductsInsertRequest(o.inappproductsinsertrequest); 810 checkInappproductsInsertRequest(o.inappproductsinsertrequest);
811 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); 811 checkInappproductsUpdateRequest(o.inappproductsupdaterequest);
812 unittest.expect(o.methodName, unittest.equals('foo')); 812 unittest.expect(o.methodName, unittest.equals('foo'));
813 } 813 }
814 buildCounterInappproductsBatchRequestEntry--; 814 buildCounterInappproductsBatchRequestEntry--;
815 } 815 }
816 816
817 buildUnnamed3015() { 817 buildUnnamed2803() {
818 var o = new core.List<api.InappproductsBatchResponseEntry>(); 818 var o = new core.List<api.InappproductsBatchResponseEntry>();
819 o.add(buildInappproductsBatchResponseEntry()); 819 o.add(buildInappproductsBatchResponseEntry());
820 o.add(buildInappproductsBatchResponseEntry()); 820 o.add(buildInappproductsBatchResponseEntry());
821 return o; 821 return o;
822 } 822 }
823 823
824 checkUnnamed3015(core.List<api.InappproductsBatchResponseEntry> o) { 824 checkUnnamed2803(core.List<api.InappproductsBatchResponseEntry> o) {
825 unittest.expect(o, unittest.hasLength(2)); 825 unittest.expect(o, unittest.hasLength(2));
826 checkInappproductsBatchResponseEntry(o[0]); 826 checkInappproductsBatchResponseEntry(o[0]);
827 checkInappproductsBatchResponseEntry(o[1]); 827 checkInappproductsBatchResponseEntry(o[1]);
828 } 828 }
829 829
830 core.int buildCounterInappproductsBatchResponse = 0; 830 core.int buildCounterInappproductsBatchResponse = 0;
831 buildInappproductsBatchResponse() { 831 buildInappproductsBatchResponse() {
832 var o = new api.InappproductsBatchResponse(); 832 var o = new api.InappproductsBatchResponse();
833 buildCounterInappproductsBatchResponse++; 833 buildCounterInappproductsBatchResponse++;
834 if (buildCounterInappproductsBatchResponse < 3) { 834 if (buildCounterInappproductsBatchResponse < 3) {
835 o.entrys = buildUnnamed3015(); 835 o.entrys = buildUnnamed2803();
836 o.kind = "foo"; 836 o.kind = "foo";
837 } 837 }
838 buildCounterInappproductsBatchResponse--; 838 buildCounterInappproductsBatchResponse--;
839 return o; 839 return o;
840 } 840 }
841 841
842 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { 842 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) {
843 buildCounterInappproductsBatchResponse++; 843 buildCounterInappproductsBatchResponse++;
844 if (buildCounterInappproductsBatchResponse < 3) { 844 if (buildCounterInappproductsBatchResponse < 3) {
845 checkUnnamed3015(o.entrys); 845 checkUnnamed2803(o.entrys);
846 unittest.expect(o.kind, unittest.equals('foo')); 846 unittest.expect(o.kind, unittest.equals('foo'));
847 } 847 }
848 buildCounterInappproductsBatchResponse--; 848 buildCounterInappproductsBatchResponse--;
849 } 849 }
850 850
851 core.int buildCounterInappproductsBatchResponseEntry = 0; 851 core.int buildCounterInappproductsBatchResponseEntry = 0;
852 buildInappproductsBatchResponseEntry() { 852 buildInappproductsBatchResponseEntry() {
853 var o = new api.InappproductsBatchResponseEntry(); 853 var o = new api.InappproductsBatchResponseEntry();
854 buildCounterInappproductsBatchResponseEntry++; 854 buildCounterInappproductsBatchResponseEntry++;
855 if (buildCounterInappproductsBatchResponseEntry < 3) { 855 if (buildCounterInappproductsBatchResponseEntry < 3) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 } 902 }
903 903
904 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { 904 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) {
905 buildCounterInappproductsInsertResponse++; 905 buildCounterInappproductsInsertResponse++;
906 if (buildCounterInappproductsInsertResponse < 3) { 906 if (buildCounterInappproductsInsertResponse < 3) {
907 checkInAppProduct(o.inappproduct); 907 checkInAppProduct(o.inappproduct);
908 } 908 }
909 buildCounterInappproductsInsertResponse--; 909 buildCounterInappproductsInsertResponse--;
910 } 910 }
911 911
912 buildUnnamed3016() { 912 buildUnnamed2804() {
913 var o = new core.List<api.InAppProduct>(); 913 var o = new core.List<api.InAppProduct>();
914 o.add(buildInAppProduct()); 914 o.add(buildInAppProduct());
915 o.add(buildInAppProduct()); 915 o.add(buildInAppProduct());
916 return o; 916 return o;
917 } 917 }
918 918
919 checkUnnamed3016(core.List<api.InAppProduct> o) { 919 checkUnnamed2804(core.List<api.InAppProduct> o) {
920 unittest.expect(o, unittest.hasLength(2)); 920 unittest.expect(o, unittest.hasLength(2));
921 checkInAppProduct(o[0]); 921 checkInAppProduct(o[0]);
922 checkInAppProduct(o[1]); 922 checkInAppProduct(o[1]);
923 } 923 }
924 924
925 core.int buildCounterInappproductsListResponse = 0; 925 core.int buildCounterInappproductsListResponse = 0;
926 buildInappproductsListResponse() { 926 buildInappproductsListResponse() {
927 var o = new api.InappproductsListResponse(); 927 var o = new api.InappproductsListResponse();
928 buildCounterInappproductsListResponse++; 928 buildCounterInappproductsListResponse++;
929 if (buildCounterInappproductsListResponse < 3) { 929 if (buildCounterInappproductsListResponse < 3) {
930 o.inappproduct = buildUnnamed3016(); 930 o.inappproduct = buildUnnamed2804();
931 o.kind = "foo"; 931 o.kind = "foo";
932 o.pageInfo = buildPageInfo(); 932 o.pageInfo = buildPageInfo();
933 o.tokenPagination = buildTokenPagination(); 933 o.tokenPagination = buildTokenPagination();
934 } 934 }
935 buildCounterInappproductsListResponse--; 935 buildCounterInappproductsListResponse--;
936 return o; 936 return o;
937 } 937 }
938 938
939 checkInappproductsListResponse(api.InappproductsListResponse o) { 939 checkInappproductsListResponse(api.InappproductsListResponse o) {
940 buildCounterInappproductsListResponse++; 940 buildCounterInappproductsListResponse++;
941 if (buildCounterInappproductsListResponse < 3) { 941 if (buildCounterInappproductsListResponse < 3) {
942 checkUnnamed3016(o.inappproduct); 942 checkUnnamed2804(o.inappproduct);
943 unittest.expect(o.kind, unittest.equals('foo')); 943 unittest.expect(o.kind, unittest.equals('foo'));
944 checkPageInfo(o.pageInfo); 944 checkPageInfo(o.pageInfo);
945 checkTokenPagination(o.tokenPagination); 945 checkTokenPagination(o.tokenPagination);
946 } 946 }
947 buildCounterInappproductsListResponse--; 947 buildCounterInappproductsListResponse--;
948 } 948 }
949 949
950 core.int buildCounterInappproductsUpdateRequest = 0; 950 core.int buildCounterInappproductsUpdateRequest = 0;
951 buildInappproductsUpdateRequest() { 951 buildInappproductsUpdateRequest() {
952 var o = new api.InappproductsUpdateRequest(); 952 var o = new api.InappproductsUpdateRequest();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 if (buildCounterListing < 3) { 1005 if (buildCounterListing < 3) {
1006 unittest.expect(o.fullDescription, unittest.equals('foo')); 1006 unittest.expect(o.fullDescription, unittest.equals('foo'));
1007 unittest.expect(o.language, unittest.equals('foo')); 1007 unittest.expect(o.language, unittest.equals('foo'));
1008 unittest.expect(o.shortDescription, unittest.equals('foo')); 1008 unittest.expect(o.shortDescription, unittest.equals('foo'));
1009 unittest.expect(o.title, unittest.equals('foo')); 1009 unittest.expect(o.title, unittest.equals('foo'));
1010 unittest.expect(o.video, unittest.equals('foo')); 1010 unittest.expect(o.video, unittest.equals('foo'));
1011 } 1011 }
1012 buildCounterListing--; 1012 buildCounterListing--;
1013 } 1013 }
1014 1014
1015 buildUnnamed3017() { 1015 buildUnnamed2805() {
1016 var o = new core.List<api.Listing>(); 1016 var o = new core.List<api.Listing>();
1017 o.add(buildListing()); 1017 o.add(buildListing());
1018 o.add(buildListing()); 1018 o.add(buildListing());
1019 return o; 1019 return o;
1020 } 1020 }
1021 1021
1022 checkUnnamed3017(core.List<api.Listing> o) { 1022 checkUnnamed2805(core.List<api.Listing> o) {
1023 unittest.expect(o, unittest.hasLength(2)); 1023 unittest.expect(o, unittest.hasLength(2));
1024 checkListing(o[0]); 1024 checkListing(o[0]);
1025 checkListing(o[1]); 1025 checkListing(o[1]);
1026 } 1026 }
1027 1027
1028 core.int buildCounterListingsListResponse = 0; 1028 core.int buildCounterListingsListResponse = 0;
1029 buildListingsListResponse() { 1029 buildListingsListResponse() {
1030 var o = new api.ListingsListResponse(); 1030 var o = new api.ListingsListResponse();
1031 buildCounterListingsListResponse++; 1031 buildCounterListingsListResponse++;
1032 if (buildCounterListingsListResponse < 3) { 1032 if (buildCounterListingsListResponse < 3) {
1033 o.kind = "foo"; 1033 o.kind = "foo";
1034 o.listings = buildUnnamed3017(); 1034 o.listings = buildUnnamed2805();
1035 } 1035 }
1036 buildCounterListingsListResponse--; 1036 buildCounterListingsListResponse--;
1037 return o; 1037 return o;
1038 } 1038 }
1039 1039
1040 checkListingsListResponse(api.ListingsListResponse o) { 1040 checkListingsListResponse(api.ListingsListResponse o) {
1041 buildCounterListingsListResponse++; 1041 buildCounterListingsListResponse++;
1042 if (buildCounterListingsListResponse < 3) { 1042 if (buildCounterListingsListResponse < 3) {
1043 unittest.expect(o.kind, unittest.equals('foo')); 1043 unittest.expect(o.kind, unittest.equals('foo'));
1044 checkUnnamed3017(o.listings); 1044 checkUnnamed2805(o.listings);
1045 } 1045 }
1046 buildCounterListingsListResponse--; 1046 buildCounterListingsListResponse--;
1047 } 1047 }
1048 1048
1049 core.int buildCounterMonthDay = 0; 1049 core.int buildCounterMonthDay = 0;
1050 buildMonthDay() { 1050 buildMonthDay() {
1051 var o = new api.MonthDay(); 1051 var o = new api.MonthDay();
1052 buildCounterMonthDay++; 1052 buildCounterMonthDay++;
1053 if (buildCounterMonthDay < 3) { 1053 if (buildCounterMonthDay < 3) {
1054 o.day = 42; 1054 o.day = 42;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 1152
1153 checkProrate(api.Prorate o) { 1153 checkProrate(api.Prorate o) {
1154 buildCounterProrate++; 1154 buildCounterProrate++;
1155 if (buildCounterProrate < 3) { 1155 if (buildCounterProrate < 3) {
1156 checkPrice(o.defaultPrice); 1156 checkPrice(o.defaultPrice);
1157 checkMonthDay(o.start); 1157 checkMonthDay(o.start);
1158 } 1158 }
1159 buildCounterProrate--; 1159 buildCounterProrate--;
1160 } 1160 }
1161 1161
1162 buildUnnamed3018() { 1162 buildUnnamed2806() {
1163 var o = new core.List<api.Comment>(); 1163 var o = new core.List<api.Comment>();
1164 o.add(buildComment()); 1164 o.add(buildComment());
1165 o.add(buildComment()); 1165 o.add(buildComment());
1166 return o; 1166 return o;
1167 } 1167 }
1168 1168
1169 checkUnnamed3018(core.List<api.Comment> o) { 1169 checkUnnamed2806(core.List<api.Comment> o) {
1170 unittest.expect(o, unittest.hasLength(2)); 1170 unittest.expect(o, unittest.hasLength(2));
1171 checkComment(o[0]); 1171 checkComment(o[0]);
1172 checkComment(o[1]); 1172 checkComment(o[1]);
1173 } 1173 }
1174 1174
1175 core.int buildCounterReview = 0; 1175 core.int buildCounterReview = 0;
1176 buildReview() { 1176 buildReview() {
1177 var o = new api.Review(); 1177 var o = new api.Review();
1178 buildCounterReview++; 1178 buildCounterReview++;
1179 if (buildCounterReview < 3) { 1179 if (buildCounterReview < 3) {
1180 o.authorName = "foo"; 1180 o.authorName = "foo";
1181 o.comments = buildUnnamed3018(); 1181 o.comments = buildUnnamed2806();
1182 o.reviewId = "foo"; 1182 o.reviewId = "foo";
1183 } 1183 }
1184 buildCounterReview--; 1184 buildCounterReview--;
1185 return o; 1185 return o;
1186 } 1186 }
1187 1187
1188 checkReview(api.Review o) { 1188 checkReview(api.Review o) {
1189 buildCounterReview++; 1189 buildCounterReview++;
1190 if (buildCounterReview < 3) { 1190 if (buildCounterReview < 3) {
1191 unittest.expect(o.authorName, unittest.equals('foo')); 1191 unittest.expect(o.authorName, unittest.equals('foo'));
1192 checkUnnamed3018(o.comments); 1192 checkUnnamed2806(o.comments);
1193 unittest.expect(o.reviewId, unittest.equals('foo')); 1193 unittest.expect(o.reviewId, unittest.equals('foo'));
1194 } 1194 }
1195 buildCounterReview--; 1195 buildCounterReview--;
1196 } 1196 }
1197 1197
1198 core.int buildCounterReviewReplyResult = 0; 1198 core.int buildCounterReviewReplyResult = 0;
1199 buildReviewReplyResult() { 1199 buildReviewReplyResult() {
1200 var o = new api.ReviewReplyResult(); 1200 var o = new api.ReviewReplyResult();
1201 buildCounterReviewReplyResult++; 1201 buildCounterReviewReplyResult++;
1202 if (buildCounterReviewReplyResult < 3) { 1202 if (buildCounterReviewReplyResult < 3) {
1203 o.lastEdited = buildTimestamp(); 1203 o.lastEdited = buildTimestamp();
1204 o.replyText = "foo"; 1204 o.replyText = "foo";
1205 } 1205 }
1206 buildCounterReviewReplyResult--; 1206 buildCounterReviewReplyResult--;
1207 return o; 1207 return o;
1208 } 1208 }
1209 1209
1210 checkReviewReplyResult(api.ReviewReplyResult o) { 1210 checkReviewReplyResult(api.ReviewReplyResult o) {
1211 buildCounterReviewReplyResult++; 1211 buildCounterReviewReplyResult++;
1212 if (buildCounterReviewReplyResult < 3) { 1212 if (buildCounterReviewReplyResult < 3) {
1213 checkTimestamp(o.lastEdited); 1213 checkTimestamp(o.lastEdited);
1214 unittest.expect(o.replyText, unittest.equals('foo')); 1214 unittest.expect(o.replyText, unittest.equals('foo'));
1215 } 1215 }
1216 buildCounterReviewReplyResult--; 1216 buildCounterReviewReplyResult--;
1217 } 1217 }
1218 1218
1219 buildUnnamed3019() { 1219 buildUnnamed2807() {
1220 var o = new core.List<api.Review>(); 1220 var o = new core.List<api.Review>();
1221 o.add(buildReview()); 1221 o.add(buildReview());
1222 o.add(buildReview()); 1222 o.add(buildReview());
1223 return o; 1223 return o;
1224 } 1224 }
1225 1225
1226 checkUnnamed3019(core.List<api.Review> o) { 1226 checkUnnamed2807(core.List<api.Review> o) {
1227 unittest.expect(o, unittest.hasLength(2)); 1227 unittest.expect(o, unittest.hasLength(2));
1228 checkReview(o[0]); 1228 checkReview(o[0]);
1229 checkReview(o[1]); 1229 checkReview(o[1]);
1230 } 1230 }
1231 1231
1232 core.int buildCounterReviewsListResponse = 0; 1232 core.int buildCounterReviewsListResponse = 0;
1233 buildReviewsListResponse() { 1233 buildReviewsListResponse() {
1234 var o = new api.ReviewsListResponse(); 1234 var o = new api.ReviewsListResponse();
1235 buildCounterReviewsListResponse++; 1235 buildCounterReviewsListResponse++;
1236 if (buildCounterReviewsListResponse < 3) { 1236 if (buildCounterReviewsListResponse < 3) {
1237 o.pageInfo = buildPageInfo(); 1237 o.pageInfo = buildPageInfo();
1238 o.reviews = buildUnnamed3019(); 1238 o.reviews = buildUnnamed2807();
1239 o.tokenPagination = buildTokenPagination(); 1239 o.tokenPagination = buildTokenPagination();
1240 } 1240 }
1241 buildCounterReviewsListResponse--; 1241 buildCounterReviewsListResponse--;
1242 return o; 1242 return o;
1243 } 1243 }
1244 1244
1245 checkReviewsListResponse(api.ReviewsListResponse o) { 1245 checkReviewsListResponse(api.ReviewsListResponse o) {
1246 buildCounterReviewsListResponse++; 1246 buildCounterReviewsListResponse++;
1247 if (buildCounterReviewsListResponse < 3) { 1247 if (buildCounterReviewsListResponse < 3) {
1248 checkPageInfo(o.pageInfo); 1248 checkPageInfo(o.pageInfo);
1249 checkUnnamed3019(o.reviews); 1249 checkUnnamed2807(o.reviews);
1250 checkTokenPagination(o.tokenPagination); 1250 checkTokenPagination(o.tokenPagination);
1251 } 1251 }
1252 buildCounterReviewsListResponse--; 1252 buildCounterReviewsListResponse--;
1253 } 1253 }
1254 1254
1255 core.int buildCounterReviewsReplyRequest = 0; 1255 core.int buildCounterReviewsReplyRequest = 0;
1256 buildReviewsReplyRequest() { 1256 buildReviewsReplyRequest() {
1257 var o = new api.ReviewsReplyRequest(); 1257 var o = new api.ReviewsReplyRequest();
1258 buildCounterReviewsReplyRequest++; 1258 buildCounterReviewsReplyRequest++;
1259 if (buildCounterReviewsReplyRequest < 3) { 1259 if (buildCounterReviewsReplyRequest < 3) {
(...skipping 23 matching lines...) Expand all
1283 } 1283 }
1284 1284
1285 checkReviewsReplyResponse(api.ReviewsReplyResponse o) { 1285 checkReviewsReplyResponse(api.ReviewsReplyResponse o) {
1286 buildCounterReviewsReplyResponse++; 1286 buildCounterReviewsReplyResponse++;
1287 if (buildCounterReviewsReplyResponse < 3) { 1287 if (buildCounterReviewsReplyResponse < 3) {
1288 checkReviewReplyResult(o.result); 1288 checkReviewReplyResult(o.result);
1289 } 1289 }
1290 buildCounterReviewsReplyResponse--; 1290 buildCounterReviewsReplyResponse--;
1291 } 1291 }
1292 1292
1293 buildUnnamed3020() { 1293 buildUnnamed2808() {
1294 var o = new core.List<api.Prorate>(); 1294 var o = new core.List<api.Prorate>();
1295 o.add(buildProrate()); 1295 o.add(buildProrate());
1296 o.add(buildProrate()); 1296 o.add(buildProrate());
1297 return o; 1297 return o;
1298 } 1298 }
1299 1299
1300 checkUnnamed3020(core.List<api.Prorate> o) { 1300 checkUnnamed2808(core.List<api.Prorate> o) {
1301 unittest.expect(o, unittest.hasLength(2)); 1301 unittest.expect(o, unittest.hasLength(2));
1302 checkProrate(o[0]); 1302 checkProrate(o[0]);
1303 checkProrate(o[1]); 1303 checkProrate(o[1]);
1304 } 1304 }
1305 1305
1306 core.int buildCounterSeason = 0; 1306 core.int buildCounterSeason = 0;
1307 buildSeason() { 1307 buildSeason() {
1308 var o = new api.Season(); 1308 var o = new api.Season();
1309 buildCounterSeason++; 1309 buildCounterSeason++;
1310 if (buildCounterSeason < 3) { 1310 if (buildCounterSeason < 3) {
1311 o.end = buildMonthDay(); 1311 o.end = buildMonthDay();
1312 o.prorations = buildUnnamed3020(); 1312 o.prorations = buildUnnamed2808();
1313 o.start = buildMonthDay(); 1313 o.start = buildMonthDay();
1314 } 1314 }
1315 buildCounterSeason--; 1315 buildCounterSeason--;
1316 return o; 1316 return o;
1317 } 1317 }
1318 1318
1319 checkSeason(api.Season o) { 1319 checkSeason(api.Season o) {
1320 buildCounterSeason++; 1320 buildCounterSeason++;
1321 if (buildCounterSeason < 3) { 1321 if (buildCounterSeason < 3) {
1322 checkMonthDay(o.end); 1322 checkMonthDay(o.end);
1323 checkUnnamed3020(o.prorations); 1323 checkUnnamed2808(o.prorations);
1324 checkMonthDay(o.start); 1324 checkMonthDay(o.start);
1325 } 1325 }
1326 buildCounterSeason--; 1326 buildCounterSeason--;
1327 } 1327 }
1328 1328
1329 core.int buildCounterSubscriptionDeferralInfo = 0; 1329 core.int buildCounterSubscriptionDeferralInfo = 0;
1330 buildSubscriptionDeferralInfo() { 1330 buildSubscriptionDeferralInfo() {
1331 var o = new api.SubscriptionDeferralInfo(); 1331 var o = new api.SubscriptionDeferralInfo();
1332 buildCounterSubscriptionDeferralInfo++; 1332 buildCounterSubscriptionDeferralInfo++;
1333 if (buildCounterSubscriptionDeferralInfo < 3) { 1333 if (buildCounterSubscriptionDeferralInfo < 3) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 } 1415 }
1416 1416
1417 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o ) { 1417 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o ) {
1418 buildCounterSubscriptionPurchasesDeferResponse++; 1418 buildCounterSubscriptionPurchasesDeferResponse++;
1419 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { 1419 if (buildCounterSubscriptionPurchasesDeferResponse < 3) {
1420 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); 1420 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo'));
1421 } 1421 }
1422 buildCounterSubscriptionPurchasesDeferResponse--; 1422 buildCounterSubscriptionPurchasesDeferResponse--;
1423 } 1423 }
1424 1424
1425 buildUnnamed3021() { 1425 buildUnnamed2809() {
1426 var o = new core.List<core.String>(); 1426 var o = new core.List<core.String>();
1427 o.add("foo"); 1427 o.add("foo");
1428 o.add("foo"); 1428 o.add("foo");
1429 return o; 1429 return o;
1430 } 1430 }
1431 1431
1432 checkUnnamed3021(core.List<core.String> o) { 1432 checkUnnamed2809(core.List<core.String> o) {
1433 unittest.expect(o, unittest.hasLength(2)); 1433 unittest.expect(o, unittest.hasLength(2));
1434 unittest.expect(o[0], unittest.equals('foo')); 1434 unittest.expect(o[0], unittest.equals('foo'));
1435 unittest.expect(o[1], unittest.equals('foo')); 1435 unittest.expect(o[1], unittest.equals('foo'));
1436 } 1436 }
1437 1437
1438 buildUnnamed3022() { 1438 buildUnnamed2810() {
1439 var o = new core.List<core.String>(); 1439 var o = new core.List<core.String>();
1440 o.add("foo"); 1440 o.add("foo");
1441 o.add("foo"); 1441 o.add("foo");
1442 return o; 1442 return o;
1443 } 1443 }
1444 1444
1445 checkUnnamed3022(core.List<core.String> o) { 1445 checkUnnamed2810(core.List<core.String> o) {
1446 unittest.expect(o, unittest.hasLength(2)); 1446 unittest.expect(o, unittest.hasLength(2));
1447 unittest.expect(o[0], unittest.equals('foo')); 1447 unittest.expect(o[0], unittest.equals('foo'));
1448 unittest.expect(o[1], unittest.equals('foo')); 1448 unittest.expect(o[1], unittest.equals('foo'));
1449 } 1449 }
1450 1450
1451 core.int buildCounterTesters = 0; 1451 core.int buildCounterTesters = 0;
1452 buildTesters() { 1452 buildTesters() {
1453 var o = new api.Testers(); 1453 var o = new api.Testers();
1454 buildCounterTesters++; 1454 buildCounterTesters++;
1455 if (buildCounterTesters < 3) { 1455 if (buildCounterTesters < 3) {
1456 o.googleGroups = buildUnnamed3021(); 1456 o.googleGroups = buildUnnamed2809();
1457 o.googlePlusCommunities = buildUnnamed3022(); 1457 o.googlePlusCommunities = buildUnnamed2810();
1458 } 1458 }
1459 buildCounterTesters--; 1459 buildCounterTesters--;
1460 return o; 1460 return o;
1461 } 1461 }
1462 1462
1463 checkTesters(api.Testers o) { 1463 checkTesters(api.Testers o) {
1464 buildCounterTesters++; 1464 buildCounterTesters++;
1465 if (buildCounterTesters < 3) { 1465 if (buildCounterTesters < 3) {
1466 checkUnnamed3021(o.googleGroups); 1466 checkUnnamed2809(o.googleGroups);
1467 checkUnnamed3022(o.googlePlusCommunities); 1467 checkUnnamed2810(o.googlePlusCommunities);
1468 } 1468 }
1469 buildCounterTesters--; 1469 buildCounterTesters--;
1470 } 1470 }
1471 1471
1472 core.int buildCounterTimestamp = 0; 1472 core.int buildCounterTimestamp = 0;
1473 buildTimestamp() { 1473 buildTimestamp() {
1474 var o = new api.Timestamp(); 1474 var o = new api.Timestamp();
1475 buildCounterTimestamp++; 1475 buildCounterTimestamp++;
1476 if (buildCounterTimestamp < 3) { 1476 if (buildCounterTimestamp < 3) {
1477 o.nanos = 42; 1477 o.nanos = 42;
(...skipping 26 matching lines...) Expand all
1504 1504
1505 checkTokenPagination(api.TokenPagination o) { 1505 checkTokenPagination(api.TokenPagination o) {
1506 buildCounterTokenPagination++; 1506 buildCounterTokenPagination++;
1507 if (buildCounterTokenPagination < 3) { 1507 if (buildCounterTokenPagination < 3) {
1508 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1508 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1509 unittest.expect(o.previousPageToken, unittest.equals('foo')); 1509 unittest.expect(o.previousPageToken, unittest.equals('foo'));
1510 } 1510 }
1511 buildCounterTokenPagination--; 1511 buildCounterTokenPagination--;
1512 } 1512 }
1513 1513
1514 buildUnnamed3023() { 1514 buildUnnamed2811() {
1515 var o = new core.List<core.int>(); 1515 var o = new core.List<core.int>();
1516 o.add(42); 1516 o.add(42);
1517 o.add(42); 1517 o.add(42);
1518 return o; 1518 return o;
1519 } 1519 }
1520 1520
1521 checkUnnamed3023(core.List<core.int> o) { 1521 checkUnnamed2811(core.List<core.int> o) {
1522 unittest.expect(o, unittest.hasLength(2)); 1522 unittest.expect(o, unittest.hasLength(2));
1523 unittest.expect(o[0], unittest.equals(42)); 1523 unittest.expect(o[0], unittest.equals(42));
1524 unittest.expect(o[1], unittest.equals(42)); 1524 unittest.expect(o[1], unittest.equals(42));
1525 } 1525 }
1526 1526
1527 core.int buildCounterTrack = 0; 1527 core.int buildCounterTrack = 0;
1528 buildTrack() { 1528 buildTrack() {
1529 var o = new api.Track(); 1529 var o = new api.Track();
1530 buildCounterTrack++; 1530 buildCounterTrack++;
1531 if (buildCounterTrack < 3) { 1531 if (buildCounterTrack < 3) {
1532 o.track = "foo"; 1532 o.track = "foo";
1533 o.userFraction = 42.0; 1533 o.userFraction = 42.0;
1534 o.versionCodes = buildUnnamed3023(); 1534 o.versionCodes = buildUnnamed2811();
1535 } 1535 }
1536 buildCounterTrack--; 1536 buildCounterTrack--;
1537 return o; 1537 return o;
1538 } 1538 }
1539 1539
1540 checkTrack(api.Track o) { 1540 checkTrack(api.Track o) {
1541 buildCounterTrack++; 1541 buildCounterTrack++;
1542 if (buildCounterTrack < 3) { 1542 if (buildCounterTrack < 3) {
1543 unittest.expect(o.track, unittest.equals('foo')); 1543 unittest.expect(o.track, unittest.equals('foo'));
1544 unittest.expect(o.userFraction, unittest.equals(42.0)); 1544 unittest.expect(o.userFraction, unittest.equals(42.0));
1545 checkUnnamed3023(o.versionCodes); 1545 checkUnnamed2811(o.versionCodes);
1546 } 1546 }
1547 buildCounterTrack--; 1547 buildCounterTrack--;
1548 } 1548 }
1549 1549
1550 buildUnnamed3024() { 1550 buildUnnamed2812() {
1551 var o = new core.List<api.Track>(); 1551 var o = new core.List<api.Track>();
1552 o.add(buildTrack()); 1552 o.add(buildTrack());
1553 o.add(buildTrack()); 1553 o.add(buildTrack());
1554 return o; 1554 return o;
1555 } 1555 }
1556 1556
1557 checkUnnamed3024(core.List<api.Track> o) { 1557 checkUnnamed2812(core.List<api.Track> o) {
1558 unittest.expect(o, unittest.hasLength(2)); 1558 unittest.expect(o, unittest.hasLength(2));
1559 checkTrack(o[0]); 1559 checkTrack(o[0]);
1560 checkTrack(o[1]); 1560 checkTrack(o[1]);
1561 } 1561 }
1562 1562
1563 core.int buildCounterTracksListResponse = 0; 1563 core.int buildCounterTracksListResponse = 0;
1564 buildTracksListResponse() { 1564 buildTracksListResponse() {
1565 var o = new api.TracksListResponse(); 1565 var o = new api.TracksListResponse();
1566 buildCounterTracksListResponse++; 1566 buildCounterTracksListResponse++;
1567 if (buildCounterTracksListResponse < 3) { 1567 if (buildCounterTracksListResponse < 3) {
1568 o.kind = "foo"; 1568 o.kind = "foo";
1569 o.tracks = buildUnnamed3024(); 1569 o.tracks = buildUnnamed2812();
1570 } 1570 }
1571 buildCounterTracksListResponse--; 1571 buildCounterTracksListResponse--;
1572 return o; 1572 return o;
1573 } 1573 }
1574 1574
1575 checkTracksListResponse(api.TracksListResponse o) { 1575 checkTracksListResponse(api.TracksListResponse o) {
1576 buildCounterTracksListResponse++; 1576 buildCounterTracksListResponse++;
1577 if (buildCounterTracksListResponse < 3) { 1577 if (buildCounterTracksListResponse < 3) {
1578 unittest.expect(o.kind, unittest.equals('foo')); 1578 unittest.expect(o.kind, unittest.equals('foo'));
1579 checkUnnamed3024(o.tracks); 1579 checkUnnamed2812(o.tracks);
1580 } 1580 }
1581 buildCounterTracksListResponse--; 1581 buildCounterTracksListResponse--;
1582 } 1582 }
1583 1583
1584 core.int buildCounterUserComment = 0; 1584 core.int buildCounterUserComment = 0;
1585 buildUserComment() { 1585 buildUserComment() {
1586 var o = new api.UserComment(); 1586 var o = new api.UserComment();
1587 buildCounterUserComment++; 1587 buildCounterUserComment++;
1588 if (buildCounterUserComment < 3) { 1588 if (buildCounterUserComment < 3) {
1589 o.androidOsVersion = 42; 1589 o.androidOsVersion = 42;
(...skipping 3138 matching lines...) Expand 10 before | Expand all | Expand 10 after
4728 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect Async(((api.ReviewsReplyResponse response) { 4728 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect Async(((api.ReviewsReplyResponse response) {
4729 checkReviewsReplyResponse(response); 4729 checkReviewsReplyResponse(response);
4730 }))); 4730 })));
4731 }); 4731 });
4732 4732
4733 }); 4733 });
4734 4734
4735 4735
4736 } 4736 }
4737 4737
OLDNEW
« no previous file with comments | « generated/googleapis/test/androidenterprise/v1_test.dart ('k') | generated/googleapis/test/appengine/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698