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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 } | 71 } |
72 buildCounterApk--; | 72 buildCounterApk--; |
73 } | 73 } |
74 | 74 |
75 core.int buildCounterApkBinary = 0; | 75 core.int buildCounterApkBinary = 0; |
76 buildApkBinary() { | 76 buildApkBinary() { |
77 var o = new api.ApkBinary(); | 77 var o = new api.ApkBinary(); |
78 buildCounterApkBinary++; | 78 buildCounterApkBinary++; |
79 if (buildCounterApkBinary < 3) { | 79 if (buildCounterApkBinary < 3) { |
80 o.sha1 = "foo"; | 80 o.sha1 = "foo"; |
| 81 o.sha256 = "foo"; |
81 } | 82 } |
82 buildCounterApkBinary--; | 83 buildCounterApkBinary--; |
83 return o; | 84 return o; |
84 } | 85 } |
85 | 86 |
86 checkApkBinary(api.ApkBinary o) { | 87 checkApkBinary(api.ApkBinary o) { |
87 buildCounterApkBinary++; | 88 buildCounterApkBinary++; |
88 if (buildCounterApkBinary < 3) { | 89 if (buildCounterApkBinary < 3) { |
89 unittest.expect(o.sha1, unittest.equals('foo')); | 90 unittest.expect(o.sha1, unittest.equals('foo')); |
| 91 unittest.expect(o.sha256, unittest.equals('foo')); |
90 } | 92 } |
91 buildCounterApkBinary--; | 93 buildCounterApkBinary--; |
92 } | 94 } |
93 | 95 |
94 core.int buildCounterApkListing = 0; | 96 core.int buildCounterApkListing = 0; |
95 buildApkListing() { | 97 buildApkListing() { |
96 var o = new api.ApkListing(); | 98 var o = new api.ApkListing(); |
97 buildCounterApkListing++; | 99 buildCounterApkListing++; |
98 if (buildCounterApkListing < 3) { | 100 if (buildCounterApkListing < 3) { |
99 o.language = "foo"; | 101 o.language = "foo"; |
100 o.recentChanges = "foo"; | 102 o.recentChanges = "foo"; |
101 } | 103 } |
102 buildCounterApkListing--; | 104 buildCounterApkListing--; |
103 return o; | 105 return o; |
104 } | 106 } |
105 | 107 |
106 checkApkListing(api.ApkListing o) { | 108 checkApkListing(api.ApkListing o) { |
107 buildCounterApkListing++; | 109 buildCounterApkListing++; |
108 if (buildCounterApkListing < 3) { | 110 if (buildCounterApkListing < 3) { |
109 unittest.expect(o.language, unittest.equals('foo')); | 111 unittest.expect(o.language, unittest.equals('foo')); |
110 unittest.expect(o.recentChanges, unittest.equals('foo')); | 112 unittest.expect(o.recentChanges, unittest.equals('foo')); |
111 } | 113 } |
112 buildCounterApkListing--; | 114 buildCounterApkListing--; |
113 } | 115 } |
114 | 116 |
115 buildUnnamed2505() { | 117 buildUnnamed2526() { |
116 var o = new core.List<api.ApkListing>(); | 118 var o = new core.List<api.ApkListing>(); |
117 o.add(buildApkListing()); | 119 o.add(buildApkListing()); |
118 o.add(buildApkListing()); | 120 o.add(buildApkListing()); |
119 return o; | 121 return o; |
120 } | 122 } |
121 | 123 |
122 checkUnnamed2505(core.List<api.ApkListing> o) { | 124 checkUnnamed2526(core.List<api.ApkListing> o) { |
123 unittest.expect(o, unittest.hasLength(2)); | 125 unittest.expect(o, unittest.hasLength(2)); |
124 checkApkListing(o[0]); | 126 checkApkListing(o[0]); |
125 checkApkListing(o[1]); | 127 checkApkListing(o[1]); |
126 } | 128 } |
127 | 129 |
128 core.int buildCounterApkListingsListResponse = 0; | 130 core.int buildCounterApkListingsListResponse = 0; |
129 buildApkListingsListResponse() { | 131 buildApkListingsListResponse() { |
130 var o = new api.ApkListingsListResponse(); | 132 var o = new api.ApkListingsListResponse(); |
131 buildCounterApkListingsListResponse++; | 133 buildCounterApkListingsListResponse++; |
132 if (buildCounterApkListingsListResponse < 3) { | 134 if (buildCounterApkListingsListResponse < 3) { |
133 o.kind = "foo"; | 135 o.kind = "foo"; |
134 o.listings = buildUnnamed2505(); | 136 o.listings = buildUnnamed2526(); |
135 } | 137 } |
136 buildCounterApkListingsListResponse--; | 138 buildCounterApkListingsListResponse--; |
137 return o; | 139 return o; |
138 } | 140 } |
139 | 141 |
140 checkApkListingsListResponse(api.ApkListingsListResponse o) { | 142 checkApkListingsListResponse(api.ApkListingsListResponse o) { |
141 buildCounterApkListingsListResponse++; | 143 buildCounterApkListingsListResponse++; |
142 if (buildCounterApkListingsListResponse < 3) { | 144 if (buildCounterApkListingsListResponse < 3) { |
143 unittest.expect(o.kind, unittest.equals('foo')); | 145 unittest.expect(o.kind, unittest.equals('foo')); |
144 checkUnnamed2505(o.listings); | 146 checkUnnamed2526(o.listings); |
145 } | 147 } |
146 buildCounterApkListingsListResponse--; | 148 buildCounterApkListingsListResponse--; |
147 } | 149 } |
148 | 150 |
149 core.int buildCounterApksAddExternallyHostedRequest = 0; | 151 core.int buildCounterApksAddExternallyHostedRequest = 0; |
150 buildApksAddExternallyHostedRequest() { | 152 buildApksAddExternallyHostedRequest() { |
151 var o = new api.ApksAddExternallyHostedRequest(); | 153 var o = new api.ApksAddExternallyHostedRequest(); |
152 buildCounterApksAddExternallyHostedRequest++; | 154 buildCounterApksAddExternallyHostedRequest++; |
153 if (buildCounterApksAddExternallyHostedRequest < 3) { | 155 if (buildCounterApksAddExternallyHostedRequest < 3) { |
154 o.externallyHostedApk = buildExternallyHostedApk(); | 156 o.externallyHostedApk = buildExternallyHostedApk(); |
(...skipping 22 matching lines...) Expand all Loading... |
177 } | 179 } |
178 | 180 |
179 checkApksAddExternallyHostedResponse(api.ApksAddExternallyHostedResponse o) { | 181 checkApksAddExternallyHostedResponse(api.ApksAddExternallyHostedResponse o) { |
180 buildCounterApksAddExternallyHostedResponse++; | 182 buildCounterApksAddExternallyHostedResponse++; |
181 if (buildCounterApksAddExternallyHostedResponse < 3) { | 183 if (buildCounterApksAddExternallyHostedResponse < 3) { |
182 checkExternallyHostedApk(o.externallyHostedApk); | 184 checkExternallyHostedApk(o.externallyHostedApk); |
183 } | 185 } |
184 buildCounterApksAddExternallyHostedResponse--; | 186 buildCounterApksAddExternallyHostedResponse--; |
185 } | 187 } |
186 | 188 |
187 buildUnnamed2506() { | 189 buildUnnamed2527() { |
188 var o = new core.List<api.Apk>(); | 190 var o = new core.List<api.Apk>(); |
189 o.add(buildApk()); | 191 o.add(buildApk()); |
190 o.add(buildApk()); | 192 o.add(buildApk()); |
191 return o; | 193 return o; |
192 } | 194 } |
193 | 195 |
194 checkUnnamed2506(core.List<api.Apk> o) { | 196 checkUnnamed2527(core.List<api.Apk> o) { |
195 unittest.expect(o, unittest.hasLength(2)); | 197 unittest.expect(o, unittest.hasLength(2)); |
196 checkApk(o[0]); | 198 checkApk(o[0]); |
197 checkApk(o[1]); | 199 checkApk(o[1]); |
198 } | 200 } |
199 | 201 |
200 core.int buildCounterApksListResponse = 0; | 202 core.int buildCounterApksListResponse = 0; |
201 buildApksListResponse() { | 203 buildApksListResponse() { |
202 var o = new api.ApksListResponse(); | 204 var o = new api.ApksListResponse(); |
203 buildCounterApksListResponse++; | 205 buildCounterApksListResponse++; |
204 if (buildCounterApksListResponse < 3) { | 206 if (buildCounterApksListResponse < 3) { |
205 o.apks = buildUnnamed2506(); | 207 o.apks = buildUnnamed2527(); |
206 o.kind = "foo"; | 208 o.kind = "foo"; |
207 } | 209 } |
208 buildCounterApksListResponse--; | 210 buildCounterApksListResponse--; |
209 return o; | 211 return o; |
210 } | 212 } |
211 | 213 |
212 checkApksListResponse(api.ApksListResponse o) { | 214 checkApksListResponse(api.ApksListResponse o) { |
213 buildCounterApksListResponse++; | 215 buildCounterApksListResponse++; |
214 if (buildCounterApksListResponse < 3) { | 216 if (buildCounterApksListResponse < 3) { |
215 checkUnnamed2506(o.apks); | 217 checkUnnamed2527(o.apks); |
216 unittest.expect(o.kind, unittest.equals('foo')); | 218 unittest.expect(o.kind, unittest.equals('foo')); |
217 } | 219 } |
218 buildCounterApksListResponse--; | 220 buildCounterApksListResponse--; |
219 } | 221 } |
220 | 222 |
221 core.int buildCounterAppDetails = 0; | 223 core.int buildCounterAppDetails = 0; |
222 buildAppDetails() { | 224 buildAppDetails() { |
223 var o = new api.AppDetails(); | 225 var o = new api.AppDetails(); |
224 buildCounterAppDetails++; | 226 buildCounterAppDetails++; |
225 if (buildCounterAppDetails < 3) { | 227 if (buildCounterAppDetails < 3) { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 buildCounterEntitlement++; | 403 buildCounterEntitlement++; |
402 if (buildCounterEntitlement < 3) { | 404 if (buildCounterEntitlement < 3) { |
403 unittest.expect(o.kind, unittest.equals('foo')); | 405 unittest.expect(o.kind, unittest.equals('foo')); |
404 unittest.expect(o.productId, unittest.equals('foo')); | 406 unittest.expect(o.productId, unittest.equals('foo')); |
405 unittest.expect(o.productType, unittest.equals('foo')); | 407 unittest.expect(o.productType, unittest.equals('foo')); |
406 unittest.expect(o.token, unittest.equals('foo')); | 408 unittest.expect(o.token, unittest.equals('foo')); |
407 } | 409 } |
408 buildCounterEntitlement--; | 410 buildCounterEntitlement--; |
409 } | 411 } |
410 | 412 |
411 buildUnnamed2507() { | 413 buildUnnamed2528() { |
412 var o = new core.List<api.Entitlement>(); | 414 var o = new core.List<api.Entitlement>(); |
413 o.add(buildEntitlement()); | 415 o.add(buildEntitlement()); |
414 o.add(buildEntitlement()); | 416 o.add(buildEntitlement()); |
415 return o; | 417 return o; |
416 } | 418 } |
417 | 419 |
418 checkUnnamed2507(core.List<api.Entitlement> o) { | 420 checkUnnamed2528(core.List<api.Entitlement> o) { |
419 unittest.expect(o, unittest.hasLength(2)); | 421 unittest.expect(o, unittest.hasLength(2)); |
420 checkEntitlement(o[0]); | 422 checkEntitlement(o[0]); |
421 checkEntitlement(o[1]); | 423 checkEntitlement(o[1]); |
422 } | 424 } |
423 | 425 |
424 core.int buildCounterEntitlementsListResponse = 0; | 426 core.int buildCounterEntitlementsListResponse = 0; |
425 buildEntitlementsListResponse() { | 427 buildEntitlementsListResponse() { |
426 var o = new api.EntitlementsListResponse(); | 428 var o = new api.EntitlementsListResponse(); |
427 buildCounterEntitlementsListResponse++; | 429 buildCounterEntitlementsListResponse++; |
428 if (buildCounterEntitlementsListResponse < 3) { | 430 if (buildCounterEntitlementsListResponse < 3) { |
429 o.pageInfo = buildPageInfo(); | 431 o.pageInfo = buildPageInfo(); |
430 o.resources = buildUnnamed2507(); | 432 o.resources = buildUnnamed2528(); |
431 o.tokenPagination = buildTokenPagination(); | 433 o.tokenPagination = buildTokenPagination(); |
432 } | 434 } |
433 buildCounterEntitlementsListResponse--; | 435 buildCounterEntitlementsListResponse--; |
434 return o; | 436 return o; |
435 } | 437 } |
436 | 438 |
437 checkEntitlementsListResponse(api.EntitlementsListResponse o) { | 439 checkEntitlementsListResponse(api.EntitlementsListResponse o) { |
438 buildCounterEntitlementsListResponse++; | 440 buildCounterEntitlementsListResponse++; |
439 if (buildCounterEntitlementsListResponse < 3) { | 441 if (buildCounterEntitlementsListResponse < 3) { |
440 checkPageInfo(o.pageInfo); | 442 checkPageInfo(o.pageInfo); |
441 checkUnnamed2507(o.resources); | 443 checkUnnamed2528(o.resources); |
442 checkTokenPagination(o.tokenPagination); | 444 checkTokenPagination(o.tokenPagination); |
443 } | 445 } |
444 buildCounterEntitlementsListResponse--; | 446 buildCounterEntitlementsListResponse--; |
445 } | 447 } |
446 | 448 |
447 core.int buildCounterExpansionFile = 0; | 449 core.int buildCounterExpansionFile = 0; |
448 buildExpansionFile() { | 450 buildExpansionFile() { |
449 var o = new api.ExpansionFile(); | 451 var o = new api.ExpansionFile(); |
450 buildCounterExpansionFile++; | 452 buildCounterExpansionFile++; |
451 if (buildCounterExpansionFile < 3) { | 453 if (buildCounterExpansionFile < 3) { |
(...skipping 25 matching lines...) Expand all Loading... |
477 } | 479 } |
478 | 480 |
479 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { | 481 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { |
480 buildCounterExpansionFilesUploadResponse++; | 482 buildCounterExpansionFilesUploadResponse++; |
481 if (buildCounterExpansionFilesUploadResponse < 3) { | 483 if (buildCounterExpansionFilesUploadResponse < 3) { |
482 checkExpansionFile(o.expansionFile); | 484 checkExpansionFile(o.expansionFile); |
483 } | 485 } |
484 buildCounterExpansionFilesUploadResponse--; | 486 buildCounterExpansionFilesUploadResponse--; |
485 } | 487 } |
486 | 488 |
487 buildUnnamed2508() { | 489 buildUnnamed2529() { |
488 var o = new core.List<core.String>(); | 490 var o = new core.List<core.String>(); |
489 o.add("foo"); | 491 o.add("foo"); |
490 o.add("foo"); | 492 o.add("foo"); |
491 return o; | 493 return o; |
492 } | 494 } |
493 | 495 |
494 checkUnnamed2508(core.List<core.String> o) { | 496 checkUnnamed2529(core.List<core.String> o) { |
495 unittest.expect(o, unittest.hasLength(2)); | 497 unittest.expect(o, unittest.hasLength(2)); |
496 unittest.expect(o[0], unittest.equals('foo')); | 498 unittest.expect(o[0], unittest.equals('foo')); |
497 unittest.expect(o[1], unittest.equals('foo')); | 499 unittest.expect(o[1], unittest.equals('foo')); |
498 } | 500 } |
499 | 501 |
500 buildUnnamed2509() { | 502 buildUnnamed2530() { |
501 var o = new core.List<core.String>(); | 503 var o = new core.List<core.String>(); |
502 o.add("foo"); | 504 o.add("foo"); |
503 o.add("foo"); | 505 o.add("foo"); |
504 return o; | 506 return o; |
505 } | 507 } |
506 | 508 |
507 checkUnnamed2509(core.List<core.String> o) { | 509 checkUnnamed2530(core.List<core.String> o) { |
508 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
509 unittest.expect(o[0], unittest.equals('foo')); | 511 unittest.expect(o[0], unittest.equals('foo')); |
510 unittest.expect(o[1], unittest.equals('foo')); | 512 unittest.expect(o[1], unittest.equals('foo')); |
511 } | 513 } |
512 | 514 |
513 buildUnnamed2510() { | 515 buildUnnamed2531() { |
514 var o = new core.List<core.String>(); | 516 var o = new core.List<core.String>(); |
515 o.add("foo"); | 517 o.add("foo"); |
516 o.add("foo"); | 518 o.add("foo"); |
517 return o; | 519 return o; |
518 } | 520 } |
519 | 521 |
520 checkUnnamed2510(core.List<core.String> o) { | 522 checkUnnamed2531(core.List<core.String> o) { |
521 unittest.expect(o, unittest.hasLength(2)); | 523 unittest.expect(o, unittest.hasLength(2)); |
522 unittest.expect(o[0], unittest.equals('foo')); | 524 unittest.expect(o[0], unittest.equals('foo')); |
523 unittest.expect(o[1], unittest.equals('foo')); | 525 unittest.expect(o[1], unittest.equals('foo')); |
524 } | 526 } |
525 | 527 |
526 buildUnnamed2511() { | 528 buildUnnamed2532() { |
527 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); | 529 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); |
528 o.add(buildExternallyHostedApkUsesPermission()); | 530 o.add(buildExternallyHostedApkUsesPermission()); |
529 o.add(buildExternallyHostedApkUsesPermission()); | 531 o.add(buildExternallyHostedApkUsesPermission()); |
530 return o; | 532 return o; |
531 } | 533 } |
532 | 534 |
533 checkUnnamed2511(core.List<api.ExternallyHostedApkUsesPermission> o) { | 535 checkUnnamed2532(core.List<api.ExternallyHostedApkUsesPermission> o) { |
534 unittest.expect(o, unittest.hasLength(2)); | 536 unittest.expect(o, unittest.hasLength(2)); |
535 checkExternallyHostedApkUsesPermission(o[0]); | 537 checkExternallyHostedApkUsesPermission(o[0]); |
536 checkExternallyHostedApkUsesPermission(o[1]); | 538 checkExternallyHostedApkUsesPermission(o[1]); |
537 } | 539 } |
538 | 540 |
539 core.int buildCounterExternallyHostedApk = 0; | 541 core.int buildCounterExternallyHostedApk = 0; |
540 buildExternallyHostedApk() { | 542 buildExternallyHostedApk() { |
541 var o = new api.ExternallyHostedApk(); | 543 var o = new api.ExternallyHostedApk(); |
542 buildCounterExternallyHostedApk++; | 544 buildCounterExternallyHostedApk++; |
543 if (buildCounterExternallyHostedApk < 3) { | 545 if (buildCounterExternallyHostedApk < 3) { |
544 o.applicationLabel = "foo"; | 546 o.applicationLabel = "foo"; |
545 o.certificateBase64s = buildUnnamed2508(); | 547 o.certificateBase64s = buildUnnamed2529(); |
546 o.externallyHostedUrl = "foo"; | 548 o.externallyHostedUrl = "foo"; |
547 o.fileSha1Base64 = "foo"; | 549 o.fileSha1Base64 = "foo"; |
548 o.fileSha256Base64 = "foo"; | 550 o.fileSha256Base64 = "foo"; |
549 o.fileSize = "foo"; | 551 o.fileSize = "foo"; |
550 o.iconBase64 = "foo"; | 552 o.iconBase64 = "foo"; |
551 o.maximumSdk = 42; | 553 o.maximumSdk = 42; |
552 o.minimumSdk = 42; | 554 o.minimumSdk = 42; |
553 o.nativeCodes = buildUnnamed2509(); | 555 o.nativeCodes = buildUnnamed2530(); |
554 o.packageName = "foo"; | 556 o.packageName = "foo"; |
555 o.usesFeatures = buildUnnamed2510(); | 557 o.usesFeatures = buildUnnamed2531(); |
556 o.usesPermissions = buildUnnamed2511(); | 558 o.usesPermissions = buildUnnamed2532(); |
557 o.versionCode = 42; | 559 o.versionCode = 42; |
558 o.versionName = "foo"; | 560 o.versionName = "foo"; |
559 } | 561 } |
560 buildCounterExternallyHostedApk--; | 562 buildCounterExternallyHostedApk--; |
561 return o; | 563 return o; |
562 } | 564 } |
563 | 565 |
564 checkExternallyHostedApk(api.ExternallyHostedApk o) { | 566 checkExternallyHostedApk(api.ExternallyHostedApk o) { |
565 buildCounterExternallyHostedApk++; | 567 buildCounterExternallyHostedApk++; |
566 if (buildCounterExternallyHostedApk < 3) { | 568 if (buildCounterExternallyHostedApk < 3) { |
567 unittest.expect(o.applicationLabel, unittest.equals('foo')); | 569 unittest.expect(o.applicationLabel, unittest.equals('foo')); |
568 checkUnnamed2508(o.certificateBase64s); | 570 checkUnnamed2529(o.certificateBase64s); |
569 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); | 571 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); |
570 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); | 572 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); |
571 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); | 573 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); |
572 unittest.expect(o.fileSize, unittest.equals('foo')); | 574 unittest.expect(o.fileSize, unittest.equals('foo')); |
573 unittest.expect(o.iconBase64, unittest.equals('foo')); | 575 unittest.expect(o.iconBase64, unittest.equals('foo')); |
574 unittest.expect(o.maximumSdk, unittest.equals(42)); | 576 unittest.expect(o.maximumSdk, unittest.equals(42)); |
575 unittest.expect(o.minimumSdk, unittest.equals(42)); | 577 unittest.expect(o.minimumSdk, unittest.equals(42)); |
576 checkUnnamed2509(o.nativeCodes); | 578 checkUnnamed2530(o.nativeCodes); |
577 unittest.expect(o.packageName, unittest.equals('foo')); | 579 unittest.expect(o.packageName, unittest.equals('foo')); |
578 checkUnnamed2510(o.usesFeatures); | 580 checkUnnamed2531(o.usesFeatures); |
579 checkUnnamed2511(o.usesPermissions); | 581 checkUnnamed2532(o.usesPermissions); |
580 unittest.expect(o.versionCode, unittest.equals(42)); | 582 unittest.expect(o.versionCode, unittest.equals(42)); |
581 unittest.expect(o.versionName, unittest.equals('foo')); | 583 unittest.expect(o.versionName, unittest.equals('foo')); |
582 } | 584 } |
583 buildCounterExternallyHostedApk--; | 585 buildCounterExternallyHostedApk--; |
584 } | 586 } |
585 | 587 |
586 core.int buildCounterExternallyHostedApkUsesPermission = 0; | 588 core.int buildCounterExternallyHostedApkUsesPermission = 0; |
587 buildExternallyHostedApkUsesPermission() { | 589 buildExternallyHostedApkUsesPermission() { |
588 var o = new api.ExternallyHostedApkUsesPermission(); | 590 var o = new api.ExternallyHostedApkUsesPermission(); |
589 buildCounterExternallyHostedApkUsesPermission++; | 591 buildCounterExternallyHostedApkUsesPermission++; |
(...skipping 30 matching lines...) Expand all Loading... |
620 checkImage(api.Image o) { | 622 checkImage(api.Image o) { |
621 buildCounterImage++; | 623 buildCounterImage++; |
622 if (buildCounterImage < 3) { | 624 if (buildCounterImage < 3) { |
623 unittest.expect(o.id, unittest.equals('foo')); | 625 unittest.expect(o.id, unittest.equals('foo')); |
624 unittest.expect(o.sha1, unittest.equals('foo')); | 626 unittest.expect(o.sha1, unittest.equals('foo')); |
625 unittest.expect(o.url, unittest.equals('foo')); | 627 unittest.expect(o.url, unittest.equals('foo')); |
626 } | 628 } |
627 buildCounterImage--; | 629 buildCounterImage--; |
628 } | 630 } |
629 | 631 |
630 buildUnnamed2512() { | 632 buildUnnamed2533() { |
631 var o = new core.List<api.Image>(); | 633 var o = new core.List<api.Image>(); |
632 o.add(buildImage()); | 634 o.add(buildImage()); |
633 o.add(buildImage()); | 635 o.add(buildImage()); |
634 return o; | 636 return o; |
635 } | 637 } |
636 | 638 |
637 checkUnnamed2512(core.List<api.Image> o) { | 639 checkUnnamed2533(core.List<api.Image> o) { |
638 unittest.expect(o, unittest.hasLength(2)); | 640 unittest.expect(o, unittest.hasLength(2)); |
639 checkImage(o[0]); | 641 checkImage(o[0]); |
640 checkImage(o[1]); | 642 checkImage(o[1]); |
641 } | 643 } |
642 | 644 |
643 core.int buildCounterImagesDeleteAllResponse = 0; | 645 core.int buildCounterImagesDeleteAllResponse = 0; |
644 buildImagesDeleteAllResponse() { | 646 buildImagesDeleteAllResponse() { |
645 var o = new api.ImagesDeleteAllResponse(); | 647 var o = new api.ImagesDeleteAllResponse(); |
646 buildCounterImagesDeleteAllResponse++; | 648 buildCounterImagesDeleteAllResponse++; |
647 if (buildCounterImagesDeleteAllResponse < 3) { | 649 if (buildCounterImagesDeleteAllResponse < 3) { |
648 o.deleted = buildUnnamed2512(); | 650 o.deleted = buildUnnamed2533(); |
649 } | 651 } |
650 buildCounterImagesDeleteAllResponse--; | 652 buildCounterImagesDeleteAllResponse--; |
651 return o; | 653 return o; |
652 } | 654 } |
653 | 655 |
654 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { | 656 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { |
655 buildCounterImagesDeleteAllResponse++; | 657 buildCounterImagesDeleteAllResponse++; |
656 if (buildCounterImagesDeleteAllResponse < 3) { | 658 if (buildCounterImagesDeleteAllResponse < 3) { |
657 checkUnnamed2512(o.deleted); | 659 checkUnnamed2533(o.deleted); |
658 } | 660 } |
659 buildCounterImagesDeleteAllResponse--; | 661 buildCounterImagesDeleteAllResponse--; |
660 } | 662 } |
661 | 663 |
662 buildUnnamed2513() { | 664 buildUnnamed2534() { |
663 var o = new core.List<api.Image>(); | 665 var o = new core.List<api.Image>(); |
664 o.add(buildImage()); | 666 o.add(buildImage()); |
665 o.add(buildImage()); | 667 o.add(buildImage()); |
666 return o; | 668 return o; |
667 } | 669 } |
668 | 670 |
669 checkUnnamed2513(core.List<api.Image> o) { | 671 checkUnnamed2534(core.List<api.Image> o) { |
670 unittest.expect(o, unittest.hasLength(2)); | 672 unittest.expect(o, unittest.hasLength(2)); |
671 checkImage(o[0]); | 673 checkImage(o[0]); |
672 checkImage(o[1]); | 674 checkImage(o[1]); |
673 } | 675 } |
674 | 676 |
675 core.int buildCounterImagesListResponse = 0; | 677 core.int buildCounterImagesListResponse = 0; |
676 buildImagesListResponse() { | 678 buildImagesListResponse() { |
677 var o = new api.ImagesListResponse(); | 679 var o = new api.ImagesListResponse(); |
678 buildCounterImagesListResponse++; | 680 buildCounterImagesListResponse++; |
679 if (buildCounterImagesListResponse < 3) { | 681 if (buildCounterImagesListResponse < 3) { |
680 o.images = buildUnnamed2513(); | 682 o.images = buildUnnamed2534(); |
681 } | 683 } |
682 buildCounterImagesListResponse--; | 684 buildCounterImagesListResponse--; |
683 return o; | 685 return o; |
684 } | 686 } |
685 | 687 |
686 checkImagesListResponse(api.ImagesListResponse o) { | 688 checkImagesListResponse(api.ImagesListResponse o) { |
687 buildCounterImagesListResponse++; | 689 buildCounterImagesListResponse++; |
688 if (buildCounterImagesListResponse < 3) { | 690 if (buildCounterImagesListResponse < 3) { |
689 checkUnnamed2513(o.images); | 691 checkUnnamed2534(o.images); |
690 } | 692 } |
691 buildCounterImagesListResponse--; | 693 buildCounterImagesListResponse--; |
692 } | 694 } |
693 | 695 |
694 core.int buildCounterImagesUploadResponse = 0; | 696 core.int buildCounterImagesUploadResponse = 0; |
695 buildImagesUploadResponse() { | 697 buildImagesUploadResponse() { |
696 var o = new api.ImagesUploadResponse(); | 698 var o = new api.ImagesUploadResponse(); |
697 buildCounterImagesUploadResponse++; | 699 buildCounterImagesUploadResponse++; |
698 if (buildCounterImagesUploadResponse < 3) { | 700 if (buildCounterImagesUploadResponse < 3) { |
699 o.image = buildImage(); | 701 o.image = buildImage(); |
700 } | 702 } |
701 buildCounterImagesUploadResponse--; | 703 buildCounterImagesUploadResponse--; |
702 return o; | 704 return o; |
703 } | 705 } |
704 | 706 |
705 checkImagesUploadResponse(api.ImagesUploadResponse o) { | 707 checkImagesUploadResponse(api.ImagesUploadResponse o) { |
706 buildCounterImagesUploadResponse++; | 708 buildCounterImagesUploadResponse++; |
707 if (buildCounterImagesUploadResponse < 3) { | 709 if (buildCounterImagesUploadResponse < 3) { |
708 checkImage(o.image); | 710 checkImage(o.image); |
709 } | 711 } |
710 buildCounterImagesUploadResponse--; | 712 buildCounterImagesUploadResponse--; |
711 } | 713 } |
712 | 714 |
713 buildUnnamed2514() { | 715 buildUnnamed2535() { |
714 var o = new core.Map<core.String, api.InAppProductListing>(); | 716 var o = new core.Map<core.String, api.InAppProductListing>(); |
715 o["x"] = buildInAppProductListing(); | 717 o["x"] = buildInAppProductListing(); |
716 o["y"] = buildInAppProductListing(); | 718 o["y"] = buildInAppProductListing(); |
717 return o; | 719 return o; |
718 } | 720 } |
719 | 721 |
720 checkUnnamed2514(core.Map<core.String, api.InAppProductListing> o) { | 722 checkUnnamed2535(core.Map<core.String, api.InAppProductListing> o) { |
721 unittest.expect(o, unittest.hasLength(2)); | 723 unittest.expect(o, unittest.hasLength(2)); |
722 checkInAppProductListing(o["x"]); | 724 checkInAppProductListing(o["x"]); |
723 checkInAppProductListing(o["y"]); | 725 checkInAppProductListing(o["y"]); |
724 } | 726 } |
725 | 727 |
726 buildUnnamed2515() { | 728 buildUnnamed2536() { |
727 var o = new core.Map<core.String, api.Price>(); | 729 var o = new core.Map<core.String, api.Price>(); |
728 o["x"] = buildPrice(); | 730 o["x"] = buildPrice(); |
729 o["y"] = buildPrice(); | 731 o["y"] = buildPrice(); |
730 return o; | 732 return o; |
731 } | 733 } |
732 | 734 |
733 checkUnnamed2515(core.Map<core.String, api.Price> o) { | 735 checkUnnamed2536(core.Map<core.String, api.Price> o) { |
734 unittest.expect(o, unittest.hasLength(2)); | 736 unittest.expect(o, unittest.hasLength(2)); |
735 checkPrice(o["x"]); | 737 checkPrice(o["x"]); |
736 checkPrice(o["y"]); | 738 checkPrice(o["y"]); |
737 } | 739 } |
738 | 740 |
739 core.int buildCounterInAppProduct = 0; | 741 core.int buildCounterInAppProduct = 0; |
740 buildInAppProduct() { | 742 buildInAppProduct() { |
741 var o = new api.InAppProduct(); | 743 var o = new api.InAppProduct(); |
742 buildCounterInAppProduct++; | 744 buildCounterInAppProduct++; |
743 if (buildCounterInAppProduct < 3) { | 745 if (buildCounterInAppProduct < 3) { |
744 o.defaultLanguage = "foo"; | 746 o.defaultLanguage = "foo"; |
745 o.defaultPrice = buildPrice(); | 747 o.defaultPrice = buildPrice(); |
746 o.listings = buildUnnamed2514(); | 748 o.listings = buildUnnamed2535(); |
747 o.packageName = "foo"; | 749 o.packageName = "foo"; |
748 o.prices = buildUnnamed2515(); | 750 o.prices = buildUnnamed2536(); |
749 o.purchaseType = "foo"; | 751 o.purchaseType = "foo"; |
750 o.season = buildSeason(); | 752 o.season = buildSeason(); |
751 o.sku = "foo"; | 753 o.sku = "foo"; |
752 o.status = "foo"; | 754 o.status = "foo"; |
753 o.subscriptionPeriod = "foo"; | 755 o.subscriptionPeriod = "foo"; |
754 o.trialPeriod = "foo"; | 756 o.trialPeriod = "foo"; |
755 } | 757 } |
756 buildCounterInAppProduct--; | 758 buildCounterInAppProduct--; |
757 return o; | 759 return o; |
758 } | 760 } |
759 | 761 |
760 checkInAppProduct(api.InAppProduct o) { | 762 checkInAppProduct(api.InAppProduct o) { |
761 buildCounterInAppProduct++; | 763 buildCounterInAppProduct++; |
762 if (buildCounterInAppProduct < 3) { | 764 if (buildCounterInAppProduct < 3) { |
763 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 765 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
764 checkPrice(o.defaultPrice); | 766 checkPrice(o.defaultPrice); |
765 checkUnnamed2514(o.listings); | 767 checkUnnamed2535(o.listings); |
766 unittest.expect(o.packageName, unittest.equals('foo')); | 768 unittest.expect(o.packageName, unittest.equals('foo')); |
767 checkUnnamed2515(o.prices); | 769 checkUnnamed2536(o.prices); |
768 unittest.expect(o.purchaseType, unittest.equals('foo')); | 770 unittest.expect(o.purchaseType, unittest.equals('foo')); |
769 checkSeason(o.season); | 771 checkSeason(o.season); |
770 unittest.expect(o.sku, unittest.equals('foo')); | 772 unittest.expect(o.sku, unittest.equals('foo')); |
771 unittest.expect(o.status, unittest.equals('foo')); | 773 unittest.expect(o.status, unittest.equals('foo')); |
772 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); | 774 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); |
773 unittest.expect(o.trialPeriod, unittest.equals('foo')); | 775 unittest.expect(o.trialPeriod, unittest.equals('foo')); |
774 } | 776 } |
775 buildCounterInAppProduct--; | 777 buildCounterInAppProduct--; |
776 } | 778 } |
777 | 779 |
(...skipping 11 matching lines...) Expand all Loading... |
789 | 791 |
790 checkInAppProductListing(api.InAppProductListing o) { | 792 checkInAppProductListing(api.InAppProductListing o) { |
791 buildCounterInAppProductListing++; | 793 buildCounterInAppProductListing++; |
792 if (buildCounterInAppProductListing < 3) { | 794 if (buildCounterInAppProductListing < 3) { |
793 unittest.expect(o.description, unittest.equals('foo')); | 795 unittest.expect(o.description, unittest.equals('foo')); |
794 unittest.expect(o.title, unittest.equals('foo')); | 796 unittest.expect(o.title, unittest.equals('foo')); |
795 } | 797 } |
796 buildCounterInAppProductListing--; | 798 buildCounterInAppProductListing--; |
797 } | 799 } |
798 | 800 |
799 buildUnnamed2516() { | 801 buildUnnamed2537() { |
800 var o = new core.List<api.InappproductsBatchRequestEntry>(); | 802 var o = new core.List<api.InappproductsBatchRequestEntry>(); |
801 o.add(buildInappproductsBatchRequestEntry()); | 803 o.add(buildInappproductsBatchRequestEntry()); |
802 o.add(buildInappproductsBatchRequestEntry()); | 804 o.add(buildInappproductsBatchRequestEntry()); |
803 return o; | 805 return o; |
804 } | 806 } |
805 | 807 |
806 checkUnnamed2516(core.List<api.InappproductsBatchRequestEntry> o) { | 808 checkUnnamed2537(core.List<api.InappproductsBatchRequestEntry> o) { |
807 unittest.expect(o, unittest.hasLength(2)); | 809 unittest.expect(o, unittest.hasLength(2)); |
808 checkInappproductsBatchRequestEntry(o[0]); | 810 checkInappproductsBatchRequestEntry(o[0]); |
809 checkInappproductsBatchRequestEntry(o[1]); | 811 checkInappproductsBatchRequestEntry(o[1]); |
810 } | 812 } |
811 | 813 |
812 core.int buildCounterInappproductsBatchRequest = 0; | 814 core.int buildCounterInappproductsBatchRequest = 0; |
813 buildInappproductsBatchRequest() { | 815 buildInappproductsBatchRequest() { |
814 var o = new api.InappproductsBatchRequest(); | 816 var o = new api.InappproductsBatchRequest(); |
815 buildCounterInappproductsBatchRequest++; | 817 buildCounterInappproductsBatchRequest++; |
816 if (buildCounterInappproductsBatchRequest < 3) { | 818 if (buildCounterInappproductsBatchRequest < 3) { |
817 o.entrys = buildUnnamed2516(); | 819 o.entrys = buildUnnamed2537(); |
818 } | 820 } |
819 buildCounterInappproductsBatchRequest--; | 821 buildCounterInappproductsBatchRequest--; |
820 return o; | 822 return o; |
821 } | 823 } |
822 | 824 |
823 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { | 825 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { |
824 buildCounterInappproductsBatchRequest++; | 826 buildCounterInappproductsBatchRequest++; |
825 if (buildCounterInappproductsBatchRequest < 3) { | 827 if (buildCounterInappproductsBatchRequest < 3) { |
826 checkUnnamed2516(o.entrys); | 828 checkUnnamed2537(o.entrys); |
827 } | 829 } |
828 buildCounterInappproductsBatchRequest--; | 830 buildCounterInappproductsBatchRequest--; |
829 } | 831 } |
830 | 832 |
831 core.int buildCounterInappproductsBatchRequestEntry = 0; | 833 core.int buildCounterInappproductsBatchRequestEntry = 0; |
832 buildInappproductsBatchRequestEntry() { | 834 buildInappproductsBatchRequestEntry() { |
833 var o = new api.InappproductsBatchRequestEntry(); | 835 var o = new api.InappproductsBatchRequestEntry(); |
834 buildCounterInappproductsBatchRequestEntry++; | 836 buildCounterInappproductsBatchRequestEntry++; |
835 if (buildCounterInappproductsBatchRequestEntry < 3) { | 837 if (buildCounterInappproductsBatchRequestEntry < 3) { |
836 o.batchId = 42; | 838 o.batchId = 42; |
837 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); | 839 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); |
838 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); | 840 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); |
839 o.methodName = "foo"; | 841 o.methodName = "foo"; |
840 } | 842 } |
841 buildCounterInappproductsBatchRequestEntry--; | 843 buildCounterInappproductsBatchRequestEntry--; |
842 return o; | 844 return o; |
843 } | 845 } |
844 | 846 |
845 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { | 847 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { |
846 buildCounterInappproductsBatchRequestEntry++; | 848 buildCounterInappproductsBatchRequestEntry++; |
847 if (buildCounterInappproductsBatchRequestEntry < 3) { | 849 if (buildCounterInappproductsBatchRequestEntry < 3) { |
848 unittest.expect(o.batchId, unittest.equals(42)); | 850 unittest.expect(o.batchId, unittest.equals(42)); |
849 checkInappproductsInsertRequest(o.inappproductsinsertrequest); | 851 checkInappproductsInsertRequest(o.inappproductsinsertrequest); |
850 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); | 852 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); |
851 unittest.expect(o.methodName, unittest.equals('foo')); | 853 unittest.expect(o.methodName, unittest.equals('foo')); |
852 } | 854 } |
853 buildCounterInappproductsBatchRequestEntry--; | 855 buildCounterInappproductsBatchRequestEntry--; |
854 } | 856 } |
855 | 857 |
856 buildUnnamed2517() { | 858 buildUnnamed2538() { |
857 var o = new core.List<api.InappproductsBatchResponseEntry>(); | 859 var o = new core.List<api.InappproductsBatchResponseEntry>(); |
858 o.add(buildInappproductsBatchResponseEntry()); | 860 o.add(buildInappproductsBatchResponseEntry()); |
859 o.add(buildInappproductsBatchResponseEntry()); | 861 o.add(buildInappproductsBatchResponseEntry()); |
860 return o; | 862 return o; |
861 } | 863 } |
862 | 864 |
863 checkUnnamed2517(core.List<api.InappproductsBatchResponseEntry> o) { | 865 checkUnnamed2538(core.List<api.InappproductsBatchResponseEntry> o) { |
864 unittest.expect(o, unittest.hasLength(2)); | 866 unittest.expect(o, unittest.hasLength(2)); |
865 checkInappproductsBatchResponseEntry(o[0]); | 867 checkInappproductsBatchResponseEntry(o[0]); |
866 checkInappproductsBatchResponseEntry(o[1]); | 868 checkInappproductsBatchResponseEntry(o[1]); |
867 } | 869 } |
868 | 870 |
869 core.int buildCounterInappproductsBatchResponse = 0; | 871 core.int buildCounterInappproductsBatchResponse = 0; |
870 buildInappproductsBatchResponse() { | 872 buildInappproductsBatchResponse() { |
871 var o = new api.InappproductsBatchResponse(); | 873 var o = new api.InappproductsBatchResponse(); |
872 buildCounterInappproductsBatchResponse++; | 874 buildCounterInappproductsBatchResponse++; |
873 if (buildCounterInappproductsBatchResponse < 3) { | 875 if (buildCounterInappproductsBatchResponse < 3) { |
874 o.entrys = buildUnnamed2517(); | 876 o.entrys = buildUnnamed2538(); |
875 o.kind = "foo"; | 877 o.kind = "foo"; |
876 } | 878 } |
877 buildCounterInappproductsBatchResponse--; | 879 buildCounterInappproductsBatchResponse--; |
878 return o; | 880 return o; |
879 } | 881 } |
880 | 882 |
881 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { | 883 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { |
882 buildCounterInappproductsBatchResponse++; | 884 buildCounterInappproductsBatchResponse++; |
883 if (buildCounterInappproductsBatchResponse < 3) { | 885 if (buildCounterInappproductsBatchResponse < 3) { |
884 checkUnnamed2517(o.entrys); | 886 checkUnnamed2538(o.entrys); |
885 unittest.expect(o.kind, unittest.equals('foo')); | 887 unittest.expect(o.kind, unittest.equals('foo')); |
886 } | 888 } |
887 buildCounterInappproductsBatchResponse--; | 889 buildCounterInappproductsBatchResponse--; |
888 } | 890 } |
889 | 891 |
890 core.int buildCounterInappproductsBatchResponseEntry = 0; | 892 core.int buildCounterInappproductsBatchResponseEntry = 0; |
891 buildInappproductsBatchResponseEntry() { | 893 buildInappproductsBatchResponseEntry() { |
892 var o = new api.InappproductsBatchResponseEntry(); | 894 var o = new api.InappproductsBatchResponseEntry(); |
893 buildCounterInappproductsBatchResponseEntry++; | 895 buildCounterInappproductsBatchResponseEntry++; |
894 if (buildCounterInappproductsBatchResponseEntry < 3) { | 896 if (buildCounterInappproductsBatchResponseEntry < 3) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 } | 943 } |
942 | 944 |
943 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { | 945 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { |
944 buildCounterInappproductsInsertResponse++; | 946 buildCounterInappproductsInsertResponse++; |
945 if (buildCounterInappproductsInsertResponse < 3) { | 947 if (buildCounterInappproductsInsertResponse < 3) { |
946 checkInAppProduct(o.inappproduct); | 948 checkInAppProduct(o.inappproduct); |
947 } | 949 } |
948 buildCounterInappproductsInsertResponse--; | 950 buildCounterInappproductsInsertResponse--; |
949 } | 951 } |
950 | 952 |
951 buildUnnamed2518() { | 953 buildUnnamed2539() { |
952 var o = new core.List<api.InAppProduct>(); | 954 var o = new core.List<api.InAppProduct>(); |
953 o.add(buildInAppProduct()); | 955 o.add(buildInAppProduct()); |
954 o.add(buildInAppProduct()); | 956 o.add(buildInAppProduct()); |
955 return o; | 957 return o; |
956 } | 958 } |
957 | 959 |
958 checkUnnamed2518(core.List<api.InAppProduct> o) { | 960 checkUnnamed2539(core.List<api.InAppProduct> o) { |
959 unittest.expect(o, unittest.hasLength(2)); | 961 unittest.expect(o, unittest.hasLength(2)); |
960 checkInAppProduct(o[0]); | 962 checkInAppProduct(o[0]); |
961 checkInAppProduct(o[1]); | 963 checkInAppProduct(o[1]); |
962 } | 964 } |
963 | 965 |
964 core.int buildCounterInappproductsListResponse = 0; | 966 core.int buildCounterInappproductsListResponse = 0; |
965 buildInappproductsListResponse() { | 967 buildInappproductsListResponse() { |
966 var o = new api.InappproductsListResponse(); | 968 var o = new api.InappproductsListResponse(); |
967 buildCounterInappproductsListResponse++; | 969 buildCounterInappproductsListResponse++; |
968 if (buildCounterInappproductsListResponse < 3) { | 970 if (buildCounterInappproductsListResponse < 3) { |
969 o.inappproduct = buildUnnamed2518(); | 971 o.inappproduct = buildUnnamed2539(); |
970 o.kind = "foo"; | 972 o.kind = "foo"; |
971 o.pageInfo = buildPageInfo(); | 973 o.pageInfo = buildPageInfo(); |
972 o.tokenPagination = buildTokenPagination(); | 974 o.tokenPagination = buildTokenPagination(); |
973 } | 975 } |
974 buildCounterInappproductsListResponse--; | 976 buildCounterInappproductsListResponse--; |
975 return o; | 977 return o; |
976 } | 978 } |
977 | 979 |
978 checkInappproductsListResponse(api.InappproductsListResponse o) { | 980 checkInappproductsListResponse(api.InappproductsListResponse o) { |
979 buildCounterInappproductsListResponse++; | 981 buildCounterInappproductsListResponse++; |
980 if (buildCounterInappproductsListResponse < 3) { | 982 if (buildCounterInappproductsListResponse < 3) { |
981 checkUnnamed2518(o.inappproduct); | 983 checkUnnamed2539(o.inappproduct); |
982 unittest.expect(o.kind, unittest.equals('foo')); | 984 unittest.expect(o.kind, unittest.equals('foo')); |
983 checkPageInfo(o.pageInfo); | 985 checkPageInfo(o.pageInfo); |
984 checkTokenPagination(o.tokenPagination); | 986 checkTokenPagination(o.tokenPagination); |
985 } | 987 } |
986 buildCounterInappproductsListResponse--; | 988 buildCounterInappproductsListResponse--; |
987 } | 989 } |
988 | 990 |
989 core.int buildCounterInappproductsUpdateRequest = 0; | 991 core.int buildCounterInappproductsUpdateRequest = 0; |
990 buildInappproductsUpdateRequest() { | 992 buildInappproductsUpdateRequest() { |
991 var o = new api.InappproductsUpdateRequest(); | 993 var o = new api.InappproductsUpdateRequest(); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 if (buildCounterListing < 3) { | 1046 if (buildCounterListing < 3) { |
1045 unittest.expect(o.fullDescription, unittest.equals('foo')); | 1047 unittest.expect(o.fullDescription, unittest.equals('foo')); |
1046 unittest.expect(o.language, unittest.equals('foo')); | 1048 unittest.expect(o.language, unittest.equals('foo')); |
1047 unittest.expect(o.shortDescription, unittest.equals('foo')); | 1049 unittest.expect(o.shortDescription, unittest.equals('foo')); |
1048 unittest.expect(o.title, unittest.equals('foo')); | 1050 unittest.expect(o.title, unittest.equals('foo')); |
1049 unittest.expect(o.video, unittest.equals('foo')); | 1051 unittest.expect(o.video, unittest.equals('foo')); |
1050 } | 1052 } |
1051 buildCounterListing--; | 1053 buildCounterListing--; |
1052 } | 1054 } |
1053 | 1055 |
1054 buildUnnamed2519() { | 1056 buildUnnamed2540() { |
1055 var o = new core.List<api.Listing>(); | 1057 var o = new core.List<api.Listing>(); |
1056 o.add(buildListing()); | 1058 o.add(buildListing()); |
1057 o.add(buildListing()); | 1059 o.add(buildListing()); |
1058 return o; | 1060 return o; |
1059 } | 1061 } |
1060 | 1062 |
1061 checkUnnamed2519(core.List<api.Listing> o) { | 1063 checkUnnamed2540(core.List<api.Listing> o) { |
1062 unittest.expect(o, unittest.hasLength(2)); | 1064 unittest.expect(o, unittest.hasLength(2)); |
1063 checkListing(o[0]); | 1065 checkListing(o[0]); |
1064 checkListing(o[1]); | 1066 checkListing(o[1]); |
1065 } | 1067 } |
1066 | 1068 |
1067 core.int buildCounterListingsListResponse = 0; | 1069 core.int buildCounterListingsListResponse = 0; |
1068 buildListingsListResponse() { | 1070 buildListingsListResponse() { |
1069 var o = new api.ListingsListResponse(); | 1071 var o = new api.ListingsListResponse(); |
1070 buildCounterListingsListResponse++; | 1072 buildCounterListingsListResponse++; |
1071 if (buildCounterListingsListResponse < 3) { | 1073 if (buildCounterListingsListResponse < 3) { |
1072 o.kind = "foo"; | 1074 o.kind = "foo"; |
1073 o.listings = buildUnnamed2519(); | 1075 o.listings = buildUnnamed2540(); |
1074 } | 1076 } |
1075 buildCounterListingsListResponse--; | 1077 buildCounterListingsListResponse--; |
1076 return o; | 1078 return o; |
1077 } | 1079 } |
1078 | 1080 |
1079 checkListingsListResponse(api.ListingsListResponse o) { | 1081 checkListingsListResponse(api.ListingsListResponse o) { |
1080 buildCounterListingsListResponse++; | 1082 buildCounterListingsListResponse++; |
1081 if (buildCounterListingsListResponse < 3) { | 1083 if (buildCounterListingsListResponse < 3) { |
1082 unittest.expect(o.kind, unittest.equals('foo')); | 1084 unittest.expect(o.kind, unittest.equals('foo')); |
1083 checkUnnamed2519(o.listings); | 1085 checkUnnamed2540(o.listings); |
1084 } | 1086 } |
1085 buildCounterListingsListResponse--; | 1087 buildCounterListingsListResponse--; |
1086 } | 1088 } |
1087 | 1089 |
1088 core.int buildCounterMonthDay = 0; | 1090 core.int buildCounterMonthDay = 0; |
1089 buildMonthDay() { | 1091 buildMonthDay() { |
1090 var o = new api.MonthDay(); | 1092 var o = new api.MonthDay(); |
1091 buildCounterMonthDay++; | 1093 buildCounterMonthDay++; |
1092 if (buildCounterMonthDay < 3) { | 1094 if (buildCounterMonthDay < 3) { |
1093 o.day = 42; | 1095 o.day = 42; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 } | 1153 } |
1152 | 1154 |
1153 core.int buildCounterProductPurchase = 0; | 1155 core.int buildCounterProductPurchase = 0; |
1154 buildProductPurchase() { | 1156 buildProductPurchase() { |
1155 var o = new api.ProductPurchase(); | 1157 var o = new api.ProductPurchase(); |
1156 buildCounterProductPurchase++; | 1158 buildCounterProductPurchase++; |
1157 if (buildCounterProductPurchase < 3) { | 1159 if (buildCounterProductPurchase < 3) { |
1158 o.consumptionState = 42; | 1160 o.consumptionState = 42; |
1159 o.developerPayload = "foo"; | 1161 o.developerPayload = "foo"; |
1160 o.kind = "foo"; | 1162 o.kind = "foo"; |
| 1163 o.orderId = "foo"; |
1161 o.purchaseState = 42; | 1164 o.purchaseState = 42; |
1162 o.purchaseTimeMillis = "foo"; | 1165 o.purchaseTimeMillis = "foo"; |
1163 } | 1166 } |
1164 buildCounterProductPurchase--; | 1167 buildCounterProductPurchase--; |
1165 return o; | 1168 return o; |
1166 } | 1169 } |
1167 | 1170 |
1168 checkProductPurchase(api.ProductPurchase o) { | 1171 checkProductPurchase(api.ProductPurchase o) { |
1169 buildCounterProductPurchase++; | 1172 buildCounterProductPurchase++; |
1170 if (buildCounterProductPurchase < 3) { | 1173 if (buildCounterProductPurchase < 3) { |
1171 unittest.expect(o.consumptionState, unittest.equals(42)); | 1174 unittest.expect(o.consumptionState, unittest.equals(42)); |
1172 unittest.expect(o.developerPayload, unittest.equals('foo')); | 1175 unittest.expect(o.developerPayload, unittest.equals('foo')); |
1173 unittest.expect(o.kind, unittest.equals('foo')); | 1176 unittest.expect(o.kind, unittest.equals('foo')); |
| 1177 unittest.expect(o.orderId, unittest.equals('foo')); |
1174 unittest.expect(o.purchaseState, unittest.equals(42)); | 1178 unittest.expect(o.purchaseState, unittest.equals(42)); |
1175 unittest.expect(o.purchaseTimeMillis, unittest.equals('foo')); | 1179 unittest.expect(o.purchaseTimeMillis, unittest.equals('foo')); |
1176 } | 1180 } |
1177 buildCounterProductPurchase--; | 1181 buildCounterProductPurchase--; |
1178 } | 1182 } |
1179 | 1183 |
1180 core.int buildCounterProrate = 0; | 1184 core.int buildCounterProrate = 0; |
1181 buildProrate() { | 1185 buildProrate() { |
1182 var o = new api.Prorate(); | 1186 var o = new api.Prorate(); |
1183 buildCounterProrate++; | 1187 buildCounterProrate++; |
1184 if (buildCounterProrate < 3) { | 1188 if (buildCounterProrate < 3) { |
1185 o.defaultPrice = buildPrice(); | 1189 o.defaultPrice = buildPrice(); |
1186 o.start = buildMonthDay(); | 1190 o.start = buildMonthDay(); |
1187 } | 1191 } |
1188 buildCounterProrate--; | 1192 buildCounterProrate--; |
1189 return o; | 1193 return o; |
1190 } | 1194 } |
1191 | 1195 |
1192 checkProrate(api.Prorate o) { | 1196 checkProrate(api.Prorate o) { |
1193 buildCounterProrate++; | 1197 buildCounterProrate++; |
1194 if (buildCounterProrate < 3) { | 1198 if (buildCounterProrate < 3) { |
1195 checkPrice(o.defaultPrice); | 1199 checkPrice(o.defaultPrice); |
1196 checkMonthDay(o.start); | 1200 checkMonthDay(o.start); |
1197 } | 1201 } |
1198 buildCounterProrate--; | 1202 buildCounterProrate--; |
1199 } | 1203 } |
1200 | 1204 |
1201 buildUnnamed2520() { | 1205 buildUnnamed2541() { |
1202 var o = new core.List<api.Comment>(); | 1206 var o = new core.List<api.Comment>(); |
1203 o.add(buildComment()); | 1207 o.add(buildComment()); |
1204 o.add(buildComment()); | 1208 o.add(buildComment()); |
1205 return o; | 1209 return o; |
1206 } | 1210 } |
1207 | 1211 |
1208 checkUnnamed2520(core.List<api.Comment> o) { | 1212 checkUnnamed2541(core.List<api.Comment> o) { |
1209 unittest.expect(o, unittest.hasLength(2)); | 1213 unittest.expect(o, unittest.hasLength(2)); |
1210 checkComment(o[0]); | 1214 checkComment(o[0]); |
1211 checkComment(o[1]); | 1215 checkComment(o[1]); |
1212 } | 1216 } |
1213 | 1217 |
1214 core.int buildCounterReview = 0; | 1218 core.int buildCounterReview = 0; |
1215 buildReview() { | 1219 buildReview() { |
1216 var o = new api.Review(); | 1220 var o = new api.Review(); |
1217 buildCounterReview++; | 1221 buildCounterReview++; |
1218 if (buildCounterReview < 3) { | 1222 if (buildCounterReview < 3) { |
1219 o.authorName = "foo"; | 1223 o.authorName = "foo"; |
1220 o.comments = buildUnnamed2520(); | 1224 o.comments = buildUnnamed2541(); |
1221 o.reviewId = "foo"; | 1225 o.reviewId = "foo"; |
1222 } | 1226 } |
1223 buildCounterReview--; | 1227 buildCounterReview--; |
1224 return o; | 1228 return o; |
1225 } | 1229 } |
1226 | 1230 |
1227 checkReview(api.Review o) { | 1231 checkReview(api.Review o) { |
1228 buildCounterReview++; | 1232 buildCounterReview++; |
1229 if (buildCounterReview < 3) { | 1233 if (buildCounterReview < 3) { |
1230 unittest.expect(o.authorName, unittest.equals('foo')); | 1234 unittest.expect(o.authorName, unittest.equals('foo')); |
1231 checkUnnamed2520(o.comments); | 1235 checkUnnamed2541(o.comments); |
1232 unittest.expect(o.reviewId, unittest.equals('foo')); | 1236 unittest.expect(o.reviewId, unittest.equals('foo')); |
1233 } | 1237 } |
1234 buildCounterReview--; | 1238 buildCounterReview--; |
1235 } | 1239 } |
1236 | 1240 |
1237 core.int buildCounterReviewReplyResult = 0; | 1241 core.int buildCounterReviewReplyResult = 0; |
1238 buildReviewReplyResult() { | 1242 buildReviewReplyResult() { |
1239 var o = new api.ReviewReplyResult(); | 1243 var o = new api.ReviewReplyResult(); |
1240 buildCounterReviewReplyResult++; | 1244 buildCounterReviewReplyResult++; |
1241 if (buildCounterReviewReplyResult < 3) { | 1245 if (buildCounterReviewReplyResult < 3) { |
1242 o.lastEdited = buildTimestamp(); | 1246 o.lastEdited = buildTimestamp(); |
1243 o.replyText = "foo"; | 1247 o.replyText = "foo"; |
1244 } | 1248 } |
1245 buildCounterReviewReplyResult--; | 1249 buildCounterReviewReplyResult--; |
1246 return o; | 1250 return o; |
1247 } | 1251 } |
1248 | 1252 |
1249 checkReviewReplyResult(api.ReviewReplyResult o) { | 1253 checkReviewReplyResult(api.ReviewReplyResult o) { |
1250 buildCounterReviewReplyResult++; | 1254 buildCounterReviewReplyResult++; |
1251 if (buildCounterReviewReplyResult < 3) { | 1255 if (buildCounterReviewReplyResult < 3) { |
1252 checkTimestamp(o.lastEdited); | 1256 checkTimestamp(o.lastEdited); |
1253 unittest.expect(o.replyText, unittest.equals('foo')); | 1257 unittest.expect(o.replyText, unittest.equals('foo')); |
1254 } | 1258 } |
1255 buildCounterReviewReplyResult--; | 1259 buildCounterReviewReplyResult--; |
1256 } | 1260 } |
1257 | 1261 |
1258 buildUnnamed2521() { | 1262 buildUnnamed2542() { |
1259 var o = new core.List<api.Review>(); | 1263 var o = new core.List<api.Review>(); |
1260 o.add(buildReview()); | 1264 o.add(buildReview()); |
1261 o.add(buildReview()); | 1265 o.add(buildReview()); |
1262 return o; | 1266 return o; |
1263 } | 1267 } |
1264 | 1268 |
1265 checkUnnamed2521(core.List<api.Review> o) { | 1269 checkUnnamed2542(core.List<api.Review> o) { |
1266 unittest.expect(o, unittest.hasLength(2)); | 1270 unittest.expect(o, unittest.hasLength(2)); |
1267 checkReview(o[0]); | 1271 checkReview(o[0]); |
1268 checkReview(o[1]); | 1272 checkReview(o[1]); |
1269 } | 1273 } |
1270 | 1274 |
1271 core.int buildCounterReviewsListResponse = 0; | 1275 core.int buildCounterReviewsListResponse = 0; |
1272 buildReviewsListResponse() { | 1276 buildReviewsListResponse() { |
1273 var o = new api.ReviewsListResponse(); | 1277 var o = new api.ReviewsListResponse(); |
1274 buildCounterReviewsListResponse++; | 1278 buildCounterReviewsListResponse++; |
1275 if (buildCounterReviewsListResponse < 3) { | 1279 if (buildCounterReviewsListResponse < 3) { |
1276 o.pageInfo = buildPageInfo(); | 1280 o.pageInfo = buildPageInfo(); |
1277 o.reviews = buildUnnamed2521(); | 1281 o.reviews = buildUnnamed2542(); |
1278 o.tokenPagination = buildTokenPagination(); | 1282 o.tokenPagination = buildTokenPagination(); |
1279 } | 1283 } |
1280 buildCounterReviewsListResponse--; | 1284 buildCounterReviewsListResponse--; |
1281 return o; | 1285 return o; |
1282 } | 1286 } |
1283 | 1287 |
1284 checkReviewsListResponse(api.ReviewsListResponse o) { | 1288 checkReviewsListResponse(api.ReviewsListResponse o) { |
1285 buildCounterReviewsListResponse++; | 1289 buildCounterReviewsListResponse++; |
1286 if (buildCounterReviewsListResponse < 3) { | 1290 if (buildCounterReviewsListResponse < 3) { |
1287 checkPageInfo(o.pageInfo); | 1291 checkPageInfo(o.pageInfo); |
1288 checkUnnamed2521(o.reviews); | 1292 checkUnnamed2542(o.reviews); |
1289 checkTokenPagination(o.tokenPagination); | 1293 checkTokenPagination(o.tokenPagination); |
1290 } | 1294 } |
1291 buildCounterReviewsListResponse--; | 1295 buildCounterReviewsListResponse--; |
1292 } | 1296 } |
1293 | 1297 |
1294 core.int buildCounterReviewsReplyRequest = 0; | 1298 core.int buildCounterReviewsReplyRequest = 0; |
1295 buildReviewsReplyRequest() { | 1299 buildReviewsReplyRequest() { |
1296 var o = new api.ReviewsReplyRequest(); | 1300 var o = new api.ReviewsReplyRequest(); |
1297 buildCounterReviewsReplyRequest++; | 1301 buildCounterReviewsReplyRequest++; |
1298 if (buildCounterReviewsReplyRequest < 3) { | 1302 if (buildCounterReviewsReplyRequest < 3) { |
(...skipping 23 matching lines...) Expand all Loading... |
1322 } | 1326 } |
1323 | 1327 |
1324 checkReviewsReplyResponse(api.ReviewsReplyResponse o) { | 1328 checkReviewsReplyResponse(api.ReviewsReplyResponse o) { |
1325 buildCounterReviewsReplyResponse++; | 1329 buildCounterReviewsReplyResponse++; |
1326 if (buildCounterReviewsReplyResponse < 3) { | 1330 if (buildCounterReviewsReplyResponse < 3) { |
1327 checkReviewReplyResult(o.result); | 1331 checkReviewReplyResult(o.result); |
1328 } | 1332 } |
1329 buildCounterReviewsReplyResponse--; | 1333 buildCounterReviewsReplyResponse--; |
1330 } | 1334 } |
1331 | 1335 |
1332 buildUnnamed2522() { | 1336 buildUnnamed2543() { |
1333 var o = new core.List<api.Prorate>(); | 1337 var o = new core.List<api.Prorate>(); |
1334 o.add(buildProrate()); | 1338 o.add(buildProrate()); |
1335 o.add(buildProrate()); | 1339 o.add(buildProrate()); |
1336 return o; | 1340 return o; |
1337 } | 1341 } |
1338 | 1342 |
1339 checkUnnamed2522(core.List<api.Prorate> o) { | 1343 checkUnnamed2543(core.List<api.Prorate> o) { |
1340 unittest.expect(o, unittest.hasLength(2)); | 1344 unittest.expect(o, unittest.hasLength(2)); |
1341 checkProrate(o[0]); | 1345 checkProrate(o[0]); |
1342 checkProrate(o[1]); | 1346 checkProrate(o[1]); |
1343 } | 1347 } |
1344 | 1348 |
1345 core.int buildCounterSeason = 0; | 1349 core.int buildCounterSeason = 0; |
1346 buildSeason() { | 1350 buildSeason() { |
1347 var o = new api.Season(); | 1351 var o = new api.Season(); |
1348 buildCounterSeason++; | 1352 buildCounterSeason++; |
1349 if (buildCounterSeason < 3) { | 1353 if (buildCounterSeason < 3) { |
1350 o.end = buildMonthDay(); | 1354 o.end = buildMonthDay(); |
1351 o.prorations = buildUnnamed2522(); | 1355 o.prorations = buildUnnamed2543(); |
1352 o.start = buildMonthDay(); | 1356 o.start = buildMonthDay(); |
1353 } | 1357 } |
1354 buildCounterSeason--; | 1358 buildCounterSeason--; |
1355 return o; | 1359 return o; |
1356 } | 1360 } |
1357 | 1361 |
1358 checkSeason(api.Season o) { | 1362 checkSeason(api.Season o) { |
1359 buildCounterSeason++; | 1363 buildCounterSeason++; |
1360 if (buildCounterSeason < 3) { | 1364 if (buildCounterSeason < 3) { |
1361 checkMonthDay(o.end); | 1365 checkMonthDay(o.end); |
1362 checkUnnamed2522(o.prorations); | 1366 checkUnnamed2543(o.prorations); |
1363 checkMonthDay(o.start); | 1367 checkMonthDay(o.start); |
1364 } | 1368 } |
1365 buildCounterSeason--; | 1369 buildCounterSeason--; |
1366 } | 1370 } |
1367 | 1371 |
1368 core.int buildCounterSubscriptionDeferralInfo = 0; | 1372 core.int buildCounterSubscriptionDeferralInfo = 0; |
1369 buildSubscriptionDeferralInfo() { | 1373 buildSubscriptionDeferralInfo() { |
1370 var o = new api.SubscriptionDeferralInfo(); | 1374 var o = new api.SubscriptionDeferralInfo(); |
1371 buildCounterSubscriptionDeferralInfo++; | 1375 buildCounterSubscriptionDeferralInfo++; |
1372 if (buildCounterSubscriptionDeferralInfo < 3) { | 1376 if (buildCounterSubscriptionDeferralInfo < 3) { |
(...skipping 17 matching lines...) Expand all Loading... |
1390 buildSubscriptionPurchase() { | 1394 buildSubscriptionPurchase() { |
1391 var o = new api.SubscriptionPurchase(); | 1395 var o = new api.SubscriptionPurchase(); |
1392 buildCounterSubscriptionPurchase++; | 1396 buildCounterSubscriptionPurchase++; |
1393 if (buildCounterSubscriptionPurchase < 3) { | 1397 if (buildCounterSubscriptionPurchase < 3) { |
1394 o.autoRenewing = true; | 1398 o.autoRenewing = true; |
1395 o.cancelReason = 42; | 1399 o.cancelReason = 42; |
1396 o.countryCode = "foo"; | 1400 o.countryCode = "foo"; |
1397 o.developerPayload = "foo"; | 1401 o.developerPayload = "foo"; |
1398 o.expiryTimeMillis = "foo"; | 1402 o.expiryTimeMillis = "foo"; |
1399 o.kind = "foo"; | 1403 o.kind = "foo"; |
| 1404 o.orderId = "foo"; |
1400 o.paymentState = 42; | 1405 o.paymentState = 42; |
1401 o.priceAmountMicros = "foo"; | 1406 o.priceAmountMicros = "foo"; |
1402 o.priceCurrencyCode = "foo"; | 1407 o.priceCurrencyCode = "foo"; |
1403 o.startTimeMillis = "foo"; | 1408 o.startTimeMillis = "foo"; |
1404 o.userCancellationTimeMillis = "foo"; | 1409 o.userCancellationTimeMillis = "foo"; |
1405 } | 1410 } |
1406 buildCounterSubscriptionPurchase--; | 1411 buildCounterSubscriptionPurchase--; |
1407 return o; | 1412 return o; |
1408 } | 1413 } |
1409 | 1414 |
1410 checkSubscriptionPurchase(api.SubscriptionPurchase o) { | 1415 checkSubscriptionPurchase(api.SubscriptionPurchase o) { |
1411 buildCounterSubscriptionPurchase++; | 1416 buildCounterSubscriptionPurchase++; |
1412 if (buildCounterSubscriptionPurchase < 3) { | 1417 if (buildCounterSubscriptionPurchase < 3) { |
1413 unittest.expect(o.autoRenewing, unittest.isTrue); | 1418 unittest.expect(o.autoRenewing, unittest.isTrue); |
1414 unittest.expect(o.cancelReason, unittest.equals(42)); | 1419 unittest.expect(o.cancelReason, unittest.equals(42)); |
1415 unittest.expect(o.countryCode, unittest.equals('foo')); | 1420 unittest.expect(o.countryCode, unittest.equals('foo')); |
1416 unittest.expect(o.developerPayload, unittest.equals('foo')); | 1421 unittest.expect(o.developerPayload, unittest.equals('foo')); |
1417 unittest.expect(o.expiryTimeMillis, unittest.equals('foo')); | 1422 unittest.expect(o.expiryTimeMillis, unittest.equals('foo')); |
1418 unittest.expect(o.kind, unittest.equals('foo')); | 1423 unittest.expect(o.kind, unittest.equals('foo')); |
| 1424 unittest.expect(o.orderId, unittest.equals('foo')); |
1419 unittest.expect(o.paymentState, unittest.equals(42)); | 1425 unittest.expect(o.paymentState, unittest.equals(42)); |
1420 unittest.expect(o.priceAmountMicros, unittest.equals('foo')); | 1426 unittest.expect(o.priceAmountMicros, unittest.equals('foo')); |
1421 unittest.expect(o.priceCurrencyCode, unittest.equals('foo')); | 1427 unittest.expect(o.priceCurrencyCode, unittest.equals('foo')); |
1422 unittest.expect(o.startTimeMillis, unittest.equals('foo')); | 1428 unittest.expect(o.startTimeMillis, unittest.equals('foo')); |
1423 unittest.expect(o.userCancellationTimeMillis, unittest.equals('foo')); | 1429 unittest.expect(o.userCancellationTimeMillis, unittest.equals('foo')); |
1424 } | 1430 } |
1425 buildCounterSubscriptionPurchase--; | 1431 buildCounterSubscriptionPurchase--; |
1426 } | 1432 } |
1427 | 1433 |
1428 core.int buildCounterSubscriptionPurchasesDeferRequest = 0; | 1434 core.int buildCounterSubscriptionPurchasesDeferRequest = 0; |
(...skipping 27 matching lines...) Expand all Loading... |
1456 } | 1462 } |
1457 | 1463 |
1458 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { | 1464 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { |
1459 buildCounterSubscriptionPurchasesDeferResponse++; | 1465 buildCounterSubscriptionPurchasesDeferResponse++; |
1460 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { | 1466 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { |
1461 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); | 1467 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); |
1462 } | 1468 } |
1463 buildCounterSubscriptionPurchasesDeferResponse--; | 1469 buildCounterSubscriptionPurchasesDeferResponse--; |
1464 } | 1470 } |
1465 | 1471 |
1466 buildUnnamed2523() { | 1472 buildUnnamed2544() { |
1467 var o = new core.List<core.String>(); | 1473 var o = new core.List<core.String>(); |
1468 o.add("foo"); | 1474 o.add("foo"); |
1469 o.add("foo"); | 1475 o.add("foo"); |
1470 return o; | 1476 return o; |
1471 } | 1477 } |
1472 | 1478 |
1473 checkUnnamed2523(core.List<core.String> o) { | 1479 checkUnnamed2544(core.List<core.String> o) { |
1474 unittest.expect(o, unittest.hasLength(2)); | 1480 unittest.expect(o, unittest.hasLength(2)); |
1475 unittest.expect(o[0], unittest.equals('foo')); | 1481 unittest.expect(o[0], unittest.equals('foo')); |
1476 unittest.expect(o[1], unittest.equals('foo')); | 1482 unittest.expect(o[1], unittest.equals('foo')); |
1477 } | 1483 } |
1478 | 1484 |
1479 buildUnnamed2524() { | 1485 buildUnnamed2545() { |
1480 var o = new core.List<core.String>(); | 1486 var o = new core.List<core.String>(); |
1481 o.add("foo"); | 1487 o.add("foo"); |
1482 o.add("foo"); | 1488 o.add("foo"); |
1483 return o; | 1489 return o; |
1484 } | 1490 } |
1485 | 1491 |
1486 checkUnnamed2524(core.List<core.String> o) { | 1492 checkUnnamed2545(core.List<core.String> o) { |
1487 unittest.expect(o, unittest.hasLength(2)); | 1493 unittest.expect(o, unittest.hasLength(2)); |
1488 unittest.expect(o[0], unittest.equals('foo')); | 1494 unittest.expect(o[0], unittest.equals('foo')); |
1489 unittest.expect(o[1], unittest.equals('foo')); | 1495 unittest.expect(o[1], unittest.equals('foo')); |
1490 } | 1496 } |
1491 | 1497 |
1492 core.int buildCounterTesters = 0; | 1498 core.int buildCounterTesters = 0; |
1493 buildTesters() { | 1499 buildTesters() { |
1494 var o = new api.Testers(); | 1500 var o = new api.Testers(); |
1495 buildCounterTesters++; | 1501 buildCounterTesters++; |
1496 if (buildCounterTesters < 3) { | 1502 if (buildCounterTesters < 3) { |
1497 o.googleGroups = buildUnnamed2523(); | 1503 o.googleGroups = buildUnnamed2544(); |
1498 o.googlePlusCommunities = buildUnnamed2524(); | 1504 o.googlePlusCommunities = buildUnnamed2545(); |
1499 } | 1505 } |
1500 buildCounterTesters--; | 1506 buildCounterTesters--; |
1501 return o; | 1507 return o; |
1502 } | 1508 } |
1503 | 1509 |
1504 checkTesters(api.Testers o) { | 1510 checkTesters(api.Testers o) { |
1505 buildCounterTesters++; | 1511 buildCounterTesters++; |
1506 if (buildCounterTesters < 3) { | 1512 if (buildCounterTesters < 3) { |
1507 checkUnnamed2523(o.googleGroups); | 1513 checkUnnamed2544(o.googleGroups); |
1508 checkUnnamed2524(o.googlePlusCommunities); | 1514 checkUnnamed2545(o.googlePlusCommunities); |
1509 } | 1515 } |
1510 buildCounterTesters--; | 1516 buildCounterTesters--; |
1511 } | 1517 } |
1512 | 1518 |
1513 core.int buildCounterTimestamp = 0; | 1519 core.int buildCounterTimestamp = 0; |
1514 buildTimestamp() { | 1520 buildTimestamp() { |
1515 var o = new api.Timestamp(); | 1521 var o = new api.Timestamp(); |
1516 buildCounterTimestamp++; | 1522 buildCounterTimestamp++; |
1517 if (buildCounterTimestamp < 3) { | 1523 if (buildCounterTimestamp < 3) { |
1518 o.nanos = 42; | 1524 o.nanos = 42; |
(...skipping 26 matching lines...) Expand all Loading... |
1545 | 1551 |
1546 checkTokenPagination(api.TokenPagination o) { | 1552 checkTokenPagination(api.TokenPagination o) { |
1547 buildCounterTokenPagination++; | 1553 buildCounterTokenPagination++; |
1548 if (buildCounterTokenPagination < 3) { | 1554 if (buildCounterTokenPagination < 3) { |
1549 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1555 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1550 unittest.expect(o.previousPageToken, unittest.equals('foo')); | 1556 unittest.expect(o.previousPageToken, unittest.equals('foo')); |
1551 } | 1557 } |
1552 buildCounterTokenPagination--; | 1558 buildCounterTokenPagination--; |
1553 } | 1559 } |
1554 | 1560 |
1555 buildUnnamed2525() { | 1561 buildUnnamed2546() { |
1556 var o = new core.List<core.int>(); | 1562 var o = new core.List<core.int>(); |
1557 o.add(42); | 1563 o.add(42); |
1558 o.add(42); | 1564 o.add(42); |
1559 return o; | 1565 return o; |
1560 } | 1566 } |
1561 | 1567 |
1562 checkUnnamed2525(core.List<core.int> o) { | 1568 checkUnnamed2546(core.List<core.int> o) { |
1563 unittest.expect(o, unittest.hasLength(2)); | 1569 unittest.expect(o, unittest.hasLength(2)); |
1564 unittest.expect(o[0], unittest.equals(42)); | 1570 unittest.expect(o[0], unittest.equals(42)); |
1565 unittest.expect(o[1], unittest.equals(42)); | 1571 unittest.expect(o[1], unittest.equals(42)); |
1566 } | 1572 } |
1567 | 1573 |
1568 core.int buildCounterTrack = 0; | 1574 core.int buildCounterTrack = 0; |
1569 buildTrack() { | 1575 buildTrack() { |
1570 var o = new api.Track(); | 1576 var o = new api.Track(); |
1571 buildCounterTrack++; | 1577 buildCounterTrack++; |
1572 if (buildCounterTrack < 3) { | 1578 if (buildCounterTrack < 3) { |
1573 o.track = "foo"; | 1579 o.track = "foo"; |
1574 o.userFraction = 42.0; | 1580 o.userFraction = 42.0; |
1575 o.versionCodes = buildUnnamed2525(); | 1581 o.versionCodes = buildUnnamed2546(); |
1576 } | 1582 } |
1577 buildCounterTrack--; | 1583 buildCounterTrack--; |
1578 return o; | 1584 return o; |
1579 } | 1585 } |
1580 | 1586 |
1581 checkTrack(api.Track o) { | 1587 checkTrack(api.Track o) { |
1582 buildCounterTrack++; | 1588 buildCounterTrack++; |
1583 if (buildCounterTrack < 3) { | 1589 if (buildCounterTrack < 3) { |
1584 unittest.expect(o.track, unittest.equals('foo')); | 1590 unittest.expect(o.track, unittest.equals('foo')); |
1585 unittest.expect(o.userFraction, unittest.equals(42.0)); | 1591 unittest.expect(o.userFraction, unittest.equals(42.0)); |
1586 checkUnnamed2525(o.versionCodes); | 1592 checkUnnamed2546(o.versionCodes); |
1587 } | 1593 } |
1588 buildCounterTrack--; | 1594 buildCounterTrack--; |
1589 } | 1595 } |
1590 | 1596 |
1591 buildUnnamed2526() { | 1597 buildUnnamed2547() { |
1592 var o = new core.List<api.Track>(); | 1598 var o = new core.List<api.Track>(); |
1593 o.add(buildTrack()); | 1599 o.add(buildTrack()); |
1594 o.add(buildTrack()); | 1600 o.add(buildTrack()); |
1595 return o; | 1601 return o; |
1596 } | 1602 } |
1597 | 1603 |
1598 checkUnnamed2526(core.List<api.Track> o) { | 1604 checkUnnamed2547(core.List<api.Track> o) { |
1599 unittest.expect(o, unittest.hasLength(2)); | 1605 unittest.expect(o, unittest.hasLength(2)); |
1600 checkTrack(o[0]); | 1606 checkTrack(o[0]); |
1601 checkTrack(o[1]); | 1607 checkTrack(o[1]); |
1602 } | 1608 } |
1603 | 1609 |
1604 core.int buildCounterTracksListResponse = 0; | 1610 core.int buildCounterTracksListResponse = 0; |
1605 buildTracksListResponse() { | 1611 buildTracksListResponse() { |
1606 var o = new api.TracksListResponse(); | 1612 var o = new api.TracksListResponse(); |
1607 buildCounterTracksListResponse++; | 1613 buildCounterTracksListResponse++; |
1608 if (buildCounterTracksListResponse < 3) { | 1614 if (buildCounterTracksListResponse < 3) { |
1609 o.kind = "foo"; | 1615 o.kind = "foo"; |
1610 o.tracks = buildUnnamed2526(); | 1616 o.tracks = buildUnnamed2547(); |
1611 } | 1617 } |
1612 buildCounterTracksListResponse--; | 1618 buildCounterTracksListResponse--; |
1613 return o; | 1619 return o; |
1614 } | 1620 } |
1615 | 1621 |
1616 checkTracksListResponse(api.TracksListResponse o) { | 1622 checkTracksListResponse(api.TracksListResponse o) { |
1617 buildCounterTracksListResponse++; | 1623 buildCounterTracksListResponse++; |
1618 if (buildCounterTracksListResponse < 3) { | 1624 if (buildCounterTracksListResponse < 3) { |
1619 unittest.expect(o.kind, unittest.equals('foo')); | 1625 unittest.expect(o.kind, unittest.equals('foo')); |
1620 checkUnnamed2526(o.tracks); | 1626 checkUnnamed2547(o.tracks); |
1621 } | 1627 } |
1622 buildCounterTracksListResponse--; | 1628 buildCounterTracksListResponse--; |
1623 } | 1629 } |
1624 | 1630 |
1625 core.int buildCounterUserComment = 0; | 1631 core.int buildCounterUserComment = 0; |
1626 buildUserComment() { | 1632 buildUserComment() { |
1627 var o = new api.UserComment(); | 1633 var o = new api.UserComment(); |
1628 buildCounterUserComment++; | 1634 buildCounterUserComment++; |
1629 if (buildCounterUserComment < 3) { | 1635 if (buildCounterUserComment < 3) { |
1630 o.androidOsVersion = 42; | 1636 o.androidOsVersion = 42; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1681 buildCounterVoidedPurchase++; | 1687 buildCounterVoidedPurchase++; |
1682 if (buildCounterVoidedPurchase < 3) { | 1688 if (buildCounterVoidedPurchase < 3) { |
1683 unittest.expect(o.kind, unittest.equals('foo')); | 1689 unittest.expect(o.kind, unittest.equals('foo')); |
1684 unittest.expect(o.purchaseTimeMillis, unittest.equals('foo')); | 1690 unittest.expect(o.purchaseTimeMillis, unittest.equals('foo')); |
1685 unittest.expect(o.purchaseToken, unittest.equals('foo')); | 1691 unittest.expect(o.purchaseToken, unittest.equals('foo')); |
1686 unittest.expect(o.voidedTimeMillis, unittest.equals('foo')); | 1692 unittest.expect(o.voidedTimeMillis, unittest.equals('foo')); |
1687 } | 1693 } |
1688 buildCounterVoidedPurchase--; | 1694 buildCounterVoidedPurchase--; |
1689 } | 1695 } |
1690 | 1696 |
1691 buildUnnamed2527() { | 1697 buildUnnamed2548() { |
1692 var o = new core.List<api.VoidedPurchase>(); | 1698 var o = new core.List<api.VoidedPurchase>(); |
1693 o.add(buildVoidedPurchase()); | 1699 o.add(buildVoidedPurchase()); |
1694 o.add(buildVoidedPurchase()); | 1700 o.add(buildVoidedPurchase()); |
1695 return o; | 1701 return o; |
1696 } | 1702 } |
1697 | 1703 |
1698 checkUnnamed2527(core.List<api.VoidedPurchase> o) { | 1704 checkUnnamed2548(core.List<api.VoidedPurchase> o) { |
1699 unittest.expect(o, unittest.hasLength(2)); | 1705 unittest.expect(o, unittest.hasLength(2)); |
1700 checkVoidedPurchase(o[0]); | 1706 checkVoidedPurchase(o[0]); |
1701 checkVoidedPurchase(o[1]); | 1707 checkVoidedPurchase(o[1]); |
1702 } | 1708 } |
1703 | 1709 |
1704 core.int buildCounterVoidedPurchasesListResponse = 0; | 1710 core.int buildCounterVoidedPurchasesListResponse = 0; |
1705 buildVoidedPurchasesListResponse() { | 1711 buildVoidedPurchasesListResponse() { |
1706 var o = new api.VoidedPurchasesListResponse(); | 1712 var o = new api.VoidedPurchasesListResponse(); |
1707 buildCounterVoidedPurchasesListResponse++; | 1713 buildCounterVoidedPurchasesListResponse++; |
1708 if (buildCounterVoidedPurchasesListResponse < 3) { | 1714 if (buildCounterVoidedPurchasesListResponse < 3) { |
1709 o.pageInfo = buildPageInfo(); | 1715 o.pageInfo = buildPageInfo(); |
1710 o.tokenPagination = buildTokenPagination(); | 1716 o.tokenPagination = buildTokenPagination(); |
1711 o.voidedPurchases = buildUnnamed2527(); | 1717 o.voidedPurchases = buildUnnamed2548(); |
1712 } | 1718 } |
1713 buildCounterVoidedPurchasesListResponse--; | 1719 buildCounterVoidedPurchasesListResponse--; |
1714 return o; | 1720 return o; |
1715 } | 1721 } |
1716 | 1722 |
1717 checkVoidedPurchasesListResponse(api.VoidedPurchasesListResponse o) { | 1723 checkVoidedPurchasesListResponse(api.VoidedPurchasesListResponse o) { |
1718 buildCounterVoidedPurchasesListResponse++; | 1724 buildCounterVoidedPurchasesListResponse++; |
1719 if (buildCounterVoidedPurchasesListResponse < 3) { | 1725 if (buildCounterVoidedPurchasesListResponse < 3) { |
1720 checkPageInfo(o.pageInfo); | 1726 checkPageInfo(o.pageInfo); |
1721 checkTokenPagination(o.tokenPagination); | 1727 checkTokenPagination(o.tokenPagination); |
1722 checkUnnamed2527(o.voidedPurchases); | 1728 checkUnnamed2548(o.voidedPurchases); |
1723 } | 1729 } |
1724 buildCounterVoidedPurchasesListResponse--; | 1730 buildCounterVoidedPurchasesListResponse--; |
1725 } | 1731 } |
1726 | 1732 |
1727 | 1733 |
1728 main() { | 1734 main() { |
1729 unittest.group("obj-schema-Apk", () { | 1735 unittest.group("obj-schema-Apk", () { |
1730 unittest.test("to-json--from-json", () { | 1736 unittest.test("to-json--from-json", () { |
1731 var o = buildApk(); | 1737 var o = buildApk(); |
1732 var od = new api.Apk.fromJson(o.toJson()); | 1738 var od = new api.Apk.fromJson(o.toJson()); |
(...skipping 3192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4925 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect
Async1(((api.ReviewsReplyResponse response) { | 4931 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect
Async1(((api.ReviewsReplyResponse response) { |
4926 checkReviewsReplyResponse(response); | 4932 checkReviewsReplyResponse(response); |
4927 }))); | 4933 }))); |
4928 }); | 4934 }); |
4929 | 4935 |
4930 }); | 4936 }); |
4931 | 4937 |
4932 | 4938 |
4933 } | 4939 } |
4934 | 4940 |
OLD | NEW |