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

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

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