Chromium Code Reviews

Side by Side Diff: generated/googleapis/test/games/v1_test.dart

Issue 612053002: Api roll 2: 2014-09-29 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed more review comments Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 library googleapis.games.v1.test; 1 library googleapis.games.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 41 matching lines...)
52 unittest.expect(o.isUnlockedIconUrlDefault, unittest.isTrue); 52 unittest.expect(o.isUnlockedIconUrlDefault, unittest.isTrue);
53 unittest.expect(o.kind, unittest.equals('foo')); 53 unittest.expect(o.kind, unittest.equals('foo'));
54 unittest.expect(o.name, unittest.equals('foo')); 54 unittest.expect(o.name, unittest.equals('foo'));
55 unittest.expect(o.revealedIconUrl, unittest.equals('foo')); 55 unittest.expect(o.revealedIconUrl, unittest.equals('foo'));
56 unittest.expect(o.totalSteps, unittest.equals(42)); 56 unittest.expect(o.totalSteps, unittest.equals(42));
57 unittest.expect(o.unlockedIconUrl, unittest.equals('foo')); 57 unittest.expect(o.unlockedIconUrl, unittest.equals('foo'));
58 } 58 }
59 buildCounterAchievementDefinition--; 59 buildCounterAchievementDefinition--;
60 } 60 }
61 61
62 buildUnnamed20() { 62 buildUnnamed491() {
63 var o = new core.List<api.AchievementDefinition>(); 63 var o = new core.List<api.AchievementDefinition>();
64 o.add(buildAchievementDefinition()); 64 o.add(buildAchievementDefinition());
65 o.add(buildAchievementDefinition()); 65 o.add(buildAchievementDefinition());
66 return o; 66 return o;
67 } 67 }
68 68
69 checkUnnamed20(core.List<api.AchievementDefinition> o) { 69 checkUnnamed491(core.List<api.AchievementDefinition> o) {
70 unittest.expect(o, unittest.hasLength(2)); 70 unittest.expect(o, unittest.hasLength(2));
71 checkAchievementDefinition(o[0]); 71 checkAchievementDefinition(o[0]);
72 checkAchievementDefinition(o[1]); 72 checkAchievementDefinition(o[1]);
73 } 73 }
74 74
75 core.int buildCounterAchievementDefinitionsListResponse = 0; 75 core.int buildCounterAchievementDefinitionsListResponse = 0;
76 buildAchievementDefinitionsListResponse() { 76 buildAchievementDefinitionsListResponse() {
77 var o = new api.AchievementDefinitionsListResponse(); 77 var o = new api.AchievementDefinitionsListResponse();
78 buildCounterAchievementDefinitionsListResponse++; 78 buildCounterAchievementDefinitionsListResponse++;
79 if (buildCounterAchievementDefinitionsListResponse < 3) { 79 if (buildCounterAchievementDefinitionsListResponse < 3) {
80 o.items = buildUnnamed20(); 80 o.items = buildUnnamed491();
81 o.kind = "foo"; 81 o.kind = "foo";
82 o.nextPageToken = "foo"; 82 o.nextPageToken = "foo";
83 } 83 }
84 buildCounterAchievementDefinitionsListResponse--; 84 buildCounterAchievementDefinitionsListResponse--;
85 return o; 85 return o;
86 } 86 }
87 87
88 checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o ) { 88 checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o ) {
89 buildCounterAchievementDefinitionsListResponse++; 89 buildCounterAchievementDefinitionsListResponse++;
90 if (buildCounterAchievementDefinitionsListResponse < 3) { 90 if (buildCounterAchievementDefinitionsListResponse < 3) {
91 checkUnnamed20(o.items); 91 checkUnnamed491(o.items);
92 unittest.expect(o.kind, unittest.equals('foo')); 92 unittest.expect(o.kind, unittest.equals('foo'));
93 unittest.expect(o.nextPageToken, unittest.equals('foo')); 93 unittest.expect(o.nextPageToken, unittest.equals('foo'));
94 } 94 }
95 buildCounterAchievementDefinitionsListResponse--; 95 buildCounterAchievementDefinitionsListResponse--;
96 } 96 }
97 97
98 core.int buildCounterAchievementIncrementResponse = 0; 98 core.int buildCounterAchievementIncrementResponse = 0;
99 buildAchievementIncrementResponse() { 99 buildAchievementIncrementResponse() {
100 var o = new api.AchievementIncrementResponse(); 100 var o = new api.AchievementIncrementResponse();
101 buildCounterAchievementIncrementResponse++; 101 buildCounterAchievementIncrementResponse++;
(...skipping 74 matching lines...)
176 176
177 checkAchievementUnlockResponse(api.AchievementUnlockResponse o) { 177 checkAchievementUnlockResponse(api.AchievementUnlockResponse o) {
178 buildCounterAchievementUnlockResponse++; 178 buildCounterAchievementUnlockResponse++;
179 if (buildCounterAchievementUnlockResponse < 3) { 179 if (buildCounterAchievementUnlockResponse < 3) {
180 unittest.expect(o.kind, unittest.equals('foo')); 180 unittest.expect(o.kind, unittest.equals('foo'));
181 unittest.expect(o.newlyUnlocked, unittest.isTrue); 181 unittest.expect(o.newlyUnlocked, unittest.isTrue);
182 } 182 }
183 buildCounterAchievementUnlockResponse--; 183 buildCounterAchievementUnlockResponse--;
184 } 184 }
185 185
186 buildUnnamed21() { 186 buildUnnamed492() {
187 var o = new core.List<api.AchievementUpdateRequest>(); 187 var o = new core.List<api.AchievementUpdateRequest>();
188 o.add(buildAchievementUpdateRequest()); 188 o.add(buildAchievementUpdateRequest());
189 o.add(buildAchievementUpdateRequest()); 189 o.add(buildAchievementUpdateRequest());
190 return o; 190 return o;
191 } 191 }
192 192
193 checkUnnamed21(core.List<api.AchievementUpdateRequest> o) { 193 checkUnnamed492(core.List<api.AchievementUpdateRequest> o) {
194 unittest.expect(o, unittest.hasLength(2)); 194 unittest.expect(o, unittest.hasLength(2));
195 checkAchievementUpdateRequest(o[0]); 195 checkAchievementUpdateRequest(o[0]);
196 checkAchievementUpdateRequest(o[1]); 196 checkAchievementUpdateRequest(o[1]);
197 } 197 }
198 198
199 core.int buildCounterAchievementUpdateMultipleRequest = 0; 199 core.int buildCounterAchievementUpdateMultipleRequest = 0;
200 buildAchievementUpdateMultipleRequest() { 200 buildAchievementUpdateMultipleRequest() {
201 var o = new api.AchievementUpdateMultipleRequest(); 201 var o = new api.AchievementUpdateMultipleRequest();
202 buildCounterAchievementUpdateMultipleRequest++; 202 buildCounterAchievementUpdateMultipleRequest++;
203 if (buildCounterAchievementUpdateMultipleRequest < 3) { 203 if (buildCounterAchievementUpdateMultipleRequest < 3) {
204 o.kind = "foo"; 204 o.kind = "foo";
205 o.updates = buildUnnamed21(); 205 o.updates = buildUnnamed492();
206 } 206 }
207 buildCounterAchievementUpdateMultipleRequest--; 207 buildCounterAchievementUpdateMultipleRequest--;
208 return o; 208 return o;
209 } 209 }
210 210
211 checkAchievementUpdateMultipleRequest(api.AchievementUpdateMultipleRequest o) { 211 checkAchievementUpdateMultipleRequest(api.AchievementUpdateMultipleRequest o) {
212 buildCounterAchievementUpdateMultipleRequest++; 212 buildCounterAchievementUpdateMultipleRequest++;
213 if (buildCounterAchievementUpdateMultipleRequest < 3) { 213 if (buildCounterAchievementUpdateMultipleRequest < 3) {
214 unittest.expect(o.kind, unittest.equals('foo')); 214 unittest.expect(o.kind, unittest.equals('foo'));
215 checkUnnamed21(o.updates); 215 checkUnnamed492(o.updates);
216 } 216 }
217 buildCounterAchievementUpdateMultipleRequest--; 217 buildCounterAchievementUpdateMultipleRequest--;
218 } 218 }
219 219
220 buildUnnamed22() { 220 buildUnnamed493() {
221 var o = new core.List<api.AchievementUpdateResponse>(); 221 var o = new core.List<api.AchievementUpdateResponse>();
222 o.add(buildAchievementUpdateResponse()); 222 o.add(buildAchievementUpdateResponse());
223 o.add(buildAchievementUpdateResponse()); 223 o.add(buildAchievementUpdateResponse());
224 return o; 224 return o;
225 } 225 }
226 226
227 checkUnnamed22(core.List<api.AchievementUpdateResponse> o) { 227 checkUnnamed493(core.List<api.AchievementUpdateResponse> o) {
228 unittest.expect(o, unittest.hasLength(2)); 228 unittest.expect(o, unittest.hasLength(2));
229 checkAchievementUpdateResponse(o[0]); 229 checkAchievementUpdateResponse(o[0]);
230 checkAchievementUpdateResponse(o[1]); 230 checkAchievementUpdateResponse(o[1]);
231 } 231 }
232 232
233 core.int buildCounterAchievementUpdateMultipleResponse = 0; 233 core.int buildCounterAchievementUpdateMultipleResponse = 0;
234 buildAchievementUpdateMultipleResponse() { 234 buildAchievementUpdateMultipleResponse() {
235 var o = new api.AchievementUpdateMultipleResponse(); 235 var o = new api.AchievementUpdateMultipleResponse();
236 buildCounterAchievementUpdateMultipleResponse++; 236 buildCounterAchievementUpdateMultipleResponse++;
237 if (buildCounterAchievementUpdateMultipleResponse < 3) { 237 if (buildCounterAchievementUpdateMultipleResponse < 3) {
238 o.kind = "foo"; 238 o.kind = "foo";
239 o.updatedAchievements = buildUnnamed22(); 239 o.updatedAchievements = buildUnnamed493();
240 } 240 }
241 buildCounterAchievementUpdateMultipleResponse--; 241 buildCounterAchievementUpdateMultipleResponse--;
242 return o; 242 return o;
243 } 243 }
244 244
245 checkAchievementUpdateMultipleResponse(api.AchievementUpdateMultipleResponse o) { 245 checkAchievementUpdateMultipleResponse(api.AchievementUpdateMultipleResponse o) {
246 buildCounterAchievementUpdateMultipleResponse++; 246 buildCounterAchievementUpdateMultipleResponse++;
247 if (buildCounterAchievementUpdateMultipleResponse < 3) { 247 if (buildCounterAchievementUpdateMultipleResponse < 3) {
248 unittest.expect(o.kind, unittest.equals('foo')); 248 unittest.expect(o.kind, unittest.equals('foo'));
249 checkUnnamed22(o.updatedAchievements); 249 checkUnnamed493(o.updatedAchievements);
250 } 250 }
251 buildCounterAchievementUpdateMultipleResponse--; 251 buildCounterAchievementUpdateMultipleResponse--;
252 } 252 }
253 253
254 core.int buildCounterAchievementUpdateRequest = 0; 254 core.int buildCounterAchievementUpdateRequest = 0;
255 buildAchievementUpdateRequest() { 255 buildAchievementUpdateRequest() {
256 var o = new api.AchievementUpdateRequest(); 256 var o = new api.AchievementUpdateRequest();
257 buildCounterAchievementUpdateRequest++; 257 buildCounterAchievementUpdateRequest++;
258 if (buildCounterAchievementUpdateRequest < 3) { 258 if (buildCounterAchievementUpdateRequest < 3) {
259 o.achievementId = "foo"; 259 o.achievementId = "foo";
(...skipping 90 matching lines...)
350 checkAnonymousPlayer(api.AnonymousPlayer o) { 350 checkAnonymousPlayer(api.AnonymousPlayer o) {
351 buildCounterAnonymousPlayer++; 351 buildCounterAnonymousPlayer++;
352 if (buildCounterAnonymousPlayer < 3) { 352 if (buildCounterAnonymousPlayer < 3) {
353 unittest.expect(o.avatarImageUrl, unittest.equals('foo')); 353 unittest.expect(o.avatarImageUrl, unittest.equals('foo'));
354 unittest.expect(o.displayName, unittest.equals('foo')); 354 unittest.expect(o.displayName, unittest.equals('foo'));
355 unittest.expect(o.kind, unittest.equals('foo')); 355 unittest.expect(o.kind, unittest.equals('foo'));
356 } 356 }
357 buildCounterAnonymousPlayer--; 357 buildCounterAnonymousPlayer--;
358 } 358 }
359 359
360 buildUnnamed23() { 360 buildUnnamed494() {
361 var o = new core.List<api.ImageAsset>(); 361 var o = new core.List<api.ImageAsset>();
362 o.add(buildImageAsset()); 362 o.add(buildImageAsset());
363 o.add(buildImageAsset()); 363 o.add(buildImageAsset());
364 return o; 364 return o;
365 } 365 }
366 366
367 checkUnnamed23(core.List<api.ImageAsset> o) { 367 checkUnnamed494(core.List<api.ImageAsset> o) {
368 unittest.expect(o, unittest.hasLength(2)); 368 unittest.expect(o, unittest.hasLength(2));
369 checkImageAsset(o[0]); 369 checkImageAsset(o[0]);
370 checkImageAsset(o[1]); 370 checkImageAsset(o[1]);
371 } 371 }
372 372
373 buildUnnamed24() { 373 buildUnnamed495() {
374 var o = new core.List<core.String>(); 374 var o = new core.List<core.String>();
375 o.add("foo"); 375 o.add("foo");
376 o.add("foo"); 376 o.add("foo");
377 return o; 377 return o;
378 } 378 }
379 379
380 checkUnnamed24(core.List<core.String> o) { 380 checkUnnamed495(core.List<core.String> o) {
381 unittest.expect(o, unittest.hasLength(2)); 381 unittest.expect(o, unittest.hasLength(2));
382 unittest.expect(o[0], unittest.equals('foo')); 382 unittest.expect(o[0], unittest.equals('foo'));
383 unittest.expect(o[1], unittest.equals('foo')); 383 unittest.expect(o[1], unittest.equals('foo'));
384 } 384 }
385 385
386 buildUnnamed25() { 386 buildUnnamed496() {
387 var o = new core.List<api.Instance>(); 387 var o = new core.List<api.Instance>();
388 o.add(buildInstance()); 388 o.add(buildInstance());
389 o.add(buildInstance()); 389 o.add(buildInstance());
390 return o; 390 return o;
391 } 391 }
392 392
393 checkUnnamed25(core.List<api.Instance> o) { 393 checkUnnamed496(core.List<api.Instance> o) {
394 unittest.expect(o, unittest.hasLength(2)); 394 unittest.expect(o, unittest.hasLength(2));
395 checkInstance(o[0]); 395 checkInstance(o[0]);
396 checkInstance(o[1]); 396 checkInstance(o[1]);
397 } 397 }
398 398
399 core.int buildCounterApplication = 0; 399 core.int buildCounterApplication = 0;
400 buildApplication() { 400 buildApplication() {
401 var o = new api.Application(); 401 var o = new api.Application();
402 buildCounterApplication++; 402 buildCounterApplication++;
403 if (buildCounterApplication < 3) { 403 if (buildCounterApplication < 3) {
404 o.achievementCount = 42; 404 o.achievementCount = 42;
405 o.assets = buildUnnamed23(); 405 o.assets = buildUnnamed494();
406 o.author = "foo"; 406 o.author = "foo";
407 o.category = buildApplicationCategory(); 407 o.category = buildApplicationCategory();
408 o.description = "foo"; 408 o.description = "foo";
409 o.enabledFeatures = buildUnnamed24(); 409 o.enabledFeatures = buildUnnamed495();
410 o.id = "foo"; 410 o.id = "foo";
411 o.instances = buildUnnamed25(); 411 o.instances = buildUnnamed496();
412 o.kind = "foo"; 412 o.kind = "foo";
413 o.lastUpdatedTimestamp = "foo"; 413 o.lastUpdatedTimestamp = "foo";
414 o.leaderboardCount = 42; 414 o.leaderboardCount = 42;
415 o.name = "foo"; 415 o.name = "foo";
416 } 416 }
417 buildCounterApplication--; 417 buildCounterApplication--;
418 return o; 418 return o;
419 } 419 }
420 420
421 checkApplication(api.Application o) { 421 checkApplication(api.Application o) {
422 buildCounterApplication++; 422 buildCounterApplication++;
423 if (buildCounterApplication < 3) { 423 if (buildCounterApplication < 3) {
424 unittest.expect(o.achievementCount, unittest.equals(42)); 424 unittest.expect(o.achievementCount, unittest.equals(42));
425 checkUnnamed23(o.assets); 425 checkUnnamed494(o.assets);
426 unittest.expect(o.author, unittest.equals('foo')); 426 unittest.expect(o.author, unittest.equals('foo'));
427 checkApplicationCategory(o.category); 427 checkApplicationCategory(o.category);
428 unittest.expect(o.description, unittest.equals('foo')); 428 unittest.expect(o.description, unittest.equals('foo'));
429 checkUnnamed24(o.enabledFeatures); 429 checkUnnamed495(o.enabledFeatures);
430 unittest.expect(o.id, unittest.equals('foo')); 430 unittest.expect(o.id, unittest.equals('foo'));
431 checkUnnamed25(o.instances); 431 checkUnnamed496(o.instances);
432 unittest.expect(o.kind, unittest.equals('foo')); 432 unittest.expect(o.kind, unittest.equals('foo'));
433 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); 433 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo'));
434 unittest.expect(o.leaderboardCount, unittest.equals(42)); 434 unittest.expect(o.leaderboardCount, unittest.equals(42));
435 unittest.expect(o.name, unittest.equals('foo')); 435 unittest.expect(o.name, unittest.equals('foo'));
436 } 436 }
437 buildCounterApplication--; 437 buildCounterApplication--;
438 } 438 }
439 439
440 core.int buildCounterApplicationCategory = 0; 440 core.int buildCounterApplicationCategory = 0;
441 buildApplicationCategory() { 441 buildApplicationCategory() {
(...skipping 34 matching lines...)
476 checkCategory(api.Category o) { 476 checkCategory(api.Category o) {
477 buildCounterCategory++; 477 buildCounterCategory++;
478 if (buildCounterCategory < 3) { 478 if (buildCounterCategory < 3) {
479 unittest.expect(o.category, unittest.equals('foo')); 479 unittest.expect(o.category, unittest.equals('foo'));
480 unittest.expect(o.experiencePoints, unittest.equals('foo')); 480 unittest.expect(o.experiencePoints, unittest.equals('foo'));
481 unittest.expect(o.kind, unittest.equals('foo')); 481 unittest.expect(o.kind, unittest.equals('foo'));
482 } 482 }
483 buildCounterCategory--; 483 buildCounterCategory--;
484 } 484 }
485 485
486 buildUnnamed26() { 486 buildUnnamed497() {
487 var o = new core.List<api.Category>(); 487 var o = new core.List<api.Category>();
488 o.add(buildCategory()); 488 o.add(buildCategory());
489 o.add(buildCategory()); 489 o.add(buildCategory());
490 return o; 490 return o;
491 } 491 }
492 492
493 checkUnnamed26(core.List<api.Category> o) { 493 checkUnnamed497(core.List<api.Category> o) {
494 unittest.expect(o, unittest.hasLength(2)); 494 unittest.expect(o, unittest.hasLength(2));
495 checkCategory(o[0]); 495 checkCategory(o[0]);
496 checkCategory(o[1]); 496 checkCategory(o[1]);
497 } 497 }
498 498
499 core.int buildCounterCategoryListResponse = 0; 499 core.int buildCounterCategoryListResponse = 0;
500 buildCategoryListResponse() { 500 buildCategoryListResponse() {
501 var o = new api.CategoryListResponse(); 501 var o = new api.CategoryListResponse();
502 buildCounterCategoryListResponse++; 502 buildCounterCategoryListResponse++;
503 if (buildCounterCategoryListResponse < 3) { 503 if (buildCounterCategoryListResponse < 3) {
504 o.items = buildUnnamed26(); 504 o.items = buildUnnamed497();
505 o.kind = "foo"; 505 o.kind = "foo";
506 o.nextPageToken = "foo"; 506 o.nextPageToken = "foo";
507 } 507 }
508 buildCounterCategoryListResponse--; 508 buildCounterCategoryListResponse--;
509 return o; 509 return o;
510 } 510 }
511 511
512 checkCategoryListResponse(api.CategoryListResponse o) { 512 checkCategoryListResponse(api.CategoryListResponse o) {
513 buildCounterCategoryListResponse++; 513 buildCounterCategoryListResponse++;
514 if (buildCounterCategoryListResponse < 3) { 514 if (buildCounterCategoryListResponse < 3) {
515 checkUnnamed26(o.items); 515 checkUnnamed497(o.items);
516 unittest.expect(o.kind, unittest.equals('foo')); 516 unittest.expect(o.kind, unittest.equals('foo'));
517 unittest.expect(o.nextPageToken, unittest.equals('foo')); 517 unittest.expect(o.nextPageToken, unittest.equals('foo'));
518 } 518 }
519 buildCounterCategoryListResponse--; 519 buildCounterCategoryListResponse--;
520 } 520 }
521 521
522 core.int buildCounterEventBatchRecordFailure = 0; 522 core.int buildCounterEventBatchRecordFailure = 0;
523 buildEventBatchRecordFailure() { 523 buildEventBatchRecordFailure() {
524 var o = new api.EventBatchRecordFailure(); 524 var o = new api.EventBatchRecordFailure();
525 buildCounterEventBatchRecordFailure++; 525 buildCounterEventBatchRecordFailure++;
(...skipping 30 matching lines...)
556 556
557 checkEventChild(api.EventChild o) { 557 checkEventChild(api.EventChild o) {
558 buildCounterEventChild++; 558 buildCounterEventChild++;
559 if (buildCounterEventChild < 3) { 559 if (buildCounterEventChild < 3) {
560 unittest.expect(o.childId, unittest.equals('foo')); 560 unittest.expect(o.childId, unittest.equals('foo'));
561 unittest.expect(o.kind, unittest.equals('foo')); 561 unittest.expect(o.kind, unittest.equals('foo'));
562 } 562 }
563 buildCounterEventChild--; 563 buildCounterEventChild--;
564 } 564 }
565 565
566 buildUnnamed27() { 566 buildUnnamed498() {
567 var o = new core.List<api.EventChild>(); 567 var o = new core.List<api.EventChild>();
568 o.add(buildEventChild()); 568 o.add(buildEventChild());
569 o.add(buildEventChild()); 569 o.add(buildEventChild());
570 return o; 570 return o;
571 } 571 }
572 572
573 checkUnnamed27(core.List<api.EventChild> o) { 573 checkUnnamed498(core.List<api.EventChild> o) {
574 unittest.expect(o, unittest.hasLength(2)); 574 unittest.expect(o, unittest.hasLength(2));
575 checkEventChild(o[0]); 575 checkEventChild(o[0]);
576 checkEventChild(o[1]); 576 checkEventChild(o[1]);
577 } 577 }
578 578
579 core.int buildCounterEventDefinition = 0; 579 core.int buildCounterEventDefinition = 0;
580 buildEventDefinition() { 580 buildEventDefinition() {
581 var o = new api.EventDefinition(); 581 var o = new api.EventDefinition();
582 buildCounterEventDefinition++; 582 buildCounterEventDefinition++;
583 if (buildCounterEventDefinition < 3) { 583 if (buildCounterEventDefinition < 3) {
584 o.childEvents = buildUnnamed27(); 584 o.childEvents = buildUnnamed498();
585 o.description = "foo"; 585 o.description = "foo";
586 o.displayName = "foo"; 586 o.displayName = "foo";
587 o.id = "foo"; 587 o.id = "foo";
588 o.imageUrl = "foo"; 588 o.imageUrl = "foo";
589 o.isDefaultImageUrl = true; 589 o.isDefaultImageUrl = true;
590 o.kind = "foo"; 590 o.kind = "foo";
591 o.visibility = "foo"; 591 o.visibility = "foo";
592 } 592 }
593 buildCounterEventDefinition--; 593 buildCounterEventDefinition--;
594 return o; 594 return o;
595 } 595 }
596 596
597 checkEventDefinition(api.EventDefinition o) { 597 checkEventDefinition(api.EventDefinition o) {
598 buildCounterEventDefinition++; 598 buildCounterEventDefinition++;
599 if (buildCounterEventDefinition < 3) { 599 if (buildCounterEventDefinition < 3) {
600 checkUnnamed27(o.childEvents); 600 checkUnnamed498(o.childEvents);
601 unittest.expect(o.description, unittest.equals('foo')); 601 unittest.expect(o.description, unittest.equals('foo'));
602 unittest.expect(o.displayName, unittest.equals('foo')); 602 unittest.expect(o.displayName, unittest.equals('foo'));
603 unittest.expect(o.id, unittest.equals('foo')); 603 unittest.expect(o.id, unittest.equals('foo'));
604 unittest.expect(o.imageUrl, unittest.equals('foo')); 604 unittest.expect(o.imageUrl, unittest.equals('foo'));
605 unittest.expect(o.isDefaultImageUrl, unittest.isTrue); 605 unittest.expect(o.isDefaultImageUrl, unittest.isTrue);
606 unittest.expect(o.kind, unittest.equals('foo')); 606 unittest.expect(o.kind, unittest.equals('foo'));
607 unittest.expect(o.visibility, unittest.equals('foo')); 607 unittest.expect(o.visibility, unittest.equals('foo'));
608 } 608 }
609 buildCounterEventDefinition--; 609 buildCounterEventDefinition--;
610 } 610 }
611 611
612 buildUnnamed28() { 612 buildUnnamed499() {
613 var o = new core.List<api.EventDefinition>(); 613 var o = new core.List<api.EventDefinition>();
614 o.add(buildEventDefinition()); 614 o.add(buildEventDefinition());
615 o.add(buildEventDefinition()); 615 o.add(buildEventDefinition());
616 return o; 616 return o;
617 } 617 }
618 618
619 checkUnnamed28(core.List<api.EventDefinition> o) { 619 checkUnnamed499(core.List<api.EventDefinition> o) {
620 unittest.expect(o, unittest.hasLength(2)); 620 unittest.expect(o, unittest.hasLength(2));
621 checkEventDefinition(o[0]); 621 checkEventDefinition(o[0]);
622 checkEventDefinition(o[1]); 622 checkEventDefinition(o[1]);
623 } 623 }
624 624
625 core.int buildCounterEventDefinitionListResponse = 0; 625 core.int buildCounterEventDefinitionListResponse = 0;
626 buildEventDefinitionListResponse() { 626 buildEventDefinitionListResponse() {
627 var o = new api.EventDefinitionListResponse(); 627 var o = new api.EventDefinitionListResponse();
628 buildCounterEventDefinitionListResponse++; 628 buildCounterEventDefinitionListResponse++;
629 if (buildCounterEventDefinitionListResponse < 3) { 629 if (buildCounterEventDefinitionListResponse < 3) {
630 o.items = buildUnnamed28(); 630 o.items = buildUnnamed499();
631 o.kind = "foo"; 631 o.kind = "foo";
632 o.nextPageToken = "foo"; 632 o.nextPageToken = "foo";
633 } 633 }
634 buildCounterEventDefinitionListResponse--; 634 buildCounterEventDefinitionListResponse--;
635 return o; 635 return o;
636 } 636 }
637 637
638 checkEventDefinitionListResponse(api.EventDefinitionListResponse o) { 638 checkEventDefinitionListResponse(api.EventDefinitionListResponse o) {
639 buildCounterEventDefinitionListResponse++; 639 buildCounterEventDefinitionListResponse++;
640 if (buildCounterEventDefinitionListResponse < 3) { 640 if (buildCounterEventDefinitionListResponse < 3) {
641 checkUnnamed28(o.items); 641 checkUnnamed499(o.items);
642 unittest.expect(o.kind, unittest.equals('foo')); 642 unittest.expect(o.kind, unittest.equals('foo'));
643 unittest.expect(o.nextPageToken, unittest.equals('foo')); 643 unittest.expect(o.nextPageToken, unittest.equals('foo'));
644 } 644 }
645 buildCounterEventDefinitionListResponse--; 645 buildCounterEventDefinitionListResponse--;
646 } 646 }
647 647
648 core.int buildCounterEventPeriodRange = 0; 648 core.int buildCounterEventPeriodRange = 0;
649 buildEventPeriodRange() { 649 buildEventPeriodRange() {
650 var o = new api.EventPeriodRange(); 650 var o = new api.EventPeriodRange();
651 buildCounterEventPeriodRange++; 651 buildCounterEventPeriodRange++;
652 if (buildCounterEventPeriodRange < 3) { 652 if (buildCounterEventPeriodRange < 3) {
653 o.kind = "foo"; 653 o.kind = "foo";
654 o.periodEndMillis = "foo"; 654 o.periodEndMillis = "foo";
655 o.periodStartMillis = "foo"; 655 o.periodStartMillis = "foo";
656 } 656 }
657 buildCounterEventPeriodRange--; 657 buildCounterEventPeriodRange--;
658 return o; 658 return o;
659 } 659 }
660 660
661 checkEventPeriodRange(api.EventPeriodRange o) { 661 checkEventPeriodRange(api.EventPeriodRange o) {
662 buildCounterEventPeriodRange++; 662 buildCounterEventPeriodRange++;
663 if (buildCounterEventPeriodRange < 3) { 663 if (buildCounterEventPeriodRange < 3) {
664 unittest.expect(o.kind, unittest.equals('foo')); 664 unittest.expect(o.kind, unittest.equals('foo'));
665 unittest.expect(o.periodEndMillis, unittest.equals('foo')); 665 unittest.expect(o.periodEndMillis, unittest.equals('foo'));
666 unittest.expect(o.periodStartMillis, unittest.equals('foo')); 666 unittest.expect(o.periodStartMillis, unittest.equals('foo'));
667 } 667 }
668 buildCounterEventPeriodRange--; 668 buildCounterEventPeriodRange--;
669 } 669 }
670 670
671 buildUnnamed29() { 671 buildUnnamed500() {
672 var o = new core.List<api.EventUpdateRequest>(); 672 var o = new core.List<api.EventUpdateRequest>();
673 o.add(buildEventUpdateRequest()); 673 o.add(buildEventUpdateRequest());
674 o.add(buildEventUpdateRequest()); 674 o.add(buildEventUpdateRequest());
675 return o; 675 return o;
676 } 676 }
677 677
678 checkUnnamed29(core.List<api.EventUpdateRequest> o) { 678 checkUnnamed500(core.List<api.EventUpdateRequest> o) {
679 unittest.expect(o, unittest.hasLength(2)); 679 unittest.expect(o, unittest.hasLength(2));
680 checkEventUpdateRequest(o[0]); 680 checkEventUpdateRequest(o[0]);
681 checkEventUpdateRequest(o[1]); 681 checkEventUpdateRequest(o[1]);
682 } 682 }
683 683
684 core.int buildCounterEventPeriodUpdate = 0; 684 core.int buildCounterEventPeriodUpdate = 0;
685 buildEventPeriodUpdate() { 685 buildEventPeriodUpdate() {
686 var o = new api.EventPeriodUpdate(); 686 var o = new api.EventPeriodUpdate();
687 buildCounterEventPeriodUpdate++; 687 buildCounterEventPeriodUpdate++;
688 if (buildCounterEventPeriodUpdate < 3) { 688 if (buildCounterEventPeriodUpdate < 3) {
689 o.kind = "foo"; 689 o.kind = "foo";
690 o.timePeriod = buildEventPeriodRange(); 690 o.timePeriod = buildEventPeriodRange();
691 o.updates = buildUnnamed29(); 691 o.updates = buildUnnamed500();
692 } 692 }
693 buildCounterEventPeriodUpdate--; 693 buildCounterEventPeriodUpdate--;
694 return o; 694 return o;
695 } 695 }
696 696
697 checkEventPeriodUpdate(api.EventPeriodUpdate o) { 697 checkEventPeriodUpdate(api.EventPeriodUpdate o) {
698 buildCounterEventPeriodUpdate++; 698 buildCounterEventPeriodUpdate++;
699 if (buildCounterEventPeriodUpdate < 3) { 699 if (buildCounterEventPeriodUpdate < 3) {
700 unittest.expect(o.kind, unittest.equals('foo')); 700 unittest.expect(o.kind, unittest.equals('foo'));
701 checkEventPeriodRange(o.timePeriod); 701 checkEventPeriodRange(o.timePeriod);
702 checkUnnamed29(o.updates); 702 checkUnnamed500(o.updates);
703 } 703 }
704 buildCounterEventPeriodUpdate--; 704 buildCounterEventPeriodUpdate--;
705 } 705 }
706 706
707 core.int buildCounterEventRecordFailure = 0; 707 core.int buildCounterEventRecordFailure = 0;
708 buildEventRecordFailure() { 708 buildEventRecordFailure() {
709 var o = new api.EventRecordFailure(); 709 var o = new api.EventRecordFailure();
710 buildCounterEventRecordFailure++; 710 buildCounterEventRecordFailure++;
711 if (buildCounterEventRecordFailure < 3) { 711 if (buildCounterEventRecordFailure < 3) {
712 o.eventId = "foo"; 712 o.eventId = "foo";
713 o.failureCause = "foo"; 713 o.failureCause = "foo";
714 o.kind = "foo"; 714 o.kind = "foo";
715 } 715 }
716 buildCounterEventRecordFailure--; 716 buildCounterEventRecordFailure--;
717 return o; 717 return o;
718 } 718 }
719 719
720 checkEventRecordFailure(api.EventRecordFailure o) { 720 checkEventRecordFailure(api.EventRecordFailure o) {
721 buildCounterEventRecordFailure++; 721 buildCounterEventRecordFailure++;
722 if (buildCounterEventRecordFailure < 3) { 722 if (buildCounterEventRecordFailure < 3) {
723 unittest.expect(o.eventId, unittest.equals('foo')); 723 unittest.expect(o.eventId, unittest.equals('foo'));
724 unittest.expect(o.failureCause, unittest.equals('foo')); 724 unittest.expect(o.failureCause, unittest.equals('foo'));
725 unittest.expect(o.kind, unittest.equals('foo')); 725 unittest.expect(o.kind, unittest.equals('foo'));
726 } 726 }
727 buildCounterEventRecordFailure--; 727 buildCounterEventRecordFailure--;
728 } 728 }
729 729
730 buildUnnamed30() { 730 buildUnnamed501() {
731 var o = new core.List<api.EventPeriodUpdate>(); 731 var o = new core.List<api.EventPeriodUpdate>();
732 o.add(buildEventPeriodUpdate()); 732 o.add(buildEventPeriodUpdate());
733 o.add(buildEventPeriodUpdate()); 733 o.add(buildEventPeriodUpdate());
734 return o; 734 return o;
735 } 735 }
736 736
737 checkUnnamed30(core.List<api.EventPeriodUpdate> o) { 737 checkUnnamed501(core.List<api.EventPeriodUpdate> o) {
738 unittest.expect(o, unittest.hasLength(2)); 738 unittest.expect(o, unittest.hasLength(2));
739 checkEventPeriodUpdate(o[0]); 739 checkEventPeriodUpdate(o[0]);
740 checkEventPeriodUpdate(o[1]); 740 checkEventPeriodUpdate(o[1]);
741 } 741 }
742 742
743 core.int buildCounterEventRecordRequest = 0; 743 core.int buildCounterEventRecordRequest = 0;
744 buildEventRecordRequest() { 744 buildEventRecordRequest() {
745 var o = new api.EventRecordRequest(); 745 var o = new api.EventRecordRequest();
746 buildCounterEventRecordRequest++; 746 buildCounterEventRecordRequest++;
747 if (buildCounterEventRecordRequest < 3) { 747 if (buildCounterEventRecordRequest < 3) {
748 o.currentTimeMillis = "foo"; 748 o.currentTimeMillis = "foo";
749 o.kind = "foo"; 749 o.kind = "foo";
750 o.requestId = "foo"; 750 o.requestId = "foo";
751 o.timePeriods = buildUnnamed30(); 751 o.timePeriods = buildUnnamed501();
752 } 752 }
753 buildCounterEventRecordRequest--; 753 buildCounterEventRecordRequest--;
754 return o; 754 return o;
755 } 755 }
756 756
757 checkEventRecordRequest(api.EventRecordRequest o) { 757 checkEventRecordRequest(api.EventRecordRequest o) {
758 buildCounterEventRecordRequest++; 758 buildCounterEventRecordRequest++;
759 if (buildCounterEventRecordRequest < 3) { 759 if (buildCounterEventRecordRequest < 3) {
760 unittest.expect(o.currentTimeMillis, unittest.equals('foo')); 760 unittest.expect(o.currentTimeMillis, unittest.equals('foo'));
761 unittest.expect(o.kind, unittest.equals('foo')); 761 unittest.expect(o.kind, unittest.equals('foo'));
762 unittest.expect(o.requestId, unittest.equals('foo')); 762 unittest.expect(o.requestId, unittest.equals('foo'));
763 checkUnnamed30(o.timePeriods); 763 checkUnnamed501(o.timePeriods);
764 } 764 }
765 buildCounterEventRecordRequest--; 765 buildCounterEventRecordRequest--;
766 } 766 }
767 767
768 core.int buildCounterEventUpdateRequest = 0; 768 core.int buildCounterEventUpdateRequest = 0;
769 buildEventUpdateRequest() { 769 buildEventUpdateRequest() {
770 var o = new api.EventUpdateRequest(); 770 var o = new api.EventUpdateRequest();
771 buildCounterEventUpdateRequest++; 771 buildCounterEventUpdateRequest++;
772 if (buildCounterEventUpdateRequest < 3) { 772 if (buildCounterEventUpdateRequest < 3) {
773 o.definitionId = "foo"; 773 o.definitionId = "foo";
774 o.kind = "foo"; 774 o.kind = "foo";
775 o.updateCount = "foo"; 775 o.updateCount = "foo";
776 } 776 }
777 buildCounterEventUpdateRequest--; 777 buildCounterEventUpdateRequest--;
778 return o; 778 return o;
779 } 779 }
780 780
781 checkEventUpdateRequest(api.EventUpdateRequest o) { 781 checkEventUpdateRequest(api.EventUpdateRequest o) {
782 buildCounterEventUpdateRequest++; 782 buildCounterEventUpdateRequest++;
783 if (buildCounterEventUpdateRequest < 3) { 783 if (buildCounterEventUpdateRequest < 3) {
784 unittest.expect(o.definitionId, unittest.equals('foo')); 784 unittest.expect(o.definitionId, unittest.equals('foo'));
785 unittest.expect(o.kind, unittest.equals('foo')); 785 unittest.expect(o.kind, unittest.equals('foo'));
786 unittest.expect(o.updateCount, unittest.equals('foo')); 786 unittest.expect(o.updateCount, unittest.equals('foo'));
787 } 787 }
788 buildCounterEventUpdateRequest--; 788 buildCounterEventUpdateRequest--;
789 } 789 }
790 790
791 buildUnnamed31() { 791 buildUnnamed502() {
792 var o = new core.List<api.EventBatchRecordFailure>(); 792 var o = new core.List<api.EventBatchRecordFailure>();
793 o.add(buildEventBatchRecordFailure()); 793 o.add(buildEventBatchRecordFailure());
794 o.add(buildEventBatchRecordFailure()); 794 o.add(buildEventBatchRecordFailure());
795 return o; 795 return o;
796 } 796 }
797 797
798 checkUnnamed31(core.List<api.EventBatchRecordFailure> o) { 798 checkUnnamed502(core.List<api.EventBatchRecordFailure> o) {
799 unittest.expect(o, unittest.hasLength(2)); 799 unittest.expect(o, unittest.hasLength(2));
800 checkEventBatchRecordFailure(o[0]); 800 checkEventBatchRecordFailure(o[0]);
801 checkEventBatchRecordFailure(o[1]); 801 checkEventBatchRecordFailure(o[1]);
802 } 802 }
803 803
804 buildUnnamed32() { 804 buildUnnamed503() {
805 var o = new core.List<api.EventRecordFailure>(); 805 var o = new core.List<api.EventRecordFailure>();
806 o.add(buildEventRecordFailure()); 806 o.add(buildEventRecordFailure());
807 o.add(buildEventRecordFailure()); 807 o.add(buildEventRecordFailure());
808 return o; 808 return o;
809 } 809 }
810 810
811 checkUnnamed32(core.List<api.EventRecordFailure> o) { 811 checkUnnamed503(core.List<api.EventRecordFailure> o) {
812 unittest.expect(o, unittest.hasLength(2)); 812 unittest.expect(o, unittest.hasLength(2));
813 checkEventRecordFailure(o[0]); 813 checkEventRecordFailure(o[0]);
814 checkEventRecordFailure(o[1]); 814 checkEventRecordFailure(o[1]);
815 } 815 }
816 816
817 buildUnnamed33() { 817 buildUnnamed504() {
818 var o = new core.List<api.PlayerEvent>(); 818 var o = new core.List<api.PlayerEvent>();
819 o.add(buildPlayerEvent()); 819 o.add(buildPlayerEvent());
820 o.add(buildPlayerEvent()); 820 o.add(buildPlayerEvent());
821 return o; 821 return o;
822 } 822 }
823 823
824 checkUnnamed33(core.List<api.PlayerEvent> o) { 824 checkUnnamed504(core.List<api.PlayerEvent> o) {
825 unittest.expect(o, unittest.hasLength(2)); 825 unittest.expect(o, unittest.hasLength(2));
826 checkPlayerEvent(o[0]); 826 checkPlayerEvent(o[0]);
827 checkPlayerEvent(o[1]); 827 checkPlayerEvent(o[1]);
828 } 828 }
829 829
830 core.int buildCounterEventUpdateResponse = 0; 830 core.int buildCounterEventUpdateResponse = 0;
831 buildEventUpdateResponse() { 831 buildEventUpdateResponse() {
832 var o = new api.EventUpdateResponse(); 832 var o = new api.EventUpdateResponse();
833 buildCounterEventUpdateResponse++; 833 buildCounterEventUpdateResponse++;
834 if (buildCounterEventUpdateResponse < 3) { 834 if (buildCounterEventUpdateResponse < 3) {
835 o.batchFailures = buildUnnamed31(); 835 o.batchFailures = buildUnnamed502();
836 o.eventFailures = buildUnnamed32(); 836 o.eventFailures = buildUnnamed503();
837 o.kind = "foo"; 837 o.kind = "foo";
838 o.playerEvents = buildUnnamed33(); 838 o.playerEvents = buildUnnamed504();
839 } 839 }
840 buildCounterEventUpdateResponse--; 840 buildCounterEventUpdateResponse--;
841 return o; 841 return o;
842 } 842 }
843 843
844 checkEventUpdateResponse(api.EventUpdateResponse o) { 844 checkEventUpdateResponse(api.EventUpdateResponse o) {
845 buildCounterEventUpdateResponse++; 845 buildCounterEventUpdateResponse++;
846 if (buildCounterEventUpdateResponse < 3) { 846 if (buildCounterEventUpdateResponse < 3) {
847 checkUnnamed31(o.batchFailures); 847 checkUnnamed502(o.batchFailures);
848 checkUnnamed32(o.eventFailures); 848 checkUnnamed503(o.eventFailures);
849 unittest.expect(o.kind, unittest.equals('foo')); 849 unittest.expect(o.kind, unittest.equals('foo'));
850 checkUnnamed33(o.playerEvents); 850 checkUnnamed504(o.playerEvents);
851 } 851 }
852 buildCounterEventUpdateResponse--; 852 buildCounterEventUpdateResponse--;
853 } 853 }
854 854
855 core.int buildCounterGamesAchievementIncrement = 0; 855 core.int buildCounterGamesAchievementIncrement = 0;
856 buildGamesAchievementIncrement() { 856 buildGamesAchievementIncrement() {
857 var o = new api.GamesAchievementIncrement(); 857 var o = new api.GamesAchievementIncrement();
858 buildCounterGamesAchievementIncrement++; 858 buildCounterGamesAchievementIncrement++;
859 if (buildCounterGamesAchievementIncrement < 3) { 859 if (buildCounterGamesAchievementIncrement < 3) {
860 o.kind = "foo"; 860 o.kind = "foo";
(...skipping 233 matching lines...)
1094 checkPlayer(o.player); 1094 checkPlayer(o.player);
1095 unittest.expect(o.scoreRank, unittest.equals('foo')); 1095 unittest.expect(o.scoreRank, unittest.equals('foo'));
1096 unittest.expect(o.scoreTag, unittest.equals('foo')); 1096 unittest.expect(o.scoreTag, unittest.equals('foo'));
1097 unittest.expect(o.scoreValue, unittest.equals('foo')); 1097 unittest.expect(o.scoreValue, unittest.equals('foo'));
1098 unittest.expect(o.timeSpan, unittest.equals('foo')); 1098 unittest.expect(o.timeSpan, unittest.equals('foo'));
1099 unittest.expect(o.writeTimestampMillis, unittest.equals('foo')); 1099 unittest.expect(o.writeTimestampMillis, unittest.equals('foo'));
1100 } 1100 }
1101 buildCounterLeaderboardEntry--; 1101 buildCounterLeaderboardEntry--;
1102 } 1102 }
1103 1103
1104 buildUnnamed34() { 1104 buildUnnamed505() {
1105 var o = new core.List<api.Leaderboard>(); 1105 var o = new core.List<api.Leaderboard>();
1106 o.add(buildLeaderboard()); 1106 o.add(buildLeaderboard());
1107 o.add(buildLeaderboard()); 1107 o.add(buildLeaderboard());
1108 return o; 1108 return o;
1109 } 1109 }
1110 1110
1111 checkUnnamed34(core.List<api.Leaderboard> o) { 1111 checkUnnamed505(core.List<api.Leaderboard> o) {
1112 unittest.expect(o, unittest.hasLength(2)); 1112 unittest.expect(o, unittest.hasLength(2));
1113 checkLeaderboard(o[0]); 1113 checkLeaderboard(o[0]);
1114 checkLeaderboard(o[1]); 1114 checkLeaderboard(o[1]);
1115 } 1115 }
1116 1116
1117 core.int buildCounterLeaderboardListResponse = 0; 1117 core.int buildCounterLeaderboardListResponse = 0;
1118 buildLeaderboardListResponse() { 1118 buildLeaderboardListResponse() {
1119 var o = new api.LeaderboardListResponse(); 1119 var o = new api.LeaderboardListResponse();
1120 buildCounterLeaderboardListResponse++; 1120 buildCounterLeaderboardListResponse++;
1121 if (buildCounterLeaderboardListResponse < 3) { 1121 if (buildCounterLeaderboardListResponse < 3) {
1122 o.items = buildUnnamed34(); 1122 o.items = buildUnnamed505();
1123 o.kind = "foo"; 1123 o.kind = "foo";
1124 o.nextPageToken = "foo"; 1124 o.nextPageToken = "foo";
1125 } 1125 }
1126 buildCounterLeaderboardListResponse--; 1126 buildCounterLeaderboardListResponse--;
1127 return o; 1127 return o;
1128 } 1128 }
1129 1129
1130 checkLeaderboardListResponse(api.LeaderboardListResponse o) { 1130 checkLeaderboardListResponse(api.LeaderboardListResponse o) {
1131 buildCounterLeaderboardListResponse++; 1131 buildCounterLeaderboardListResponse++;
1132 if (buildCounterLeaderboardListResponse < 3) { 1132 if (buildCounterLeaderboardListResponse < 3) {
1133 checkUnnamed34(o.items); 1133 checkUnnamed505(o.items);
1134 unittest.expect(o.kind, unittest.equals('foo')); 1134 unittest.expect(o.kind, unittest.equals('foo'));
1135 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1135 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1136 } 1136 }
1137 buildCounterLeaderboardListResponse--; 1137 buildCounterLeaderboardListResponse--;
1138 } 1138 }
1139 1139
1140 core.int buildCounterLeaderboardScoreRank = 0; 1140 core.int buildCounterLeaderboardScoreRank = 0;
1141 buildLeaderboardScoreRank() { 1141 buildLeaderboardScoreRank() {
1142 var o = new api.LeaderboardScoreRank(); 1142 var o = new api.LeaderboardScoreRank();
1143 buildCounterLeaderboardScoreRank++; 1143 buildCounterLeaderboardScoreRank++;
(...skipping 13 matching lines...)
1157 if (buildCounterLeaderboardScoreRank < 3) { 1157 if (buildCounterLeaderboardScoreRank < 3) {
1158 unittest.expect(o.formattedNumScores, unittest.equals('foo')); 1158 unittest.expect(o.formattedNumScores, unittest.equals('foo'));
1159 unittest.expect(o.formattedRank, unittest.equals('foo')); 1159 unittest.expect(o.formattedRank, unittest.equals('foo'));
1160 unittest.expect(o.kind, unittest.equals('foo')); 1160 unittest.expect(o.kind, unittest.equals('foo'));
1161 unittest.expect(o.numScores, unittest.equals('foo')); 1161 unittest.expect(o.numScores, unittest.equals('foo'));
1162 unittest.expect(o.rank, unittest.equals('foo')); 1162 unittest.expect(o.rank, unittest.equals('foo'));
1163 } 1163 }
1164 buildCounterLeaderboardScoreRank--; 1164 buildCounterLeaderboardScoreRank--;
1165 } 1165 }
1166 1166
1167 buildUnnamed35() { 1167 buildUnnamed506() {
1168 var o = new core.List<api.LeaderboardEntry>(); 1168 var o = new core.List<api.LeaderboardEntry>();
1169 o.add(buildLeaderboardEntry()); 1169 o.add(buildLeaderboardEntry());
1170 o.add(buildLeaderboardEntry()); 1170 o.add(buildLeaderboardEntry());
1171 return o; 1171 return o;
1172 } 1172 }
1173 1173
1174 checkUnnamed35(core.List<api.LeaderboardEntry> o) { 1174 checkUnnamed506(core.List<api.LeaderboardEntry> o) {
1175 unittest.expect(o, unittest.hasLength(2)); 1175 unittest.expect(o, unittest.hasLength(2));
1176 checkLeaderboardEntry(o[0]); 1176 checkLeaderboardEntry(o[0]);
1177 checkLeaderboardEntry(o[1]); 1177 checkLeaderboardEntry(o[1]);
1178 } 1178 }
1179 1179
1180 core.int buildCounterLeaderboardScores = 0; 1180 core.int buildCounterLeaderboardScores = 0;
1181 buildLeaderboardScores() { 1181 buildLeaderboardScores() {
1182 var o = new api.LeaderboardScores(); 1182 var o = new api.LeaderboardScores();
1183 buildCounterLeaderboardScores++; 1183 buildCounterLeaderboardScores++;
1184 if (buildCounterLeaderboardScores < 3) { 1184 if (buildCounterLeaderboardScores < 3) {
1185 o.items = buildUnnamed35(); 1185 o.items = buildUnnamed506();
1186 o.kind = "foo"; 1186 o.kind = "foo";
1187 o.nextPageToken = "foo"; 1187 o.nextPageToken = "foo";
1188 o.numScores = "foo"; 1188 o.numScores = "foo";
1189 o.playerScore = buildLeaderboardEntry(); 1189 o.playerScore = buildLeaderboardEntry();
1190 o.prevPageToken = "foo"; 1190 o.prevPageToken = "foo";
1191 } 1191 }
1192 buildCounterLeaderboardScores--; 1192 buildCounterLeaderboardScores--;
1193 return o; 1193 return o;
1194 } 1194 }
1195 1195
1196 checkLeaderboardScores(api.LeaderboardScores o) { 1196 checkLeaderboardScores(api.LeaderboardScores o) {
1197 buildCounterLeaderboardScores++; 1197 buildCounterLeaderboardScores++;
1198 if (buildCounterLeaderboardScores < 3) { 1198 if (buildCounterLeaderboardScores < 3) {
1199 checkUnnamed35(o.items); 1199 checkUnnamed506(o.items);
1200 unittest.expect(o.kind, unittest.equals('foo')); 1200 unittest.expect(o.kind, unittest.equals('foo'));
1201 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1201 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1202 unittest.expect(o.numScores, unittest.equals('foo')); 1202 unittest.expect(o.numScores, unittest.equals('foo'));
1203 checkLeaderboardEntry(o.playerScore); 1203 checkLeaderboardEntry(o.playerScore);
1204 unittest.expect(o.prevPageToken, unittest.equals('foo')); 1204 unittest.expect(o.prevPageToken, unittest.equals('foo'));
1205 } 1205 }
1206 buildCounterLeaderboardScores--; 1206 buildCounterLeaderboardScores--;
1207 } 1207 }
1208 1208
1209 buildUnnamed36() { 1209 buildUnnamed507() {
1210 var o = new core.List<api.PlayerLevel>(); 1210 var o = new core.List<api.PlayerLevel>();
1211 o.add(buildPlayerLevel()); 1211 o.add(buildPlayerLevel());
1212 o.add(buildPlayerLevel()); 1212 o.add(buildPlayerLevel());
1213 return o; 1213 return o;
1214 } 1214 }
1215 1215
1216 checkUnnamed36(core.List<api.PlayerLevel> o) { 1216 checkUnnamed507(core.List<api.PlayerLevel> o) {
1217 unittest.expect(o, unittest.hasLength(2)); 1217 unittest.expect(o, unittest.hasLength(2));
1218 checkPlayerLevel(o[0]); 1218 checkPlayerLevel(o[0]);
1219 checkPlayerLevel(o[1]); 1219 checkPlayerLevel(o[1]);
1220 } 1220 }
1221 1221
1222 core.int buildCounterMetagameConfig = 0; 1222 core.int buildCounterMetagameConfig = 0;
1223 buildMetagameConfig() { 1223 buildMetagameConfig() {
1224 var o = new api.MetagameConfig(); 1224 var o = new api.MetagameConfig();
1225 buildCounterMetagameConfig++; 1225 buildCounterMetagameConfig++;
1226 if (buildCounterMetagameConfig < 3) { 1226 if (buildCounterMetagameConfig < 3) {
1227 o.currentVersion = 42; 1227 o.currentVersion = 42;
1228 o.kind = "foo"; 1228 o.kind = "foo";
1229 o.playerLevels = buildUnnamed36(); 1229 o.playerLevels = buildUnnamed507();
1230 } 1230 }
1231 buildCounterMetagameConfig--; 1231 buildCounterMetagameConfig--;
1232 return o; 1232 return o;
1233 } 1233 }
1234 1234
1235 checkMetagameConfig(api.MetagameConfig o) { 1235 checkMetagameConfig(api.MetagameConfig o) {
1236 buildCounterMetagameConfig++; 1236 buildCounterMetagameConfig++;
1237 if (buildCounterMetagameConfig < 3) { 1237 if (buildCounterMetagameConfig < 3) {
1238 unittest.expect(o.currentVersion, unittest.equals(42)); 1238 unittest.expect(o.currentVersion, unittest.equals(42));
1239 unittest.expect(o.kind, unittest.equals('foo')); 1239 unittest.expect(o.kind, unittest.equals('foo'));
1240 checkUnnamed36(o.playerLevels); 1240 checkUnnamed507(o.playerLevels);
1241 } 1241 }
1242 buildCounterMetagameConfig--; 1242 buildCounterMetagameConfig--;
1243 } 1243 }
1244 1244
1245 core.int buildCounterNetworkDiagnostics = 0; 1245 core.int buildCounterNetworkDiagnostics = 0;
1246 buildNetworkDiagnostics() { 1246 buildNetworkDiagnostics() {
1247 var o = new api.NetworkDiagnostics(); 1247 var o = new api.NetworkDiagnostics();
1248 buildCounterNetworkDiagnostics++; 1248 buildCounterNetworkDiagnostics++;
1249 if (buildCounterNetworkDiagnostics < 3) { 1249 if (buildCounterNetworkDiagnostics < 3) {
1250 o.androidNetworkSubtype = 42; 1250 o.androidNetworkSubtype = 42;
(...skipping 208 matching lines...)
1459 unittest.expect(o.currentSteps, unittest.equals(42)); 1459 unittest.expect(o.currentSteps, unittest.equals(42));
1460 unittest.expect(o.experiencePoints, unittest.equals('foo')); 1460 unittest.expect(o.experiencePoints, unittest.equals('foo'));
1461 unittest.expect(o.formattedCurrentStepsString, unittest.equals('foo')); 1461 unittest.expect(o.formattedCurrentStepsString, unittest.equals('foo'));
1462 unittest.expect(o.id, unittest.equals('foo')); 1462 unittest.expect(o.id, unittest.equals('foo'));
1463 unittest.expect(o.kind, unittest.equals('foo')); 1463 unittest.expect(o.kind, unittest.equals('foo'));
1464 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); 1464 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo'));
1465 } 1465 }
1466 buildCounterPlayerAchievement--; 1466 buildCounterPlayerAchievement--;
1467 } 1467 }
1468 1468
1469 buildUnnamed37() { 1469 buildUnnamed508() {
1470 var o = new core.List<api.PlayerAchievement>(); 1470 var o = new core.List<api.PlayerAchievement>();
1471 o.add(buildPlayerAchievement()); 1471 o.add(buildPlayerAchievement());
1472 o.add(buildPlayerAchievement()); 1472 o.add(buildPlayerAchievement());
1473 return o; 1473 return o;
1474 } 1474 }
1475 1475
1476 checkUnnamed37(core.List<api.PlayerAchievement> o) { 1476 checkUnnamed508(core.List<api.PlayerAchievement> o) {
1477 unittest.expect(o, unittest.hasLength(2)); 1477 unittest.expect(o, unittest.hasLength(2));
1478 checkPlayerAchievement(o[0]); 1478 checkPlayerAchievement(o[0]);
1479 checkPlayerAchievement(o[1]); 1479 checkPlayerAchievement(o[1]);
1480 } 1480 }
1481 1481
1482 core.int buildCounterPlayerAchievementListResponse = 0; 1482 core.int buildCounterPlayerAchievementListResponse = 0;
1483 buildPlayerAchievementListResponse() { 1483 buildPlayerAchievementListResponse() {
1484 var o = new api.PlayerAchievementListResponse(); 1484 var o = new api.PlayerAchievementListResponse();
1485 buildCounterPlayerAchievementListResponse++; 1485 buildCounterPlayerAchievementListResponse++;
1486 if (buildCounterPlayerAchievementListResponse < 3) { 1486 if (buildCounterPlayerAchievementListResponse < 3) {
1487 o.items = buildUnnamed37(); 1487 o.items = buildUnnamed508();
1488 o.kind = "foo"; 1488 o.kind = "foo";
1489 o.nextPageToken = "foo"; 1489 o.nextPageToken = "foo";
1490 } 1490 }
1491 buildCounterPlayerAchievementListResponse--; 1491 buildCounterPlayerAchievementListResponse--;
1492 return o; 1492 return o;
1493 } 1493 }
1494 1494
1495 checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { 1495 checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) {
1496 buildCounterPlayerAchievementListResponse++; 1496 buildCounterPlayerAchievementListResponse++;
1497 if (buildCounterPlayerAchievementListResponse < 3) { 1497 if (buildCounterPlayerAchievementListResponse < 3) {
1498 checkUnnamed37(o.items); 1498 checkUnnamed508(o.items);
1499 unittest.expect(o.kind, unittest.equals('foo')); 1499 unittest.expect(o.kind, unittest.equals('foo'));
1500 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1500 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1501 } 1501 }
1502 buildCounterPlayerAchievementListResponse--; 1502 buildCounterPlayerAchievementListResponse--;
1503 } 1503 }
1504 1504
1505 core.int buildCounterPlayerEvent = 0; 1505 core.int buildCounterPlayerEvent = 0;
1506 buildPlayerEvent() { 1506 buildPlayerEvent() {
1507 var o = new api.PlayerEvent(); 1507 var o = new api.PlayerEvent();
1508 buildCounterPlayerEvent++; 1508 buildCounterPlayerEvent++;
(...skipping 13 matching lines...)
1522 if (buildCounterPlayerEvent < 3) { 1522 if (buildCounterPlayerEvent < 3) {
1523 unittest.expect(o.definitionId, unittest.equals('foo')); 1523 unittest.expect(o.definitionId, unittest.equals('foo'));
1524 unittest.expect(o.formattedNumEvents, unittest.equals('foo')); 1524 unittest.expect(o.formattedNumEvents, unittest.equals('foo'));
1525 unittest.expect(o.kind, unittest.equals('foo')); 1525 unittest.expect(o.kind, unittest.equals('foo'));
1526 unittest.expect(o.numEvents, unittest.equals('foo')); 1526 unittest.expect(o.numEvents, unittest.equals('foo'));
1527 unittest.expect(o.playerId, unittest.equals('foo')); 1527 unittest.expect(o.playerId, unittest.equals('foo'));
1528 } 1528 }
1529 buildCounterPlayerEvent--; 1529 buildCounterPlayerEvent--;
1530 } 1530 }
1531 1531
1532 buildUnnamed38() { 1532 buildUnnamed509() {
1533 var o = new core.List<api.PlayerEvent>(); 1533 var o = new core.List<api.PlayerEvent>();
1534 o.add(buildPlayerEvent()); 1534 o.add(buildPlayerEvent());
1535 o.add(buildPlayerEvent()); 1535 o.add(buildPlayerEvent());
1536 return o; 1536 return o;
1537 } 1537 }
1538 1538
1539 checkUnnamed38(core.List<api.PlayerEvent> o) { 1539 checkUnnamed509(core.List<api.PlayerEvent> o) {
1540 unittest.expect(o, unittest.hasLength(2)); 1540 unittest.expect(o, unittest.hasLength(2));
1541 checkPlayerEvent(o[0]); 1541 checkPlayerEvent(o[0]);
1542 checkPlayerEvent(o[1]); 1542 checkPlayerEvent(o[1]);
1543 } 1543 }
1544 1544
1545 core.int buildCounterPlayerEventListResponse = 0; 1545 core.int buildCounterPlayerEventListResponse = 0;
1546 buildPlayerEventListResponse() { 1546 buildPlayerEventListResponse() {
1547 var o = new api.PlayerEventListResponse(); 1547 var o = new api.PlayerEventListResponse();
1548 buildCounterPlayerEventListResponse++; 1548 buildCounterPlayerEventListResponse++;
1549 if (buildCounterPlayerEventListResponse < 3) { 1549 if (buildCounterPlayerEventListResponse < 3) {
1550 o.items = buildUnnamed38(); 1550 o.items = buildUnnamed509();
1551 o.kind = "foo"; 1551 o.kind = "foo";
1552 o.nextPageToken = "foo"; 1552 o.nextPageToken = "foo";
1553 } 1553 }
1554 buildCounterPlayerEventListResponse--; 1554 buildCounterPlayerEventListResponse--;
1555 return o; 1555 return o;
1556 } 1556 }
1557 1557
1558 checkPlayerEventListResponse(api.PlayerEventListResponse o) { 1558 checkPlayerEventListResponse(api.PlayerEventListResponse o) {
1559 buildCounterPlayerEventListResponse++; 1559 buildCounterPlayerEventListResponse++;
1560 if (buildCounterPlayerEventListResponse < 3) { 1560 if (buildCounterPlayerEventListResponse < 3) {
1561 checkUnnamed38(o.items); 1561 checkUnnamed509(o.items);
1562 unittest.expect(o.kind, unittest.equals('foo')); 1562 unittest.expect(o.kind, unittest.equals('foo'));
1563 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1563 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1564 } 1564 }
1565 buildCounterPlayerEventListResponse--; 1565 buildCounterPlayerEventListResponse--;
1566 } 1566 }
1567 1567
1568 core.int buildCounterPlayerExperienceInfo = 0; 1568 core.int buildCounterPlayerExperienceInfo = 0;
1569 buildPlayerExperienceInfo() { 1569 buildPlayerExperienceInfo() {
1570 var o = new api.PlayerExperienceInfo(); 1570 var o = new api.PlayerExperienceInfo();
1571 buildCounterPlayerExperienceInfo++; 1571 buildCounterPlayerExperienceInfo++;
(...skipping 48 matching lines...)
1620 unittest.expect(o.scoreString, unittest.equals('foo')); 1620 unittest.expect(o.scoreString, unittest.equals('foo'));
1621 unittest.expect(o.scoreTag, unittest.equals('foo')); 1621 unittest.expect(o.scoreTag, unittest.equals('foo'));
1622 unittest.expect(o.scoreValue, unittest.equals('foo')); 1622 unittest.expect(o.scoreValue, unittest.equals('foo'));
1623 checkLeaderboardScoreRank(o.socialRank); 1623 checkLeaderboardScoreRank(o.socialRank);
1624 unittest.expect(o.timeSpan, unittest.equals('foo')); 1624 unittest.expect(o.timeSpan, unittest.equals('foo'));
1625 unittest.expect(o.writeTimestamp, unittest.equals('foo')); 1625 unittest.expect(o.writeTimestamp, unittest.equals('foo'));
1626 } 1626 }
1627 buildCounterPlayerLeaderboardScore--; 1627 buildCounterPlayerLeaderboardScore--;
1628 } 1628 }
1629 1629
1630 buildUnnamed39() { 1630 buildUnnamed510() {
1631 var o = new core.List<api.PlayerLeaderboardScore>(); 1631 var o = new core.List<api.PlayerLeaderboardScore>();
1632 o.add(buildPlayerLeaderboardScore()); 1632 o.add(buildPlayerLeaderboardScore());
1633 o.add(buildPlayerLeaderboardScore()); 1633 o.add(buildPlayerLeaderboardScore());
1634 return o; 1634 return o;
1635 } 1635 }
1636 1636
1637 checkUnnamed39(core.List<api.PlayerLeaderboardScore> o) { 1637 checkUnnamed510(core.List<api.PlayerLeaderboardScore> o) {
1638 unittest.expect(o, unittest.hasLength(2)); 1638 unittest.expect(o, unittest.hasLength(2));
1639 checkPlayerLeaderboardScore(o[0]); 1639 checkPlayerLeaderboardScore(o[0]);
1640 checkPlayerLeaderboardScore(o[1]); 1640 checkPlayerLeaderboardScore(o[1]);
1641 } 1641 }
1642 1642
1643 core.int buildCounterPlayerLeaderboardScoreListResponse = 0; 1643 core.int buildCounterPlayerLeaderboardScoreListResponse = 0;
1644 buildPlayerLeaderboardScoreListResponse() { 1644 buildPlayerLeaderboardScoreListResponse() {
1645 var o = new api.PlayerLeaderboardScoreListResponse(); 1645 var o = new api.PlayerLeaderboardScoreListResponse();
1646 buildCounterPlayerLeaderboardScoreListResponse++; 1646 buildCounterPlayerLeaderboardScoreListResponse++;
1647 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { 1647 if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
1648 o.items = buildUnnamed39(); 1648 o.items = buildUnnamed510();
1649 o.kind = "foo"; 1649 o.kind = "foo";
1650 o.nextPageToken = "foo"; 1650 o.nextPageToken = "foo";
1651 o.player = buildPlayer(); 1651 o.player = buildPlayer();
1652 } 1652 }
1653 buildCounterPlayerLeaderboardScoreListResponse--; 1653 buildCounterPlayerLeaderboardScoreListResponse--;
1654 return o; 1654 return o;
1655 } 1655 }
1656 1656
1657 checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o ) { 1657 checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o ) {
1658 buildCounterPlayerLeaderboardScoreListResponse++; 1658 buildCounterPlayerLeaderboardScoreListResponse++;
1659 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { 1659 if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
1660 checkUnnamed39(o.items); 1660 checkUnnamed510(o.items);
1661 unittest.expect(o.kind, unittest.equals('foo')); 1661 unittest.expect(o.kind, unittest.equals('foo'));
1662 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1662 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1663 checkPlayer(o.player); 1663 checkPlayer(o.player);
1664 } 1664 }
1665 buildCounterPlayerLeaderboardScoreListResponse--; 1665 buildCounterPlayerLeaderboardScoreListResponse--;
1666 } 1666 }
1667 1667
1668 core.int buildCounterPlayerLevel = 0; 1668 core.int buildCounterPlayerLevel = 0;
1669 buildPlayerLevel() { 1669 buildPlayerLevel() {
1670 var o = new api.PlayerLevel(); 1670 var o = new api.PlayerLevel();
(...skipping 12 matching lines...)
1683 buildCounterPlayerLevel++; 1683 buildCounterPlayerLevel++;
1684 if (buildCounterPlayerLevel < 3) { 1684 if (buildCounterPlayerLevel < 3) {
1685 unittest.expect(o.kind, unittest.equals('foo')); 1685 unittest.expect(o.kind, unittest.equals('foo'));
1686 unittest.expect(o.level, unittest.equals(42)); 1686 unittest.expect(o.level, unittest.equals(42));
1687 unittest.expect(o.maxExperiencePoints, unittest.equals('foo')); 1687 unittest.expect(o.maxExperiencePoints, unittest.equals('foo'));
1688 unittest.expect(o.minExperiencePoints, unittest.equals('foo')); 1688 unittest.expect(o.minExperiencePoints, unittest.equals('foo'));
1689 } 1689 }
1690 buildCounterPlayerLevel--; 1690 buildCounterPlayerLevel--;
1691 } 1691 }
1692 1692
1693 buildUnnamed40() { 1693 buildUnnamed511() {
1694 var o = new core.List<api.Player>(); 1694 var o = new core.List<api.Player>();
1695 o.add(buildPlayer()); 1695 o.add(buildPlayer());
1696 o.add(buildPlayer()); 1696 o.add(buildPlayer());
1697 return o; 1697 return o;
1698 } 1698 }
1699 1699
1700 checkUnnamed40(core.List<api.Player> o) { 1700 checkUnnamed511(core.List<api.Player> o) {
1701 unittest.expect(o, unittest.hasLength(2)); 1701 unittest.expect(o, unittest.hasLength(2));
1702 checkPlayer(o[0]); 1702 checkPlayer(o[0]);
1703 checkPlayer(o[1]); 1703 checkPlayer(o[1]);
1704 } 1704 }
1705 1705
1706 core.int buildCounterPlayerListResponse = 0; 1706 core.int buildCounterPlayerListResponse = 0;
1707 buildPlayerListResponse() { 1707 buildPlayerListResponse() {
1708 var o = new api.PlayerListResponse(); 1708 var o = new api.PlayerListResponse();
1709 buildCounterPlayerListResponse++; 1709 buildCounterPlayerListResponse++;
1710 if (buildCounterPlayerListResponse < 3) { 1710 if (buildCounterPlayerListResponse < 3) {
1711 o.items = buildUnnamed40(); 1711 o.items = buildUnnamed511();
1712 o.kind = "foo"; 1712 o.kind = "foo";
1713 o.nextPageToken = "foo"; 1713 o.nextPageToken = "foo";
1714 } 1714 }
1715 buildCounterPlayerListResponse--; 1715 buildCounterPlayerListResponse--;
1716 return o; 1716 return o;
1717 } 1717 }
1718 1718
1719 checkPlayerListResponse(api.PlayerListResponse o) { 1719 checkPlayerListResponse(api.PlayerListResponse o) {
1720 buildCounterPlayerListResponse++; 1720 buildCounterPlayerListResponse++;
1721 if (buildCounterPlayerListResponse < 3) { 1721 if (buildCounterPlayerListResponse < 3) {
1722 checkUnnamed40(o.items); 1722 checkUnnamed511(o.items);
1723 unittest.expect(o.kind, unittest.equals('foo')); 1723 unittest.expect(o.kind, unittest.equals('foo'));
1724 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1724 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1725 } 1725 }
1726 buildCounterPlayerListResponse--; 1726 buildCounterPlayerListResponse--;
1727 } 1727 }
1728 1728
1729 core.int buildCounterPlayerScore = 0; 1729 core.int buildCounterPlayerScore = 0;
1730 buildPlayerScore() { 1730 buildPlayerScore() {
1731 var o = new api.PlayerScore(); 1731 var o = new api.PlayerScore();
1732 buildCounterPlayerScore++; 1732 buildCounterPlayerScore++;
(...skipping 13 matching lines...)
1746 if (buildCounterPlayerScore < 3) { 1746 if (buildCounterPlayerScore < 3) {
1747 unittest.expect(o.formattedScore, unittest.equals('foo')); 1747 unittest.expect(o.formattedScore, unittest.equals('foo'));
1748 unittest.expect(o.kind, unittest.equals('foo')); 1748 unittest.expect(o.kind, unittest.equals('foo'));
1749 unittest.expect(o.score, unittest.equals('foo')); 1749 unittest.expect(o.score, unittest.equals('foo'));
1750 unittest.expect(o.scoreTag, unittest.equals('foo')); 1750 unittest.expect(o.scoreTag, unittest.equals('foo'));
1751 unittest.expect(o.timeSpan, unittest.equals('foo')); 1751 unittest.expect(o.timeSpan, unittest.equals('foo'));
1752 } 1752 }
1753 buildCounterPlayerScore--; 1753 buildCounterPlayerScore--;
1754 } 1754 }
1755 1755
1756 buildUnnamed41() { 1756 buildUnnamed512() {
1757 var o = new core.List<api.PlayerScoreResponse>(); 1757 var o = new core.List<api.PlayerScoreResponse>();
1758 o.add(buildPlayerScoreResponse()); 1758 o.add(buildPlayerScoreResponse());
1759 o.add(buildPlayerScoreResponse()); 1759 o.add(buildPlayerScoreResponse());
1760 return o; 1760 return o;
1761 } 1761 }
1762 1762
1763 checkUnnamed41(core.List<api.PlayerScoreResponse> o) { 1763 checkUnnamed512(core.List<api.PlayerScoreResponse> o) {
1764 unittest.expect(o, unittest.hasLength(2)); 1764 unittest.expect(o, unittest.hasLength(2));
1765 checkPlayerScoreResponse(o[0]); 1765 checkPlayerScoreResponse(o[0]);
1766 checkPlayerScoreResponse(o[1]); 1766 checkPlayerScoreResponse(o[1]);
1767 } 1767 }
1768 1768
1769 core.int buildCounterPlayerScoreListResponse = 0; 1769 core.int buildCounterPlayerScoreListResponse = 0;
1770 buildPlayerScoreListResponse() { 1770 buildPlayerScoreListResponse() {
1771 var o = new api.PlayerScoreListResponse(); 1771 var o = new api.PlayerScoreListResponse();
1772 buildCounterPlayerScoreListResponse++; 1772 buildCounterPlayerScoreListResponse++;
1773 if (buildCounterPlayerScoreListResponse < 3) { 1773 if (buildCounterPlayerScoreListResponse < 3) {
1774 o.kind = "foo"; 1774 o.kind = "foo";
1775 o.submittedScores = buildUnnamed41(); 1775 o.submittedScores = buildUnnamed512();
1776 } 1776 }
1777 buildCounterPlayerScoreListResponse--; 1777 buildCounterPlayerScoreListResponse--;
1778 return o; 1778 return o;
1779 } 1779 }
1780 1780
1781 checkPlayerScoreListResponse(api.PlayerScoreListResponse o) { 1781 checkPlayerScoreListResponse(api.PlayerScoreListResponse o) {
1782 buildCounterPlayerScoreListResponse++; 1782 buildCounterPlayerScoreListResponse++;
1783 if (buildCounterPlayerScoreListResponse < 3) { 1783 if (buildCounterPlayerScoreListResponse < 3) {
1784 unittest.expect(o.kind, unittest.equals('foo')); 1784 unittest.expect(o.kind, unittest.equals('foo'));
1785 checkUnnamed41(o.submittedScores); 1785 checkUnnamed512(o.submittedScores);
1786 } 1786 }
1787 buildCounterPlayerScoreListResponse--; 1787 buildCounterPlayerScoreListResponse--;
1788 } 1788 }
1789 1789
1790 buildUnnamed42() { 1790 buildUnnamed513() {
1791 var o = new core.List<core.String>(); 1791 var o = new core.List<core.String>();
1792 o.add("foo"); 1792 o.add("foo");
1793 o.add("foo"); 1793 o.add("foo");
1794 return o; 1794 return o;
1795 } 1795 }
1796 1796
1797 checkUnnamed42(core.List<core.String> o) { 1797 checkUnnamed513(core.List<core.String> o) {
1798 unittest.expect(o, unittest.hasLength(2)); 1798 unittest.expect(o, unittest.hasLength(2));
1799 unittest.expect(o[0], unittest.equals('foo')); 1799 unittest.expect(o[0], unittest.equals('foo'));
1800 unittest.expect(o[1], unittest.equals('foo')); 1800 unittest.expect(o[1], unittest.equals('foo'));
1801 } 1801 }
1802 1802
1803 buildUnnamed43() { 1803 buildUnnamed514() {
1804 var o = new core.List<api.PlayerScore>(); 1804 var o = new core.List<api.PlayerScore>();
1805 o.add(buildPlayerScore()); 1805 o.add(buildPlayerScore());
1806 o.add(buildPlayerScore()); 1806 o.add(buildPlayerScore());
1807 return o; 1807 return o;
1808 } 1808 }
1809 1809
1810 checkUnnamed43(core.List<api.PlayerScore> o) { 1810 checkUnnamed514(core.List<api.PlayerScore> o) {
1811 unittest.expect(o, unittest.hasLength(2)); 1811 unittest.expect(o, unittest.hasLength(2));
1812 checkPlayerScore(o[0]); 1812 checkPlayerScore(o[0]);
1813 checkPlayerScore(o[1]); 1813 checkPlayerScore(o[1]);
1814 } 1814 }
1815 1815
1816 core.int buildCounterPlayerScoreResponse = 0; 1816 core.int buildCounterPlayerScoreResponse = 0;
1817 buildPlayerScoreResponse() { 1817 buildPlayerScoreResponse() {
1818 var o = new api.PlayerScoreResponse(); 1818 var o = new api.PlayerScoreResponse();
1819 buildCounterPlayerScoreResponse++; 1819 buildCounterPlayerScoreResponse++;
1820 if (buildCounterPlayerScoreResponse < 3) { 1820 if (buildCounterPlayerScoreResponse < 3) {
1821 o.beatenScoreTimeSpans = buildUnnamed42(); 1821 o.beatenScoreTimeSpans = buildUnnamed513();
1822 o.formattedScore = "foo"; 1822 o.formattedScore = "foo";
1823 o.kind = "foo"; 1823 o.kind = "foo";
1824 o.leaderboardId = "foo"; 1824 o.leaderboardId = "foo";
1825 o.scoreTag = "foo"; 1825 o.scoreTag = "foo";
1826 o.unbeatenScores = buildUnnamed43(); 1826 o.unbeatenScores = buildUnnamed514();
1827 } 1827 }
1828 buildCounterPlayerScoreResponse--; 1828 buildCounterPlayerScoreResponse--;
1829 return o; 1829 return o;
1830 } 1830 }
1831 1831
1832 checkPlayerScoreResponse(api.PlayerScoreResponse o) { 1832 checkPlayerScoreResponse(api.PlayerScoreResponse o) {
1833 buildCounterPlayerScoreResponse++; 1833 buildCounterPlayerScoreResponse++;
1834 if (buildCounterPlayerScoreResponse < 3) { 1834 if (buildCounterPlayerScoreResponse < 3) {
1835 checkUnnamed42(o.beatenScoreTimeSpans); 1835 checkUnnamed513(o.beatenScoreTimeSpans);
1836 unittest.expect(o.formattedScore, unittest.equals('foo')); 1836 unittest.expect(o.formattedScore, unittest.equals('foo'));
1837 unittest.expect(o.kind, unittest.equals('foo')); 1837 unittest.expect(o.kind, unittest.equals('foo'));
1838 unittest.expect(o.leaderboardId, unittest.equals('foo')); 1838 unittest.expect(o.leaderboardId, unittest.equals('foo'));
1839 unittest.expect(o.scoreTag, unittest.equals('foo')); 1839 unittest.expect(o.scoreTag, unittest.equals('foo'));
1840 checkUnnamed43(o.unbeatenScores); 1840 checkUnnamed514(o.unbeatenScores);
1841 } 1841 }
1842 buildCounterPlayerScoreResponse--; 1842 buildCounterPlayerScoreResponse--;
1843 } 1843 }
1844 1844
1845 buildUnnamed44() { 1845 buildUnnamed515() {
1846 var o = new core.List<api.ScoreSubmission>(); 1846 var o = new core.List<api.ScoreSubmission>();
1847 o.add(buildScoreSubmission()); 1847 o.add(buildScoreSubmission());
1848 o.add(buildScoreSubmission()); 1848 o.add(buildScoreSubmission());
1849 return o; 1849 return o;
1850 } 1850 }
1851 1851
1852 checkUnnamed44(core.List<api.ScoreSubmission> o) { 1852 checkUnnamed515(core.List<api.ScoreSubmission> o) {
1853 unittest.expect(o, unittest.hasLength(2)); 1853 unittest.expect(o, unittest.hasLength(2));
1854 checkScoreSubmission(o[0]); 1854 checkScoreSubmission(o[0]);
1855 checkScoreSubmission(o[1]); 1855 checkScoreSubmission(o[1]);
1856 } 1856 }
1857 1857
1858 core.int buildCounterPlayerScoreSubmissionList = 0; 1858 core.int buildCounterPlayerScoreSubmissionList = 0;
1859 buildPlayerScoreSubmissionList() { 1859 buildPlayerScoreSubmissionList() {
1860 var o = new api.PlayerScoreSubmissionList(); 1860 var o = new api.PlayerScoreSubmissionList();
1861 buildCounterPlayerScoreSubmissionList++; 1861 buildCounterPlayerScoreSubmissionList++;
1862 if (buildCounterPlayerScoreSubmissionList < 3) { 1862 if (buildCounterPlayerScoreSubmissionList < 3) {
1863 o.kind = "foo"; 1863 o.kind = "foo";
1864 o.scores = buildUnnamed44(); 1864 o.scores = buildUnnamed515();
1865 } 1865 }
1866 buildCounterPlayerScoreSubmissionList--; 1866 buildCounterPlayerScoreSubmissionList--;
1867 return o; 1867 return o;
1868 } 1868 }
1869 1869
1870 checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) { 1870 checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) {
1871 buildCounterPlayerScoreSubmissionList++; 1871 buildCounterPlayerScoreSubmissionList++;
1872 if (buildCounterPlayerScoreSubmissionList < 3) { 1872 if (buildCounterPlayerScoreSubmissionList < 3) {
1873 unittest.expect(o.kind, unittest.equals('foo')); 1873 unittest.expect(o.kind, unittest.equals('foo'));
1874 checkUnnamed44(o.scores); 1874 checkUnnamed515(o.scores);
1875 } 1875 }
1876 buildCounterPlayerScoreSubmissionList--; 1876 buildCounterPlayerScoreSubmissionList--;
1877 } 1877 }
1878 1878
1879 core.int buildCounterPushToken = 0; 1879 core.int buildCounterPushToken = 0;
1880 buildPushToken() { 1880 buildPushToken() {
1881 var o = new api.PushToken(); 1881 var o = new api.PushToken();
1882 buildCounterPushToken++; 1882 buildCounterPushToken++;
1883 if (buildCounterPushToken < 3) { 1883 if (buildCounterPushToken < 3) {
1884 o.clientRevision = "foo"; 1884 o.clientRevision = "foo";
(...skipping 51 matching lines...)
1936 1936
1937 checkPushTokenId(api.PushTokenId o) { 1937 checkPushTokenId(api.PushTokenId o) {
1938 buildCounterPushTokenId++; 1938 buildCounterPushTokenId++;
1939 if (buildCounterPushTokenId < 3) { 1939 if (buildCounterPushTokenId < 3) {
1940 checkPushTokenIdIos(o.ios); 1940 checkPushTokenIdIos(o.ios);
1941 unittest.expect(o.kind, unittest.equals('foo')); 1941 unittest.expect(o.kind, unittest.equals('foo'));
1942 } 1942 }
1943 buildCounterPushTokenId--; 1943 buildCounterPushTokenId--;
1944 } 1944 }
1945 1945
1946 buildUnnamed45() { 1946 buildUnnamed516() {
1947 var o = new core.List<api.QuestMilestone>(); 1947 var o = new core.List<api.QuestMilestone>();
1948 o.add(buildQuestMilestone()); 1948 o.add(buildQuestMilestone());
1949 o.add(buildQuestMilestone()); 1949 o.add(buildQuestMilestone());
1950 return o; 1950 return o;
1951 } 1951 }
1952 1952
1953 checkUnnamed45(core.List<api.QuestMilestone> o) { 1953 checkUnnamed516(core.List<api.QuestMilestone> o) {
1954 unittest.expect(o, unittest.hasLength(2)); 1954 unittest.expect(o, unittest.hasLength(2));
1955 checkQuestMilestone(o[0]); 1955 checkQuestMilestone(o[0]);
1956 checkQuestMilestone(o[1]); 1956 checkQuestMilestone(o[1]);
1957 } 1957 }
1958 1958
1959 core.int buildCounterQuest = 0; 1959 core.int buildCounterQuest = 0;
1960 buildQuest() { 1960 buildQuest() {
1961 var o = new api.Quest(); 1961 var o = new api.Quest();
1962 buildCounterQuest++; 1962 buildCounterQuest++;
1963 if (buildCounterQuest < 3) { 1963 if (buildCounterQuest < 3) {
1964 o.acceptedTimestampMillis = "foo"; 1964 o.acceptedTimestampMillis = "foo";
1965 o.applicationId = "foo"; 1965 o.applicationId = "foo";
1966 o.bannerUrl = "foo"; 1966 o.bannerUrl = "foo";
1967 o.description = "foo"; 1967 o.description = "foo";
1968 o.endTimestampMillis = "foo"; 1968 o.endTimestampMillis = "foo";
1969 o.iconUrl = "foo"; 1969 o.iconUrl = "foo";
1970 o.id = "foo"; 1970 o.id = "foo";
1971 o.isDefaultBannerUrl = true; 1971 o.isDefaultBannerUrl = true;
1972 o.isDefaultIconUrl = true; 1972 o.isDefaultIconUrl = true;
1973 o.kind = "foo"; 1973 o.kind = "foo";
1974 o.lastUpdatedTimestampMillis = "foo"; 1974 o.lastUpdatedTimestampMillis = "foo";
1975 o.milestones = buildUnnamed45(); 1975 o.milestones = buildUnnamed516();
1976 o.name = "foo"; 1976 o.name = "foo";
1977 o.notifyTimestampMillis = "foo"; 1977 o.notifyTimestampMillis = "foo";
1978 o.startTimestampMillis = "foo"; 1978 o.startTimestampMillis = "foo";
1979 o.state = "foo"; 1979 o.state = "foo";
1980 } 1980 }
1981 buildCounterQuest--; 1981 buildCounterQuest--;
1982 return o; 1982 return o;
1983 } 1983 }
1984 1984
1985 checkQuest(api.Quest o) { 1985 checkQuest(api.Quest o) {
1986 buildCounterQuest++; 1986 buildCounterQuest++;
1987 if (buildCounterQuest < 3) { 1987 if (buildCounterQuest < 3) {
1988 unittest.expect(o.acceptedTimestampMillis, unittest.equals('foo')); 1988 unittest.expect(o.acceptedTimestampMillis, unittest.equals('foo'));
1989 unittest.expect(o.applicationId, unittest.equals('foo')); 1989 unittest.expect(o.applicationId, unittest.equals('foo'));
1990 unittest.expect(o.bannerUrl, unittest.equals('foo')); 1990 unittest.expect(o.bannerUrl, unittest.equals('foo'));
1991 unittest.expect(o.description, unittest.equals('foo')); 1991 unittest.expect(o.description, unittest.equals('foo'));
1992 unittest.expect(o.endTimestampMillis, unittest.equals('foo')); 1992 unittest.expect(o.endTimestampMillis, unittest.equals('foo'));
1993 unittest.expect(o.iconUrl, unittest.equals('foo')); 1993 unittest.expect(o.iconUrl, unittest.equals('foo'));
1994 unittest.expect(o.id, unittest.equals('foo')); 1994 unittest.expect(o.id, unittest.equals('foo'));
1995 unittest.expect(o.isDefaultBannerUrl, unittest.isTrue); 1995 unittest.expect(o.isDefaultBannerUrl, unittest.isTrue);
1996 unittest.expect(o.isDefaultIconUrl, unittest.isTrue); 1996 unittest.expect(o.isDefaultIconUrl, unittest.isTrue);
1997 unittest.expect(o.kind, unittest.equals('foo')); 1997 unittest.expect(o.kind, unittest.equals('foo'));
1998 unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo')); 1998 unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo'));
1999 checkUnnamed45(o.milestones); 1999 checkUnnamed516(o.milestones);
2000 unittest.expect(o.name, unittest.equals('foo')); 2000 unittest.expect(o.name, unittest.equals('foo'));
2001 unittest.expect(o.notifyTimestampMillis, unittest.equals('foo')); 2001 unittest.expect(o.notifyTimestampMillis, unittest.equals('foo'));
2002 unittest.expect(o.startTimestampMillis, unittest.equals('foo')); 2002 unittest.expect(o.startTimestampMillis, unittest.equals('foo'));
2003 unittest.expect(o.state, unittest.equals('foo')); 2003 unittest.expect(o.state, unittest.equals('foo'));
2004 } 2004 }
2005 buildCounterQuest--; 2005 buildCounterQuest--;
2006 } 2006 }
2007 2007
2008 core.int buildCounterQuestContribution = 0; 2008 core.int buildCounterQuestContribution = 0;
2009 buildQuestContribution() { 2009 buildQuestContribution() {
(...skipping 38 matching lines...)
2048 if (buildCounterQuestCriterion < 3) { 2048 if (buildCounterQuestCriterion < 3) {
2049 checkQuestContribution(o.completionContribution); 2049 checkQuestContribution(o.completionContribution);
2050 checkQuestContribution(o.currentContribution); 2050 checkQuestContribution(o.currentContribution);
2051 unittest.expect(o.eventId, unittest.equals('foo')); 2051 unittest.expect(o.eventId, unittest.equals('foo'));
2052 checkQuestContribution(o.initialPlayerProgress); 2052 checkQuestContribution(o.initialPlayerProgress);
2053 unittest.expect(o.kind, unittest.equals('foo')); 2053 unittest.expect(o.kind, unittest.equals('foo'));
2054 } 2054 }
2055 buildCounterQuestCriterion--; 2055 buildCounterQuestCriterion--;
2056 } 2056 }
2057 2057
2058 buildUnnamed46() { 2058 buildUnnamed517() {
2059 var o = new core.List<api.Quest>(); 2059 var o = new core.List<api.Quest>();
2060 o.add(buildQuest()); 2060 o.add(buildQuest());
2061 o.add(buildQuest()); 2061 o.add(buildQuest());
2062 return o; 2062 return o;
2063 } 2063 }
2064 2064
2065 checkUnnamed46(core.List<api.Quest> o) { 2065 checkUnnamed517(core.List<api.Quest> o) {
2066 unittest.expect(o, unittest.hasLength(2)); 2066 unittest.expect(o, unittest.hasLength(2));
2067 checkQuest(o[0]); 2067 checkQuest(o[0]);
2068 checkQuest(o[1]); 2068 checkQuest(o[1]);
2069 } 2069 }
2070 2070
2071 core.int buildCounterQuestListResponse = 0; 2071 core.int buildCounterQuestListResponse = 0;
2072 buildQuestListResponse() { 2072 buildQuestListResponse() {
2073 var o = new api.QuestListResponse(); 2073 var o = new api.QuestListResponse();
2074 buildCounterQuestListResponse++; 2074 buildCounterQuestListResponse++;
2075 if (buildCounterQuestListResponse < 3) { 2075 if (buildCounterQuestListResponse < 3) {
2076 o.items = buildUnnamed46(); 2076 o.items = buildUnnamed517();
2077 o.kind = "foo"; 2077 o.kind = "foo";
2078 o.nextPageToken = "foo"; 2078 o.nextPageToken = "foo";
2079 } 2079 }
2080 buildCounterQuestListResponse--; 2080 buildCounterQuestListResponse--;
2081 return o; 2081 return o;
2082 } 2082 }
2083 2083
2084 checkQuestListResponse(api.QuestListResponse o) { 2084 checkQuestListResponse(api.QuestListResponse o) {
2085 buildCounterQuestListResponse++; 2085 buildCounterQuestListResponse++;
2086 if (buildCounterQuestListResponse < 3) { 2086 if (buildCounterQuestListResponse < 3) {
2087 checkUnnamed46(o.items); 2087 checkUnnamed517(o.items);
2088 unittest.expect(o.kind, unittest.equals('foo')); 2088 unittest.expect(o.kind, unittest.equals('foo'));
2089 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2089 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2090 } 2090 }
2091 buildCounterQuestListResponse--; 2091 buildCounterQuestListResponse--;
2092 } 2092 }
2093 2093
2094 buildUnnamed47() { 2094 buildUnnamed518() {
2095 var o = new core.List<api.QuestCriterion>(); 2095 var o = new core.List<api.QuestCriterion>();
2096 o.add(buildQuestCriterion()); 2096 o.add(buildQuestCriterion());
2097 o.add(buildQuestCriterion()); 2097 o.add(buildQuestCriterion());
2098 return o; 2098 return o;
2099 } 2099 }
2100 2100
2101 checkUnnamed47(core.List<api.QuestCriterion> o) { 2101 checkUnnamed518(core.List<api.QuestCriterion> o) {
2102 unittest.expect(o, unittest.hasLength(2)); 2102 unittest.expect(o, unittest.hasLength(2));
2103 checkQuestCriterion(o[0]); 2103 checkQuestCriterion(o[0]);
2104 checkQuestCriterion(o[1]); 2104 checkQuestCriterion(o[1]);
2105 } 2105 }
2106 2106
2107 core.int buildCounterQuestMilestone = 0; 2107 core.int buildCounterQuestMilestone = 0;
2108 buildQuestMilestone() { 2108 buildQuestMilestone() {
2109 var o = new api.QuestMilestone(); 2109 var o = new api.QuestMilestone();
2110 buildCounterQuestMilestone++; 2110 buildCounterQuestMilestone++;
2111 if (buildCounterQuestMilestone < 3) { 2111 if (buildCounterQuestMilestone < 3) {
2112 o.completionRewardData = "foo"; 2112 o.completionRewardData = "foo";
2113 o.criteria = buildUnnamed47(); 2113 o.criteria = buildUnnamed518();
2114 o.id = "foo"; 2114 o.id = "foo";
2115 o.kind = "foo"; 2115 o.kind = "foo";
2116 o.state = "foo"; 2116 o.state = "foo";
2117 } 2117 }
2118 buildCounterQuestMilestone--; 2118 buildCounterQuestMilestone--;
2119 return o; 2119 return o;
2120 } 2120 }
2121 2121
2122 checkQuestMilestone(api.QuestMilestone o) { 2122 checkQuestMilestone(api.QuestMilestone o) {
2123 buildCounterQuestMilestone++; 2123 buildCounterQuestMilestone++;
2124 if (buildCounterQuestMilestone < 3) { 2124 if (buildCounterQuestMilestone < 3) {
2125 unittest.expect(o.completionRewardData, unittest.equals('foo')); 2125 unittest.expect(o.completionRewardData, unittest.equals('foo'));
2126 checkUnnamed47(o.criteria); 2126 checkUnnamed518(o.criteria);
2127 unittest.expect(o.id, unittest.equals('foo')); 2127 unittest.expect(o.id, unittest.equals('foo'));
2128 unittest.expect(o.kind, unittest.equals('foo')); 2128 unittest.expect(o.kind, unittest.equals('foo'));
2129 unittest.expect(o.state, unittest.equals('foo')); 2129 unittest.expect(o.state, unittest.equals('foo'));
2130 } 2130 }
2131 buildCounterQuestMilestone--; 2131 buildCounterQuestMilestone--;
2132 } 2132 }
2133 2133
2134 core.int buildCounterRevisionCheckResponse = 0; 2134 core.int buildCounterRevisionCheckResponse = 0;
2135 buildRevisionCheckResponse() { 2135 buildRevisionCheckResponse() {
2136 var o = new api.RevisionCheckResponse(); 2136 var o = new api.RevisionCheckResponse();
(...skipping 10 matching lines...)
2147 checkRevisionCheckResponse(api.RevisionCheckResponse o) { 2147 checkRevisionCheckResponse(api.RevisionCheckResponse o) {
2148 buildCounterRevisionCheckResponse++; 2148 buildCounterRevisionCheckResponse++;
2149 if (buildCounterRevisionCheckResponse < 3) { 2149 if (buildCounterRevisionCheckResponse < 3) {
2150 unittest.expect(o.apiVersion, unittest.equals('foo')); 2150 unittest.expect(o.apiVersion, unittest.equals('foo'));
2151 unittest.expect(o.kind, unittest.equals('foo')); 2151 unittest.expect(o.kind, unittest.equals('foo'));
2152 unittest.expect(o.revisionStatus, unittest.equals('foo')); 2152 unittest.expect(o.revisionStatus, unittest.equals('foo'));
2153 } 2153 }
2154 buildCounterRevisionCheckResponse--; 2154 buildCounterRevisionCheckResponse--;
2155 } 2155 }
2156 2156
2157 buildUnnamed48() { 2157 buildUnnamed519() {
2158 var o = new core.List<api.RoomParticipant>(); 2158 var o = new core.List<api.RoomParticipant>();
2159 o.add(buildRoomParticipant()); 2159 o.add(buildRoomParticipant());
2160 o.add(buildRoomParticipant()); 2160 o.add(buildRoomParticipant());
2161 return o; 2161 return o;
2162 } 2162 }
2163 2163
2164 checkUnnamed48(core.List<api.RoomParticipant> o) { 2164 checkUnnamed519(core.List<api.RoomParticipant> o) {
2165 unittest.expect(o, unittest.hasLength(2)); 2165 unittest.expect(o, unittest.hasLength(2));
2166 checkRoomParticipant(o[0]); 2166 checkRoomParticipant(o[0]);
2167 checkRoomParticipant(o[1]); 2167 checkRoomParticipant(o[1]);
2168 } 2168 }
2169 2169
2170 core.int buildCounterRoom = 0; 2170 core.int buildCounterRoom = 0;
2171 buildRoom() { 2171 buildRoom() {
2172 var o = new api.Room(); 2172 var o = new api.Room();
2173 buildCounterRoom++; 2173 buildCounterRoom++;
2174 if (buildCounterRoom < 3) { 2174 if (buildCounterRoom < 3) {
2175 o.applicationId = "foo"; 2175 o.applicationId = "foo";
2176 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); 2176 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria();
2177 o.autoMatchingStatus = buildRoomAutoMatchStatus(); 2177 o.autoMatchingStatus = buildRoomAutoMatchStatus();
2178 o.creationDetails = buildRoomModification(); 2178 o.creationDetails = buildRoomModification();
2179 o.description = "foo"; 2179 o.description = "foo";
2180 o.inviterId = "foo"; 2180 o.inviterId = "foo";
2181 o.kind = "foo"; 2181 o.kind = "foo";
2182 o.lastUpdateDetails = buildRoomModification(); 2182 o.lastUpdateDetails = buildRoomModification();
2183 o.participants = buildUnnamed48(); 2183 o.participants = buildUnnamed519();
2184 o.roomId = "foo"; 2184 o.roomId = "foo";
2185 o.roomStatusVersion = 42; 2185 o.roomStatusVersion = 42;
2186 o.status = "foo"; 2186 o.status = "foo";
2187 o.variant = 42; 2187 o.variant = 42;
2188 } 2188 }
2189 buildCounterRoom--; 2189 buildCounterRoom--;
2190 return o; 2190 return o;
2191 } 2191 }
2192 2192
2193 checkRoom(api.Room o) { 2193 checkRoom(api.Room o) {
2194 buildCounterRoom++; 2194 buildCounterRoom++;
2195 if (buildCounterRoom < 3) { 2195 if (buildCounterRoom < 3) {
2196 unittest.expect(o.applicationId, unittest.equals('foo')); 2196 unittest.expect(o.applicationId, unittest.equals('foo'));
2197 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); 2197 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria);
2198 checkRoomAutoMatchStatus(o.autoMatchingStatus); 2198 checkRoomAutoMatchStatus(o.autoMatchingStatus);
2199 checkRoomModification(o.creationDetails); 2199 checkRoomModification(o.creationDetails);
2200 unittest.expect(o.description, unittest.equals('foo')); 2200 unittest.expect(o.description, unittest.equals('foo'));
2201 unittest.expect(o.inviterId, unittest.equals('foo')); 2201 unittest.expect(o.inviterId, unittest.equals('foo'));
2202 unittest.expect(o.kind, unittest.equals('foo')); 2202 unittest.expect(o.kind, unittest.equals('foo'));
2203 checkRoomModification(o.lastUpdateDetails); 2203 checkRoomModification(o.lastUpdateDetails);
2204 checkUnnamed48(o.participants); 2204 checkUnnamed519(o.participants);
2205 unittest.expect(o.roomId, unittest.equals('foo')); 2205 unittest.expect(o.roomId, unittest.equals('foo'));
2206 unittest.expect(o.roomStatusVersion, unittest.equals(42)); 2206 unittest.expect(o.roomStatusVersion, unittest.equals(42));
2207 unittest.expect(o.status, unittest.equals('foo')); 2207 unittest.expect(o.status, unittest.equals('foo'));
2208 unittest.expect(o.variant, unittest.equals(42)); 2208 unittest.expect(o.variant, unittest.equals(42));
2209 } 2209 }
2210 buildCounterRoom--; 2210 buildCounterRoom--;
2211 } 2211 }
2212 2212
2213 core.int buildCounterRoomAutoMatchStatus = 0; 2213 core.int buildCounterRoomAutoMatchStatus = 0;
2214 buildRoomAutoMatchStatus() { 2214 buildRoomAutoMatchStatus() {
(...skipping 55 matching lines...)
2270 2270
2271 checkRoomClientAddress(api.RoomClientAddress o) { 2271 checkRoomClientAddress(api.RoomClientAddress o) {
2272 buildCounterRoomClientAddress++; 2272 buildCounterRoomClientAddress++;
2273 if (buildCounterRoomClientAddress < 3) { 2273 if (buildCounterRoomClientAddress < 3) {
2274 unittest.expect(o.kind, unittest.equals('foo')); 2274 unittest.expect(o.kind, unittest.equals('foo'));
2275 unittest.expect(o.xmppAddress, unittest.equals('foo')); 2275 unittest.expect(o.xmppAddress, unittest.equals('foo'));
2276 } 2276 }
2277 buildCounterRoomClientAddress--; 2277 buildCounterRoomClientAddress--;
2278 } 2278 }
2279 2279
2280 buildUnnamed49() { 2280 buildUnnamed520() {
2281 var o = new core.List<core.String>(); 2281 var o = new core.List<core.String>();
2282 o.add("foo"); 2282 o.add("foo");
2283 o.add("foo"); 2283 o.add("foo");
2284 return o; 2284 return o;
2285 } 2285 }
2286 2286
2287 checkUnnamed49(core.List<core.String> o) { 2287 checkUnnamed520(core.List<core.String> o) {
2288 unittest.expect(o, unittest.hasLength(2)); 2288 unittest.expect(o, unittest.hasLength(2));
2289 unittest.expect(o[0], unittest.equals('foo')); 2289 unittest.expect(o[0], unittest.equals('foo'));
2290 unittest.expect(o[1], unittest.equals('foo')); 2290 unittest.expect(o[1], unittest.equals('foo'));
2291 } 2291 }
2292 2292
2293 buildUnnamed50() { 2293 buildUnnamed521() {
2294 var o = new core.List<core.String>(); 2294 var o = new core.List<core.String>();
2295 o.add("foo"); 2295 o.add("foo");
2296 o.add("foo"); 2296 o.add("foo");
2297 return o; 2297 return o;
2298 } 2298 }
2299 2299
2300 checkUnnamed50(core.List<core.String> o) { 2300 checkUnnamed521(core.List<core.String> o) {
2301 unittest.expect(o, unittest.hasLength(2)); 2301 unittest.expect(o, unittest.hasLength(2));
2302 unittest.expect(o[0], unittest.equals('foo')); 2302 unittest.expect(o[0], unittest.equals('foo'));
2303 unittest.expect(o[1], unittest.equals('foo')); 2303 unittest.expect(o[1], unittest.equals('foo'));
2304 } 2304 }
2305 2305
2306 core.int buildCounterRoomCreateRequest = 0; 2306 core.int buildCounterRoomCreateRequest = 0;
2307 buildRoomCreateRequest() { 2307 buildRoomCreateRequest() {
2308 var o = new api.RoomCreateRequest(); 2308 var o = new api.RoomCreateRequest();
2309 buildCounterRoomCreateRequest++; 2309 buildCounterRoomCreateRequest++;
2310 if (buildCounterRoomCreateRequest < 3) { 2310 if (buildCounterRoomCreateRequest < 3) {
2311 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); 2311 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria();
2312 o.capabilities = buildUnnamed49(); 2312 o.capabilities = buildUnnamed520();
2313 o.clientAddress = buildRoomClientAddress(); 2313 o.clientAddress = buildRoomClientAddress();
2314 o.invitedPlayerIds = buildUnnamed50(); 2314 o.invitedPlayerIds = buildUnnamed521();
2315 o.kind = "foo"; 2315 o.kind = "foo";
2316 o.networkDiagnostics = buildNetworkDiagnostics(); 2316 o.networkDiagnostics = buildNetworkDiagnostics();
2317 o.requestId = "foo"; 2317 o.requestId = "foo";
2318 o.variant = 42; 2318 o.variant = 42;
2319 } 2319 }
2320 buildCounterRoomCreateRequest--; 2320 buildCounterRoomCreateRequest--;
2321 return o; 2321 return o;
2322 } 2322 }
2323 2323
2324 checkRoomCreateRequest(api.RoomCreateRequest o) { 2324 checkRoomCreateRequest(api.RoomCreateRequest o) {
2325 buildCounterRoomCreateRequest++; 2325 buildCounterRoomCreateRequest++;
2326 if (buildCounterRoomCreateRequest < 3) { 2326 if (buildCounterRoomCreateRequest < 3) {
2327 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); 2327 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria);
2328 checkUnnamed49(o.capabilities); 2328 checkUnnamed520(o.capabilities);
2329 checkRoomClientAddress(o.clientAddress); 2329 checkRoomClientAddress(o.clientAddress);
2330 checkUnnamed50(o.invitedPlayerIds); 2330 checkUnnamed521(o.invitedPlayerIds);
2331 unittest.expect(o.kind, unittest.equals('foo')); 2331 unittest.expect(o.kind, unittest.equals('foo'));
2332 checkNetworkDiagnostics(o.networkDiagnostics); 2332 checkNetworkDiagnostics(o.networkDiagnostics);
2333 unittest.expect(o.requestId, unittest.equals('foo')); 2333 unittest.expect(o.requestId, unittest.equals('foo'));
2334 unittest.expect(o.variant, unittest.equals(42)); 2334 unittest.expect(o.variant, unittest.equals(42));
2335 } 2335 }
2336 buildCounterRoomCreateRequest--; 2336 buildCounterRoomCreateRequest--;
2337 } 2337 }
2338 2338
2339 buildUnnamed51() { 2339 buildUnnamed522() {
2340 var o = new core.List<core.String>(); 2340 var o = new core.List<core.String>();
2341 o.add("foo"); 2341 o.add("foo");
2342 o.add("foo"); 2342 o.add("foo");
2343 return o; 2343 return o;
2344 } 2344 }
2345 2345
2346 checkUnnamed51(core.List<core.String> o) { 2346 checkUnnamed522(core.List<core.String> o) {
2347 unittest.expect(o, unittest.hasLength(2)); 2347 unittest.expect(o, unittest.hasLength(2));
2348 unittest.expect(o[0], unittest.equals('foo')); 2348 unittest.expect(o[0], unittest.equals('foo'));
2349 unittest.expect(o[1], unittest.equals('foo')); 2349 unittest.expect(o[1], unittest.equals('foo'));
2350 } 2350 }
2351 2351
2352 core.int buildCounterRoomJoinRequest = 0; 2352 core.int buildCounterRoomJoinRequest = 0;
2353 buildRoomJoinRequest() { 2353 buildRoomJoinRequest() {
2354 var o = new api.RoomJoinRequest(); 2354 var o = new api.RoomJoinRequest();
2355 buildCounterRoomJoinRequest++; 2355 buildCounterRoomJoinRequest++;
2356 if (buildCounterRoomJoinRequest < 3) { 2356 if (buildCounterRoomJoinRequest < 3) {
2357 o.capabilities = buildUnnamed51(); 2357 o.capabilities = buildUnnamed522();
2358 o.clientAddress = buildRoomClientAddress(); 2358 o.clientAddress = buildRoomClientAddress();
2359 o.kind = "foo"; 2359 o.kind = "foo";
2360 o.networkDiagnostics = buildNetworkDiagnostics(); 2360 o.networkDiagnostics = buildNetworkDiagnostics();
2361 } 2361 }
2362 buildCounterRoomJoinRequest--; 2362 buildCounterRoomJoinRequest--;
2363 return o; 2363 return o;
2364 } 2364 }
2365 2365
2366 checkRoomJoinRequest(api.RoomJoinRequest o) { 2366 checkRoomJoinRequest(api.RoomJoinRequest o) {
2367 buildCounterRoomJoinRequest++; 2367 buildCounterRoomJoinRequest++;
2368 if (buildCounterRoomJoinRequest < 3) { 2368 if (buildCounterRoomJoinRequest < 3) {
2369 checkUnnamed51(o.capabilities); 2369 checkUnnamed522(o.capabilities);
2370 checkRoomClientAddress(o.clientAddress); 2370 checkRoomClientAddress(o.clientAddress);
2371 unittest.expect(o.kind, unittest.equals('foo')); 2371 unittest.expect(o.kind, unittest.equals('foo'));
2372 checkNetworkDiagnostics(o.networkDiagnostics); 2372 checkNetworkDiagnostics(o.networkDiagnostics);
2373 } 2373 }
2374 buildCounterRoomJoinRequest--; 2374 buildCounterRoomJoinRequest--;
2375 } 2375 }
2376 2376
2377 buildUnnamed52() { 2377 buildUnnamed523() {
2378 var o = new core.List<api.PeerSessionDiagnostics>(); 2378 var o = new core.List<api.PeerSessionDiagnostics>();
2379 o.add(buildPeerSessionDiagnostics()); 2379 o.add(buildPeerSessionDiagnostics());
2380 o.add(buildPeerSessionDiagnostics()); 2380 o.add(buildPeerSessionDiagnostics());
2381 return o; 2381 return o;
2382 } 2382 }
2383 2383
2384 checkUnnamed52(core.List<api.PeerSessionDiagnostics> o) { 2384 checkUnnamed523(core.List<api.PeerSessionDiagnostics> o) {
2385 unittest.expect(o, unittest.hasLength(2)); 2385 unittest.expect(o, unittest.hasLength(2));
2386 checkPeerSessionDiagnostics(o[0]); 2386 checkPeerSessionDiagnostics(o[0]);
2387 checkPeerSessionDiagnostics(o[1]); 2387 checkPeerSessionDiagnostics(o[1]);
2388 } 2388 }
2389 2389
2390 core.int buildCounterRoomLeaveDiagnostics = 0; 2390 core.int buildCounterRoomLeaveDiagnostics = 0;
2391 buildRoomLeaveDiagnostics() { 2391 buildRoomLeaveDiagnostics() {
2392 var o = new api.RoomLeaveDiagnostics(); 2392 var o = new api.RoomLeaveDiagnostics();
2393 buildCounterRoomLeaveDiagnostics++; 2393 buildCounterRoomLeaveDiagnostics++;
2394 if (buildCounterRoomLeaveDiagnostics < 3) { 2394 if (buildCounterRoomLeaveDiagnostics < 3) {
2395 o.androidNetworkSubtype = 42; 2395 o.androidNetworkSubtype = 42;
2396 o.androidNetworkType = 42; 2396 o.androidNetworkType = 42;
2397 o.iosNetworkType = 42; 2397 o.iosNetworkType = 42;
2398 o.kind = "foo"; 2398 o.kind = "foo";
2399 o.networkOperatorCode = "foo"; 2399 o.networkOperatorCode = "foo";
2400 o.networkOperatorName = "foo"; 2400 o.networkOperatorName = "foo";
2401 o.peerSession = buildUnnamed52(); 2401 o.peerSession = buildUnnamed523();
2402 o.socketsUsed = true; 2402 o.socketsUsed = true;
2403 } 2403 }
2404 buildCounterRoomLeaveDiagnostics--; 2404 buildCounterRoomLeaveDiagnostics--;
2405 return o; 2405 return o;
2406 } 2406 }
2407 2407
2408 checkRoomLeaveDiagnostics(api.RoomLeaveDiagnostics o) { 2408 checkRoomLeaveDiagnostics(api.RoomLeaveDiagnostics o) {
2409 buildCounterRoomLeaveDiagnostics++; 2409 buildCounterRoomLeaveDiagnostics++;
2410 if (buildCounterRoomLeaveDiagnostics < 3) { 2410 if (buildCounterRoomLeaveDiagnostics < 3) {
2411 unittest.expect(o.androidNetworkSubtype, unittest.equals(42)); 2411 unittest.expect(o.androidNetworkSubtype, unittest.equals(42));
2412 unittest.expect(o.androidNetworkType, unittest.equals(42)); 2412 unittest.expect(o.androidNetworkType, unittest.equals(42));
2413 unittest.expect(o.iosNetworkType, unittest.equals(42)); 2413 unittest.expect(o.iosNetworkType, unittest.equals(42));
2414 unittest.expect(o.kind, unittest.equals('foo')); 2414 unittest.expect(o.kind, unittest.equals('foo'));
2415 unittest.expect(o.networkOperatorCode, unittest.equals('foo')); 2415 unittest.expect(o.networkOperatorCode, unittest.equals('foo'));
2416 unittest.expect(o.networkOperatorName, unittest.equals('foo')); 2416 unittest.expect(o.networkOperatorName, unittest.equals('foo'));
2417 checkUnnamed52(o.peerSession); 2417 checkUnnamed523(o.peerSession);
2418 unittest.expect(o.socketsUsed, unittest.isTrue); 2418 unittest.expect(o.socketsUsed, unittest.isTrue);
2419 } 2419 }
2420 buildCounterRoomLeaveDiagnostics--; 2420 buildCounterRoomLeaveDiagnostics--;
2421 } 2421 }
2422 2422
2423 core.int buildCounterRoomLeaveRequest = 0; 2423 core.int buildCounterRoomLeaveRequest = 0;
2424 buildRoomLeaveRequest() { 2424 buildRoomLeaveRequest() {
2425 var o = new api.RoomLeaveRequest(); 2425 var o = new api.RoomLeaveRequest();
2426 buildCounterRoomLeaveRequest++; 2426 buildCounterRoomLeaveRequest++;
2427 if (buildCounterRoomLeaveRequest < 3) { 2427 if (buildCounterRoomLeaveRequest < 3) {
2428 o.kind = "foo"; 2428 o.kind = "foo";
2429 o.leaveDiagnostics = buildRoomLeaveDiagnostics(); 2429 o.leaveDiagnostics = buildRoomLeaveDiagnostics();
2430 o.reason = "foo"; 2430 o.reason = "foo";
2431 } 2431 }
2432 buildCounterRoomLeaveRequest--; 2432 buildCounterRoomLeaveRequest--;
2433 return o; 2433 return o;
2434 } 2434 }
2435 2435
2436 checkRoomLeaveRequest(api.RoomLeaveRequest o) { 2436 checkRoomLeaveRequest(api.RoomLeaveRequest o) {
2437 buildCounterRoomLeaveRequest++; 2437 buildCounterRoomLeaveRequest++;
2438 if (buildCounterRoomLeaveRequest < 3) { 2438 if (buildCounterRoomLeaveRequest < 3) {
2439 unittest.expect(o.kind, unittest.equals('foo')); 2439 unittest.expect(o.kind, unittest.equals('foo'));
2440 checkRoomLeaveDiagnostics(o.leaveDiagnostics); 2440 checkRoomLeaveDiagnostics(o.leaveDiagnostics);
2441 unittest.expect(o.reason, unittest.equals('foo')); 2441 unittest.expect(o.reason, unittest.equals('foo'));
2442 } 2442 }
2443 buildCounterRoomLeaveRequest--; 2443 buildCounterRoomLeaveRequest--;
2444 } 2444 }
2445 2445
2446 buildUnnamed53() { 2446 buildUnnamed524() {
2447 var o = new core.List<api.Room>(); 2447 var o = new core.List<api.Room>();
2448 o.add(buildRoom()); 2448 o.add(buildRoom());
2449 o.add(buildRoom()); 2449 o.add(buildRoom());
2450 return o; 2450 return o;
2451 } 2451 }
2452 2452
2453 checkUnnamed53(core.List<api.Room> o) { 2453 checkUnnamed524(core.List<api.Room> o) {
2454 unittest.expect(o, unittest.hasLength(2)); 2454 unittest.expect(o, unittest.hasLength(2));
2455 checkRoom(o[0]); 2455 checkRoom(o[0]);
2456 checkRoom(o[1]); 2456 checkRoom(o[1]);
2457 } 2457 }
2458 2458
2459 core.int buildCounterRoomList = 0; 2459 core.int buildCounterRoomList = 0;
2460 buildRoomList() { 2460 buildRoomList() {
2461 var o = new api.RoomList(); 2461 var o = new api.RoomList();
2462 buildCounterRoomList++; 2462 buildCounterRoomList++;
2463 if (buildCounterRoomList < 3) { 2463 if (buildCounterRoomList < 3) {
2464 o.items = buildUnnamed53(); 2464 o.items = buildUnnamed524();
2465 o.kind = "foo"; 2465 o.kind = "foo";
2466 o.nextPageToken = "foo"; 2466 o.nextPageToken = "foo";
2467 } 2467 }
2468 buildCounterRoomList--; 2468 buildCounterRoomList--;
2469 return o; 2469 return o;
2470 } 2470 }
2471 2471
2472 checkRoomList(api.RoomList o) { 2472 checkRoomList(api.RoomList o) {
2473 buildCounterRoomList++; 2473 buildCounterRoomList++;
2474 if (buildCounterRoomList < 3) { 2474 if (buildCounterRoomList < 3) {
2475 checkUnnamed53(o.items); 2475 checkUnnamed524(o.items);
2476 unittest.expect(o.kind, unittest.equals('foo')); 2476 unittest.expect(o.kind, unittest.equals('foo'));
2477 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2477 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2478 } 2478 }
2479 buildCounterRoomList--; 2479 buildCounterRoomList--;
2480 } 2480 }
2481 2481
2482 core.int buildCounterRoomModification = 0; 2482 core.int buildCounterRoomModification = 0;
2483 buildRoomModification() { 2483 buildRoomModification() {
2484 var o = new api.RoomModification(); 2484 var o = new api.RoomModification();
2485 buildCounterRoomModification++; 2485 buildCounterRoomModification++;
(...skipping 40 matching lines...)
2526 unittest.expect(o.error, unittest.equals('foo')); 2526 unittest.expect(o.error, unittest.equals('foo'));
2527 unittest.expect(o.errorReason, unittest.equals('foo')); 2527 unittest.expect(o.errorReason, unittest.equals('foo'));
2528 unittest.expect(o.kind, unittest.equals('foo')); 2528 unittest.expect(o.kind, unittest.equals('foo'));
2529 unittest.expect(o.participantId, unittest.equals('foo')); 2529 unittest.expect(o.participantId, unittest.equals('foo'));
2530 unittest.expect(o.status, unittest.equals('foo')); 2530 unittest.expect(o.status, unittest.equals('foo'));
2531 unittest.expect(o.unreliableRoundtripLatencyMillis, unittest.equals(42)); 2531 unittest.expect(o.unreliableRoundtripLatencyMillis, unittest.equals(42));
2532 } 2532 }
2533 buildCounterRoomP2PStatus--; 2533 buildCounterRoomP2PStatus--;
2534 } 2534 }
2535 2535
2536 buildUnnamed54() { 2536 buildUnnamed525() {
2537 var o = new core.List<api.RoomP2PStatus>(); 2537 var o = new core.List<api.RoomP2PStatus>();
2538 o.add(buildRoomP2PStatus()); 2538 o.add(buildRoomP2PStatus());
2539 o.add(buildRoomP2PStatus()); 2539 o.add(buildRoomP2PStatus());
2540 return o; 2540 return o;
2541 } 2541 }
2542 2542
2543 checkUnnamed54(core.List<api.RoomP2PStatus> o) { 2543 checkUnnamed525(core.List<api.RoomP2PStatus> o) {
2544 unittest.expect(o, unittest.hasLength(2)); 2544 unittest.expect(o, unittest.hasLength(2));
2545 checkRoomP2PStatus(o[0]); 2545 checkRoomP2PStatus(o[0]);
2546 checkRoomP2PStatus(o[1]); 2546 checkRoomP2PStatus(o[1]);
2547 } 2547 }
2548 2548
2549 core.int buildCounterRoomP2PStatuses = 0; 2549 core.int buildCounterRoomP2PStatuses = 0;
2550 buildRoomP2PStatuses() { 2550 buildRoomP2PStatuses() {
2551 var o = new api.RoomP2PStatuses(); 2551 var o = new api.RoomP2PStatuses();
2552 buildCounterRoomP2PStatuses++; 2552 buildCounterRoomP2PStatuses++;
2553 if (buildCounterRoomP2PStatuses < 3) { 2553 if (buildCounterRoomP2PStatuses < 3) {
2554 o.kind = "foo"; 2554 o.kind = "foo";
2555 o.updates = buildUnnamed54(); 2555 o.updates = buildUnnamed525();
2556 } 2556 }
2557 buildCounterRoomP2PStatuses--; 2557 buildCounterRoomP2PStatuses--;
2558 return o; 2558 return o;
2559 } 2559 }
2560 2560
2561 checkRoomP2PStatuses(api.RoomP2PStatuses o) { 2561 checkRoomP2PStatuses(api.RoomP2PStatuses o) {
2562 buildCounterRoomP2PStatuses++; 2562 buildCounterRoomP2PStatuses++;
2563 if (buildCounterRoomP2PStatuses < 3) { 2563 if (buildCounterRoomP2PStatuses < 3) {
2564 unittest.expect(o.kind, unittest.equals('foo')); 2564 unittest.expect(o.kind, unittest.equals('foo'));
2565 checkUnnamed54(o.updates); 2565 checkUnnamed525(o.updates);
2566 } 2566 }
2567 buildCounterRoomP2PStatuses--; 2567 buildCounterRoomP2PStatuses--;
2568 } 2568 }
2569 2569
2570 buildUnnamed55() { 2570 buildUnnamed526() {
2571 var o = new core.List<core.String>(); 2571 var o = new core.List<core.String>();
2572 o.add("foo"); 2572 o.add("foo");
2573 o.add("foo"); 2573 o.add("foo");
2574 return o; 2574 return o;
2575 } 2575 }
2576 2576
2577 checkUnnamed55(core.List<core.String> o) { 2577 checkUnnamed526(core.List<core.String> o) {
2578 unittest.expect(o, unittest.hasLength(2)); 2578 unittest.expect(o, unittest.hasLength(2));
2579 unittest.expect(o[0], unittest.equals('foo')); 2579 unittest.expect(o[0], unittest.equals('foo'));
2580 unittest.expect(o[1], unittest.equals('foo')); 2580 unittest.expect(o[1], unittest.equals('foo'));
2581 } 2581 }
2582 2582
2583 core.int buildCounterRoomParticipant = 0; 2583 core.int buildCounterRoomParticipant = 0;
2584 buildRoomParticipant() { 2584 buildRoomParticipant() {
2585 var o = new api.RoomParticipant(); 2585 var o = new api.RoomParticipant();
2586 buildCounterRoomParticipant++; 2586 buildCounterRoomParticipant++;
2587 if (buildCounterRoomParticipant < 3) { 2587 if (buildCounterRoomParticipant < 3) {
2588 o.autoMatched = true; 2588 o.autoMatched = true;
2589 o.autoMatchedPlayer = buildAnonymousPlayer(); 2589 o.autoMatchedPlayer = buildAnonymousPlayer();
2590 o.capabilities = buildUnnamed55(); 2590 o.capabilities = buildUnnamed526();
2591 o.clientAddress = buildRoomClientAddress(); 2591 o.clientAddress = buildRoomClientAddress();
2592 o.connected = true; 2592 o.connected = true;
2593 o.id = "foo"; 2593 o.id = "foo";
2594 o.kind = "foo"; 2594 o.kind = "foo";
2595 o.leaveReason = "foo"; 2595 o.leaveReason = "foo";
2596 o.player = buildPlayer(); 2596 o.player = buildPlayer();
2597 o.status = "foo"; 2597 o.status = "foo";
2598 } 2598 }
2599 buildCounterRoomParticipant--; 2599 buildCounterRoomParticipant--;
2600 return o; 2600 return o;
2601 } 2601 }
2602 2602
2603 checkRoomParticipant(api.RoomParticipant o) { 2603 checkRoomParticipant(api.RoomParticipant o) {
2604 buildCounterRoomParticipant++; 2604 buildCounterRoomParticipant++;
2605 if (buildCounterRoomParticipant < 3) { 2605 if (buildCounterRoomParticipant < 3) {
2606 unittest.expect(o.autoMatched, unittest.isTrue); 2606 unittest.expect(o.autoMatched, unittest.isTrue);
2607 checkAnonymousPlayer(o.autoMatchedPlayer); 2607 checkAnonymousPlayer(o.autoMatchedPlayer);
2608 checkUnnamed55(o.capabilities); 2608 checkUnnamed526(o.capabilities);
2609 checkRoomClientAddress(o.clientAddress); 2609 checkRoomClientAddress(o.clientAddress);
2610 unittest.expect(o.connected, unittest.isTrue); 2610 unittest.expect(o.connected, unittest.isTrue);
2611 unittest.expect(o.id, unittest.equals('foo')); 2611 unittest.expect(o.id, unittest.equals('foo'));
2612 unittest.expect(o.kind, unittest.equals('foo')); 2612 unittest.expect(o.kind, unittest.equals('foo'));
2613 unittest.expect(o.leaveReason, unittest.equals('foo')); 2613 unittest.expect(o.leaveReason, unittest.equals('foo'));
2614 checkPlayer(o.player); 2614 checkPlayer(o.player);
2615 unittest.expect(o.status, unittest.equals('foo')); 2615 unittest.expect(o.status, unittest.equals('foo'));
2616 } 2616 }
2617 buildCounterRoomParticipant--; 2617 buildCounterRoomParticipant--;
2618 } 2618 }
2619 2619
2620 buildUnnamed56() { 2620 buildUnnamed527() {
2621 var o = new core.List<api.RoomParticipant>(); 2621 var o = new core.List<api.RoomParticipant>();
2622 o.add(buildRoomParticipant()); 2622 o.add(buildRoomParticipant());
2623 o.add(buildRoomParticipant()); 2623 o.add(buildRoomParticipant());
2624 return o; 2624 return o;
2625 } 2625 }
2626 2626
2627 checkUnnamed56(core.List<api.RoomParticipant> o) { 2627 checkUnnamed527(core.List<api.RoomParticipant> o) {
2628 unittest.expect(o, unittest.hasLength(2)); 2628 unittest.expect(o, unittest.hasLength(2));
2629 checkRoomParticipant(o[0]); 2629 checkRoomParticipant(o[0]);
2630 checkRoomParticipant(o[1]); 2630 checkRoomParticipant(o[1]);
2631 } 2631 }
2632 2632
2633 core.int buildCounterRoomStatus = 0; 2633 core.int buildCounterRoomStatus = 0;
2634 buildRoomStatus() { 2634 buildRoomStatus() {
2635 var o = new api.RoomStatus(); 2635 var o = new api.RoomStatus();
2636 buildCounterRoomStatus++; 2636 buildCounterRoomStatus++;
2637 if (buildCounterRoomStatus < 3) { 2637 if (buildCounterRoomStatus < 3) {
2638 o.autoMatchingStatus = buildRoomAutoMatchStatus(); 2638 o.autoMatchingStatus = buildRoomAutoMatchStatus();
2639 o.kind = "foo"; 2639 o.kind = "foo";
2640 o.participants = buildUnnamed56(); 2640 o.participants = buildUnnamed527();
2641 o.roomId = "foo"; 2641 o.roomId = "foo";
2642 o.status = "foo"; 2642 o.status = "foo";
2643 o.statusVersion = 42; 2643 o.statusVersion = 42;
2644 } 2644 }
2645 buildCounterRoomStatus--; 2645 buildCounterRoomStatus--;
2646 return o; 2646 return o;
2647 } 2647 }
2648 2648
2649 checkRoomStatus(api.RoomStatus o) { 2649 checkRoomStatus(api.RoomStatus o) {
2650 buildCounterRoomStatus++; 2650 buildCounterRoomStatus++;
2651 if (buildCounterRoomStatus < 3) { 2651 if (buildCounterRoomStatus < 3) {
2652 checkRoomAutoMatchStatus(o.autoMatchingStatus); 2652 checkRoomAutoMatchStatus(o.autoMatchingStatus);
2653 unittest.expect(o.kind, unittest.equals('foo')); 2653 unittest.expect(o.kind, unittest.equals('foo'));
2654 checkUnnamed56(o.participants); 2654 checkUnnamed527(o.participants);
2655 unittest.expect(o.roomId, unittest.equals('foo')); 2655 unittest.expect(o.roomId, unittest.equals('foo'));
2656 unittest.expect(o.status, unittest.equals('foo')); 2656 unittest.expect(o.status, unittest.equals('foo'));
2657 unittest.expect(o.statusVersion, unittest.equals(42)); 2657 unittest.expect(o.statusVersion, unittest.equals(42));
2658 } 2658 }
2659 buildCounterRoomStatus--; 2659 buildCounterRoomStatus--;
2660 } 2660 }
2661 2661
2662 core.int buildCounterScoreSubmission = 0; 2662 core.int buildCounterScoreSubmission = 0;
2663 buildScoreSubmission() { 2663 buildScoreSubmission() {
2664 var o = new api.ScoreSubmission(); 2664 var o = new api.ScoreSubmission();
(...skipping 78 matching lines...)
2743 if (buildCounterSnapshotImage < 3) { 2743 if (buildCounterSnapshotImage < 3) {
2744 unittest.expect(o.height, unittest.equals(42)); 2744 unittest.expect(o.height, unittest.equals(42));
2745 unittest.expect(o.kind, unittest.equals('foo')); 2745 unittest.expect(o.kind, unittest.equals('foo'));
2746 unittest.expect(o.mimeType, unittest.equals('foo')); 2746 unittest.expect(o.mimeType, unittest.equals('foo'));
2747 unittest.expect(o.url, unittest.equals('foo')); 2747 unittest.expect(o.url, unittest.equals('foo'));
2748 unittest.expect(o.width, unittest.equals(42)); 2748 unittest.expect(o.width, unittest.equals(42));
2749 } 2749 }
2750 buildCounterSnapshotImage--; 2750 buildCounterSnapshotImage--;
2751 } 2751 }
2752 2752
2753 buildUnnamed57() { 2753 buildUnnamed528() {
2754 var o = new core.List<api.Snapshot>(); 2754 var o = new core.List<api.Snapshot>();
2755 o.add(buildSnapshot()); 2755 o.add(buildSnapshot());
2756 o.add(buildSnapshot()); 2756 o.add(buildSnapshot());
2757 return o; 2757 return o;
2758 } 2758 }
2759 2759
2760 checkUnnamed57(core.List<api.Snapshot> o) { 2760 checkUnnamed528(core.List<api.Snapshot> o) {
2761 unittest.expect(o, unittest.hasLength(2)); 2761 unittest.expect(o, unittest.hasLength(2));
2762 checkSnapshot(o[0]); 2762 checkSnapshot(o[0]);
2763 checkSnapshot(o[1]); 2763 checkSnapshot(o[1]);
2764 } 2764 }
2765 2765
2766 core.int buildCounterSnapshotListResponse = 0; 2766 core.int buildCounterSnapshotListResponse = 0;
2767 buildSnapshotListResponse() { 2767 buildSnapshotListResponse() {
2768 var o = new api.SnapshotListResponse(); 2768 var o = new api.SnapshotListResponse();
2769 buildCounterSnapshotListResponse++; 2769 buildCounterSnapshotListResponse++;
2770 if (buildCounterSnapshotListResponse < 3) { 2770 if (buildCounterSnapshotListResponse < 3) {
2771 o.items = buildUnnamed57(); 2771 o.items = buildUnnamed528();
2772 o.kind = "foo"; 2772 o.kind = "foo";
2773 o.nextPageToken = "foo"; 2773 o.nextPageToken = "foo";
2774 } 2774 }
2775 buildCounterSnapshotListResponse--; 2775 buildCounterSnapshotListResponse--;
2776 return o; 2776 return o;
2777 } 2777 }
2778 2778
2779 checkSnapshotListResponse(api.SnapshotListResponse o) { 2779 checkSnapshotListResponse(api.SnapshotListResponse o) {
2780 buildCounterSnapshotListResponse++; 2780 buildCounterSnapshotListResponse++;
2781 if (buildCounterSnapshotListResponse < 3) { 2781 if (buildCounterSnapshotListResponse < 3) {
2782 checkUnnamed57(o.items); 2782 checkUnnamed528(o.items);
2783 unittest.expect(o.kind, unittest.equals('foo')); 2783 unittest.expect(o.kind, unittest.equals('foo'));
2784 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2784 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2785 } 2785 }
2786 buildCounterSnapshotListResponse--; 2786 buildCounterSnapshotListResponse--;
2787 } 2787 }
2788 2788
2789 core.int buildCounterTurnBasedAutoMatchingCriteria = 0; 2789 core.int buildCounterTurnBasedAutoMatchingCriteria = 0;
2790 buildTurnBasedAutoMatchingCriteria() { 2790 buildTurnBasedAutoMatchingCriteria() {
2791 var o = new api.TurnBasedAutoMatchingCriteria(); 2791 var o = new api.TurnBasedAutoMatchingCriteria();
2792 buildCounterTurnBasedAutoMatchingCriteria++; 2792 buildCounterTurnBasedAutoMatchingCriteria++;
(...skipping 11 matching lines...)
2804 buildCounterTurnBasedAutoMatchingCriteria++; 2804 buildCounterTurnBasedAutoMatchingCriteria++;
2805 if (buildCounterTurnBasedAutoMatchingCriteria < 3) { 2805 if (buildCounterTurnBasedAutoMatchingCriteria < 3) {
2806 unittest.expect(o.exclusiveBitmask, unittest.equals('foo')); 2806 unittest.expect(o.exclusiveBitmask, unittest.equals('foo'));
2807 unittest.expect(o.kind, unittest.equals('foo')); 2807 unittest.expect(o.kind, unittest.equals('foo'));
2808 unittest.expect(o.maxAutoMatchingPlayers, unittest.equals(42)); 2808 unittest.expect(o.maxAutoMatchingPlayers, unittest.equals(42));
2809 unittest.expect(o.minAutoMatchingPlayers, unittest.equals(42)); 2809 unittest.expect(o.minAutoMatchingPlayers, unittest.equals(42));
2810 } 2810 }
2811 buildCounterTurnBasedAutoMatchingCriteria--; 2811 buildCounterTurnBasedAutoMatchingCriteria--;
2812 } 2812 }
2813 2813
2814 buildUnnamed58() { 2814 buildUnnamed529() {
2815 var o = new core.List<api.TurnBasedMatchParticipant>(); 2815 var o = new core.List<api.TurnBasedMatchParticipant>();
2816 o.add(buildTurnBasedMatchParticipant()); 2816 o.add(buildTurnBasedMatchParticipant());
2817 o.add(buildTurnBasedMatchParticipant()); 2817 o.add(buildTurnBasedMatchParticipant());
2818 return o; 2818 return o;
2819 } 2819 }
2820 2820
2821 checkUnnamed58(core.List<api.TurnBasedMatchParticipant> o) { 2821 checkUnnamed529(core.List<api.TurnBasedMatchParticipant> o) {
2822 unittest.expect(o, unittest.hasLength(2)); 2822 unittest.expect(o, unittest.hasLength(2));
2823 checkTurnBasedMatchParticipant(o[0]); 2823 checkTurnBasedMatchParticipant(o[0]);
2824 checkTurnBasedMatchParticipant(o[1]); 2824 checkTurnBasedMatchParticipant(o[1]);
2825 } 2825 }
2826 2826
2827 buildUnnamed59() { 2827 buildUnnamed530() {
2828 var o = new core.List<api.ParticipantResult>(); 2828 var o = new core.List<api.ParticipantResult>();
2829 o.add(buildParticipantResult()); 2829 o.add(buildParticipantResult());
2830 o.add(buildParticipantResult()); 2830 o.add(buildParticipantResult());
2831 return o; 2831 return o;
2832 } 2832 }
2833 2833
2834 checkUnnamed59(core.List<api.ParticipantResult> o) { 2834 checkUnnamed530(core.List<api.ParticipantResult> o) {
2835 unittest.expect(o, unittest.hasLength(2)); 2835 unittest.expect(o, unittest.hasLength(2));
2836 checkParticipantResult(o[0]); 2836 checkParticipantResult(o[0]);
2837 checkParticipantResult(o[1]); 2837 checkParticipantResult(o[1]);
2838 } 2838 }
2839 2839
2840 core.int buildCounterTurnBasedMatch = 0; 2840 core.int buildCounterTurnBasedMatch = 0;
2841 buildTurnBasedMatch() { 2841 buildTurnBasedMatch() {
2842 var o = new api.TurnBasedMatch(); 2842 var o = new api.TurnBasedMatch();
2843 buildCounterTurnBasedMatch++; 2843 buildCounterTurnBasedMatch++;
2844 if (buildCounterTurnBasedMatch < 3) { 2844 if (buildCounterTurnBasedMatch < 3) {
2845 o.applicationId = "foo"; 2845 o.applicationId = "foo";
2846 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); 2846 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria();
2847 o.creationDetails = buildTurnBasedMatchModification(); 2847 o.creationDetails = buildTurnBasedMatchModification();
2848 o.data = buildTurnBasedMatchData(); 2848 o.data = buildTurnBasedMatchData();
2849 o.description = "foo"; 2849 o.description = "foo";
2850 o.inviterId = "foo"; 2850 o.inviterId = "foo";
2851 o.kind = "foo"; 2851 o.kind = "foo";
2852 o.lastUpdateDetails = buildTurnBasedMatchModification(); 2852 o.lastUpdateDetails = buildTurnBasedMatchModification();
2853 o.matchId = "foo"; 2853 o.matchId = "foo";
2854 o.matchNumber = 42; 2854 o.matchNumber = 42;
2855 o.matchVersion = 42; 2855 o.matchVersion = 42;
2856 o.participants = buildUnnamed58(); 2856 o.participants = buildUnnamed529();
2857 o.pendingParticipantId = "foo"; 2857 o.pendingParticipantId = "foo";
2858 o.previousMatchData = buildTurnBasedMatchData(); 2858 o.previousMatchData = buildTurnBasedMatchData();
2859 o.rematchId = "foo"; 2859 o.rematchId = "foo";
2860 o.results = buildUnnamed59(); 2860 o.results = buildUnnamed530();
2861 o.status = "foo"; 2861 o.status = "foo";
2862 o.userMatchStatus = "foo"; 2862 o.userMatchStatus = "foo";
2863 o.variant = 42; 2863 o.variant = 42;
2864 o.withParticipantId = "foo"; 2864 o.withParticipantId = "foo";
2865 } 2865 }
2866 buildCounterTurnBasedMatch--; 2866 buildCounterTurnBasedMatch--;
2867 return o; 2867 return o;
2868 } 2868 }
2869 2869
2870 checkTurnBasedMatch(api.TurnBasedMatch o) { 2870 checkTurnBasedMatch(api.TurnBasedMatch o) {
2871 buildCounterTurnBasedMatch++; 2871 buildCounterTurnBasedMatch++;
2872 if (buildCounterTurnBasedMatch < 3) { 2872 if (buildCounterTurnBasedMatch < 3) {
2873 unittest.expect(o.applicationId, unittest.equals('foo')); 2873 unittest.expect(o.applicationId, unittest.equals('foo'));
2874 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); 2874 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria);
2875 checkTurnBasedMatchModification(o.creationDetails); 2875 checkTurnBasedMatchModification(o.creationDetails);
2876 checkTurnBasedMatchData(o.data); 2876 checkTurnBasedMatchData(o.data);
2877 unittest.expect(o.description, unittest.equals('foo')); 2877 unittest.expect(o.description, unittest.equals('foo'));
2878 unittest.expect(o.inviterId, unittest.equals('foo')); 2878 unittest.expect(o.inviterId, unittest.equals('foo'));
2879 unittest.expect(o.kind, unittest.equals('foo')); 2879 unittest.expect(o.kind, unittest.equals('foo'));
2880 checkTurnBasedMatchModification(o.lastUpdateDetails); 2880 checkTurnBasedMatchModification(o.lastUpdateDetails);
2881 unittest.expect(o.matchId, unittest.equals('foo')); 2881 unittest.expect(o.matchId, unittest.equals('foo'));
2882 unittest.expect(o.matchNumber, unittest.equals(42)); 2882 unittest.expect(o.matchNumber, unittest.equals(42));
2883 unittest.expect(o.matchVersion, unittest.equals(42)); 2883 unittest.expect(o.matchVersion, unittest.equals(42));
2884 checkUnnamed58(o.participants); 2884 checkUnnamed529(o.participants);
2885 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); 2885 unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
2886 checkTurnBasedMatchData(o.previousMatchData); 2886 checkTurnBasedMatchData(o.previousMatchData);
2887 unittest.expect(o.rematchId, unittest.equals('foo')); 2887 unittest.expect(o.rematchId, unittest.equals('foo'));
2888 checkUnnamed59(o.results); 2888 checkUnnamed530(o.results);
2889 unittest.expect(o.status, unittest.equals('foo')); 2889 unittest.expect(o.status, unittest.equals('foo'));
2890 unittest.expect(o.userMatchStatus, unittest.equals('foo')); 2890 unittest.expect(o.userMatchStatus, unittest.equals('foo'));
2891 unittest.expect(o.variant, unittest.equals(42)); 2891 unittest.expect(o.variant, unittest.equals(42));
2892 unittest.expect(o.withParticipantId, unittest.equals('foo')); 2892 unittest.expect(o.withParticipantId, unittest.equals('foo'));
2893 } 2893 }
2894 buildCounterTurnBasedMatch--; 2894 buildCounterTurnBasedMatch--;
2895 } 2895 }
2896 2896
2897 buildUnnamed60() { 2897 buildUnnamed531() {
2898 var o = new core.List<core.String>(); 2898 var o = new core.List<core.String>();
2899 o.add("foo"); 2899 o.add("foo");
2900 o.add("foo"); 2900 o.add("foo");
2901 return o; 2901 return o;
2902 } 2902 }
2903 2903
2904 checkUnnamed60(core.List<core.String> o) { 2904 checkUnnamed531(core.List<core.String> o) {
2905 unittest.expect(o, unittest.hasLength(2)); 2905 unittest.expect(o, unittest.hasLength(2));
2906 unittest.expect(o[0], unittest.equals('foo')); 2906 unittest.expect(o[0], unittest.equals('foo'));
2907 unittest.expect(o[1], unittest.equals('foo')); 2907 unittest.expect(o[1], unittest.equals('foo'));
2908 } 2908 }
2909 2909
2910 core.int buildCounterTurnBasedMatchCreateRequest = 0; 2910 core.int buildCounterTurnBasedMatchCreateRequest = 0;
2911 buildTurnBasedMatchCreateRequest() { 2911 buildTurnBasedMatchCreateRequest() {
2912 var o = new api.TurnBasedMatchCreateRequest(); 2912 var o = new api.TurnBasedMatchCreateRequest();
2913 buildCounterTurnBasedMatchCreateRequest++; 2913 buildCounterTurnBasedMatchCreateRequest++;
2914 if (buildCounterTurnBasedMatchCreateRequest < 3) { 2914 if (buildCounterTurnBasedMatchCreateRequest < 3) {
2915 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); 2915 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria();
2916 o.invitedPlayerIds = buildUnnamed60(); 2916 o.invitedPlayerIds = buildUnnamed531();
2917 o.kind = "foo"; 2917 o.kind = "foo";
2918 o.requestId = "foo"; 2918 o.requestId = "foo";
2919 o.variant = 42; 2919 o.variant = 42;
2920 } 2920 }
2921 buildCounterTurnBasedMatchCreateRequest--; 2921 buildCounterTurnBasedMatchCreateRequest--;
2922 return o; 2922 return o;
2923 } 2923 }
2924 2924
2925 checkTurnBasedMatchCreateRequest(api.TurnBasedMatchCreateRequest o) { 2925 checkTurnBasedMatchCreateRequest(api.TurnBasedMatchCreateRequest o) {
2926 buildCounterTurnBasedMatchCreateRequest++; 2926 buildCounterTurnBasedMatchCreateRequest++;
2927 if (buildCounterTurnBasedMatchCreateRequest < 3) { 2927 if (buildCounterTurnBasedMatchCreateRequest < 3) {
2928 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); 2928 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria);
2929 checkUnnamed60(o.invitedPlayerIds); 2929 checkUnnamed531(o.invitedPlayerIds);
2930 unittest.expect(o.kind, unittest.equals('foo')); 2930 unittest.expect(o.kind, unittest.equals('foo'));
2931 unittest.expect(o.requestId, unittest.equals('foo')); 2931 unittest.expect(o.requestId, unittest.equals('foo'));
2932 unittest.expect(o.variant, unittest.equals(42)); 2932 unittest.expect(o.variant, unittest.equals(42));
2933 } 2933 }
2934 buildCounterTurnBasedMatchCreateRequest--; 2934 buildCounterTurnBasedMatchCreateRequest--;
2935 } 2935 }
2936 2936
2937 core.int buildCounterTurnBasedMatchData = 0; 2937 core.int buildCounterTurnBasedMatchData = 0;
2938 buildTurnBasedMatchData() { 2938 buildTurnBasedMatchData() {
2939 var o = new api.TurnBasedMatchData(); 2939 var o = new api.TurnBasedMatchData();
(...skipping 31 matching lines...)
2971 2971
2972 checkTurnBasedMatchDataRequest(api.TurnBasedMatchDataRequest o) { 2972 checkTurnBasedMatchDataRequest(api.TurnBasedMatchDataRequest o) {
2973 buildCounterTurnBasedMatchDataRequest++; 2973 buildCounterTurnBasedMatchDataRequest++;
2974 if (buildCounterTurnBasedMatchDataRequest < 3) { 2974 if (buildCounterTurnBasedMatchDataRequest < 3) {
2975 unittest.expect(o.data, unittest.equals('foo')); 2975 unittest.expect(o.data, unittest.equals('foo'));
2976 unittest.expect(o.kind, unittest.equals('foo')); 2976 unittest.expect(o.kind, unittest.equals('foo'));
2977 } 2977 }
2978 buildCounterTurnBasedMatchDataRequest--; 2978 buildCounterTurnBasedMatchDataRequest--;
2979 } 2979 }
2980 2980
2981 buildUnnamed61() { 2981 buildUnnamed532() {
2982 var o = new core.List<api.TurnBasedMatch>(); 2982 var o = new core.List<api.TurnBasedMatch>();
2983 o.add(buildTurnBasedMatch()); 2983 o.add(buildTurnBasedMatch());
2984 o.add(buildTurnBasedMatch()); 2984 o.add(buildTurnBasedMatch());
2985 return o; 2985 return o;
2986 } 2986 }
2987 2987
2988 checkUnnamed61(core.List<api.TurnBasedMatch> o) { 2988 checkUnnamed532(core.List<api.TurnBasedMatch> o) {
2989 unittest.expect(o, unittest.hasLength(2)); 2989 unittest.expect(o, unittest.hasLength(2));
2990 checkTurnBasedMatch(o[0]); 2990 checkTurnBasedMatch(o[0]);
2991 checkTurnBasedMatch(o[1]); 2991 checkTurnBasedMatch(o[1]);
2992 } 2992 }
2993 2993
2994 core.int buildCounterTurnBasedMatchList = 0; 2994 core.int buildCounterTurnBasedMatchList = 0;
2995 buildTurnBasedMatchList() { 2995 buildTurnBasedMatchList() {
2996 var o = new api.TurnBasedMatchList(); 2996 var o = new api.TurnBasedMatchList();
2997 buildCounterTurnBasedMatchList++; 2997 buildCounterTurnBasedMatchList++;
2998 if (buildCounterTurnBasedMatchList < 3) { 2998 if (buildCounterTurnBasedMatchList < 3) {
2999 o.items = buildUnnamed61(); 2999 o.items = buildUnnamed532();
3000 o.kind = "foo"; 3000 o.kind = "foo";
3001 o.nextPageToken = "foo"; 3001 o.nextPageToken = "foo";
3002 } 3002 }
3003 buildCounterTurnBasedMatchList--; 3003 buildCounterTurnBasedMatchList--;
3004 return o; 3004 return o;
3005 } 3005 }
3006 3006
3007 checkTurnBasedMatchList(api.TurnBasedMatchList o) { 3007 checkTurnBasedMatchList(api.TurnBasedMatchList o) {
3008 buildCounterTurnBasedMatchList++; 3008 buildCounterTurnBasedMatchList++;
3009 if (buildCounterTurnBasedMatchList < 3) { 3009 if (buildCounterTurnBasedMatchList < 3) {
3010 checkUnnamed61(o.items); 3010 checkUnnamed532(o.items);
3011 unittest.expect(o.kind, unittest.equals('foo')); 3011 unittest.expect(o.kind, unittest.equals('foo'));
3012 unittest.expect(o.nextPageToken, unittest.equals('foo')); 3012 unittest.expect(o.nextPageToken, unittest.equals('foo'));
3013 } 3013 }
3014 buildCounterTurnBasedMatchList--; 3014 buildCounterTurnBasedMatchList--;
3015 } 3015 }
3016 3016
3017 core.int buildCounterTurnBasedMatchModification = 0; 3017 core.int buildCounterTurnBasedMatchModification = 0;
3018 buildTurnBasedMatchModification() { 3018 buildTurnBasedMatchModification() {
3019 var o = new api.TurnBasedMatchModification(); 3019 var o = new api.TurnBasedMatchModification();
3020 buildCounterTurnBasedMatchModification++; 3020 buildCounterTurnBasedMatchModification++;
(...skipping 61 matching lines...)
3082 checkTurnBasedMatchRematch(api.TurnBasedMatchRematch o) { 3082 checkTurnBasedMatchRematch(api.TurnBasedMatchRematch o) {
3083 buildCounterTurnBasedMatchRematch++; 3083 buildCounterTurnBasedMatchRematch++;
3084 if (buildCounterTurnBasedMatchRematch < 3) { 3084 if (buildCounterTurnBasedMatchRematch < 3) {
3085 unittest.expect(o.kind, unittest.equals('foo')); 3085 unittest.expect(o.kind, unittest.equals('foo'));
3086 checkTurnBasedMatch(o.previousMatch); 3086 checkTurnBasedMatch(o.previousMatch);
3087 checkTurnBasedMatch(o.rematch); 3087 checkTurnBasedMatch(o.rematch);
3088 } 3088 }
3089 buildCounterTurnBasedMatchRematch--; 3089 buildCounterTurnBasedMatchRematch--;
3090 } 3090 }
3091 3091
3092 buildUnnamed62() { 3092 buildUnnamed533() {
3093 var o = new core.List<api.ParticipantResult>(); 3093 var o = new core.List<api.ParticipantResult>();
3094 o.add(buildParticipantResult()); 3094 o.add(buildParticipantResult());
3095 o.add(buildParticipantResult()); 3095 o.add(buildParticipantResult());
3096 return o; 3096 return o;
3097 } 3097 }
3098 3098
3099 checkUnnamed62(core.List<api.ParticipantResult> o) { 3099 checkUnnamed533(core.List<api.ParticipantResult> o) {
3100 unittest.expect(o, unittest.hasLength(2)); 3100 unittest.expect(o, unittest.hasLength(2));
3101 checkParticipantResult(o[0]); 3101 checkParticipantResult(o[0]);
3102 checkParticipantResult(o[1]); 3102 checkParticipantResult(o[1]);
3103 } 3103 }
3104 3104
3105 core.int buildCounterTurnBasedMatchResults = 0; 3105 core.int buildCounterTurnBasedMatchResults = 0;
3106 buildTurnBasedMatchResults() { 3106 buildTurnBasedMatchResults() {
3107 var o = new api.TurnBasedMatchResults(); 3107 var o = new api.TurnBasedMatchResults();
3108 buildCounterTurnBasedMatchResults++; 3108 buildCounterTurnBasedMatchResults++;
3109 if (buildCounterTurnBasedMatchResults < 3) { 3109 if (buildCounterTurnBasedMatchResults < 3) {
3110 o.data = buildTurnBasedMatchDataRequest(); 3110 o.data = buildTurnBasedMatchDataRequest();
3111 o.kind = "foo"; 3111 o.kind = "foo";
3112 o.matchVersion = 42; 3112 o.matchVersion = 42;
3113 o.results = buildUnnamed62(); 3113 o.results = buildUnnamed533();
3114 } 3114 }
3115 buildCounterTurnBasedMatchResults--; 3115 buildCounterTurnBasedMatchResults--;
3116 return o; 3116 return o;
3117 } 3117 }
3118 3118
3119 checkTurnBasedMatchResults(api.TurnBasedMatchResults o) { 3119 checkTurnBasedMatchResults(api.TurnBasedMatchResults o) {
3120 buildCounterTurnBasedMatchResults++; 3120 buildCounterTurnBasedMatchResults++;
3121 if (buildCounterTurnBasedMatchResults < 3) { 3121 if (buildCounterTurnBasedMatchResults < 3) {
3122 checkTurnBasedMatchDataRequest(o.data); 3122 checkTurnBasedMatchDataRequest(o.data);
3123 unittest.expect(o.kind, unittest.equals('foo')); 3123 unittest.expect(o.kind, unittest.equals('foo'));
3124 unittest.expect(o.matchVersion, unittest.equals(42)); 3124 unittest.expect(o.matchVersion, unittest.equals(42));
3125 checkUnnamed62(o.results); 3125 checkUnnamed533(o.results);
3126 } 3126 }
3127 buildCounterTurnBasedMatchResults--; 3127 buildCounterTurnBasedMatchResults--;
3128 } 3128 }
3129 3129
3130 buildUnnamed63() { 3130 buildUnnamed534() {
3131 var o = new core.List<api.TurnBasedMatch>(); 3131 var o = new core.List<api.TurnBasedMatch>();
3132 o.add(buildTurnBasedMatch()); 3132 o.add(buildTurnBasedMatch());
3133 o.add(buildTurnBasedMatch()); 3133 o.add(buildTurnBasedMatch());
3134 return o; 3134 return o;
3135 } 3135 }
3136 3136
3137 checkUnnamed63(core.List<api.TurnBasedMatch> o) { 3137 checkUnnamed534(core.List<api.TurnBasedMatch> o) {
3138 unittest.expect(o, unittest.hasLength(2)); 3138 unittest.expect(o, unittest.hasLength(2));
3139 checkTurnBasedMatch(o[0]); 3139 checkTurnBasedMatch(o[0]);
3140 checkTurnBasedMatch(o[1]); 3140 checkTurnBasedMatch(o[1]);
3141 } 3141 }
3142 3142
3143 core.int buildCounterTurnBasedMatchSync = 0; 3143 core.int buildCounterTurnBasedMatchSync = 0;
3144 buildTurnBasedMatchSync() { 3144 buildTurnBasedMatchSync() {
3145 var o = new api.TurnBasedMatchSync(); 3145 var o = new api.TurnBasedMatchSync();
3146 buildCounterTurnBasedMatchSync++; 3146 buildCounterTurnBasedMatchSync++;
3147 if (buildCounterTurnBasedMatchSync < 3) { 3147 if (buildCounterTurnBasedMatchSync < 3) {
3148 o.items = buildUnnamed63(); 3148 o.items = buildUnnamed534();
3149 o.kind = "foo"; 3149 o.kind = "foo";
3150 o.moreAvailable = true; 3150 o.moreAvailable = true;
3151 o.nextPageToken = "foo"; 3151 o.nextPageToken = "foo";
3152 } 3152 }
3153 buildCounterTurnBasedMatchSync--; 3153 buildCounterTurnBasedMatchSync--;
3154 return o; 3154 return o;
3155 } 3155 }
3156 3156
3157 checkTurnBasedMatchSync(api.TurnBasedMatchSync o) { 3157 checkTurnBasedMatchSync(api.TurnBasedMatchSync o) {
3158 buildCounterTurnBasedMatchSync++; 3158 buildCounterTurnBasedMatchSync++;
3159 if (buildCounterTurnBasedMatchSync < 3) { 3159 if (buildCounterTurnBasedMatchSync < 3) {
3160 checkUnnamed63(o.items); 3160 checkUnnamed534(o.items);
3161 unittest.expect(o.kind, unittest.equals('foo')); 3161 unittest.expect(o.kind, unittest.equals('foo'));
3162 unittest.expect(o.moreAvailable, unittest.isTrue); 3162 unittest.expect(o.moreAvailable, unittest.isTrue);
3163 unittest.expect(o.nextPageToken, unittest.equals('foo')); 3163 unittest.expect(o.nextPageToken, unittest.equals('foo'));
3164 } 3164 }
3165 buildCounterTurnBasedMatchSync--; 3165 buildCounterTurnBasedMatchSync--;
3166 } 3166 }
3167 3167
3168 buildUnnamed64() { 3168 buildUnnamed535() {
3169 var o = new core.List<api.ParticipantResult>(); 3169 var o = new core.List<api.ParticipantResult>();
3170 o.add(buildParticipantResult()); 3170 o.add(buildParticipantResult());
3171 o.add(buildParticipantResult()); 3171 o.add(buildParticipantResult());
3172 return o; 3172 return o;
3173 } 3173 }
3174 3174
3175 checkUnnamed64(core.List<api.ParticipantResult> o) { 3175 checkUnnamed535(core.List<api.ParticipantResult> o) {
3176 unittest.expect(o, unittest.hasLength(2)); 3176 unittest.expect(o, unittest.hasLength(2));
3177 checkParticipantResult(o[0]); 3177 checkParticipantResult(o[0]);
3178 checkParticipantResult(o[1]); 3178 checkParticipantResult(o[1]);
3179 } 3179 }
3180 3180
3181 core.int buildCounterTurnBasedMatchTurn = 0; 3181 core.int buildCounterTurnBasedMatchTurn = 0;
3182 buildTurnBasedMatchTurn() { 3182 buildTurnBasedMatchTurn() {
3183 var o = new api.TurnBasedMatchTurn(); 3183 var o = new api.TurnBasedMatchTurn();
3184 buildCounterTurnBasedMatchTurn++; 3184 buildCounterTurnBasedMatchTurn++;
3185 if (buildCounterTurnBasedMatchTurn < 3) { 3185 if (buildCounterTurnBasedMatchTurn < 3) {
3186 o.data = buildTurnBasedMatchDataRequest(); 3186 o.data = buildTurnBasedMatchDataRequest();
3187 o.kind = "foo"; 3187 o.kind = "foo";
3188 o.matchVersion = 42; 3188 o.matchVersion = 42;
3189 o.pendingParticipantId = "foo"; 3189 o.pendingParticipantId = "foo";
3190 o.results = buildUnnamed64(); 3190 o.results = buildUnnamed535();
3191 } 3191 }
3192 buildCounterTurnBasedMatchTurn--; 3192 buildCounterTurnBasedMatchTurn--;
3193 return o; 3193 return o;
3194 } 3194 }
3195 3195
3196 checkTurnBasedMatchTurn(api.TurnBasedMatchTurn o) { 3196 checkTurnBasedMatchTurn(api.TurnBasedMatchTurn o) {
3197 buildCounterTurnBasedMatchTurn++; 3197 buildCounterTurnBasedMatchTurn++;
3198 if (buildCounterTurnBasedMatchTurn < 3) { 3198 if (buildCounterTurnBasedMatchTurn < 3) {
3199 checkTurnBasedMatchDataRequest(o.data); 3199 checkTurnBasedMatchDataRequest(o.data);
3200 unittest.expect(o.kind, unittest.equals('foo')); 3200 unittest.expect(o.kind, unittest.equals('foo'));
3201 unittest.expect(o.matchVersion, unittest.equals(42)); 3201 unittest.expect(o.matchVersion, unittest.equals(42));
3202 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); 3202 unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
3203 checkUnnamed64(o.results); 3203 checkUnnamed535(o.results);
3204 } 3204 }
3205 buildCounterTurnBasedMatchTurn--; 3205 buildCounterTurnBasedMatchTurn--;
3206 } 3206 }
3207 3207
3208 3208
3209 main() { 3209 main() {
3210 unittest.group("obj-schema-AchievementDefinition", () { 3210 unittest.group("obj-schema-AchievementDefinition", () {
3211 unittest.test("to-json--from-json", () { 3211 unittest.test("to-json--from-json", () {
3212 var o = buildAchievementDefinition(); 3212 var o = buildAchievementDefinition();
3213 var od = new api.AchievementDefinition.fromJson(o.toJson()); 3213 var od = new api.AchievementDefinition.fromJson(o.toJson());
(...skipping 3768 matching lines...)
6982 res.takeTurn(arg_request, arg_matchId, language: arg_language).then(unitte st.expectAsync(((api.TurnBasedMatch response) { 6982 res.takeTurn(arg_request, arg_matchId, language: arg_language).then(unitte st.expectAsync(((api.TurnBasedMatch response) {
6983 checkTurnBasedMatch(response); 6983 checkTurnBasedMatch(response);
6984 }))); 6984 })));
6985 }); 6985 });
6986 6986
6987 }); 6987 });
6988 6988
6989 6989
6990 } 6990 }
6991 6991
OLDNEW
« no previous file with comments | « generated/googleapis/test/fusiontables/v1_test.dart ('k') | generated/googleapis/test/gamesmanagement/v1management_test.dart » ('j') | no next file with comments »

Powered by Google App Engine