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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 months 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 buildUnnamed2251() { 115 buildUnnamed2572() {
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 checkUnnamed2251(core.List<api.ApkListing> o) { 122 checkUnnamed2572(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 = buildUnnamed2251(); 134 o.listings = buildUnnamed2572();
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 checkUnnamed2251(o.listings); 144 checkUnnamed2572(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 buildUnnamed2252() { 187 buildUnnamed2573() {
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 checkUnnamed2252(core.List<api.Apk> o) { 194 checkUnnamed2573(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 = buildUnnamed2252(); 205 o.apks = buildUnnamed2573();
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 checkUnnamed2252(o.apks); 215 checkUnnamed2573(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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 buildCounterEntitlement++; 282 buildCounterEntitlement++;
283 if (buildCounterEntitlement < 3) { 283 if (buildCounterEntitlement < 3) {
284 unittest.expect(o.kind, unittest.equals('foo')); 284 unittest.expect(o.kind, unittest.equals('foo'));
285 unittest.expect(o.productId, unittest.equals('foo')); 285 unittest.expect(o.productId, unittest.equals('foo'));
286 unittest.expect(o.productType, unittest.equals('foo')); 286 unittest.expect(o.productType, unittest.equals('foo'));
287 unittest.expect(o.token, unittest.equals('foo')); 287 unittest.expect(o.token, unittest.equals('foo'));
288 } 288 }
289 buildCounterEntitlement--; 289 buildCounterEntitlement--;
290 } 290 }
291 291
292 buildUnnamed2253() { 292 buildUnnamed2574() {
293 var o = new core.List<api.Entitlement>(); 293 var o = new core.List<api.Entitlement>();
294 o.add(buildEntitlement()); 294 o.add(buildEntitlement());
295 o.add(buildEntitlement()); 295 o.add(buildEntitlement());
296 return o; 296 return o;
297 } 297 }
298 298
299 checkUnnamed2253(core.List<api.Entitlement> o) { 299 checkUnnamed2574(core.List<api.Entitlement> o) {
300 unittest.expect(o, unittest.hasLength(2)); 300 unittest.expect(o, unittest.hasLength(2));
301 checkEntitlement(o[0]); 301 checkEntitlement(o[0]);
302 checkEntitlement(o[1]); 302 checkEntitlement(o[1]);
303 } 303 }
304 304
305 core.int buildCounterEntitlementsListResponse = 0; 305 core.int buildCounterEntitlementsListResponse = 0;
306 buildEntitlementsListResponse() { 306 buildEntitlementsListResponse() {
307 var o = new api.EntitlementsListResponse(); 307 var o = new api.EntitlementsListResponse();
308 buildCounterEntitlementsListResponse++; 308 buildCounterEntitlementsListResponse++;
309 if (buildCounterEntitlementsListResponse < 3) { 309 if (buildCounterEntitlementsListResponse < 3) {
310 o.pageInfo = buildPageInfo(); 310 o.pageInfo = buildPageInfo();
311 o.resources = buildUnnamed2253(); 311 o.resources = buildUnnamed2574();
312 o.tokenPagination = buildTokenPagination(); 312 o.tokenPagination = buildTokenPagination();
313 } 313 }
314 buildCounterEntitlementsListResponse--; 314 buildCounterEntitlementsListResponse--;
315 return o; 315 return o;
316 } 316 }
317 317
318 checkEntitlementsListResponse(api.EntitlementsListResponse o) { 318 checkEntitlementsListResponse(api.EntitlementsListResponse o) {
319 buildCounterEntitlementsListResponse++; 319 buildCounterEntitlementsListResponse++;
320 if (buildCounterEntitlementsListResponse < 3) { 320 if (buildCounterEntitlementsListResponse < 3) {
321 checkPageInfo(o.pageInfo); 321 checkPageInfo(o.pageInfo);
322 checkUnnamed2253(o.resources); 322 checkUnnamed2574(o.resources);
323 checkTokenPagination(o.tokenPagination); 323 checkTokenPagination(o.tokenPagination);
324 } 324 }
325 buildCounterEntitlementsListResponse--; 325 buildCounterEntitlementsListResponse--;
326 } 326 }
327 327
328 core.int buildCounterExpansionFile = 0; 328 core.int buildCounterExpansionFile = 0;
329 buildExpansionFile() { 329 buildExpansionFile() {
330 var o = new api.ExpansionFile(); 330 var o = new api.ExpansionFile();
331 buildCounterExpansionFile++; 331 buildCounterExpansionFile++;
332 if (buildCounterExpansionFile < 3) { 332 if (buildCounterExpansionFile < 3) {
(...skipping 25 matching lines...) Expand all
358 } 358 }
359 359
360 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { 360 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) {
361 buildCounterExpansionFilesUploadResponse++; 361 buildCounterExpansionFilesUploadResponse++;
362 if (buildCounterExpansionFilesUploadResponse < 3) { 362 if (buildCounterExpansionFilesUploadResponse < 3) {
363 checkExpansionFile(o.expansionFile); 363 checkExpansionFile(o.expansionFile);
364 } 364 }
365 buildCounterExpansionFilesUploadResponse--; 365 buildCounterExpansionFilesUploadResponse--;
366 } 366 }
367 367
368 buildUnnamed2254() { 368 buildUnnamed2575() {
369 var o = new core.List<core.String>(); 369 var o = new core.List<core.String>();
370 o.add("foo"); 370 o.add("foo");
371 o.add("foo"); 371 o.add("foo");
372 return o; 372 return o;
373 } 373 }
374 374
375 checkUnnamed2254(core.List<core.String> o) { 375 checkUnnamed2575(core.List<core.String> o) {
376 unittest.expect(o, unittest.hasLength(2)); 376 unittest.expect(o, unittest.hasLength(2));
377 unittest.expect(o[0], unittest.equals('foo')); 377 unittest.expect(o[0], unittest.equals('foo'));
378 unittest.expect(o[1], unittest.equals('foo')); 378 unittest.expect(o[1], unittest.equals('foo'));
379 } 379 }
380 380
381 buildUnnamed2255() { 381 buildUnnamed2576() {
382 var o = new core.List<core.String>(); 382 var o = new core.List<core.String>();
383 o.add("foo"); 383 o.add("foo");
384 o.add("foo"); 384 o.add("foo");
385 return o; 385 return o;
386 } 386 }
387 387
388 checkUnnamed2255(core.List<core.String> o) { 388 checkUnnamed2576(core.List<core.String> o) {
389 unittest.expect(o, unittest.hasLength(2)); 389 unittest.expect(o, unittest.hasLength(2));
390 unittest.expect(o[0], unittest.equals('foo')); 390 unittest.expect(o[0], unittest.equals('foo'));
391 unittest.expect(o[1], unittest.equals('foo')); 391 unittest.expect(o[1], unittest.equals('foo'));
392 } 392 }
393 393
394 buildUnnamed2256() { 394 buildUnnamed2577() {
395 var o = new core.List<core.String>(); 395 var o = new core.List<core.String>();
396 o.add("foo"); 396 o.add("foo");
397 o.add("foo"); 397 o.add("foo");
398 return o; 398 return o;
399 } 399 }
400 400
401 checkUnnamed2256(core.List<core.String> o) { 401 checkUnnamed2577(core.List<core.String> o) {
402 unittest.expect(o, unittest.hasLength(2)); 402 unittest.expect(o, unittest.hasLength(2));
403 unittest.expect(o[0], unittest.equals('foo')); 403 unittest.expect(o[0], unittest.equals('foo'));
404 unittest.expect(o[1], unittest.equals('foo')); 404 unittest.expect(o[1], unittest.equals('foo'));
405 } 405 }
406 406
407 buildUnnamed2257() { 407 buildUnnamed2578() {
408 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); 408 var o = new core.List<api.ExternallyHostedApkUsesPermission>();
409 o.add(buildExternallyHostedApkUsesPermission()); 409 o.add(buildExternallyHostedApkUsesPermission());
410 o.add(buildExternallyHostedApkUsesPermission()); 410 o.add(buildExternallyHostedApkUsesPermission());
411 return o; 411 return o;
412 } 412 }
413 413
414 checkUnnamed2257(core.List<api.ExternallyHostedApkUsesPermission> o) { 414 checkUnnamed2578(core.List<api.ExternallyHostedApkUsesPermission> o) {
415 unittest.expect(o, unittest.hasLength(2)); 415 unittest.expect(o, unittest.hasLength(2));
416 checkExternallyHostedApkUsesPermission(o[0]); 416 checkExternallyHostedApkUsesPermission(o[0]);
417 checkExternallyHostedApkUsesPermission(o[1]); 417 checkExternallyHostedApkUsesPermission(o[1]);
418 } 418 }
419 419
420 core.int buildCounterExternallyHostedApk = 0; 420 core.int buildCounterExternallyHostedApk = 0;
421 buildExternallyHostedApk() { 421 buildExternallyHostedApk() {
422 var o = new api.ExternallyHostedApk(); 422 var o = new api.ExternallyHostedApk();
423 buildCounterExternallyHostedApk++; 423 buildCounterExternallyHostedApk++;
424 if (buildCounterExternallyHostedApk < 3) { 424 if (buildCounterExternallyHostedApk < 3) {
425 o.applicationLabel = "foo"; 425 o.applicationLabel = "foo";
426 o.certificateBase64s = buildUnnamed2254(); 426 o.certificateBase64s = buildUnnamed2575();
427 o.externallyHostedUrl = "foo"; 427 o.externallyHostedUrl = "foo";
428 o.fileSha1Base64 = "foo"; 428 o.fileSha1Base64 = "foo";
429 o.fileSha256Base64 = "foo"; 429 o.fileSha256Base64 = "foo";
430 o.fileSize = "foo"; 430 o.fileSize = "foo";
431 o.iconBase64 = "foo"; 431 o.iconBase64 = "foo";
432 o.maximumSdk = 42; 432 o.maximumSdk = 42;
433 o.minimumSdk = 42; 433 o.minimumSdk = 42;
434 o.nativeCodes = buildUnnamed2255(); 434 o.nativeCodes = buildUnnamed2576();
435 o.packageName = "foo"; 435 o.packageName = "foo";
436 o.usesFeatures = buildUnnamed2256(); 436 o.usesFeatures = buildUnnamed2577();
437 o.usesPermissions = buildUnnamed2257(); 437 o.usesPermissions = buildUnnamed2578();
438 o.versionCode = 42; 438 o.versionCode = 42;
439 o.versionName = "foo"; 439 o.versionName = "foo";
440 } 440 }
441 buildCounterExternallyHostedApk--; 441 buildCounterExternallyHostedApk--;
442 return o; 442 return o;
443 } 443 }
444 444
445 checkExternallyHostedApk(api.ExternallyHostedApk o) { 445 checkExternallyHostedApk(api.ExternallyHostedApk o) {
446 buildCounterExternallyHostedApk++; 446 buildCounterExternallyHostedApk++;
447 if (buildCounterExternallyHostedApk < 3) { 447 if (buildCounterExternallyHostedApk < 3) {
448 unittest.expect(o.applicationLabel, unittest.equals('foo')); 448 unittest.expect(o.applicationLabel, unittest.equals('foo'));
449 checkUnnamed2254(o.certificateBase64s); 449 checkUnnamed2575(o.certificateBase64s);
450 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); 450 unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
451 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); 451 unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
452 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); 452 unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
453 unittest.expect(o.fileSize, unittest.equals('foo')); 453 unittest.expect(o.fileSize, unittest.equals('foo'));
454 unittest.expect(o.iconBase64, unittest.equals('foo')); 454 unittest.expect(o.iconBase64, unittest.equals('foo'));
455 unittest.expect(o.maximumSdk, unittest.equals(42)); 455 unittest.expect(o.maximumSdk, unittest.equals(42));
456 unittest.expect(o.minimumSdk, unittest.equals(42)); 456 unittest.expect(o.minimumSdk, unittest.equals(42));
457 checkUnnamed2255(o.nativeCodes); 457 checkUnnamed2576(o.nativeCodes);
458 unittest.expect(o.packageName, unittest.equals('foo')); 458 unittest.expect(o.packageName, unittest.equals('foo'));
459 checkUnnamed2256(o.usesFeatures); 459 checkUnnamed2577(o.usesFeatures);
460 checkUnnamed2257(o.usesPermissions); 460 checkUnnamed2578(o.usesPermissions);
461 unittest.expect(o.versionCode, unittest.equals(42)); 461 unittest.expect(o.versionCode, unittest.equals(42));
462 unittest.expect(o.versionName, unittest.equals('foo')); 462 unittest.expect(o.versionName, unittest.equals('foo'));
463 } 463 }
464 buildCounterExternallyHostedApk--; 464 buildCounterExternallyHostedApk--;
465 } 465 }
466 466
467 core.int buildCounterExternallyHostedApkUsesPermission = 0; 467 core.int buildCounterExternallyHostedApkUsesPermission = 0;
468 buildExternallyHostedApkUsesPermission() { 468 buildExternallyHostedApkUsesPermission() {
469 var o = new api.ExternallyHostedApkUsesPermission(); 469 var o = new api.ExternallyHostedApkUsesPermission();
470 buildCounterExternallyHostedApkUsesPermission++; 470 buildCounterExternallyHostedApkUsesPermission++;
(...skipping 30 matching lines...) Expand all
501 checkImage(api.Image o) { 501 checkImage(api.Image o) {
502 buildCounterImage++; 502 buildCounterImage++;
503 if (buildCounterImage < 3) { 503 if (buildCounterImage < 3) {
504 unittest.expect(o.id, unittest.equals('foo')); 504 unittest.expect(o.id, unittest.equals('foo'));
505 unittest.expect(o.sha1, unittest.equals('foo')); 505 unittest.expect(o.sha1, unittest.equals('foo'));
506 unittest.expect(o.url, unittest.equals('foo')); 506 unittest.expect(o.url, unittest.equals('foo'));
507 } 507 }
508 buildCounterImage--; 508 buildCounterImage--;
509 } 509 }
510 510
511 buildUnnamed2258() { 511 buildUnnamed2579() {
512 var o = new core.List<api.Image>(); 512 var o = new core.List<api.Image>();
513 o.add(buildImage()); 513 o.add(buildImage());
514 o.add(buildImage()); 514 o.add(buildImage());
515 return o; 515 return o;
516 } 516 }
517 517
518 checkUnnamed2258(core.List<api.Image> o) { 518 checkUnnamed2579(core.List<api.Image> o) {
519 unittest.expect(o, unittest.hasLength(2)); 519 unittest.expect(o, unittest.hasLength(2));
520 checkImage(o[0]); 520 checkImage(o[0]);
521 checkImage(o[1]); 521 checkImage(o[1]);
522 } 522 }
523 523
524 core.int buildCounterImagesDeleteAllResponse = 0; 524 core.int buildCounterImagesDeleteAllResponse = 0;
525 buildImagesDeleteAllResponse() { 525 buildImagesDeleteAllResponse() {
526 var o = new api.ImagesDeleteAllResponse(); 526 var o = new api.ImagesDeleteAllResponse();
527 buildCounterImagesDeleteAllResponse++; 527 buildCounterImagesDeleteAllResponse++;
528 if (buildCounterImagesDeleteAllResponse < 3) { 528 if (buildCounterImagesDeleteAllResponse < 3) {
529 o.deleted = buildUnnamed2258(); 529 o.deleted = buildUnnamed2579();
530 } 530 }
531 buildCounterImagesDeleteAllResponse--; 531 buildCounterImagesDeleteAllResponse--;
532 return o; 532 return o;
533 } 533 }
534 534
535 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { 535 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
536 buildCounterImagesDeleteAllResponse++; 536 buildCounterImagesDeleteAllResponse++;
537 if (buildCounterImagesDeleteAllResponse < 3) { 537 if (buildCounterImagesDeleteAllResponse < 3) {
538 checkUnnamed2258(o.deleted); 538 checkUnnamed2579(o.deleted);
539 } 539 }
540 buildCounterImagesDeleteAllResponse--; 540 buildCounterImagesDeleteAllResponse--;
541 } 541 }
542 542
543 buildUnnamed2259() { 543 buildUnnamed2580() {
544 var o = new core.List<api.Image>(); 544 var o = new core.List<api.Image>();
545 o.add(buildImage()); 545 o.add(buildImage());
546 o.add(buildImage()); 546 o.add(buildImage());
547 return o; 547 return o;
548 } 548 }
549 549
550 checkUnnamed2259(core.List<api.Image> o) { 550 checkUnnamed2580(core.List<api.Image> o) {
551 unittest.expect(o, unittest.hasLength(2)); 551 unittest.expect(o, unittest.hasLength(2));
552 checkImage(o[0]); 552 checkImage(o[0]);
553 checkImage(o[1]); 553 checkImage(o[1]);
554 } 554 }
555 555
556 core.int buildCounterImagesListResponse = 0; 556 core.int buildCounterImagesListResponse = 0;
557 buildImagesListResponse() { 557 buildImagesListResponse() {
558 var o = new api.ImagesListResponse(); 558 var o = new api.ImagesListResponse();
559 buildCounterImagesListResponse++; 559 buildCounterImagesListResponse++;
560 if (buildCounterImagesListResponse < 3) { 560 if (buildCounterImagesListResponse < 3) {
561 o.images = buildUnnamed2259(); 561 o.images = buildUnnamed2580();
562 } 562 }
563 buildCounterImagesListResponse--; 563 buildCounterImagesListResponse--;
564 return o; 564 return o;
565 } 565 }
566 566
567 checkImagesListResponse(api.ImagesListResponse o) { 567 checkImagesListResponse(api.ImagesListResponse o) {
568 buildCounterImagesListResponse++; 568 buildCounterImagesListResponse++;
569 if (buildCounterImagesListResponse < 3) { 569 if (buildCounterImagesListResponse < 3) {
570 checkUnnamed2259(o.images); 570 checkUnnamed2580(o.images);
571 } 571 }
572 buildCounterImagesListResponse--; 572 buildCounterImagesListResponse--;
573 } 573 }
574 574
575 core.int buildCounterImagesUploadResponse = 0; 575 core.int buildCounterImagesUploadResponse = 0;
576 buildImagesUploadResponse() { 576 buildImagesUploadResponse() {
577 var o = new api.ImagesUploadResponse(); 577 var o = new api.ImagesUploadResponse();
578 buildCounterImagesUploadResponse++; 578 buildCounterImagesUploadResponse++;
579 if (buildCounterImagesUploadResponse < 3) { 579 if (buildCounterImagesUploadResponse < 3) {
580 o.image = buildImage(); 580 o.image = buildImage();
581 } 581 }
582 buildCounterImagesUploadResponse--; 582 buildCounterImagesUploadResponse--;
583 return o; 583 return o;
584 } 584 }
585 585
586 checkImagesUploadResponse(api.ImagesUploadResponse o) { 586 checkImagesUploadResponse(api.ImagesUploadResponse o) {
587 buildCounterImagesUploadResponse++; 587 buildCounterImagesUploadResponse++;
588 if (buildCounterImagesUploadResponse < 3) { 588 if (buildCounterImagesUploadResponse < 3) {
589 checkImage(o.image); 589 checkImage(o.image);
590 } 590 }
591 buildCounterImagesUploadResponse--; 591 buildCounterImagesUploadResponse--;
592 } 592 }
593 593
594 buildUnnamed2260() { 594 buildUnnamed2581() {
595 var o = new core.Map<core.String, api.InAppProductListing>(); 595 var o = new core.Map<core.String, api.InAppProductListing>();
596 o["x"] = buildInAppProductListing(); 596 o["x"] = buildInAppProductListing();
597 o["y"] = buildInAppProductListing(); 597 o["y"] = buildInAppProductListing();
598 return o; 598 return o;
599 } 599 }
600 600
601 checkUnnamed2260(core.Map<core.String, api.InAppProductListing> o) { 601 checkUnnamed2581(core.Map<core.String, api.InAppProductListing> o) {
602 unittest.expect(o, unittest.hasLength(2)); 602 unittest.expect(o, unittest.hasLength(2));
603 checkInAppProductListing(o["x"]); 603 checkInAppProductListing(o["x"]);
604 checkInAppProductListing(o["y"]); 604 checkInAppProductListing(o["y"]);
605 } 605 }
606 606
607 buildUnnamed2261() { 607 buildUnnamed2582() {
608 var o = new core.Map<core.String, api.Price>(); 608 var o = new core.Map<core.String, api.Price>();
609 o["x"] = buildPrice(); 609 o["x"] = buildPrice();
610 o["y"] = buildPrice(); 610 o["y"] = buildPrice();
611 return o; 611 return o;
612 } 612 }
613 613
614 checkUnnamed2261(core.Map<core.String, api.Price> o) { 614 checkUnnamed2582(core.Map<core.String, api.Price> o) {
615 unittest.expect(o, unittest.hasLength(2)); 615 unittest.expect(o, unittest.hasLength(2));
616 checkPrice(o["x"]); 616 checkPrice(o["x"]);
617 checkPrice(o["y"]); 617 checkPrice(o["y"]);
618 } 618 }
619 619
620 core.int buildCounterInAppProduct = 0; 620 core.int buildCounterInAppProduct = 0;
621 buildInAppProduct() { 621 buildInAppProduct() {
622 var o = new api.InAppProduct(); 622 var o = new api.InAppProduct();
623 buildCounterInAppProduct++; 623 buildCounterInAppProduct++;
624 if (buildCounterInAppProduct < 3) { 624 if (buildCounterInAppProduct < 3) {
625 o.defaultLanguage = "foo"; 625 o.defaultLanguage = "foo";
626 o.defaultPrice = buildPrice(); 626 o.defaultPrice = buildPrice();
627 o.listings = buildUnnamed2260(); 627 o.listings = buildUnnamed2581();
628 o.packageName = "foo"; 628 o.packageName = "foo";
629 o.prices = buildUnnamed2261(); 629 o.prices = buildUnnamed2582();
630 o.purchaseType = "foo"; 630 o.purchaseType = "foo";
631 o.season = buildSeason(); 631 o.season = buildSeason();
632 o.sku = "foo"; 632 o.sku = "foo";
633 o.status = "foo"; 633 o.status = "foo";
634 o.subscriptionPeriod = "foo"; 634 o.subscriptionPeriod = "foo";
635 o.trialPeriod = "foo"; 635 o.trialPeriod = "foo";
636 } 636 }
637 buildCounterInAppProduct--; 637 buildCounterInAppProduct--;
638 return o; 638 return o;
639 } 639 }
640 640
641 checkInAppProduct(api.InAppProduct o) { 641 checkInAppProduct(api.InAppProduct o) {
642 buildCounterInAppProduct++; 642 buildCounterInAppProduct++;
643 if (buildCounterInAppProduct < 3) { 643 if (buildCounterInAppProduct < 3) {
644 unittest.expect(o.defaultLanguage, unittest.equals('foo')); 644 unittest.expect(o.defaultLanguage, unittest.equals('foo'));
645 checkPrice(o.defaultPrice); 645 checkPrice(o.defaultPrice);
646 checkUnnamed2260(o.listings); 646 checkUnnamed2581(o.listings);
647 unittest.expect(o.packageName, unittest.equals('foo')); 647 unittest.expect(o.packageName, unittest.equals('foo'));
648 checkUnnamed2261(o.prices); 648 checkUnnamed2582(o.prices);
649 unittest.expect(o.purchaseType, unittest.equals('foo')); 649 unittest.expect(o.purchaseType, unittest.equals('foo'));
650 checkSeason(o.season); 650 checkSeason(o.season);
651 unittest.expect(o.sku, unittest.equals('foo')); 651 unittest.expect(o.sku, unittest.equals('foo'));
652 unittest.expect(o.status, unittest.equals('foo')); 652 unittest.expect(o.status, unittest.equals('foo'));
653 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); 653 unittest.expect(o.subscriptionPeriod, unittest.equals('foo'));
654 unittest.expect(o.trialPeriod, unittest.equals('foo')); 654 unittest.expect(o.trialPeriod, unittest.equals('foo'));
655 } 655 }
656 buildCounterInAppProduct--; 656 buildCounterInAppProduct--;
657 } 657 }
658 658
(...skipping 11 matching lines...) Expand all
670 670
671 checkInAppProductListing(api.InAppProductListing o) { 671 checkInAppProductListing(api.InAppProductListing o) {
672 buildCounterInAppProductListing++; 672 buildCounterInAppProductListing++;
673 if (buildCounterInAppProductListing < 3) { 673 if (buildCounterInAppProductListing < 3) {
674 unittest.expect(o.description, unittest.equals('foo')); 674 unittest.expect(o.description, unittest.equals('foo'));
675 unittest.expect(o.title, unittest.equals('foo')); 675 unittest.expect(o.title, unittest.equals('foo'));
676 } 676 }
677 buildCounterInAppProductListing--; 677 buildCounterInAppProductListing--;
678 } 678 }
679 679
680 buildUnnamed2262() { 680 buildUnnamed2583() {
681 var o = new core.List<api.InappproductsBatchRequestEntry>(); 681 var o = new core.List<api.InappproductsBatchRequestEntry>();
682 o.add(buildInappproductsBatchRequestEntry()); 682 o.add(buildInappproductsBatchRequestEntry());
683 o.add(buildInappproductsBatchRequestEntry()); 683 o.add(buildInappproductsBatchRequestEntry());
684 return o; 684 return o;
685 } 685 }
686 686
687 checkUnnamed2262(core.List<api.InappproductsBatchRequestEntry> o) { 687 checkUnnamed2583(core.List<api.InappproductsBatchRequestEntry> o) {
688 unittest.expect(o, unittest.hasLength(2)); 688 unittest.expect(o, unittest.hasLength(2));
689 checkInappproductsBatchRequestEntry(o[0]); 689 checkInappproductsBatchRequestEntry(o[0]);
690 checkInappproductsBatchRequestEntry(o[1]); 690 checkInappproductsBatchRequestEntry(o[1]);
691 } 691 }
692 692
693 core.int buildCounterInappproductsBatchRequest = 0; 693 core.int buildCounterInappproductsBatchRequest = 0;
694 buildInappproductsBatchRequest() { 694 buildInappproductsBatchRequest() {
695 var o = new api.InappproductsBatchRequest(); 695 var o = new api.InappproductsBatchRequest();
696 buildCounterInappproductsBatchRequest++; 696 buildCounterInappproductsBatchRequest++;
697 if (buildCounterInappproductsBatchRequest < 3) { 697 if (buildCounterInappproductsBatchRequest < 3) {
698 o.entrys = buildUnnamed2262(); 698 o.entrys = buildUnnamed2583();
699 } 699 }
700 buildCounterInappproductsBatchRequest--; 700 buildCounterInappproductsBatchRequest--;
701 return o; 701 return o;
702 } 702 }
703 703
704 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { 704 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) {
705 buildCounterInappproductsBatchRequest++; 705 buildCounterInappproductsBatchRequest++;
706 if (buildCounterInappproductsBatchRequest < 3) { 706 if (buildCounterInappproductsBatchRequest < 3) {
707 checkUnnamed2262(o.entrys); 707 checkUnnamed2583(o.entrys);
708 } 708 }
709 buildCounterInappproductsBatchRequest--; 709 buildCounterInappproductsBatchRequest--;
710 } 710 }
711 711
712 core.int buildCounterInappproductsBatchRequestEntry = 0; 712 core.int buildCounterInappproductsBatchRequestEntry = 0;
713 buildInappproductsBatchRequestEntry() { 713 buildInappproductsBatchRequestEntry() {
714 var o = new api.InappproductsBatchRequestEntry(); 714 var o = new api.InappproductsBatchRequestEntry();
715 buildCounterInappproductsBatchRequestEntry++; 715 buildCounterInappproductsBatchRequestEntry++;
716 if (buildCounterInappproductsBatchRequestEntry < 3) { 716 if (buildCounterInappproductsBatchRequestEntry < 3) {
717 o.batchId = 42; 717 o.batchId = 42;
718 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); 718 o.inappproductsinsertrequest = buildInappproductsInsertRequest();
719 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); 719 o.inappproductsupdaterequest = buildInappproductsUpdateRequest();
720 o.methodName = "foo"; 720 o.methodName = "foo";
721 } 721 }
722 buildCounterInappproductsBatchRequestEntry--; 722 buildCounterInappproductsBatchRequestEntry--;
723 return o; 723 return o;
724 } 724 }
725 725
726 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { 726 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) {
727 buildCounterInappproductsBatchRequestEntry++; 727 buildCounterInappproductsBatchRequestEntry++;
728 if (buildCounterInappproductsBatchRequestEntry < 3) { 728 if (buildCounterInappproductsBatchRequestEntry < 3) {
729 unittest.expect(o.batchId, unittest.equals(42)); 729 unittest.expect(o.batchId, unittest.equals(42));
730 checkInappproductsInsertRequest(o.inappproductsinsertrequest); 730 checkInappproductsInsertRequest(o.inappproductsinsertrequest);
731 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); 731 checkInappproductsUpdateRequest(o.inappproductsupdaterequest);
732 unittest.expect(o.methodName, unittest.equals('foo')); 732 unittest.expect(o.methodName, unittest.equals('foo'));
733 } 733 }
734 buildCounterInappproductsBatchRequestEntry--; 734 buildCounterInappproductsBatchRequestEntry--;
735 } 735 }
736 736
737 buildUnnamed2263() { 737 buildUnnamed2584() {
738 var o = new core.List<api.InappproductsBatchResponseEntry>(); 738 var o = new core.List<api.InappproductsBatchResponseEntry>();
739 o.add(buildInappproductsBatchResponseEntry()); 739 o.add(buildInappproductsBatchResponseEntry());
740 o.add(buildInappproductsBatchResponseEntry()); 740 o.add(buildInappproductsBatchResponseEntry());
741 return o; 741 return o;
742 } 742 }
743 743
744 checkUnnamed2263(core.List<api.InappproductsBatchResponseEntry> o) { 744 checkUnnamed2584(core.List<api.InappproductsBatchResponseEntry> o) {
745 unittest.expect(o, unittest.hasLength(2)); 745 unittest.expect(o, unittest.hasLength(2));
746 checkInappproductsBatchResponseEntry(o[0]); 746 checkInappproductsBatchResponseEntry(o[0]);
747 checkInappproductsBatchResponseEntry(o[1]); 747 checkInappproductsBatchResponseEntry(o[1]);
748 } 748 }
749 749
750 core.int buildCounterInappproductsBatchResponse = 0; 750 core.int buildCounterInappproductsBatchResponse = 0;
751 buildInappproductsBatchResponse() { 751 buildInappproductsBatchResponse() {
752 var o = new api.InappproductsBatchResponse(); 752 var o = new api.InappproductsBatchResponse();
753 buildCounterInappproductsBatchResponse++; 753 buildCounterInappproductsBatchResponse++;
754 if (buildCounterInappproductsBatchResponse < 3) { 754 if (buildCounterInappproductsBatchResponse < 3) {
755 o.entrys = buildUnnamed2263(); 755 o.entrys = buildUnnamed2584();
756 o.kind = "foo"; 756 o.kind = "foo";
757 } 757 }
758 buildCounterInappproductsBatchResponse--; 758 buildCounterInappproductsBatchResponse--;
759 return o; 759 return o;
760 } 760 }
761 761
762 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { 762 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) {
763 buildCounterInappproductsBatchResponse++; 763 buildCounterInappproductsBatchResponse++;
764 if (buildCounterInappproductsBatchResponse < 3) { 764 if (buildCounterInappproductsBatchResponse < 3) {
765 checkUnnamed2263(o.entrys); 765 checkUnnamed2584(o.entrys);
766 unittest.expect(o.kind, unittest.equals('foo')); 766 unittest.expect(o.kind, unittest.equals('foo'));
767 } 767 }
768 buildCounterInappproductsBatchResponse--; 768 buildCounterInappproductsBatchResponse--;
769 } 769 }
770 770
771 core.int buildCounterInappproductsBatchResponseEntry = 0; 771 core.int buildCounterInappproductsBatchResponseEntry = 0;
772 buildInappproductsBatchResponseEntry() { 772 buildInappproductsBatchResponseEntry() {
773 var o = new api.InappproductsBatchResponseEntry(); 773 var o = new api.InappproductsBatchResponseEntry();
774 buildCounterInappproductsBatchResponseEntry++; 774 buildCounterInappproductsBatchResponseEntry++;
775 if (buildCounterInappproductsBatchResponseEntry < 3) { 775 if (buildCounterInappproductsBatchResponseEntry < 3) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 } 822 }
823 823
824 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { 824 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) {
825 buildCounterInappproductsInsertResponse++; 825 buildCounterInappproductsInsertResponse++;
826 if (buildCounterInappproductsInsertResponse < 3) { 826 if (buildCounterInappproductsInsertResponse < 3) {
827 checkInAppProduct(o.inappproduct); 827 checkInAppProduct(o.inappproduct);
828 } 828 }
829 buildCounterInappproductsInsertResponse--; 829 buildCounterInappproductsInsertResponse--;
830 } 830 }
831 831
832 buildUnnamed2264() { 832 buildUnnamed2585() {
833 var o = new core.List<api.InAppProduct>(); 833 var o = new core.List<api.InAppProduct>();
834 o.add(buildInAppProduct()); 834 o.add(buildInAppProduct());
835 o.add(buildInAppProduct()); 835 o.add(buildInAppProduct());
836 return o; 836 return o;
837 } 837 }
838 838
839 checkUnnamed2264(core.List<api.InAppProduct> o) { 839 checkUnnamed2585(core.List<api.InAppProduct> o) {
840 unittest.expect(o, unittest.hasLength(2)); 840 unittest.expect(o, unittest.hasLength(2));
841 checkInAppProduct(o[0]); 841 checkInAppProduct(o[0]);
842 checkInAppProduct(o[1]); 842 checkInAppProduct(o[1]);
843 } 843 }
844 844
845 core.int buildCounterInappproductsListResponse = 0; 845 core.int buildCounterInappproductsListResponse = 0;
846 buildInappproductsListResponse() { 846 buildInappproductsListResponse() {
847 var o = new api.InappproductsListResponse(); 847 var o = new api.InappproductsListResponse();
848 buildCounterInappproductsListResponse++; 848 buildCounterInappproductsListResponse++;
849 if (buildCounterInappproductsListResponse < 3) { 849 if (buildCounterInappproductsListResponse < 3) {
850 o.inappproduct = buildUnnamed2264(); 850 o.inappproduct = buildUnnamed2585();
851 o.kind = "foo"; 851 o.kind = "foo";
852 o.pageInfo = buildPageInfo(); 852 o.pageInfo = buildPageInfo();
853 o.tokenPagination = buildTokenPagination(); 853 o.tokenPagination = buildTokenPagination();
854 } 854 }
855 buildCounterInappproductsListResponse--; 855 buildCounterInappproductsListResponse--;
856 return o; 856 return o;
857 } 857 }
858 858
859 checkInappproductsListResponse(api.InappproductsListResponse o) { 859 checkInappproductsListResponse(api.InappproductsListResponse o) {
860 buildCounterInappproductsListResponse++; 860 buildCounterInappproductsListResponse++;
861 if (buildCounterInappproductsListResponse < 3) { 861 if (buildCounterInappproductsListResponse < 3) {
862 checkUnnamed2264(o.inappproduct); 862 checkUnnamed2585(o.inappproduct);
863 unittest.expect(o.kind, unittest.equals('foo')); 863 unittest.expect(o.kind, unittest.equals('foo'));
864 checkPageInfo(o.pageInfo); 864 checkPageInfo(o.pageInfo);
865 checkTokenPagination(o.tokenPagination); 865 checkTokenPagination(o.tokenPagination);
866 } 866 }
867 buildCounterInappproductsListResponse--; 867 buildCounterInappproductsListResponse--;
868 } 868 }
869 869
870 core.int buildCounterInappproductsUpdateRequest = 0; 870 core.int buildCounterInappproductsUpdateRequest = 0;
871 buildInappproductsUpdateRequest() { 871 buildInappproductsUpdateRequest() {
872 var o = new api.InappproductsUpdateRequest(); 872 var o = new api.InappproductsUpdateRequest();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 if (buildCounterListing < 3) { 925 if (buildCounterListing < 3) {
926 unittest.expect(o.fullDescription, unittest.equals('foo')); 926 unittest.expect(o.fullDescription, unittest.equals('foo'));
927 unittest.expect(o.language, unittest.equals('foo')); 927 unittest.expect(o.language, unittest.equals('foo'));
928 unittest.expect(o.shortDescription, unittest.equals('foo')); 928 unittest.expect(o.shortDescription, unittest.equals('foo'));
929 unittest.expect(o.title, unittest.equals('foo')); 929 unittest.expect(o.title, unittest.equals('foo'));
930 unittest.expect(o.video, unittest.equals('foo')); 930 unittest.expect(o.video, unittest.equals('foo'));
931 } 931 }
932 buildCounterListing--; 932 buildCounterListing--;
933 } 933 }
934 934
935 buildUnnamed2265() { 935 buildUnnamed2586() {
936 var o = new core.List<api.Listing>(); 936 var o = new core.List<api.Listing>();
937 o.add(buildListing()); 937 o.add(buildListing());
938 o.add(buildListing()); 938 o.add(buildListing());
939 return o; 939 return o;
940 } 940 }
941 941
942 checkUnnamed2265(core.List<api.Listing> o) { 942 checkUnnamed2586(core.List<api.Listing> o) {
943 unittest.expect(o, unittest.hasLength(2)); 943 unittest.expect(o, unittest.hasLength(2));
944 checkListing(o[0]); 944 checkListing(o[0]);
945 checkListing(o[1]); 945 checkListing(o[1]);
946 } 946 }
947 947
948 core.int buildCounterListingsListResponse = 0; 948 core.int buildCounterListingsListResponse = 0;
949 buildListingsListResponse() { 949 buildListingsListResponse() {
950 var o = new api.ListingsListResponse(); 950 var o = new api.ListingsListResponse();
951 buildCounterListingsListResponse++; 951 buildCounterListingsListResponse++;
952 if (buildCounterListingsListResponse < 3) { 952 if (buildCounterListingsListResponse < 3) {
953 o.kind = "foo"; 953 o.kind = "foo";
954 o.listings = buildUnnamed2265(); 954 o.listings = buildUnnamed2586();
955 } 955 }
956 buildCounterListingsListResponse--; 956 buildCounterListingsListResponse--;
957 return o; 957 return o;
958 } 958 }
959 959
960 checkListingsListResponse(api.ListingsListResponse o) { 960 checkListingsListResponse(api.ListingsListResponse o) {
961 buildCounterListingsListResponse++; 961 buildCounterListingsListResponse++;
962 if (buildCounterListingsListResponse < 3) { 962 if (buildCounterListingsListResponse < 3) {
963 unittest.expect(o.kind, unittest.equals('foo')); 963 unittest.expect(o.kind, unittest.equals('foo'));
964 checkUnnamed2265(o.listings); 964 checkUnnamed2586(o.listings);
965 } 965 }
966 buildCounterListingsListResponse--; 966 buildCounterListingsListResponse--;
967 } 967 }
968 968
969 core.int buildCounterMonthDay = 0; 969 core.int buildCounterMonthDay = 0;
970 buildMonthDay() { 970 buildMonthDay() {
971 var o = new api.MonthDay(); 971 var o = new api.MonthDay();
972 buildCounterMonthDay++; 972 buildCounterMonthDay++;
973 if (buildCounterMonthDay < 3) { 973 if (buildCounterMonthDay < 3) {
974 o.day = 42; 974 o.day = 42;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 1072
1073 checkProrate(api.Prorate o) { 1073 checkProrate(api.Prorate o) {
1074 buildCounterProrate++; 1074 buildCounterProrate++;
1075 if (buildCounterProrate < 3) { 1075 if (buildCounterProrate < 3) {
1076 checkPrice(o.defaultPrice); 1076 checkPrice(o.defaultPrice);
1077 checkMonthDay(o.start); 1077 checkMonthDay(o.start);
1078 } 1078 }
1079 buildCounterProrate--; 1079 buildCounterProrate--;
1080 } 1080 }
1081 1081
1082 buildUnnamed2266() { 1082 buildUnnamed2587() {
1083 var o = new core.List<api.Prorate>(); 1083 var o = new core.List<api.Prorate>();
1084 o.add(buildProrate()); 1084 o.add(buildProrate());
1085 o.add(buildProrate()); 1085 o.add(buildProrate());
1086 return o; 1086 return o;
1087 } 1087 }
1088 1088
1089 checkUnnamed2266(core.List<api.Prorate> o) { 1089 checkUnnamed2587(core.List<api.Prorate> o) {
1090 unittest.expect(o, unittest.hasLength(2)); 1090 unittest.expect(o, unittest.hasLength(2));
1091 checkProrate(o[0]); 1091 checkProrate(o[0]);
1092 checkProrate(o[1]); 1092 checkProrate(o[1]);
1093 } 1093 }
1094 1094
1095 core.int buildCounterSeason = 0; 1095 core.int buildCounterSeason = 0;
1096 buildSeason() { 1096 buildSeason() {
1097 var o = new api.Season(); 1097 var o = new api.Season();
1098 buildCounterSeason++; 1098 buildCounterSeason++;
1099 if (buildCounterSeason < 3) { 1099 if (buildCounterSeason < 3) {
1100 o.end = buildMonthDay(); 1100 o.end = buildMonthDay();
1101 o.prorations = buildUnnamed2266(); 1101 o.prorations = buildUnnamed2587();
1102 o.start = buildMonthDay(); 1102 o.start = buildMonthDay();
1103 } 1103 }
1104 buildCounterSeason--; 1104 buildCounterSeason--;
1105 return o; 1105 return o;
1106 } 1106 }
1107 1107
1108 checkSeason(api.Season o) { 1108 checkSeason(api.Season o) {
1109 buildCounterSeason++; 1109 buildCounterSeason++;
1110 if (buildCounterSeason < 3) { 1110 if (buildCounterSeason < 3) {
1111 checkMonthDay(o.end); 1111 checkMonthDay(o.end);
1112 checkUnnamed2266(o.prorations); 1112 checkUnnamed2587(o.prorations);
1113 checkMonthDay(o.start); 1113 checkMonthDay(o.start);
1114 } 1114 }
1115 buildCounterSeason--; 1115 buildCounterSeason--;
1116 } 1116 }
1117 1117
1118 core.int buildCounterSubscriptionDeferralInfo = 0; 1118 core.int buildCounterSubscriptionDeferralInfo = 0;
1119 buildSubscriptionDeferralInfo() { 1119 buildSubscriptionDeferralInfo() {
1120 var o = new api.SubscriptionDeferralInfo(); 1120 var o = new api.SubscriptionDeferralInfo();
1121 buildCounterSubscriptionDeferralInfo++; 1121 buildCounterSubscriptionDeferralInfo++;
1122 if (buildCounterSubscriptionDeferralInfo < 3) { 1122 if (buildCounterSubscriptionDeferralInfo < 3) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 } 1192 }
1193 1193
1194 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o ) { 1194 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o ) {
1195 buildCounterSubscriptionPurchasesDeferResponse++; 1195 buildCounterSubscriptionPurchasesDeferResponse++;
1196 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { 1196 if (buildCounterSubscriptionPurchasesDeferResponse < 3) {
1197 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); 1197 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo'));
1198 } 1198 }
1199 buildCounterSubscriptionPurchasesDeferResponse--; 1199 buildCounterSubscriptionPurchasesDeferResponse--;
1200 } 1200 }
1201 1201
1202 buildUnnamed2267() { 1202 buildUnnamed2588() {
1203 var o = new core.List<core.String>(); 1203 var o = new core.List<core.String>();
1204 o.add("foo"); 1204 o.add("foo");
1205 o.add("foo"); 1205 o.add("foo");
1206 return o; 1206 return o;
1207 } 1207 }
1208 1208
1209 checkUnnamed2267(core.List<core.String> o) { 1209 checkUnnamed2588(core.List<core.String> o) {
1210 unittest.expect(o, unittest.hasLength(2)); 1210 unittest.expect(o, unittest.hasLength(2));
1211 unittest.expect(o[0], unittest.equals('foo')); 1211 unittest.expect(o[0], unittest.equals('foo'));
1212 unittest.expect(o[1], unittest.equals('foo')); 1212 unittest.expect(o[1], unittest.equals('foo'));
1213 } 1213 }
1214 1214
1215 buildUnnamed2268() { 1215 buildUnnamed2589() {
1216 var o = new core.List<core.String>(); 1216 var o = new core.List<core.String>();
1217 o.add("foo"); 1217 o.add("foo");
1218 o.add("foo"); 1218 o.add("foo");
1219 return o; 1219 return o;
1220 } 1220 }
1221 1221
1222 checkUnnamed2268(core.List<core.String> o) { 1222 checkUnnamed2589(core.List<core.String> o) {
1223 unittest.expect(o, unittest.hasLength(2)); 1223 unittest.expect(o, unittest.hasLength(2));
1224 unittest.expect(o[0], unittest.equals('foo')); 1224 unittest.expect(o[0], unittest.equals('foo'));
1225 unittest.expect(o[1], unittest.equals('foo')); 1225 unittest.expect(o[1], unittest.equals('foo'));
1226 } 1226 }
1227 1227
1228 core.int buildCounterTesters = 0; 1228 core.int buildCounterTesters = 0;
1229 buildTesters() { 1229 buildTesters() {
1230 var o = new api.Testers(); 1230 var o = new api.Testers();
1231 buildCounterTesters++; 1231 buildCounterTesters++;
1232 if (buildCounterTesters < 3) { 1232 if (buildCounterTesters < 3) {
1233 o.googleGroups = buildUnnamed2267(); 1233 o.googleGroups = buildUnnamed2588();
1234 o.googlePlusCommunities = buildUnnamed2268(); 1234 o.googlePlusCommunities = buildUnnamed2589();
1235 } 1235 }
1236 buildCounterTesters--; 1236 buildCounterTesters--;
1237 return o; 1237 return o;
1238 } 1238 }
1239 1239
1240 checkTesters(api.Testers o) { 1240 checkTesters(api.Testers o) {
1241 buildCounterTesters++; 1241 buildCounterTesters++;
1242 if (buildCounterTesters < 3) { 1242 if (buildCounterTesters < 3) {
1243 checkUnnamed2267(o.googleGroups); 1243 checkUnnamed2588(o.googleGroups);
1244 checkUnnamed2268(o.googlePlusCommunities); 1244 checkUnnamed2589(o.googlePlusCommunities);
1245 } 1245 }
1246 buildCounterTesters--; 1246 buildCounterTesters--;
1247 } 1247 }
1248 1248
1249 core.int buildCounterTokenPagination = 0; 1249 core.int buildCounterTokenPagination = 0;
1250 buildTokenPagination() { 1250 buildTokenPagination() {
1251 var o = new api.TokenPagination(); 1251 var o = new api.TokenPagination();
1252 buildCounterTokenPagination++; 1252 buildCounterTokenPagination++;
1253 if (buildCounterTokenPagination < 3) { 1253 if (buildCounterTokenPagination < 3) {
1254 o.nextPageToken = "foo"; 1254 o.nextPageToken = "foo";
1255 o.previousPageToken = "foo"; 1255 o.previousPageToken = "foo";
1256 } 1256 }
1257 buildCounterTokenPagination--; 1257 buildCounterTokenPagination--;
1258 return o; 1258 return o;
1259 } 1259 }
1260 1260
1261 checkTokenPagination(api.TokenPagination o) { 1261 checkTokenPagination(api.TokenPagination o) {
1262 buildCounterTokenPagination++; 1262 buildCounterTokenPagination++;
1263 if (buildCounterTokenPagination < 3) { 1263 if (buildCounterTokenPagination < 3) {
1264 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1264 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1265 unittest.expect(o.previousPageToken, unittest.equals('foo')); 1265 unittest.expect(o.previousPageToken, unittest.equals('foo'));
1266 } 1266 }
1267 buildCounterTokenPagination--; 1267 buildCounterTokenPagination--;
1268 } 1268 }
1269 1269
1270 buildUnnamed2269() { 1270 buildUnnamed2590() {
1271 var o = new core.List<core.int>(); 1271 var o = new core.List<core.int>();
1272 o.add(42); 1272 o.add(42);
1273 o.add(42); 1273 o.add(42);
1274 return o; 1274 return o;
1275 } 1275 }
1276 1276
1277 checkUnnamed2269(core.List<core.int> o) { 1277 checkUnnamed2590(core.List<core.int> o) {
1278 unittest.expect(o, unittest.hasLength(2)); 1278 unittest.expect(o, unittest.hasLength(2));
1279 unittest.expect(o[0], unittest.equals(42)); 1279 unittest.expect(o[0], unittest.equals(42));
1280 unittest.expect(o[1], unittest.equals(42)); 1280 unittest.expect(o[1], unittest.equals(42));
1281 } 1281 }
1282 1282
1283 core.int buildCounterTrack = 0; 1283 core.int buildCounterTrack = 0;
1284 buildTrack() { 1284 buildTrack() {
1285 var o = new api.Track(); 1285 var o = new api.Track();
1286 buildCounterTrack++; 1286 buildCounterTrack++;
1287 if (buildCounterTrack < 3) { 1287 if (buildCounterTrack < 3) {
1288 o.track = "foo"; 1288 o.track = "foo";
1289 o.userFraction = 42.0; 1289 o.userFraction = 42.0;
1290 o.versionCodes = buildUnnamed2269(); 1290 o.versionCodes = buildUnnamed2590();
1291 } 1291 }
1292 buildCounterTrack--; 1292 buildCounterTrack--;
1293 return o; 1293 return o;
1294 } 1294 }
1295 1295
1296 checkTrack(api.Track o) { 1296 checkTrack(api.Track o) {
1297 buildCounterTrack++; 1297 buildCounterTrack++;
1298 if (buildCounterTrack < 3) { 1298 if (buildCounterTrack < 3) {
1299 unittest.expect(o.track, unittest.equals('foo')); 1299 unittest.expect(o.track, unittest.equals('foo'));
1300 unittest.expect(o.userFraction, unittest.equals(42.0)); 1300 unittest.expect(o.userFraction, unittest.equals(42.0));
1301 checkUnnamed2269(o.versionCodes); 1301 checkUnnamed2590(o.versionCodes);
1302 } 1302 }
1303 buildCounterTrack--; 1303 buildCounterTrack--;
1304 } 1304 }
1305 1305
1306 buildUnnamed2270() { 1306 buildUnnamed2591() {
1307 var o = new core.List<api.Track>(); 1307 var o = new core.List<api.Track>();
1308 o.add(buildTrack()); 1308 o.add(buildTrack());
1309 o.add(buildTrack()); 1309 o.add(buildTrack());
1310 return o; 1310 return o;
1311 } 1311 }
1312 1312
1313 checkUnnamed2270(core.List<api.Track> o) { 1313 checkUnnamed2591(core.List<api.Track> o) {
1314 unittest.expect(o, unittest.hasLength(2)); 1314 unittest.expect(o, unittest.hasLength(2));
1315 checkTrack(o[0]); 1315 checkTrack(o[0]);
1316 checkTrack(o[1]); 1316 checkTrack(o[1]);
1317 } 1317 }
1318 1318
1319 core.int buildCounterTracksListResponse = 0; 1319 core.int buildCounterTracksListResponse = 0;
1320 buildTracksListResponse() { 1320 buildTracksListResponse() {
1321 var o = new api.TracksListResponse(); 1321 var o = new api.TracksListResponse();
1322 buildCounterTracksListResponse++; 1322 buildCounterTracksListResponse++;
1323 if (buildCounterTracksListResponse < 3) { 1323 if (buildCounterTracksListResponse < 3) {
1324 o.kind = "foo"; 1324 o.kind = "foo";
1325 o.tracks = buildUnnamed2270(); 1325 o.tracks = buildUnnamed2591();
1326 } 1326 }
1327 buildCounterTracksListResponse--; 1327 buildCounterTracksListResponse--;
1328 return o; 1328 return o;
1329 } 1329 }
1330 1330
1331 checkTracksListResponse(api.TracksListResponse o) { 1331 checkTracksListResponse(api.TracksListResponse o) {
1332 buildCounterTracksListResponse++; 1332 buildCounterTracksListResponse++;
1333 if (buildCounterTracksListResponse < 3) { 1333 if (buildCounterTracksListResponse < 3) {
1334 unittest.expect(o.kind, unittest.equals('foo')); 1334 unittest.expect(o.kind, unittest.equals('foo'));
1335 checkUnnamed2270(o.tracks); 1335 checkUnnamed2591(o.tracks);
1336 } 1336 }
1337 buildCounterTracksListResponse--; 1337 buildCounterTracksListResponse--;
1338 } 1338 }
1339 1339
1340 1340
1341 main() { 1341 main() {
1342 unittest.group("obj-schema-Apk", () { 1342 unittest.group("obj-schema-Apk", () {
1343 unittest.test("to-json--from-json", () { 1343 unittest.test("to-json--from-json", () {
1344 var o = buildApk(); 1344 var o = buildApk();
1345 var od = new api.Apk.fromJson(o.toJson()); 1345 var od = new api.Apk.fromJson(o.toJson());
(...skipping 2813 matching lines...) Expand 10 before | Expand all | Expand 10 after
4159 return new async.Future.value(stringResponse(200, h, resp)); 4159 return new async.Future.value(stringResponse(200, h, resp));
4160 }), true); 4160 }), true);
4161 res.revoke(arg_packageName, arg_subscriptionId, arg_token).then(unittest.e xpectAsync((_) {})); 4161 res.revoke(arg_packageName, arg_subscriptionId, arg_token).then(unittest.e xpectAsync((_) {}));
4162 }); 4162 });
4163 4163
4164 }); 4164 });
4165 4165
4166 4166
4167 } 4167 }
4168 4168
OLDNEW
« no previous file with comments | « generated/googleapis/test/androidenterprise/v1_test.dart ('k') | generated/googleapis/test/appsactivity/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698