| OLD | NEW |
| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 unittest.expect(o.isUnlockedIconUrlDefault, unittest.isTrue); | 87 unittest.expect(o.isUnlockedIconUrlDefault, unittest.isTrue); |
| 88 unittest.expect(o.kind, unittest.equals('foo')); | 88 unittest.expect(o.kind, unittest.equals('foo')); |
| 89 unittest.expect(o.name, unittest.equals('foo')); | 89 unittest.expect(o.name, unittest.equals('foo')); |
| 90 unittest.expect(o.revealedIconUrl, unittest.equals('foo')); | 90 unittest.expect(o.revealedIconUrl, unittest.equals('foo')); |
| 91 unittest.expect(o.totalSteps, unittest.equals(42)); | 91 unittest.expect(o.totalSteps, unittest.equals(42)); |
| 92 unittest.expect(o.unlockedIconUrl, unittest.equals('foo')); | 92 unittest.expect(o.unlockedIconUrl, unittest.equals('foo')); |
| 93 } | 93 } |
| 94 buildCounterAchievementDefinition--; | 94 buildCounterAchievementDefinition--; |
| 95 } | 95 } |
| 96 | 96 |
| 97 buildUnnamed34() { | 97 buildUnnamed52() { |
| 98 var o = new core.List<api.AchievementDefinition>(); | 98 var o = new core.List<api.AchievementDefinition>(); |
| 99 o.add(buildAchievementDefinition()); | 99 o.add(buildAchievementDefinition()); |
| 100 o.add(buildAchievementDefinition()); | 100 o.add(buildAchievementDefinition()); |
| 101 return o; | 101 return o; |
| 102 } | 102 } |
| 103 | 103 |
| 104 checkUnnamed34(core.List<api.AchievementDefinition> o) { | 104 checkUnnamed52(core.List<api.AchievementDefinition> o) { |
| 105 unittest.expect(o, unittest.hasLength(2)); | 105 unittest.expect(o, unittest.hasLength(2)); |
| 106 checkAchievementDefinition(o[0]); | 106 checkAchievementDefinition(o[0]); |
| 107 checkAchievementDefinition(o[1]); | 107 checkAchievementDefinition(o[1]); |
| 108 } | 108 } |
| 109 | 109 |
| 110 core.int buildCounterAchievementDefinitionsListResponse = 0; | 110 core.int buildCounterAchievementDefinitionsListResponse = 0; |
| 111 buildAchievementDefinitionsListResponse() { | 111 buildAchievementDefinitionsListResponse() { |
| 112 var o = new api.AchievementDefinitionsListResponse(); | 112 var o = new api.AchievementDefinitionsListResponse(); |
| 113 buildCounterAchievementDefinitionsListResponse++; | 113 buildCounterAchievementDefinitionsListResponse++; |
| 114 if (buildCounterAchievementDefinitionsListResponse < 3) { | 114 if (buildCounterAchievementDefinitionsListResponse < 3) { |
| 115 o.items = buildUnnamed34(); | 115 o.items = buildUnnamed52(); |
| 116 o.kind = "foo"; | 116 o.kind = "foo"; |
| 117 o.nextPageToken = "foo"; | 117 o.nextPageToken = "foo"; |
| 118 } | 118 } |
| 119 buildCounterAchievementDefinitionsListResponse--; | 119 buildCounterAchievementDefinitionsListResponse--; |
| 120 return o; | 120 return o; |
| 121 } | 121 } |
| 122 | 122 |
| 123 checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o
) { | 123 checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o
) { |
| 124 buildCounterAchievementDefinitionsListResponse++; | 124 buildCounterAchievementDefinitionsListResponse++; |
| 125 if (buildCounterAchievementDefinitionsListResponse < 3) { | 125 if (buildCounterAchievementDefinitionsListResponse < 3) { |
| 126 checkUnnamed34(o.items); | 126 checkUnnamed52(o.items); |
| 127 unittest.expect(o.kind, unittest.equals('foo')); | 127 unittest.expect(o.kind, unittest.equals('foo')); |
| 128 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 128 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 129 } | 129 } |
| 130 buildCounterAchievementDefinitionsListResponse--; | 130 buildCounterAchievementDefinitionsListResponse--; |
| 131 } | 131 } |
| 132 | 132 |
| 133 core.int buildCounterAchievementIncrementResponse = 0; | 133 core.int buildCounterAchievementIncrementResponse = 0; |
| 134 buildAchievementIncrementResponse() { | 134 buildAchievementIncrementResponse() { |
| 135 var o = new api.AchievementIncrementResponse(); | 135 var o = new api.AchievementIncrementResponse(); |
| 136 buildCounterAchievementIncrementResponse++; | 136 buildCounterAchievementIncrementResponse++; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 | 211 |
| 212 checkAchievementUnlockResponse(api.AchievementUnlockResponse o) { | 212 checkAchievementUnlockResponse(api.AchievementUnlockResponse o) { |
| 213 buildCounterAchievementUnlockResponse++; | 213 buildCounterAchievementUnlockResponse++; |
| 214 if (buildCounterAchievementUnlockResponse < 3) { | 214 if (buildCounterAchievementUnlockResponse < 3) { |
| 215 unittest.expect(o.kind, unittest.equals('foo')); | 215 unittest.expect(o.kind, unittest.equals('foo')); |
| 216 unittest.expect(o.newlyUnlocked, unittest.isTrue); | 216 unittest.expect(o.newlyUnlocked, unittest.isTrue); |
| 217 } | 217 } |
| 218 buildCounterAchievementUnlockResponse--; | 218 buildCounterAchievementUnlockResponse--; |
| 219 } | 219 } |
| 220 | 220 |
| 221 buildUnnamed35() { | 221 buildUnnamed53() { |
| 222 var o = new core.List<api.AchievementUpdateRequest>(); | 222 var o = new core.List<api.AchievementUpdateRequest>(); |
| 223 o.add(buildAchievementUpdateRequest()); | 223 o.add(buildAchievementUpdateRequest()); |
| 224 o.add(buildAchievementUpdateRequest()); | 224 o.add(buildAchievementUpdateRequest()); |
| 225 return o; | 225 return o; |
| 226 } | 226 } |
| 227 | 227 |
| 228 checkUnnamed35(core.List<api.AchievementUpdateRequest> o) { | 228 checkUnnamed53(core.List<api.AchievementUpdateRequest> o) { |
| 229 unittest.expect(o, unittest.hasLength(2)); | 229 unittest.expect(o, unittest.hasLength(2)); |
| 230 checkAchievementUpdateRequest(o[0]); | 230 checkAchievementUpdateRequest(o[0]); |
| 231 checkAchievementUpdateRequest(o[1]); | 231 checkAchievementUpdateRequest(o[1]); |
| 232 } | 232 } |
| 233 | 233 |
| 234 core.int buildCounterAchievementUpdateMultipleRequest = 0; | 234 core.int buildCounterAchievementUpdateMultipleRequest = 0; |
| 235 buildAchievementUpdateMultipleRequest() { | 235 buildAchievementUpdateMultipleRequest() { |
| 236 var o = new api.AchievementUpdateMultipleRequest(); | 236 var o = new api.AchievementUpdateMultipleRequest(); |
| 237 buildCounterAchievementUpdateMultipleRequest++; | 237 buildCounterAchievementUpdateMultipleRequest++; |
| 238 if (buildCounterAchievementUpdateMultipleRequest < 3) { | 238 if (buildCounterAchievementUpdateMultipleRequest < 3) { |
| 239 o.kind = "foo"; | 239 o.kind = "foo"; |
| 240 o.updates = buildUnnamed35(); | 240 o.updates = buildUnnamed53(); |
| 241 } | 241 } |
| 242 buildCounterAchievementUpdateMultipleRequest--; | 242 buildCounterAchievementUpdateMultipleRequest--; |
| 243 return o; | 243 return o; |
| 244 } | 244 } |
| 245 | 245 |
| 246 checkAchievementUpdateMultipleRequest(api.AchievementUpdateMultipleRequest o) { | 246 checkAchievementUpdateMultipleRequest(api.AchievementUpdateMultipleRequest o) { |
| 247 buildCounterAchievementUpdateMultipleRequest++; | 247 buildCounterAchievementUpdateMultipleRequest++; |
| 248 if (buildCounterAchievementUpdateMultipleRequest < 3) { | 248 if (buildCounterAchievementUpdateMultipleRequest < 3) { |
| 249 unittest.expect(o.kind, unittest.equals('foo')); | 249 unittest.expect(o.kind, unittest.equals('foo')); |
| 250 checkUnnamed35(o.updates); | 250 checkUnnamed53(o.updates); |
| 251 } | 251 } |
| 252 buildCounterAchievementUpdateMultipleRequest--; | 252 buildCounterAchievementUpdateMultipleRequest--; |
| 253 } | 253 } |
| 254 | 254 |
| 255 buildUnnamed36() { | 255 buildUnnamed54() { |
| 256 var o = new core.List<api.AchievementUpdateResponse>(); | 256 var o = new core.List<api.AchievementUpdateResponse>(); |
| 257 o.add(buildAchievementUpdateResponse()); | 257 o.add(buildAchievementUpdateResponse()); |
| 258 o.add(buildAchievementUpdateResponse()); | 258 o.add(buildAchievementUpdateResponse()); |
| 259 return o; | 259 return o; |
| 260 } | 260 } |
| 261 | 261 |
| 262 checkUnnamed36(core.List<api.AchievementUpdateResponse> o) { | 262 checkUnnamed54(core.List<api.AchievementUpdateResponse> o) { |
| 263 unittest.expect(o, unittest.hasLength(2)); | 263 unittest.expect(o, unittest.hasLength(2)); |
| 264 checkAchievementUpdateResponse(o[0]); | 264 checkAchievementUpdateResponse(o[0]); |
| 265 checkAchievementUpdateResponse(o[1]); | 265 checkAchievementUpdateResponse(o[1]); |
| 266 } | 266 } |
| 267 | 267 |
| 268 core.int buildCounterAchievementUpdateMultipleResponse = 0; | 268 core.int buildCounterAchievementUpdateMultipleResponse = 0; |
| 269 buildAchievementUpdateMultipleResponse() { | 269 buildAchievementUpdateMultipleResponse() { |
| 270 var o = new api.AchievementUpdateMultipleResponse(); | 270 var o = new api.AchievementUpdateMultipleResponse(); |
| 271 buildCounterAchievementUpdateMultipleResponse++; | 271 buildCounterAchievementUpdateMultipleResponse++; |
| 272 if (buildCounterAchievementUpdateMultipleResponse < 3) { | 272 if (buildCounterAchievementUpdateMultipleResponse < 3) { |
| 273 o.kind = "foo"; | 273 o.kind = "foo"; |
| 274 o.updatedAchievements = buildUnnamed36(); | 274 o.updatedAchievements = buildUnnamed54(); |
| 275 } | 275 } |
| 276 buildCounterAchievementUpdateMultipleResponse--; | 276 buildCounterAchievementUpdateMultipleResponse--; |
| 277 return o; | 277 return o; |
| 278 } | 278 } |
| 279 | 279 |
| 280 checkAchievementUpdateMultipleResponse(api.AchievementUpdateMultipleResponse o)
{ | 280 checkAchievementUpdateMultipleResponse(api.AchievementUpdateMultipleResponse o)
{ |
| 281 buildCounterAchievementUpdateMultipleResponse++; | 281 buildCounterAchievementUpdateMultipleResponse++; |
| 282 if (buildCounterAchievementUpdateMultipleResponse < 3) { | 282 if (buildCounterAchievementUpdateMultipleResponse < 3) { |
| 283 unittest.expect(o.kind, unittest.equals('foo')); | 283 unittest.expect(o.kind, unittest.equals('foo')); |
| 284 checkUnnamed36(o.updatedAchievements); | 284 checkUnnamed54(o.updatedAchievements); |
| 285 } | 285 } |
| 286 buildCounterAchievementUpdateMultipleResponse--; | 286 buildCounterAchievementUpdateMultipleResponse--; |
| 287 } | 287 } |
| 288 | 288 |
| 289 core.int buildCounterAchievementUpdateRequest = 0; | 289 core.int buildCounterAchievementUpdateRequest = 0; |
| 290 buildAchievementUpdateRequest() { | 290 buildAchievementUpdateRequest() { |
| 291 var o = new api.AchievementUpdateRequest(); | 291 var o = new api.AchievementUpdateRequest(); |
| 292 buildCounterAchievementUpdateRequest++; | 292 buildCounterAchievementUpdateRequest++; |
| 293 if (buildCounterAchievementUpdateRequest < 3) { | 293 if (buildCounterAchievementUpdateRequest < 3) { |
| 294 o.achievementId = "foo"; | 294 o.achievementId = "foo"; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 checkAnonymousPlayer(api.AnonymousPlayer o) { | 385 checkAnonymousPlayer(api.AnonymousPlayer o) { |
| 386 buildCounterAnonymousPlayer++; | 386 buildCounterAnonymousPlayer++; |
| 387 if (buildCounterAnonymousPlayer < 3) { | 387 if (buildCounterAnonymousPlayer < 3) { |
| 388 unittest.expect(o.avatarImageUrl, unittest.equals('foo')); | 388 unittest.expect(o.avatarImageUrl, unittest.equals('foo')); |
| 389 unittest.expect(o.displayName, unittest.equals('foo')); | 389 unittest.expect(o.displayName, unittest.equals('foo')); |
| 390 unittest.expect(o.kind, unittest.equals('foo')); | 390 unittest.expect(o.kind, unittest.equals('foo')); |
| 391 } | 391 } |
| 392 buildCounterAnonymousPlayer--; | 392 buildCounterAnonymousPlayer--; |
| 393 } | 393 } |
| 394 | 394 |
| 395 buildUnnamed37() { | 395 buildUnnamed55() { |
| 396 var o = new core.List<api.ImageAsset>(); | 396 var o = new core.List<api.ImageAsset>(); |
| 397 o.add(buildImageAsset()); | 397 o.add(buildImageAsset()); |
| 398 o.add(buildImageAsset()); | 398 o.add(buildImageAsset()); |
| 399 return o; | 399 return o; |
| 400 } | 400 } |
| 401 | 401 |
| 402 checkUnnamed37(core.List<api.ImageAsset> o) { | 402 checkUnnamed55(core.List<api.ImageAsset> o) { |
| 403 unittest.expect(o, unittest.hasLength(2)); | 403 unittest.expect(o, unittest.hasLength(2)); |
| 404 checkImageAsset(o[0]); | 404 checkImageAsset(o[0]); |
| 405 checkImageAsset(o[1]); | 405 checkImageAsset(o[1]); |
| 406 } | 406 } |
| 407 | 407 |
| 408 buildUnnamed38() { | 408 buildUnnamed56() { |
| 409 var o = new core.List<core.String>(); | 409 var o = new core.List<core.String>(); |
| 410 o.add("foo"); | 410 o.add("foo"); |
| 411 o.add("foo"); | 411 o.add("foo"); |
| 412 return o; | 412 return o; |
| 413 } | 413 } |
| 414 | 414 |
| 415 checkUnnamed38(core.List<core.String> o) { | 415 checkUnnamed56(core.List<core.String> o) { |
| 416 unittest.expect(o, unittest.hasLength(2)); | 416 unittest.expect(o, unittest.hasLength(2)); |
| 417 unittest.expect(o[0], unittest.equals('foo')); | 417 unittest.expect(o[0], unittest.equals('foo')); |
| 418 unittest.expect(o[1], unittest.equals('foo')); | 418 unittest.expect(o[1], unittest.equals('foo')); |
| 419 } | 419 } |
| 420 | 420 |
| 421 buildUnnamed39() { | 421 buildUnnamed57() { |
| 422 var o = new core.List<api.Instance>(); | 422 var o = new core.List<api.Instance>(); |
| 423 o.add(buildInstance()); | 423 o.add(buildInstance()); |
| 424 o.add(buildInstance()); | 424 o.add(buildInstance()); |
| 425 return o; | 425 return o; |
| 426 } | 426 } |
| 427 | 427 |
| 428 checkUnnamed39(core.List<api.Instance> o) { | 428 checkUnnamed57(core.List<api.Instance> o) { |
| 429 unittest.expect(o, unittest.hasLength(2)); | 429 unittest.expect(o, unittest.hasLength(2)); |
| 430 checkInstance(o[0]); | 430 checkInstance(o[0]); |
| 431 checkInstance(o[1]); | 431 checkInstance(o[1]); |
| 432 } | 432 } |
| 433 | 433 |
| 434 core.int buildCounterApplication = 0; | 434 core.int buildCounterApplication = 0; |
| 435 buildApplication() { | 435 buildApplication() { |
| 436 var o = new api.Application(); | 436 var o = new api.Application(); |
| 437 buildCounterApplication++; | 437 buildCounterApplication++; |
| 438 if (buildCounterApplication < 3) { | 438 if (buildCounterApplication < 3) { |
| 439 o.achievementCount = 42; | 439 o.achievementCount = 42; |
| 440 o.assets = buildUnnamed37(); | 440 o.assets = buildUnnamed55(); |
| 441 o.author = "foo"; | 441 o.author = "foo"; |
| 442 o.category = buildApplicationCategory(); | 442 o.category = buildApplicationCategory(); |
| 443 o.description = "foo"; | 443 o.description = "foo"; |
| 444 o.enabledFeatures = buildUnnamed38(); | 444 o.enabledFeatures = buildUnnamed56(); |
| 445 o.id = "foo"; | 445 o.id = "foo"; |
| 446 o.instances = buildUnnamed39(); | 446 o.instances = buildUnnamed57(); |
| 447 o.kind = "foo"; | 447 o.kind = "foo"; |
| 448 o.lastUpdatedTimestamp = "foo"; | 448 o.lastUpdatedTimestamp = "foo"; |
| 449 o.leaderboardCount = 42; | 449 o.leaderboardCount = 42; |
| 450 o.name = "foo"; | 450 o.name = "foo"; |
| 451 o.themeColor = "foo"; | 451 o.themeColor = "foo"; |
| 452 } | 452 } |
| 453 buildCounterApplication--; | 453 buildCounterApplication--; |
| 454 return o; | 454 return o; |
| 455 } | 455 } |
| 456 | 456 |
| 457 checkApplication(api.Application o) { | 457 checkApplication(api.Application o) { |
| 458 buildCounterApplication++; | 458 buildCounterApplication++; |
| 459 if (buildCounterApplication < 3) { | 459 if (buildCounterApplication < 3) { |
| 460 unittest.expect(o.achievementCount, unittest.equals(42)); | 460 unittest.expect(o.achievementCount, unittest.equals(42)); |
| 461 checkUnnamed37(o.assets); | 461 checkUnnamed55(o.assets); |
| 462 unittest.expect(o.author, unittest.equals('foo')); | 462 unittest.expect(o.author, unittest.equals('foo')); |
| 463 checkApplicationCategory(o.category); | 463 checkApplicationCategory(o.category); |
| 464 unittest.expect(o.description, unittest.equals('foo')); | 464 unittest.expect(o.description, unittest.equals('foo')); |
| 465 checkUnnamed38(o.enabledFeatures); | 465 checkUnnamed56(o.enabledFeatures); |
| 466 unittest.expect(o.id, unittest.equals('foo')); | 466 unittest.expect(o.id, unittest.equals('foo')); |
| 467 checkUnnamed39(o.instances); | 467 checkUnnamed57(o.instances); |
| 468 unittest.expect(o.kind, unittest.equals('foo')); | 468 unittest.expect(o.kind, unittest.equals('foo')); |
| 469 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); | 469 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); |
| 470 unittest.expect(o.leaderboardCount, unittest.equals(42)); | 470 unittest.expect(o.leaderboardCount, unittest.equals(42)); |
| 471 unittest.expect(o.name, unittest.equals('foo')); | 471 unittest.expect(o.name, unittest.equals('foo')); |
| 472 unittest.expect(o.themeColor, unittest.equals('foo')); | 472 unittest.expect(o.themeColor, unittest.equals('foo')); |
| 473 } | 473 } |
| 474 buildCounterApplication--; | 474 buildCounterApplication--; |
| 475 } | 475 } |
| 476 | 476 |
| 477 core.int buildCounterApplicationCategory = 0; | 477 core.int buildCounterApplicationCategory = 0; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 checkCategory(api.Category o) { | 536 checkCategory(api.Category o) { |
| 537 buildCounterCategory++; | 537 buildCounterCategory++; |
| 538 if (buildCounterCategory < 3) { | 538 if (buildCounterCategory < 3) { |
| 539 unittest.expect(o.category, unittest.equals('foo')); | 539 unittest.expect(o.category, unittest.equals('foo')); |
| 540 unittest.expect(o.experiencePoints, unittest.equals('foo')); | 540 unittest.expect(o.experiencePoints, unittest.equals('foo')); |
| 541 unittest.expect(o.kind, unittest.equals('foo')); | 541 unittest.expect(o.kind, unittest.equals('foo')); |
| 542 } | 542 } |
| 543 buildCounterCategory--; | 543 buildCounterCategory--; |
| 544 } | 544 } |
| 545 | 545 |
| 546 buildUnnamed40() { | 546 buildUnnamed58() { |
| 547 var o = new core.List<api.Category>(); | 547 var o = new core.List<api.Category>(); |
| 548 o.add(buildCategory()); | 548 o.add(buildCategory()); |
| 549 o.add(buildCategory()); | 549 o.add(buildCategory()); |
| 550 return o; | 550 return o; |
| 551 } | 551 } |
| 552 | 552 |
| 553 checkUnnamed40(core.List<api.Category> o) { | 553 checkUnnamed58(core.List<api.Category> o) { |
| 554 unittest.expect(o, unittest.hasLength(2)); | 554 unittest.expect(o, unittest.hasLength(2)); |
| 555 checkCategory(o[0]); | 555 checkCategory(o[0]); |
| 556 checkCategory(o[1]); | 556 checkCategory(o[1]); |
| 557 } | 557 } |
| 558 | 558 |
| 559 core.int buildCounterCategoryListResponse = 0; | 559 core.int buildCounterCategoryListResponse = 0; |
| 560 buildCategoryListResponse() { | 560 buildCategoryListResponse() { |
| 561 var o = new api.CategoryListResponse(); | 561 var o = new api.CategoryListResponse(); |
| 562 buildCounterCategoryListResponse++; | 562 buildCounterCategoryListResponse++; |
| 563 if (buildCounterCategoryListResponse < 3) { | 563 if (buildCounterCategoryListResponse < 3) { |
| 564 o.items = buildUnnamed40(); | 564 o.items = buildUnnamed58(); |
| 565 o.kind = "foo"; | 565 o.kind = "foo"; |
| 566 o.nextPageToken = "foo"; | 566 o.nextPageToken = "foo"; |
| 567 } | 567 } |
| 568 buildCounterCategoryListResponse--; | 568 buildCounterCategoryListResponse--; |
| 569 return o; | 569 return o; |
| 570 } | 570 } |
| 571 | 571 |
| 572 checkCategoryListResponse(api.CategoryListResponse o) { | 572 checkCategoryListResponse(api.CategoryListResponse o) { |
| 573 buildCounterCategoryListResponse++; | 573 buildCounterCategoryListResponse++; |
| 574 if (buildCounterCategoryListResponse < 3) { | 574 if (buildCounterCategoryListResponse < 3) { |
| 575 checkUnnamed40(o.items); | 575 checkUnnamed58(o.items); |
| 576 unittest.expect(o.kind, unittest.equals('foo')); | 576 unittest.expect(o.kind, unittest.equals('foo')); |
| 577 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 577 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 578 } | 578 } |
| 579 buildCounterCategoryListResponse--; | 579 buildCounterCategoryListResponse--; |
| 580 } | 580 } |
| 581 | 581 |
| 582 core.int buildCounterEventBatchRecordFailure = 0; | 582 core.int buildCounterEventBatchRecordFailure = 0; |
| 583 buildEventBatchRecordFailure() { | 583 buildEventBatchRecordFailure() { |
| 584 var o = new api.EventBatchRecordFailure(); | 584 var o = new api.EventBatchRecordFailure(); |
| 585 buildCounterEventBatchRecordFailure++; | 585 buildCounterEventBatchRecordFailure++; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 616 | 616 |
| 617 checkEventChild(api.EventChild o) { | 617 checkEventChild(api.EventChild o) { |
| 618 buildCounterEventChild++; | 618 buildCounterEventChild++; |
| 619 if (buildCounterEventChild < 3) { | 619 if (buildCounterEventChild < 3) { |
| 620 unittest.expect(o.childId, unittest.equals('foo')); | 620 unittest.expect(o.childId, unittest.equals('foo')); |
| 621 unittest.expect(o.kind, unittest.equals('foo')); | 621 unittest.expect(o.kind, unittest.equals('foo')); |
| 622 } | 622 } |
| 623 buildCounterEventChild--; | 623 buildCounterEventChild--; |
| 624 } | 624 } |
| 625 | 625 |
| 626 buildUnnamed41() { | 626 buildUnnamed59() { |
| 627 var o = new core.List<api.EventChild>(); | 627 var o = new core.List<api.EventChild>(); |
| 628 o.add(buildEventChild()); | 628 o.add(buildEventChild()); |
| 629 o.add(buildEventChild()); | 629 o.add(buildEventChild()); |
| 630 return o; | 630 return o; |
| 631 } | 631 } |
| 632 | 632 |
| 633 checkUnnamed41(core.List<api.EventChild> o) { | 633 checkUnnamed59(core.List<api.EventChild> o) { |
| 634 unittest.expect(o, unittest.hasLength(2)); | 634 unittest.expect(o, unittest.hasLength(2)); |
| 635 checkEventChild(o[0]); | 635 checkEventChild(o[0]); |
| 636 checkEventChild(o[1]); | 636 checkEventChild(o[1]); |
| 637 } | 637 } |
| 638 | 638 |
| 639 core.int buildCounterEventDefinition = 0; | 639 core.int buildCounterEventDefinition = 0; |
| 640 buildEventDefinition() { | 640 buildEventDefinition() { |
| 641 var o = new api.EventDefinition(); | 641 var o = new api.EventDefinition(); |
| 642 buildCounterEventDefinition++; | 642 buildCounterEventDefinition++; |
| 643 if (buildCounterEventDefinition < 3) { | 643 if (buildCounterEventDefinition < 3) { |
| 644 o.childEvents = buildUnnamed41(); | 644 o.childEvents = buildUnnamed59(); |
| 645 o.description = "foo"; | 645 o.description = "foo"; |
| 646 o.displayName = "foo"; | 646 o.displayName = "foo"; |
| 647 o.id = "foo"; | 647 o.id = "foo"; |
| 648 o.imageUrl = "foo"; | 648 o.imageUrl = "foo"; |
| 649 o.isDefaultImageUrl = true; | 649 o.isDefaultImageUrl = true; |
| 650 o.kind = "foo"; | 650 o.kind = "foo"; |
| 651 o.visibility = "foo"; | 651 o.visibility = "foo"; |
| 652 } | 652 } |
| 653 buildCounterEventDefinition--; | 653 buildCounterEventDefinition--; |
| 654 return o; | 654 return o; |
| 655 } | 655 } |
| 656 | 656 |
| 657 checkEventDefinition(api.EventDefinition o) { | 657 checkEventDefinition(api.EventDefinition o) { |
| 658 buildCounterEventDefinition++; | 658 buildCounterEventDefinition++; |
| 659 if (buildCounterEventDefinition < 3) { | 659 if (buildCounterEventDefinition < 3) { |
| 660 checkUnnamed41(o.childEvents); | 660 checkUnnamed59(o.childEvents); |
| 661 unittest.expect(o.description, unittest.equals('foo')); | 661 unittest.expect(o.description, unittest.equals('foo')); |
| 662 unittest.expect(o.displayName, unittest.equals('foo')); | 662 unittest.expect(o.displayName, unittest.equals('foo')); |
| 663 unittest.expect(o.id, unittest.equals('foo')); | 663 unittest.expect(o.id, unittest.equals('foo')); |
| 664 unittest.expect(o.imageUrl, unittest.equals('foo')); | 664 unittest.expect(o.imageUrl, unittest.equals('foo')); |
| 665 unittest.expect(o.isDefaultImageUrl, unittest.isTrue); | 665 unittest.expect(o.isDefaultImageUrl, unittest.isTrue); |
| 666 unittest.expect(o.kind, unittest.equals('foo')); | 666 unittest.expect(o.kind, unittest.equals('foo')); |
| 667 unittest.expect(o.visibility, unittest.equals('foo')); | 667 unittest.expect(o.visibility, unittest.equals('foo')); |
| 668 } | 668 } |
| 669 buildCounterEventDefinition--; | 669 buildCounterEventDefinition--; |
| 670 } | 670 } |
| 671 | 671 |
| 672 buildUnnamed42() { | 672 buildUnnamed60() { |
| 673 var o = new core.List<api.EventDefinition>(); | 673 var o = new core.List<api.EventDefinition>(); |
| 674 o.add(buildEventDefinition()); | 674 o.add(buildEventDefinition()); |
| 675 o.add(buildEventDefinition()); | 675 o.add(buildEventDefinition()); |
| 676 return o; | 676 return o; |
| 677 } | 677 } |
| 678 | 678 |
| 679 checkUnnamed42(core.List<api.EventDefinition> o) { | 679 checkUnnamed60(core.List<api.EventDefinition> o) { |
| 680 unittest.expect(o, unittest.hasLength(2)); | 680 unittest.expect(o, unittest.hasLength(2)); |
| 681 checkEventDefinition(o[0]); | 681 checkEventDefinition(o[0]); |
| 682 checkEventDefinition(o[1]); | 682 checkEventDefinition(o[1]); |
| 683 } | 683 } |
| 684 | 684 |
| 685 core.int buildCounterEventDefinitionListResponse = 0; | 685 core.int buildCounterEventDefinitionListResponse = 0; |
| 686 buildEventDefinitionListResponse() { | 686 buildEventDefinitionListResponse() { |
| 687 var o = new api.EventDefinitionListResponse(); | 687 var o = new api.EventDefinitionListResponse(); |
| 688 buildCounterEventDefinitionListResponse++; | 688 buildCounterEventDefinitionListResponse++; |
| 689 if (buildCounterEventDefinitionListResponse < 3) { | 689 if (buildCounterEventDefinitionListResponse < 3) { |
| 690 o.items = buildUnnamed42(); | 690 o.items = buildUnnamed60(); |
| 691 o.kind = "foo"; | 691 o.kind = "foo"; |
| 692 o.nextPageToken = "foo"; | 692 o.nextPageToken = "foo"; |
| 693 } | 693 } |
| 694 buildCounterEventDefinitionListResponse--; | 694 buildCounterEventDefinitionListResponse--; |
| 695 return o; | 695 return o; |
| 696 } | 696 } |
| 697 | 697 |
| 698 checkEventDefinitionListResponse(api.EventDefinitionListResponse o) { | 698 checkEventDefinitionListResponse(api.EventDefinitionListResponse o) { |
| 699 buildCounterEventDefinitionListResponse++; | 699 buildCounterEventDefinitionListResponse++; |
| 700 if (buildCounterEventDefinitionListResponse < 3) { | 700 if (buildCounterEventDefinitionListResponse < 3) { |
| 701 checkUnnamed42(o.items); | 701 checkUnnamed60(o.items); |
| 702 unittest.expect(o.kind, unittest.equals('foo')); | 702 unittest.expect(o.kind, unittest.equals('foo')); |
| 703 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 703 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 704 } | 704 } |
| 705 buildCounterEventDefinitionListResponse--; | 705 buildCounterEventDefinitionListResponse--; |
| 706 } | 706 } |
| 707 | 707 |
| 708 core.int buildCounterEventPeriodRange = 0; | 708 core.int buildCounterEventPeriodRange = 0; |
| 709 buildEventPeriodRange() { | 709 buildEventPeriodRange() { |
| 710 var o = new api.EventPeriodRange(); | 710 var o = new api.EventPeriodRange(); |
| 711 buildCounterEventPeriodRange++; | 711 buildCounterEventPeriodRange++; |
| 712 if (buildCounterEventPeriodRange < 3) { | 712 if (buildCounterEventPeriodRange < 3) { |
| 713 o.kind = "foo"; | 713 o.kind = "foo"; |
| 714 o.periodEndMillis = "foo"; | 714 o.periodEndMillis = "foo"; |
| 715 o.periodStartMillis = "foo"; | 715 o.periodStartMillis = "foo"; |
| 716 } | 716 } |
| 717 buildCounterEventPeriodRange--; | 717 buildCounterEventPeriodRange--; |
| 718 return o; | 718 return o; |
| 719 } | 719 } |
| 720 | 720 |
| 721 checkEventPeriodRange(api.EventPeriodRange o) { | 721 checkEventPeriodRange(api.EventPeriodRange o) { |
| 722 buildCounterEventPeriodRange++; | 722 buildCounterEventPeriodRange++; |
| 723 if (buildCounterEventPeriodRange < 3) { | 723 if (buildCounterEventPeriodRange < 3) { |
| 724 unittest.expect(o.kind, unittest.equals('foo')); | 724 unittest.expect(o.kind, unittest.equals('foo')); |
| 725 unittest.expect(o.periodEndMillis, unittest.equals('foo')); | 725 unittest.expect(o.periodEndMillis, unittest.equals('foo')); |
| 726 unittest.expect(o.periodStartMillis, unittest.equals('foo')); | 726 unittest.expect(o.periodStartMillis, unittest.equals('foo')); |
| 727 } | 727 } |
| 728 buildCounterEventPeriodRange--; | 728 buildCounterEventPeriodRange--; |
| 729 } | 729 } |
| 730 | 730 |
| 731 buildUnnamed43() { | 731 buildUnnamed61() { |
| 732 var o = new core.List<api.EventUpdateRequest>(); | 732 var o = new core.List<api.EventUpdateRequest>(); |
| 733 o.add(buildEventUpdateRequest()); | 733 o.add(buildEventUpdateRequest()); |
| 734 o.add(buildEventUpdateRequest()); | 734 o.add(buildEventUpdateRequest()); |
| 735 return o; | 735 return o; |
| 736 } | 736 } |
| 737 | 737 |
| 738 checkUnnamed43(core.List<api.EventUpdateRequest> o) { | 738 checkUnnamed61(core.List<api.EventUpdateRequest> o) { |
| 739 unittest.expect(o, unittest.hasLength(2)); | 739 unittest.expect(o, unittest.hasLength(2)); |
| 740 checkEventUpdateRequest(o[0]); | 740 checkEventUpdateRequest(o[0]); |
| 741 checkEventUpdateRequest(o[1]); | 741 checkEventUpdateRequest(o[1]); |
| 742 } | 742 } |
| 743 | 743 |
| 744 core.int buildCounterEventPeriodUpdate = 0; | 744 core.int buildCounterEventPeriodUpdate = 0; |
| 745 buildEventPeriodUpdate() { | 745 buildEventPeriodUpdate() { |
| 746 var o = new api.EventPeriodUpdate(); | 746 var o = new api.EventPeriodUpdate(); |
| 747 buildCounterEventPeriodUpdate++; | 747 buildCounterEventPeriodUpdate++; |
| 748 if (buildCounterEventPeriodUpdate < 3) { | 748 if (buildCounterEventPeriodUpdate < 3) { |
| 749 o.kind = "foo"; | 749 o.kind = "foo"; |
| 750 o.timePeriod = buildEventPeriodRange(); | 750 o.timePeriod = buildEventPeriodRange(); |
| 751 o.updates = buildUnnamed43(); | 751 o.updates = buildUnnamed61(); |
| 752 } | 752 } |
| 753 buildCounterEventPeriodUpdate--; | 753 buildCounterEventPeriodUpdate--; |
| 754 return o; | 754 return o; |
| 755 } | 755 } |
| 756 | 756 |
| 757 checkEventPeriodUpdate(api.EventPeriodUpdate o) { | 757 checkEventPeriodUpdate(api.EventPeriodUpdate o) { |
| 758 buildCounterEventPeriodUpdate++; | 758 buildCounterEventPeriodUpdate++; |
| 759 if (buildCounterEventPeriodUpdate < 3) { | 759 if (buildCounterEventPeriodUpdate < 3) { |
| 760 unittest.expect(o.kind, unittest.equals('foo')); | 760 unittest.expect(o.kind, unittest.equals('foo')); |
| 761 checkEventPeriodRange(o.timePeriod); | 761 checkEventPeriodRange(o.timePeriod); |
| 762 checkUnnamed43(o.updates); | 762 checkUnnamed61(o.updates); |
| 763 } | 763 } |
| 764 buildCounterEventPeriodUpdate--; | 764 buildCounterEventPeriodUpdate--; |
| 765 } | 765 } |
| 766 | 766 |
| 767 core.int buildCounterEventRecordFailure = 0; | 767 core.int buildCounterEventRecordFailure = 0; |
| 768 buildEventRecordFailure() { | 768 buildEventRecordFailure() { |
| 769 var o = new api.EventRecordFailure(); | 769 var o = new api.EventRecordFailure(); |
| 770 buildCounterEventRecordFailure++; | 770 buildCounterEventRecordFailure++; |
| 771 if (buildCounterEventRecordFailure < 3) { | 771 if (buildCounterEventRecordFailure < 3) { |
| 772 o.eventId = "foo"; | 772 o.eventId = "foo"; |
| 773 o.failureCause = "foo"; | 773 o.failureCause = "foo"; |
| 774 o.kind = "foo"; | 774 o.kind = "foo"; |
| 775 } | 775 } |
| 776 buildCounterEventRecordFailure--; | 776 buildCounterEventRecordFailure--; |
| 777 return o; | 777 return o; |
| 778 } | 778 } |
| 779 | 779 |
| 780 checkEventRecordFailure(api.EventRecordFailure o) { | 780 checkEventRecordFailure(api.EventRecordFailure o) { |
| 781 buildCounterEventRecordFailure++; | 781 buildCounterEventRecordFailure++; |
| 782 if (buildCounterEventRecordFailure < 3) { | 782 if (buildCounterEventRecordFailure < 3) { |
| 783 unittest.expect(o.eventId, unittest.equals('foo')); | 783 unittest.expect(o.eventId, unittest.equals('foo')); |
| 784 unittest.expect(o.failureCause, unittest.equals('foo')); | 784 unittest.expect(o.failureCause, unittest.equals('foo')); |
| 785 unittest.expect(o.kind, unittest.equals('foo')); | 785 unittest.expect(o.kind, unittest.equals('foo')); |
| 786 } | 786 } |
| 787 buildCounterEventRecordFailure--; | 787 buildCounterEventRecordFailure--; |
| 788 } | 788 } |
| 789 | 789 |
| 790 buildUnnamed44() { | 790 buildUnnamed62() { |
| 791 var o = new core.List<api.EventPeriodUpdate>(); | 791 var o = new core.List<api.EventPeriodUpdate>(); |
| 792 o.add(buildEventPeriodUpdate()); | 792 o.add(buildEventPeriodUpdate()); |
| 793 o.add(buildEventPeriodUpdate()); | 793 o.add(buildEventPeriodUpdate()); |
| 794 return o; | 794 return o; |
| 795 } | 795 } |
| 796 | 796 |
| 797 checkUnnamed44(core.List<api.EventPeriodUpdate> o) { | 797 checkUnnamed62(core.List<api.EventPeriodUpdate> o) { |
| 798 unittest.expect(o, unittest.hasLength(2)); | 798 unittest.expect(o, unittest.hasLength(2)); |
| 799 checkEventPeriodUpdate(o[0]); | 799 checkEventPeriodUpdate(o[0]); |
| 800 checkEventPeriodUpdate(o[1]); | 800 checkEventPeriodUpdate(o[1]); |
| 801 } | 801 } |
| 802 | 802 |
| 803 core.int buildCounterEventRecordRequest = 0; | 803 core.int buildCounterEventRecordRequest = 0; |
| 804 buildEventRecordRequest() { | 804 buildEventRecordRequest() { |
| 805 var o = new api.EventRecordRequest(); | 805 var o = new api.EventRecordRequest(); |
| 806 buildCounterEventRecordRequest++; | 806 buildCounterEventRecordRequest++; |
| 807 if (buildCounterEventRecordRequest < 3) { | 807 if (buildCounterEventRecordRequest < 3) { |
| 808 o.currentTimeMillis = "foo"; | 808 o.currentTimeMillis = "foo"; |
| 809 o.kind = "foo"; | 809 o.kind = "foo"; |
| 810 o.requestId = "foo"; | 810 o.requestId = "foo"; |
| 811 o.timePeriods = buildUnnamed44(); | 811 o.timePeriods = buildUnnamed62(); |
| 812 } | 812 } |
| 813 buildCounterEventRecordRequest--; | 813 buildCounterEventRecordRequest--; |
| 814 return o; | 814 return o; |
| 815 } | 815 } |
| 816 | 816 |
| 817 checkEventRecordRequest(api.EventRecordRequest o) { | 817 checkEventRecordRequest(api.EventRecordRequest o) { |
| 818 buildCounterEventRecordRequest++; | 818 buildCounterEventRecordRequest++; |
| 819 if (buildCounterEventRecordRequest < 3) { | 819 if (buildCounterEventRecordRequest < 3) { |
| 820 unittest.expect(o.currentTimeMillis, unittest.equals('foo')); | 820 unittest.expect(o.currentTimeMillis, unittest.equals('foo')); |
| 821 unittest.expect(o.kind, unittest.equals('foo')); | 821 unittest.expect(o.kind, unittest.equals('foo')); |
| 822 unittest.expect(o.requestId, unittest.equals('foo')); | 822 unittest.expect(o.requestId, unittest.equals('foo')); |
| 823 checkUnnamed44(o.timePeriods); | 823 checkUnnamed62(o.timePeriods); |
| 824 } | 824 } |
| 825 buildCounterEventRecordRequest--; | 825 buildCounterEventRecordRequest--; |
| 826 } | 826 } |
| 827 | 827 |
| 828 core.int buildCounterEventUpdateRequest = 0; | 828 core.int buildCounterEventUpdateRequest = 0; |
| 829 buildEventUpdateRequest() { | 829 buildEventUpdateRequest() { |
| 830 var o = new api.EventUpdateRequest(); | 830 var o = new api.EventUpdateRequest(); |
| 831 buildCounterEventUpdateRequest++; | 831 buildCounterEventUpdateRequest++; |
| 832 if (buildCounterEventUpdateRequest < 3) { | 832 if (buildCounterEventUpdateRequest < 3) { |
| 833 o.definitionId = "foo"; | 833 o.definitionId = "foo"; |
| 834 o.kind = "foo"; | 834 o.kind = "foo"; |
| 835 o.updateCount = "foo"; | 835 o.updateCount = "foo"; |
| 836 } | 836 } |
| 837 buildCounterEventUpdateRequest--; | 837 buildCounterEventUpdateRequest--; |
| 838 return o; | 838 return o; |
| 839 } | 839 } |
| 840 | 840 |
| 841 checkEventUpdateRequest(api.EventUpdateRequest o) { | 841 checkEventUpdateRequest(api.EventUpdateRequest o) { |
| 842 buildCounterEventUpdateRequest++; | 842 buildCounterEventUpdateRequest++; |
| 843 if (buildCounterEventUpdateRequest < 3) { | 843 if (buildCounterEventUpdateRequest < 3) { |
| 844 unittest.expect(o.definitionId, unittest.equals('foo')); | 844 unittest.expect(o.definitionId, unittest.equals('foo')); |
| 845 unittest.expect(o.kind, unittest.equals('foo')); | 845 unittest.expect(o.kind, unittest.equals('foo')); |
| 846 unittest.expect(o.updateCount, unittest.equals('foo')); | 846 unittest.expect(o.updateCount, unittest.equals('foo')); |
| 847 } | 847 } |
| 848 buildCounterEventUpdateRequest--; | 848 buildCounterEventUpdateRequest--; |
| 849 } | 849 } |
| 850 | 850 |
| 851 buildUnnamed45() { | 851 buildUnnamed63() { |
| 852 var o = new core.List<api.EventBatchRecordFailure>(); | 852 var o = new core.List<api.EventBatchRecordFailure>(); |
| 853 o.add(buildEventBatchRecordFailure()); | 853 o.add(buildEventBatchRecordFailure()); |
| 854 o.add(buildEventBatchRecordFailure()); | 854 o.add(buildEventBatchRecordFailure()); |
| 855 return o; | 855 return o; |
| 856 } | 856 } |
| 857 | 857 |
| 858 checkUnnamed45(core.List<api.EventBatchRecordFailure> o) { | 858 checkUnnamed63(core.List<api.EventBatchRecordFailure> o) { |
| 859 unittest.expect(o, unittest.hasLength(2)); | 859 unittest.expect(o, unittest.hasLength(2)); |
| 860 checkEventBatchRecordFailure(o[0]); | 860 checkEventBatchRecordFailure(o[0]); |
| 861 checkEventBatchRecordFailure(o[1]); | 861 checkEventBatchRecordFailure(o[1]); |
| 862 } | 862 } |
| 863 | 863 |
| 864 buildUnnamed46() { | 864 buildUnnamed64() { |
| 865 var o = new core.List<api.EventRecordFailure>(); | 865 var o = new core.List<api.EventRecordFailure>(); |
| 866 o.add(buildEventRecordFailure()); | 866 o.add(buildEventRecordFailure()); |
| 867 o.add(buildEventRecordFailure()); | 867 o.add(buildEventRecordFailure()); |
| 868 return o; | 868 return o; |
| 869 } | 869 } |
| 870 | 870 |
| 871 checkUnnamed46(core.List<api.EventRecordFailure> o) { | 871 checkUnnamed64(core.List<api.EventRecordFailure> o) { |
| 872 unittest.expect(o, unittest.hasLength(2)); | 872 unittest.expect(o, unittest.hasLength(2)); |
| 873 checkEventRecordFailure(o[0]); | 873 checkEventRecordFailure(o[0]); |
| 874 checkEventRecordFailure(o[1]); | 874 checkEventRecordFailure(o[1]); |
| 875 } | 875 } |
| 876 | 876 |
| 877 buildUnnamed47() { | 877 buildUnnamed65() { |
| 878 var o = new core.List<api.PlayerEvent>(); | 878 var o = new core.List<api.PlayerEvent>(); |
| 879 o.add(buildPlayerEvent()); | 879 o.add(buildPlayerEvent()); |
| 880 o.add(buildPlayerEvent()); | 880 o.add(buildPlayerEvent()); |
| 881 return o; | 881 return o; |
| 882 } | 882 } |
| 883 | 883 |
| 884 checkUnnamed47(core.List<api.PlayerEvent> o) { | 884 checkUnnamed65(core.List<api.PlayerEvent> o) { |
| 885 unittest.expect(o, unittest.hasLength(2)); | 885 unittest.expect(o, unittest.hasLength(2)); |
| 886 checkPlayerEvent(o[0]); | 886 checkPlayerEvent(o[0]); |
| 887 checkPlayerEvent(o[1]); | 887 checkPlayerEvent(o[1]); |
| 888 } | 888 } |
| 889 | 889 |
| 890 core.int buildCounterEventUpdateResponse = 0; | 890 core.int buildCounterEventUpdateResponse = 0; |
| 891 buildEventUpdateResponse() { | 891 buildEventUpdateResponse() { |
| 892 var o = new api.EventUpdateResponse(); | 892 var o = new api.EventUpdateResponse(); |
| 893 buildCounterEventUpdateResponse++; | 893 buildCounterEventUpdateResponse++; |
| 894 if (buildCounterEventUpdateResponse < 3) { | 894 if (buildCounterEventUpdateResponse < 3) { |
| 895 o.batchFailures = buildUnnamed45(); | 895 o.batchFailures = buildUnnamed63(); |
| 896 o.eventFailures = buildUnnamed46(); | 896 o.eventFailures = buildUnnamed64(); |
| 897 o.kind = "foo"; | 897 o.kind = "foo"; |
| 898 o.playerEvents = buildUnnamed47(); | 898 o.playerEvents = buildUnnamed65(); |
| 899 } | 899 } |
| 900 buildCounterEventUpdateResponse--; | 900 buildCounterEventUpdateResponse--; |
| 901 return o; | 901 return o; |
| 902 } | 902 } |
| 903 | 903 |
| 904 checkEventUpdateResponse(api.EventUpdateResponse o) { | 904 checkEventUpdateResponse(api.EventUpdateResponse o) { |
| 905 buildCounterEventUpdateResponse++; | 905 buildCounterEventUpdateResponse++; |
| 906 if (buildCounterEventUpdateResponse < 3) { | 906 if (buildCounterEventUpdateResponse < 3) { |
| 907 checkUnnamed45(o.batchFailures); | 907 checkUnnamed63(o.batchFailures); |
| 908 checkUnnamed46(o.eventFailures); | 908 checkUnnamed64(o.eventFailures); |
| 909 unittest.expect(o.kind, unittest.equals('foo')); | 909 unittest.expect(o.kind, unittest.equals('foo')); |
| 910 checkUnnamed47(o.playerEvents); | 910 checkUnnamed65(o.playerEvents); |
| 911 } | 911 } |
| 912 buildCounterEventUpdateResponse--; | 912 buildCounterEventUpdateResponse--; |
| 913 } | 913 } |
| 914 | 914 |
| 915 core.int buildCounterGamesAchievementIncrement = 0; | 915 core.int buildCounterGamesAchievementIncrement = 0; |
| 916 buildGamesAchievementIncrement() { | 916 buildGamesAchievementIncrement() { |
| 917 var o = new api.GamesAchievementIncrement(); | 917 var o = new api.GamesAchievementIncrement(); |
| 918 buildCounterGamesAchievementIncrement++; | 918 buildCounterGamesAchievementIncrement++; |
| 919 if (buildCounterGamesAchievementIncrement < 3) { | 919 if (buildCounterGamesAchievementIncrement < 3) { |
| 920 o.kind = "foo"; | 920 o.kind = "foo"; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 checkPlayer(o.player); | 1154 checkPlayer(o.player); |
| 1155 unittest.expect(o.scoreRank, unittest.equals('foo')); | 1155 unittest.expect(o.scoreRank, unittest.equals('foo')); |
| 1156 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1156 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1157 unittest.expect(o.scoreValue, unittest.equals('foo')); | 1157 unittest.expect(o.scoreValue, unittest.equals('foo')); |
| 1158 unittest.expect(o.timeSpan, unittest.equals('foo')); | 1158 unittest.expect(o.timeSpan, unittest.equals('foo')); |
| 1159 unittest.expect(o.writeTimestampMillis, unittest.equals('foo')); | 1159 unittest.expect(o.writeTimestampMillis, unittest.equals('foo')); |
| 1160 } | 1160 } |
| 1161 buildCounterLeaderboardEntry--; | 1161 buildCounterLeaderboardEntry--; |
| 1162 } | 1162 } |
| 1163 | 1163 |
| 1164 buildUnnamed48() { | 1164 buildUnnamed66() { |
| 1165 var o = new core.List<api.Leaderboard>(); | 1165 var o = new core.List<api.Leaderboard>(); |
| 1166 o.add(buildLeaderboard()); | 1166 o.add(buildLeaderboard()); |
| 1167 o.add(buildLeaderboard()); | 1167 o.add(buildLeaderboard()); |
| 1168 return o; | 1168 return o; |
| 1169 } | 1169 } |
| 1170 | 1170 |
| 1171 checkUnnamed48(core.List<api.Leaderboard> o) { | 1171 checkUnnamed66(core.List<api.Leaderboard> o) { |
| 1172 unittest.expect(o, unittest.hasLength(2)); | 1172 unittest.expect(o, unittest.hasLength(2)); |
| 1173 checkLeaderboard(o[0]); | 1173 checkLeaderboard(o[0]); |
| 1174 checkLeaderboard(o[1]); | 1174 checkLeaderboard(o[1]); |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 core.int buildCounterLeaderboardListResponse = 0; | 1177 core.int buildCounterLeaderboardListResponse = 0; |
| 1178 buildLeaderboardListResponse() { | 1178 buildLeaderboardListResponse() { |
| 1179 var o = new api.LeaderboardListResponse(); | 1179 var o = new api.LeaderboardListResponse(); |
| 1180 buildCounterLeaderboardListResponse++; | 1180 buildCounterLeaderboardListResponse++; |
| 1181 if (buildCounterLeaderboardListResponse < 3) { | 1181 if (buildCounterLeaderboardListResponse < 3) { |
| 1182 o.items = buildUnnamed48(); | 1182 o.items = buildUnnamed66(); |
| 1183 o.kind = "foo"; | 1183 o.kind = "foo"; |
| 1184 o.nextPageToken = "foo"; | 1184 o.nextPageToken = "foo"; |
| 1185 } | 1185 } |
| 1186 buildCounterLeaderboardListResponse--; | 1186 buildCounterLeaderboardListResponse--; |
| 1187 return o; | 1187 return o; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 checkLeaderboardListResponse(api.LeaderboardListResponse o) { | 1190 checkLeaderboardListResponse(api.LeaderboardListResponse o) { |
| 1191 buildCounterLeaderboardListResponse++; | 1191 buildCounterLeaderboardListResponse++; |
| 1192 if (buildCounterLeaderboardListResponse < 3) { | 1192 if (buildCounterLeaderboardListResponse < 3) { |
| 1193 checkUnnamed48(o.items); | 1193 checkUnnamed66(o.items); |
| 1194 unittest.expect(o.kind, unittest.equals('foo')); | 1194 unittest.expect(o.kind, unittest.equals('foo')); |
| 1195 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1195 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1196 } | 1196 } |
| 1197 buildCounterLeaderboardListResponse--; | 1197 buildCounterLeaderboardListResponse--; |
| 1198 } | 1198 } |
| 1199 | 1199 |
| 1200 core.int buildCounterLeaderboardScoreRank = 0; | 1200 core.int buildCounterLeaderboardScoreRank = 0; |
| 1201 buildLeaderboardScoreRank() { | 1201 buildLeaderboardScoreRank() { |
| 1202 var o = new api.LeaderboardScoreRank(); | 1202 var o = new api.LeaderboardScoreRank(); |
| 1203 buildCounterLeaderboardScoreRank++; | 1203 buildCounterLeaderboardScoreRank++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1217 if (buildCounterLeaderboardScoreRank < 3) { | 1217 if (buildCounterLeaderboardScoreRank < 3) { |
| 1218 unittest.expect(o.formattedNumScores, unittest.equals('foo')); | 1218 unittest.expect(o.formattedNumScores, unittest.equals('foo')); |
| 1219 unittest.expect(o.formattedRank, unittest.equals('foo')); | 1219 unittest.expect(o.formattedRank, unittest.equals('foo')); |
| 1220 unittest.expect(o.kind, unittest.equals('foo')); | 1220 unittest.expect(o.kind, unittest.equals('foo')); |
| 1221 unittest.expect(o.numScores, unittest.equals('foo')); | 1221 unittest.expect(o.numScores, unittest.equals('foo')); |
| 1222 unittest.expect(o.rank, unittest.equals('foo')); | 1222 unittest.expect(o.rank, unittest.equals('foo')); |
| 1223 } | 1223 } |
| 1224 buildCounterLeaderboardScoreRank--; | 1224 buildCounterLeaderboardScoreRank--; |
| 1225 } | 1225 } |
| 1226 | 1226 |
| 1227 buildUnnamed49() { | 1227 buildUnnamed67() { |
| 1228 var o = new core.List<api.LeaderboardEntry>(); | 1228 var o = new core.List<api.LeaderboardEntry>(); |
| 1229 o.add(buildLeaderboardEntry()); | 1229 o.add(buildLeaderboardEntry()); |
| 1230 o.add(buildLeaderboardEntry()); | 1230 o.add(buildLeaderboardEntry()); |
| 1231 return o; | 1231 return o; |
| 1232 } | 1232 } |
| 1233 | 1233 |
| 1234 checkUnnamed49(core.List<api.LeaderboardEntry> o) { | 1234 checkUnnamed67(core.List<api.LeaderboardEntry> o) { |
| 1235 unittest.expect(o, unittest.hasLength(2)); | 1235 unittest.expect(o, unittest.hasLength(2)); |
| 1236 checkLeaderboardEntry(o[0]); | 1236 checkLeaderboardEntry(o[0]); |
| 1237 checkLeaderboardEntry(o[1]); | 1237 checkLeaderboardEntry(o[1]); |
| 1238 } | 1238 } |
| 1239 | 1239 |
| 1240 core.int buildCounterLeaderboardScores = 0; | 1240 core.int buildCounterLeaderboardScores = 0; |
| 1241 buildLeaderboardScores() { | 1241 buildLeaderboardScores() { |
| 1242 var o = new api.LeaderboardScores(); | 1242 var o = new api.LeaderboardScores(); |
| 1243 buildCounterLeaderboardScores++; | 1243 buildCounterLeaderboardScores++; |
| 1244 if (buildCounterLeaderboardScores < 3) { | 1244 if (buildCounterLeaderboardScores < 3) { |
| 1245 o.items = buildUnnamed49(); | 1245 o.items = buildUnnamed67(); |
| 1246 o.kind = "foo"; | 1246 o.kind = "foo"; |
| 1247 o.nextPageToken = "foo"; | 1247 o.nextPageToken = "foo"; |
| 1248 o.numScores = "foo"; | 1248 o.numScores = "foo"; |
| 1249 o.playerScore = buildLeaderboardEntry(); | 1249 o.playerScore = buildLeaderboardEntry(); |
| 1250 o.prevPageToken = "foo"; | 1250 o.prevPageToken = "foo"; |
| 1251 } | 1251 } |
| 1252 buildCounterLeaderboardScores--; | 1252 buildCounterLeaderboardScores--; |
| 1253 return o; | 1253 return o; |
| 1254 } | 1254 } |
| 1255 | 1255 |
| 1256 checkLeaderboardScores(api.LeaderboardScores o) { | 1256 checkLeaderboardScores(api.LeaderboardScores o) { |
| 1257 buildCounterLeaderboardScores++; | 1257 buildCounterLeaderboardScores++; |
| 1258 if (buildCounterLeaderboardScores < 3) { | 1258 if (buildCounterLeaderboardScores < 3) { |
| 1259 checkUnnamed49(o.items); | 1259 checkUnnamed67(o.items); |
| 1260 unittest.expect(o.kind, unittest.equals('foo')); | 1260 unittest.expect(o.kind, unittest.equals('foo')); |
| 1261 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1261 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1262 unittest.expect(o.numScores, unittest.equals('foo')); | 1262 unittest.expect(o.numScores, unittest.equals('foo')); |
| 1263 checkLeaderboardEntry(o.playerScore); | 1263 checkLeaderboardEntry(o.playerScore); |
| 1264 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1264 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1265 } | 1265 } |
| 1266 buildCounterLeaderboardScores--; | 1266 buildCounterLeaderboardScores--; |
| 1267 } | 1267 } |
| 1268 | 1268 |
| 1269 buildUnnamed50() { | 1269 buildUnnamed68() { |
| 1270 var o = new core.List<api.PlayerLevel>(); | 1270 var o = new core.List<api.PlayerLevel>(); |
| 1271 o.add(buildPlayerLevel()); | 1271 o.add(buildPlayerLevel()); |
| 1272 o.add(buildPlayerLevel()); | 1272 o.add(buildPlayerLevel()); |
| 1273 return o; | 1273 return o; |
| 1274 } | 1274 } |
| 1275 | 1275 |
| 1276 checkUnnamed50(core.List<api.PlayerLevel> o) { | 1276 checkUnnamed68(core.List<api.PlayerLevel> o) { |
| 1277 unittest.expect(o, unittest.hasLength(2)); | 1277 unittest.expect(o, unittest.hasLength(2)); |
| 1278 checkPlayerLevel(o[0]); | 1278 checkPlayerLevel(o[0]); |
| 1279 checkPlayerLevel(o[1]); | 1279 checkPlayerLevel(o[1]); |
| 1280 } | 1280 } |
| 1281 | 1281 |
| 1282 core.int buildCounterMetagameConfig = 0; | 1282 core.int buildCounterMetagameConfig = 0; |
| 1283 buildMetagameConfig() { | 1283 buildMetagameConfig() { |
| 1284 var o = new api.MetagameConfig(); | 1284 var o = new api.MetagameConfig(); |
| 1285 buildCounterMetagameConfig++; | 1285 buildCounterMetagameConfig++; |
| 1286 if (buildCounterMetagameConfig < 3) { | 1286 if (buildCounterMetagameConfig < 3) { |
| 1287 o.currentVersion = 42; | 1287 o.currentVersion = 42; |
| 1288 o.kind = "foo"; | 1288 o.kind = "foo"; |
| 1289 o.playerLevels = buildUnnamed50(); | 1289 o.playerLevels = buildUnnamed68(); |
| 1290 } | 1290 } |
| 1291 buildCounterMetagameConfig--; | 1291 buildCounterMetagameConfig--; |
| 1292 return o; | 1292 return o; |
| 1293 } | 1293 } |
| 1294 | 1294 |
| 1295 checkMetagameConfig(api.MetagameConfig o) { | 1295 checkMetagameConfig(api.MetagameConfig o) { |
| 1296 buildCounterMetagameConfig++; | 1296 buildCounterMetagameConfig++; |
| 1297 if (buildCounterMetagameConfig < 3) { | 1297 if (buildCounterMetagameConfig < 3) { |
| 1298 unittest.expect(o.currentVersion, unittest.equals(42)); | 1298 unittest.expect(o.currentVersion, unittest.equals(42)); |
| 1299 unittest.expect(o.kind, unittest.equals('foo')); | 1299 unittest.expect(o.kind, unittest.equals('foo')); |
| 1300 checkUnnamed50(o.playerLevels); | 1300 checkUnnamed68(o.playerLevels); |
| 1301 } | 1301 } |
| 1302 buildCounterMetagameConfig--; | 1302 buildCounterMetagameConfig--; |
| 1303 } | 1303 } |
| 1304 | 1304 |
| 1305 core.int buildCounterNetworkDiagnostics = 0; | 1305 core.int buildCounterNetworkDiagnostics = 0; |
| 1306 buildNetworkDiagnostics() { | 1306 buildNetworkDiagnostics() { |
| 1307 var o = new api.NetworkDiagnostics(); | 1307 var o = new api.NetworkDiagnostics(); |
| 1308 buildCounterNetworkDiagnostics++; | 1308 buildCounterNetworkDiagnostics++; |
| 1309 if (buildCounterNetworkDiagnostics < 3) { | 1309 if (buildCounterNetworkDiagnostics < 3) { |
| 1310 o.androidNetworkSubtype = 42; | 1310 o.androidNetworkSubtype = 42; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1527 unittest.expect(o.currentSteps, unittest.equals(42)); | 1527 unittest.expect(o.currentSteps, unittest.equals(42)); |
| 1528 unittest.expect(o.experiencePoints, unittest.equals('foo')); | 1528 unittest.expect(o.experiencePoints, unittest.equals('foo')); |
| 1529 unittest.expect(o.formattedCurrentStepsString, unittest.equals('foo')); | 1529 unittest.expect(o.formattedCurrentStepsString, unittest.equals('foo')); |
| 1530 unittest.expect(o.id, unittest.equals('foo')); | 1530 unittest.expect(o.id, unittest.equals('foo')); |
| 1531 unittest.expect(o.kind, unittest.equals('foo')); | 1531 unittest.expect(o.kind, unittest.equals('foo')); |
| 1532 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); | 1532 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); |
| 1533 } | 1533 } |
| 1534 buildCounterPlayerAchievement--; | 1534 buildCounterPlayerAchievement--; |
| 1535 } | 1535 } |
| 1536 | 1536 |
| 1537 buildUnnamed51() { | 1537 buildUnnamed69() { |
| 1538 var o = new core.List<api.PlayerAchievement>(); | 1538 var o = new core.List<api.PlayerAchievement>(); |
| 1539 o.add(buildPlayerAchievement()); | 1539 o.add(buildPlayerAchievement()); |
| 1540 o.add(buildPlayerAchievement()); | 1540 o.add(buildPlayerAchievement()); |
| 1541 return o; | 1541 return o; |
| 1542 } | 1542 } |
| 1543 | 1543 |
| 1544 checkUnnamed51(core.List<api.PlayerAchievement> o) { | 1544 checkUnnamed69(core.List<api.PlayerAchievement> o) { |
| 1545 unittest.expect(o, unittest.hasLength(2)); | 1545 unittest.expect(o, unittest.hasLength(2)); |
| 1546 checkPlayerAchievement(o[0]); | 1546 checkPlayerAchievement(o[0]); |
| 1547 checkPlayerAchievement(o[1]); | 1547 checkPlayerAchievement(o[1]); |
| 1548 } | 1548 } |
| 1549 | 1549 |
| 1550 core.int buildCounterPlayerAchievementListResponse = 0; | 1550 core.int buildCounterPlayerAchievementListResponse = 0; |
| 1551 buildPlayerAchievementListResponse() { | 1551 buildPlayerAchievementListResponse() { |
| 1552 var o = new api.PlayerAchievementListResponse(); | 1552 var o = new api.PlayerAchievementListResponse(); |
| 1553 buildCounterPlayerAchievementListResponse++; | 1553 buildCounterPlayerAchievementListResponse++; |
| 1554 if (buildCounterPlayerAchievementListResponse < 3) { | 1554 if (buildCounterPlayerAchievementListResponse < 3) { |
| 1555 o.items = buildUnnamed51(); | 1555 o.items = buildUnnamed69(); |
| 1556 o.kind = "foo"; | 1556 o.kind = "foo"; |
| 1557 o.nextPageToken = "foo"; | 1557 o.nextPageToken = "foo"; |
| 1558 } | 1558 } |
| 1559 buildCounterPlayerAchievementListResponse--; | 1559 buildCounterPlayerAchievementListResponse--; |
| 1560 return o; | 1560 return o; |
| 1561 } | 1561 } |
| 1562 | 1562 |
| 1563 checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { | 1563 checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { |
| 1564 buildCounterPlayerAchievementListResponse++; | 1564 buildCounterPlayerAchievementListResponse++; |
| 1565 if (buildCounterPlayerAchievementListResponse < 3) { | 1565 if (buildCounterPlayerAchievementListResponse < 3) { |
| 1566 checkUnnamed51(o.items); | 1566 checkUnnamed69(o.items); |
| 1567 unittest.expect(o.kind, unittest.equals('foo')); | 1567 unittest.expect(o.kind, unittest.equals('foo')); |
| 1568 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1568 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1569 } | 1569 } |
| 1570 buildCounterPlayerAchievementListResponse--; | 1570 buildCounterPlayerAchievementListResponse--; |
| 1571 } | 1571 } |
| 1572 | 1572 |
| 1573 core.int buildCounterPlayerEvent = 0; | 1573 core.int buildCounterPlayerEvent = 0; |
| 1574 buildPlayerEvent() { | 1574 buildPlayerEvent() { |
| 1575 var o = new api.PlayerEvent(); | 1575 var o = new api.PlayerEvent(); |
| 1576 buildCounterPlayerEvent++; | 1576 buildCounterPlayerEvent++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1590 if (buildCounterPlayerEvent < 3) { | 1590 if (buildCounterPlayerEvent < 3) { |
| 1591 unittest.expect(o.definitionId, unittest.equals('foo')); | 1591 unittest.expect(o.definitionId, unittest.equals('foo')); |
| 1592 unittest.expect(o.formattedNumEvents, unittest.equals('foo')); | 1592 unittest.expect(o.formattedNumEvents, unittest.equals('foo')); |
| 1593 unittest.expect(o.kind, unittest.equals('foo')); | 1593 unittest.expect(o.kind, unittest.equals('foo')); |
| 1594 unittest.expect(o.numEvents, unittest.equals('foo')); | 1594 unittest.expect(o.numEvents, unittest.equals('foo')); |
| 1595 unittest.expect(o.playerId, unittest.equals('foo')); | 1595 unittest.expect(o.playerId, unittest.equals('foo')); |
| 1596 } | 1596 } |
| 1597 buildCounterPlayerEvent--; | 1597 buildCounterPlayerEvent--; |
| 1598 } | 1598 } |
| 1599 | 1599 |
| 1600 buildUnnamed52() { | 1600 buildUnnamed70() { |
| 1601 var o = new core.List<api.PlayerEvent>(); | 1601 var o = new core.List<api.PlayerEvent>(); |
| 1602 o.add(buildPlayerEvent()); | 1602 o.add(buildPlayerEvent()); |
| 1603 o.add(buildPlayerEvent()); | 1603 o.add(buildPlayerEvent()); |
| 1604 return o; | 1604 return o; |
| 1605 } | 1605 } |
| 1606 | 1606 |
| 1607 checkUnnamed52(core.List<api.PlayerEvent> o) { | 1607 checkUnnamed70(core.List<api.PlayerEvent> o) { |
| 1608 unittest.expect(o, unittest.hasLength(2)); | 1608 unittest.expect(o, unittest.hasLength(2)); |
| 1609 checkPlayerEvent(o[0]); | 1609 checkPlayerEvent(o[0]); |
| 1610 checkPlayerEvent(o[1]); | 1610 checkPlayerEvent(o[1]); |
| 1611 } | 1611 } |
| 1612 | 1612 |
| 1613 core.int buildCounterPlayerEventListResponse = 0; | 1613 core.int buildCounterPlayerEventListResponse = 0; |
| 1614 buildPlayerEventListResponse() { | 1614 buildPlayerEventListResponse() { |
| 1615 var o = new api.PlayerEventListResponse(); | 1615 var o = new api.PlayerEventListResponse(); |
| 1616 buildCounterPlayerEventListResponse++; | 1616 buildCounterPlayerEventListResponse++; |
| 1617 if (buildCounterPlayerEventListResponse < 3) { | 1617 if (buildCounterPlayerEventListResponse < 3) { |
| 1618 o.items = buildUnnamed52(); | 1618 o.items = buildUnnamed70(); |
| 1619 o.kind = "foo"; | 1619 o.kind = "foo"; |
| 1620 o.nextPageToken = "foo"; | 1620 o.nextPageToken = "foo"; |
| 1621 } | 1621 } |
| 1622 buildCounterPlayerEventListResponse--; | 1622 buildCounterPlayerEventListResponse--; |
| 1623 return o; | 1623 return o; |
| 1624 } | 1624 } |
| 1625 | 1625 |
| 1626 checkPlayerEventListResponse(api.PlayerEventListResponse o) { | 1626 checkPlayerEventListResponse(api.PlayerEventListResponse o) { |
| 1627 buildCounterPlayerEventListResponse++; | 1627 buildCounterPlayerEventListResponse++; |
| 1628 if (buildCounterPlayerEventListResponse < 3) { | 1628 if (buildCounterPlayerEventListResponse < 3) { |
| 1629 checkUnnamed52(o.items); | 1629 checkUnnamed70(o.items); |
| 1630 unittest.expect(o.kind, unittest.equals('foo')); | 1630 unittest.expect(o.kind, unittest.equals('foo')); |
| 1631 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1631 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1632 } | 1632 } |
| 1633 buildCounterPlayerEventListResponse--; | 1633 buildCounterPlayerEventListResponse--; |
| 1634 } | 1634 } |
| 1635 | 1635 |
| 1636 core.int buildCounterPlayerExperienceInfo = 0; | 1636 core.int buildCounterPlayerExperienceInfo = 0; |
| 1637 buildPlayerExperienceInfo() { | 1637 buildPlayerExperienceInfo() { |
| 1638 var o = new api.PlayerExperienceInfo(); | 1638 var o = new api.PlayerExperienceInfo(); |
| 1639 buildCounterPlayerExperienceInfo++; | 1639 buildCounterPlayerExperienceInfo++; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1688 unittest.expect(o.scoreString, unittest.equals('foo')); | 1688 unittest.expect(o.scoreString, unittest.equals('foo')); |
| 1689 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1689 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1690 unittest.expect(o.scoreValue, unittest.equals('foo')); | 1690 unittest.expect(o.scoreValue, unittest.equals('foo')); |
| 1691 checkLeaderboardScoreRank(o.socialRank); | 1691 checkLeaderboardScoreRank(o.socialRank); |
| 1692 unittest.expect(o.timeSpan, unittest.equals('foo')); | 1692 unittest.expect(o.timeSpan, unittest.equals('foo')); |
| 1693 unittest.expect(o.writeTimestamp, unittest.equals('foo')); | 1693 unittest.expect(o.writeTimestamp, unittest.equals('foo')); |
| 1694 } | 1694 } |
| 1695 buildCounterPlayerLeaderboardScore--; | 1695 buildCounterPlayerLeaderboardScore--; |
| 1696 } | 1696 } |
| 1697 | 1697 |
| 1698 buildUnnamed53() { | 1698 buildUnnamed71() { |
| 1699 var o = new core.List<api.PlayerLeaderboardScore>(); | 1699 var o = new core.List<api.PlayerLeaderboardScore>(); |
| 1700 o.add(buildPlayerLeaderboardScore()); | 1700 o.add(buildPlayerLeaderboardScore()); |
| 1701 o.add(buildPlayerLeaderboardScore()); | 1701 o.add(buildPlayerLeaderboardScore()); |
| 1702 return o; | 1702 return o; |
| 1703 } | 1703 } |
| 1704 | 1704 |
| 1705 checkUnnamed53(core.List<api.PlayerLeaderboardScore> o) { | 1705 checkUnnamed71(core.List<api.PlayerLeaderboardScore> o) { |
| 1706 unittest.expect(o, unittest.hasLength(2)); | 1706 unittest.expect(o, unittest.hasLength(2)); |
| 1707 checkPlayerLeaderboardScore(o[0]); | 1707 checkPlayerLeaderboardScore(o[0]); |
| 1708 checkPlayerLeaderboardScore(o[1]); | 1708 checkPlayerLeaderboardScore(o[1]); |
| 1709 } | 1709 } |
| 1710 | 1710 |
| 1711 core.int buildCounterPlayerLeaderboardScoreListResponse = 0; | 1711 core.int buildCounterPlayerLeaderboardScoreListResponse = 0; |
| 1712 buildPlayerLeaderboardScoreListResponse() { | 1712 buildPlayerLeaderboardScoreListResponse() { |
| 1713 var o = new api.PlayerLeaderboardScoreListResponse(); | 1713 var o = new api.PlayerLeaderboardScoreListResponse(); |
| 1714 buildCounterPlayerLeaderboardScoreListResponse++; | 1714 buildCounterPlayerLeaderboardScoreListResponse++; |
| 1715 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { | 1715 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { |
| 1716 o.items = buildUnnamed53(); | 1716 o.items = buildUnnamed71(); |
| 1717 o.kind = "foo"; | 1717 o.kind = "foo"; |
| 1718 o.nextPageToken = "foo"; | 1718 o.nextPageToken = "foo"; |
| 1719 o.player = buildPlayer(); | 1719 o.player = buildPlayer(); |
| 1720 } | 1720 } |
| 1721 buildCounterPlayerLeaderboardScoreListResponse--; | 1721 buildCounterPlayerLeaderboardScoreListResponse--; |
| 1722 return o; | 1722 return o; |
| 1723 } | 1723 } |
| 1724 | 1724 |
| 1725 checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o
) { | 1725 checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o
) { |
| 1726 buildCounterPlayerLeaderboardScoreListResponse++; | 1726 buildCounterPlayerLeaderboardScoreListResponse++; |
| 1727 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { | 1727 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { |
| 1728 checkUnnamed53(o.items); | 1728 checkUnnamed71(o.items); |
| 1729 unittest.expect(o.kind, unittest.equals('foo')); | 1729 unittest.expect(o.kind, unittest.equals('foo')); |
| 1730 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1730 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1731 checkPlayer(o.player); | 1731 checkPlayer(o.player); |
| 1732 } | 1732 } |
| 1733 buildCounterPlayerLeaderboardScoreListResponse--; | 1733 buildCounterPlayerLeaderboardScoreListResponse--; |
| 1734 } | 1734 } |
| 1735 | 1735 |
| 1736 core.int buildCounterPlayerLevel = 0; | 1736 core.int buildCounterPlayerLevel = 0; |
| 1737 buildPlayerLevel() { | 1737 buildPlayerLevel() { |
| 1738 var o = new api.PlayerLevel(); | 1738 var o = new api.PlayerLevel(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1751 buildCounterPlayerLevel++; | 1751 buildCounterPlayerLevel++; |
| 1752 if (buildCounterPlayerLevel < 3) { | 1752 if (buildCounterPlayerLevel < 3) { |
| 1753 unittest.expect(o.kind, unittest.equals('foo')); | 1753 unittest.expect(o.kind, unittest.equals('foo')); |
| 1754 unittest.expect(o.level, unittest.equals(42)); | 1754 unittest.expect(o.level, unittest.equals(42)); |
| 1755 unittest.expect(o.maxExperiencePoints, unittest.equals('foo')); | 1755 unittest.expect(o.maxExperiencePoints, unittest.equals('foo')); |
| 1756 unittest.expect(o.minExperiencePoints, unittest.equals('foo')); | 1756 unittest.expect(o.minExperiencePoints, unittest.equals('foo')); |
| 1757 } | 1757 } |
| 1758 buildCounterPlayerLevel--; | 1758 buildCounterPlayerLevel--; |
| 1759 } | 1759 } |
| 1760 | 1760 |
| 1761 buildUnnamed54() { | 1761 buildUnnamed72() { |
| 1762 var o = new core.List<api.Player>(); | 1762 var o = new core.List<api.Player>(); |
| 1763 o.add(buildPlayer()); | 1763 o.add(buildPlayer()); |
| 1764 o.add(buildPlayer()); | 1764 o.add(buildPlayer()); |
| 1765 return o; | 1765 return o; |
| 1766 } | 1766 } |
| 1767 | 1767 |
| 1768 checkUnnamed54(core.List<api.Player> o) { | 1768 checkUnnamed72(core.List<api.Player> o) { |
| 1769 unittest.expect(o, unittest.hasLength(2)); | 1769 unittest.expect(o, unittest.hasLength(2)); |
| 1770 checkPlayer(o[0]); | 1770 checkPlayer(o[0]); |
| 1771 checkPlayer(o[1]); | 1771 checkPlayer(o[1]); |
| 1772 } | 1772 } |
| 1773 | 1773 |
| 1774 core.int buildCounterPlayerListResponse = 0; | 1774 core.int buildCounterPlayerListResponse = 0; |
| 1775 buildPlayerListResponse() { | 1775 buildPlayerListResponse() { |
| 1776 var o = new api.PlayerListResponse(); | 1776 var o = new api.PlayerListResponse(); |
| 1777 buildCounterPlayerListResponse++; | 1777 buildCounterPlayerListResponse++; |
| 1778 if (buildCounterPlayerListResponse < 3) { | 1778 if (buildCounterPlayerListResponse < 3) { |
| 1779 o.items = buildUnnamed54(); | 1779 o.items = buildUnnamed72(); |
| 1780 o.kind = "foo"; | 1780 o.kind = "foo"; |
| 1781 o.nextPageToken = "foo"; | 1781 o.nextPageToken = "foo"; |
| 1782 } | 1782 } |
| 1783 buildCounterPlayerListResponse--; | 1783 buildCounterPlayerListResponse--; |
| 1784 return o; | 1784 return o; |
| 1785 } | 1785 } |
| 1786 | 1786 |
| 1787 checkPlayerListResponse(api.PlayerListResponse o) { | 1787 checkPlayerListResponse(api.PlayerListResponse o) { |
| 1788 buildCounterPlayerListResponse++; | 1788 buildCounterPlayerListResponse++; |
| 1789 if (buildCounterPlayerListResponse < 3) { | 1789 if (buildCounterPlayerListResponse < 3) { |
| 1790 checkUnnamed54(o.items); | 1790 checkUnnamed72(o.items); |
| 1791 unittest.expect(o.kind, unittest.equals('foo')); | 1791 unittest.expect(o.kind, unittest.equals('foo')); |
| 1792 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1792 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1793 } | 1793 } |
| 1794 buildCounterPlayerListResponse--; | 1794 buildCounterPlayerListResponse--; |
| 1795 } | 1795 } |
| 1796 | 1796 |
| 1797 core.int buildCounterPlayerScore = 0; | 1797 core.int buildCounterPlayerScore = 0; |
| 1798 buildPlayerScore() { | 1798 buildPlayerScore() { |
| 1799 var o = new api.PlayerScore(); | 1799 var o = new api.PlayerScore(); |
| 1800 buildCounterPlayerScore++; | 1800 buildCounterPlayerScore++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1814 if (buildCounterPlayerScore < 3) { | 1814 if (buildCounterPlayerScore < 3) { |
| 1815 unittest.expect(o.formattedScore, unittest.equals('foo')); | 1815 unittest.expect(o.formattedScore, unittest.equals('foo')); |
| 1816 unittest.expect(o.kind, unittest.equals('foo')); | 1816 unittest.expect(o.kind, unittest.equals('foo')); |
| 1817 unittest.expect(o.score, unittest.equals('foo')); | 1817 unittest.expect(o.score, unittest.equals('foo')); |
| 1818 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1818 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1819 unittest.expect(o.timeSpan, unittest.equals('foo')); | 1819 unittest.expect(o.timeSpan, unittest.equals('foo')); |
| 1820 } | 1820 } |
| 1821 buildCounterPlayerScore--; | 1821 buildCounterPlayerScore--; |
| 1822 } | 1822 } |
| 1823 | 1823 |
| 1824 buildUnnamed55() { | 1824 buildUnnamed73() { |
| 1825 var o = new core.List<api.PlayerScoreResponse>(); | 1825 var o = new core.List<api.PlayerScoreResponse>(); |
| 1826 o.add(buildPlayerScoreResponse()); | 1826 o.add(buildPlayerScoreResponse()); |
| 1827 o.add(buildPlayerScoreResponse()); | 1827 o.add(buildPlayerScoreResponse()); |
| 1828 return o; | 1828 return o; |
| 1829 } | 1829 } |
| 1830 | 1830 |
| 1831 checkUnnamed55(core.List<api.PlayerScoreResponse> o) { | 1831 checkUnnamed73(core.List<api.PlayerScoreResponse> o) { |
| 1832 unittest.expect(o, unittest.hasLength(2)); | 1832 unittest.expect(o, unittest.hasLength(2)); |
| 1833 checkPlayerScoreResponse(o[0]); | 1833 checkPlayerScoreResponse(o[0]); |
| 1834 checkPlayerScoreResponse(o[1]); | 1834 checkPlayerScoreResponse(o[1]); |
| 1835 } | 1835 } |
| 1836 | 1836 |
| 1837 core.int buildCounterPlayerScoreListResponse = 0; | 1837 core.int buildCounterPlayerScoreListResponse = 0; |
| 1838 buildPlayerScoreListResponse() { | 1838 buildPlayerScoreListResponse() { |
| 1839 var o = new api.PlayerScoreListResponse(); | 1839 var o = new api.PlayerScoreListResponse(); |
| 1840 buildCounterPlayerScoreListResponse++; | 1840 buildCounterPlayerScoreListResponse++; |
| 1841 if (buildCounterPlayerScoreListResponse < 3) { | 1841 if (buildCounterPlayerScoreListResponse < 3) { |
| 1842 o.kind = "foo"; | 1842 o.kind = "foo"; |
| 1843 o.submittedScores = buildUnnamed55(); | 1843 o.submittedScores = buildUnnamed73(); |
| 1844 } | 1844 } |
| 1845 buildCounterPlayerScoreListResponse--; | 1845 buildCounterPlayerScoreListResponse--; |
| 1846 return o; | 1846 return o; |
| 1847 } | 1847 } |
| 1848 | 1848 |
| 1849 checkPlayerScoreListResponse(api.PlayerScoreListResponse o) { | 1849 checkPlayerScoreListResponse(api.PlayerScoreListResponse o) { |
| 1850 buildCounterPlayerScoreListResponse++; | 1850 buildCounterPlayerScoreListResponse++; |
| 1851 if (buildCounterPlayerScoreListResponse < 3) { | 1851 if (buildCounterPlayerScoreListResponse < 3) { |
| 1852 unittest.expect(o.kind, unittest.equals('foo')); | 1852 unittest.expect(o.kind, unittest.equals('foo')); |
| 1853 checkUnnamed55(o.submittedScores); | 1853 checkUnnamed73(o.submittedScores); |
| 1854 } | 1854 } |
| 1855 buildCounterPlayerScoreListResponse--; | 1855 buildCounterPlayerScoreListResponse--; |
| 1856 } | 1856 } |
| 1857 | 1857 |
| 1858 buildUnnamed56() { | 1858 buildUnnamed74() { |
| 1859 var o = new core.List<core.String>(); | 1859 var o = new core.List<core.String>(); |
| 1860 o.add("foo"); | 1860 o.add("foo"); |
| 1861 o.add("foo"); | 1861 o.add("foo"); |
| 1862 return o; | 1862 return o; |
| 1863 } | 1863 } |
| 1864 | 1864 |
| 1865 checkUnnamed56(core.List<core.String> o) { | 1865 checkUnnamed74(core.List<core.String> o) { |
| 1866 unittest.expect(o, unittest.hasLength(2)); | 1866 unittest.expect(o, unittest.hasLength(2)); |
| 1867 unittest.expect(o[0], unittest.equals('foo')); | 1867 unittest.expect(o[0], unittest.equals('foo')); |
| 1868 unittest.expect(o[1], unittest.equals('foo')); | 1868 unittest.expect(o[1], unittest.equals('foo')); |
| 1869 } | 1869 } |
| 1870 | 1870 |
| 1871 buildUnnamed57() { | 1871 buildUnnamed75() { |
| 1872 var o = new core.List<api.PlayerScore>(); | 1872 var o = new core.List<api.PlayerScore>(); |
| 1873 o.add(buildPlayerScore()); | 1873 o.add(buildPlayerScore()); |
| 1874 o.add(buildPlayerScore()); | 1874 o.add(buildPlayerScore()); |
| 1875 return o; | 1875 return o; |
| 1876 } | 1876 } |
| 1877 | 1877 |
| 1878 checkUnnamed57(core.List<api.PlayerScore> o) { | 1878 checkUnnamed75(core.List<api.PlayerScore> o) { |
| 1879 unittest.expect(o, unittest.hasLength(2)); | 1879 unittest.expect(o, unittest.hasLength(2)); |
| 1880 checkPlayerScore(o[0]); | 1880 checkPlayerScore(o[0]); |
| 1881 checkPlayerScore(o[1]); | 1881 checkPlayerScore(o[1]); |
| 1882 } | 1882 } |
| 1883 | 1883 |
| 1884 core.int buildCounterPlayerScoreResponse = 0; | 1884 core.int buildCounterPlayerScoreResponse = 0; |
| 1885 buildPlayerScoreResponse() { | 1885 buildPlayerScoreResponse() { |
| 1886 var o = new api.PlayerScoreResponse(); | 1886 var o = new api.PlayerScoreResponse(); |
| 1887 buildCounterPlayerScoreResponse++; | 1887 buildCounterPlayerScoreResponse++; |
| 1888 if (buildCounterPlayerScoreResponse < 3) { | 1888 if (buildCounterPlayerScoreResponse < 3) { |
| 1889 o.beatenScoreTimeSpans = buildUnnamed56(); | 1889 o.beatenScoreTimeSpans = buildUnnamed74(); |
| 1890 o.formattedScore = "foo"; | 1890 o.formattedScore = "foo"; |
| 1891 o.kind = "foo"; | 1891 o.kind = "foo"; |
| 1892 o.leaderboardId = "foo"; | 1892 o.leaderboardId = "foo"; |
| 1893 o.scoreTag = "foo"; | 1893 o.scoreTag = "foo"; |
| 1894 o.unbeatenScores = buildUnnamed57(); | 1894 o.unbeatenScores = buildUnnamed75(); |
| 1895 } | 1895 } |
| 1896 buildCounterPlayerScoreResponse--; | 1896 buildCounterPlayerScoreResponse--; |
| 1897 return o; | 1897 return o; |
| 1898 } | 1898 } |
| 1899 | 1899 |
| 1900 checkPlayerScoreResponse(api.PlayerScoreResponse o) { | 1900 checkPlayerScoreResponse(api.PlayerScoreResponse o) { |
| 1901 buildCounterPlayerScoreResponse++; | 1901 buildCounterPlayerScoreResponse++; |
| 1902 if (buildCounterPlayerScoreResponse < 3) { | 1902 if (buildCounterPlayerScoreResponse < 3) { |
| 1903 checkUnnamed56(o.beatenScoreTimeSpans); | 1903 checkUnnamed74(o.beatenScoreTimeSpans); |
| 1904 unittest.expect(o.formattedScore, unittest.equals('foo')); | 1904 unittest.expect(o.formattedScore, unittest.equals('foo')); |
| 1905 unittest.expect(o.kind, unittest.equals('foo')); | 1905 unittest.expect(o.kind, unittest.equals('foo')); |
| 1906 unittest.expect(o.leaderboardId, unittest.equals('foo')); | 1906 unittest.expect(o.leaderboardId, unittest.equals('foo')); |
| 1907 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1907 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1908 checkUnnamed57(o.unbeatenScores); | 1908 checkUnnamed75(o.unbeatenScores); |
| 1909 } | 1909 } |
| 1910 buildCounterPlayerScoreResponse--; | 1910 buildCounterPlayerScoreResponse--; |
| 1911 } | 1911 } |
| 1912 | 1912 |
| 1913 buildUnnamed58() { | 1913 buildUnnamed76() { |
| 1914 var o = new core.List<api.ScoreSubmission>(); | 1914 var o = new core.List<api.ScoreSubmission>(); |
| 1915 o.add(buildScoreSubmission()); | 1915 o.add(buildScoreSubmission()); |
| 1916 o.add(buildScoreSubmission()); | 1916 o.add(buildScoreSubmission()); |
| 1917 return o; | 1917 return o; |
| 1918 } | 1918 } |
| 1919 | 1919 |
| 1920 checkUnnamed58(core.List<api.ScoreSubmission> o) { | 1920 checkUnnamed76(core.List<api.ScoreSubmission> o) { |
| 1921 unittest.expect(o, unittest.hasLength(2)); | 1921 unittest.expect(o, unittest.hasLength(2)); |
| 1922 checkScoreSubmission(o[0]); | 1922 checkScoreSubmission(o[0]); |
| 1923 checkScoreSubmission(o[1]); | 1923 checkScoreSubmission(o[1]); |
| 1924 } | 1924 } |
| 1925 | 1925 |
| 1926 core.int buildCounterPlayerScoreSubmissionList = 0; | 1926 core.int buildCounterPlayerScoreSubmissionList = 0; |
| 1927 buildPlayerScoreSubmissionList() { | 1927 buildPlayerScoreSubmissionList() { |
| 1928 var o = new api.PlayerScoreSubmissionList(); | 1928 var o = new api.PlayerScoreSubmissionList(); |
| 1929 buildCounterPlayerScoreSubmissionList++; | 1929 buildCounterPlayerScoreSubmissionList++; |
| 1930 if (buildCounterPlayerScoreSubmissionList < 3) { | 1930 if (buildCounterPlayerScoreSubmissionList < 3) { |
| 1931 o.kind = "foo"; | 1931 o.kind = "foo"; |
| 1932 o.scores = buildUnnamed58(); | 1932 o.scores = buildUnnamed76(); |
| 1933 } | 1933 } |
| 1934 buildCounterPlayerScoreSubmissionList--; | 1934 buildCounterPlayerScoreSubmissionList--; |
| 1935 return o; | 1935 return o; |
| 1936 } | 1936 } |
| 1937 | 1937 |
| 1938 checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) { | 1938 checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) { |
| 1939 buildCounterPlayerScoreSubmissionList++; | 1939 buildCounterPlayerScoreSubmissionList++; |
| 1940 if (buildCounterPlayerScoreSubmissionList < 3) { | 1940 if (buildCounterPlayerScoreSubmissionList < 3) { |
| 1941 unittest.expect(o.kind, unittest.equals('foo')); | 1941 unittest.expect(o.kind, unittest.equals('foo')); |
| 1942 checkUnnamed58(o.scores); | 1942 checkUnnamed76(o.scores); |
| 1943 } | 1943 } |
| 1944 buildCounterPlayerScoreSubmissionList--; | 1944 buildCounterPlayerScoreSubmissionList--; |
| 1945 } | 1945 } |
| 1946 | 1946 |
| 1947 core.int buildCounterProfileSettings = 0; | 1947 core.int buildCounterProfileSettings = 0; |
| 1948 buildProfileSettings() { | 1948 buildProfileSettings() { |
| 1949 var o = new api.ProfileSettings(); | 1949 var o = new api.ProfileSettings(); |
| 1950 buildCounterProfileSettings++; | 1950 buildCounterProfileSettings++; |
| 1951 if (buildCounterProfileSettings < 3) { | 1951 if (buildCounterProfileSettings < 3) { |
| 1952 o.kind = "foo"; | 1952 o.kind = "foo"; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2025 | 2025 |
| 2026 checkPushTokenId(api.PushTokenId o) { | 2026 checkPushTokenId(api.PushTokenId o) { |
| 2027 buildCounterPushTokenId++; | 2027 buildCounterPushTokenId++; |
| 2028 if (buildCounterPushTokenId < 3) { | 2028 if (buildCounterPushTokenId < 3) { |
| 2029 checkPushTokenIdIos(o.ios); | 2029 checkPushTokenIdIos(o.ios); |
| 2030 unittest.expect(o.kind, unittest.equals('foo')); | 2030 unittest.expect(o.kind, unittest.equals('foo')); |
| 2031 } | 2031 } |
| 2032 buildCounterPushTokenId--; | 2032 buildCounterPushTokenId--; |
| 2033 } | 2033 } |
| 2034 | 2034 |
| 2035 buildUnnamed59() { | 2035 buildUnnamed77() { |
| 2036 var o = new core.List<api.QuestMilestone>(); | 2036 var o = new core.List<api.QuestMilestone>(); |
| 2037 o.add(buildQuestMilestone()); | 2037 o.add(buildQuestMilestone()); |
| 2038 o.add(buildQuestMilestone()); | 2038 o.add(buildQuestMilestone()); |
| 2039 return o; | 2039 return o; |
| 2040 } | 2040 } |
| 2041 | 2041 |
| 2042 checkUnnamed59(core.List<api.QuestMilestone> o) { | 2042 checkUnnamed77(core.List<api.QuestMilestone> o) { |
| 2043 unittest.expect(o, unittest.hasLength(2)); | 2043 unittest.expect(o, unittest.hasLength(2)); |
| 2044 checkQuestMilestone(o[0]); | 2044 checkQuestMilestone(o[0]); |
| 2045 checkQuestMilestone(o[1]); | 2045 checkQuestMilestone(o[1]); |
| 2046 } | 2046 } |
| 2047 | 2047 |
| 2048 core.int buildCounterQuest = 0; | 2048 core.int buildCounterQuest = 0; |
| 2049 buildQuest() { | 2049 buildQuest() { |
| 2050 var o = new api.Quest(); | 2050 var o = new api.Quest(); |
| 2051 buildCounterQuest++; | 2051 buildCounterQuest++; |
| 2052 if (buildCounterQuest < 3) { | 2052 if (buildCounterQuest < 3) { |
| 2053 o.acceptedTimestampMillis = "foo"; | 2053 o.acceptedTimestampMillis = "foo"; |
| 2054 o.applicationId = "foo"; | 2054 o.applicationId = "foo"; |
| 2055 o.bannerUrl = "foo"; | 2055 o.bannerUrl = "foo"; |
| 2056 o.description = "foo"; | 2056 o.description = "foo"; |
| 2057 o.endTimestampMillis = "foo"; | 2057 o.endTimestampMillis = "foo"; |
| 2058 o.iconUrl = "foo"; | 2058 o.iconUrl = "foo"; |
| 2059 o.id = "foo"; | 2059 o.id = "foo"; |
| 2060 o.isDefaultBannerUrl = true; | 2060 o.isDefaultBannerUrl = true; |
| 2061 o.isDefaultIconUrl = true; | 2061 o.isDefaultIconUrl = true; |
| 2062 o.kind = "foo"; | 2062 o.kind = "foo"; |
| 2063 o.lastUpdatedTimestampMillis = "foo"; | 2063 o.lastUpdatedTimestampMillis = "foo"; |
| 2064 o.milestones = buildUnnamed59(); | 2064 o.milestones = buildUnnamed77(); |
| 2065 o.name = "foo"; | 2065 o.name = "foo"; |
| 2066 o.notifyTimestampMillis = "foo"; | 2066 o.notifyTimestampMillis = "foo"; |
| 2067 o.startTimestampMillis = "foo"; | 2067 o.startTimestampMillis = "foo"; |
| 2068 o.state = "foo"; | 2068 o.state = "foo"; |
| 2069 } | 2069 } |
| 2070 buildCounterQuest--; | 2070 buildCounterQuest--; |
| 2071 return o; | 2071 return o; |
| 2072 } | 2072 } |
| 2073 | 2073 |
| 2074 checkQuest(api.Quest o) { | 2074 checkQuest(api.Quest o) { |
| 2075 buildCounterQuest++; | 2075 buildCounterQuest++; |
| 2076 if (buildCounterQuest < 3) { | 2076 if (buildCounterQuest < 3) { |
| 2077 unittest.expect(o.acceptedTimestampMillis, unittest.equals('foo')); | 2077 unittest.expect(o.acceptedTimestampMillis, unittest.equals('foo')); |
| 2078 unittest.expect(o.applicationId, unittest.equals('foo')); | 2078 unittest.expect(o.applicationId, unittest.equals('foo')); |
| 2079 unittest.expect(o.bannerUrl, unittest.equals('foo')); | 2079 unittest.expect(o.bannerUrl, unittest.equals('foo')); |
| 2080 unittest.expect(o.description, unittest.equals('foo')); | 2080 unittest.expect(o.description, unittest.equals('foo')); |
| 2081 unittest.expect(o.endTimestampMillis, unittest.equals('foo')); | 2081 unittest.expect(o.endTimestampMillis, unittest.equals('foo')); |
| 2082 unittest.expect(o.iconUrl, unittest.equals('foo')); | 2082 unittest.expect(o.iconUrl, unittest.equals('foo')); |
| 2083 unittest.expect(o.id, unittest.equals('foo')); | 2083 unittest.expect(o.id, unittest.equals('foo')); |
| 2084 unittest.expect(o.isDefaultBannerUrl, unittest.isTrue); | 2084 unittest.expect(o.isDefaultBannerUrl, unittest.isTrue); |
| 2085 unittest.expect(o.isDefaultIconUrl, unittest.isTrue); | 2085 unittest.expect(o.isDefaultIconUrl, unittest.isTrue); |
| 2086 unittest.expect(o.kind, unittest.equals('foo')); | 2086 unittest.expect(o.kind, unittest.equals('foo')); |
| 2087 unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo')); | 2087 unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo')); |
| 2088 checkUnnamed59(o.milestones); | 2088 checkUnnamed77(o.milestones); |
| 2089 unittest.expect(o.name, unittest.equals('foo')); | 2089 unittest.expect(o.name, unittest.equals('foo')); |
| 2090 unittest.expect(o.notifyTimestampMillis, unittest.equals('foo')); | 2090 unittest.expect(o.notifyTimestampMillis, unittest.equals('foo')); |
| 2091 unittest.expect(o.startTimestampMillis, unittest.equals('foo')); | 2091 unittest.expect(o.startTimestampMillis, unittest.equals('foo')); |
| 2092 unittest.expect(o.state, unittest.equals('foo')); | 2092 unittest.expect(o.state, unittest.equals('foo')); |
| 2093 } | 2093 } |
| 2094 buildCounterQuest--; | 2094 buildCounterQuest--; |
| 2095 } | 2095 } |
| 2096 | 2096 |
| 2097 core.int buildCounterQuestContribution = 0; | 2097 core.int buildCounterQuestContribution = 0; |
| 2098 buildQuestContribution() { | 2098 buildQuestContribution() { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2137 if (buildCounterQuestCriterion < 3) { | 2137 if (buildCounterQuestCriterion < 3) { |
| 2138 checkQuestContribution(o.completionContribution); | 2138 checkQuestContribution(o.completionContribution); |
| 2139 checkQuestContribution(o.currentContribution); | 2139 checkQuestContribution(o.currentContribution); |
| 2140 unittest.expect(o.eventId, unittest.equals('foo')); | 2140 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2141 checkQuestContribution(o.initialPlayerProgress); | 2141 checkQuestContribution(o.initialPlayerProgress); |
| 2142 unittest.expect(o.kind, unittest.equals('foo')); | 2142 unittest.expect(o.kind, unittest.equals('foo')); |
| 2143 } | 2143 } |
| 2144 buildCounterQuestCriterion--; | 2144 buildCounterQuestCriterion--; |
| 2145 } | 2145 } |
| 2146 | 2146 |
| 2147 buildUnnamed60() { | 2147 buildUnnamed78() { |
| 2148 var o = new core.List<api.Quest>(); | 2148 var o = new core.List<api.Quest>(); |
| 2149 o.add(buildQuest()); | 2149 o.add(buildQuest()); |
| 2150 o.add(buildQuest()); | 2150 o.add(buildQuest()); |
| 2151 return o; | 2151 return o; |
| 2152 } | 2152 } |
| 2153 | 2153 |
| 2154 checkUnnamed60(core.List<api.Quest> o) { | 2154 checkUnnamed78(core.List<api.Quest> o) { |
| 2155 unittest.expect(o, unittest.hasLength(2)); | 2155 unittest.expect(o, unittest.hasLength(2)); |
| 2156 checkQuest(o[0]); | 2156 checkQuest(o[0]); |
| 2157 checkQuest(o[1]); | 2157 checkQuest(o[1]); |
| 2158 } | 2158 } |
| 2159 | 2159 |
| 2160 core.int buildCounterQuestListResponse = 0; | 2160 core.int buildCounterQuestListResponse = 0; |
| 2161 buildQuestListResponse() { | 2161 buildQuestListResponse() { |
| 2162 var o = new api.QuestListResponse(); | 2162 var o = new api.QuestListResponse(); |
| 2163 buildCounterQuestListResponse++; | 2163 buildCounterQuestListResponse++; |
| 2164 if (buildCounterQuestListResponse < 3) { | 2164 if (buildCounterQuestListResponse < 3) { |
| 2165 o.items = buildUnnamed60(); | 2165 o.items = buildUnnamed78(); |
| 2166 o.kind = "foo"; | 2166 o.kind = "foo"; |
| 2167 o.nextPageToken = "foo"; | 2167 o.nextPageToken = "foo"; |
| 2168 } | 2168 } |
| 2169 buildCounterQuestListResponse--; | 2169 buildCounterQuestListResponse--; |
| 2170 return o; | 2170 return o; |
| 2171 } | 2171 } |
| 2172 | 2172 |
| 2173 checkQuestListResponse(api.QuestListResponse o) { | 2173 checkQuestListResponse(api.QuestListResponse o) { |
| 2174 buildCounterQuestListResponse++; | 2174 buildCounterQuestListResponse++; |
| 2175 if (buildCounterQuestListResponse < 3) { | 2175 if (buildCounterQuestListResponse < 3) { |
| 2176 checkUnnamed60(o.items); | 2176 checkUnnamed78(o.items); |
| 2177 unittest.expect(o.kind, unittest.equals('foo')); | 2177 unittest.expect(o.kind, unittest.equals('foo')); |
| 2178 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2178 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2179 } | 2179 } |
| 2180 buildCounterQuestListResponse--; | 2180 buildCounterQuestListResponse--; |
| 2181 } | 2181 } |
| 2182 | 2182 |
| 2183 buildUnnamed61() { | 2183 buildUnnamed79() { |
| 2184 var o = new core.List<api.QuestCriterion>(); | 2184 var o = new core.List<api.QuestCriterion>(); |
| 2185 o.add(buildQuestCriterion()); | 2185 o.add(buildQuestCriterion()); |
| 2186 o.add(buildQuestCriterion()); | 2186 o.add(buildQuestCriterion()); |
| 2187 return o; | 2187 return o; |
| 2188 } | 2188 } |
| 2189 | 2189 |
| 2190 checkUnnamed61(core.List<api.QuestCriterion> o) { | 2190 checkUnnamed79(core.List<api.QuestCriterion> o) { |
| 2191 unittest.expect(o, unittest.hasLength(2)); | 2191 unittest.expect(o, unittest.hasLength(2)); |
| 2192 checkQuestCriterion(o[0]); | 2192 checkQuestCriterion(o[0]); |
| 2193 checkQuestCriterion(o[1]); | 2193 checkQuestCriterion(o[1]); |
| 2194 } | 2194 } |
| 2195 | 2195 |
| 2196 core.int buildCounterQuestMilestone = 0; | 2196 core.int buildCounterQuestMilestone = 0; |
| 2197 buildQuestMilestone() { | 2197 buildQuestMilestone() { |
| 2198 var o = new api.QuestMilestone(); | 2198 var o = new api.QuestMilestone(); |
| 2199 buildCounterQuestMilestone++; | 2199 buildCounterQuestMilestone++; |
| 2200 if (buildCounterQuestMilestone < 3) { | 2200 if (buildCounterQuestMilestone < 3) { |
| 2201 o.completionRewardData = "foo"; | 2201 o.completionRewardData = "foo"; |
| 2202 o.criteria = buildUnnamed61(); | 2202 o.criteria = buildUnnamed79(); |
| 2203 o.id = "foo"; | 2203 o.id = "foo"; |
| 2204 o.kind = "foo"; | 2204 o.kind = "foo"; |
| 2205 o.state = "foo"; | 2205 o.state = "foo"; |
| 2206 } | 2206 } |
| 2207 buildCounterQuestMilestone--; | 2207 buildCounterQuestMilestone--; |
| 2208 return o; | 2208 return o; |
| 2209 } | 2209 } |
| 2210 | 2210 |
| 2211 checkQuestMilestone(api.QuestMilestone o) { | 2211 checkQuestMilestone(api.QuestMilestone o) { |
| 2212 buildCounterQuestMilestone++; | 2212 buildCounterQuestMilestone++; |
| 2213 if (buildCounterQuestMilestone < 3) { | 2213 if (buildCounterQuestMilestone < 3) { |
| 2214 unittest.expect(o.completionRewardData, unittest.equals('foo')); | 2214 unittest.expect(o.completionRewardData, unittest.equals('foo')); |
| 2215 checkUnnamed61(o.criteria); | 2215 checkUnnamed79(o.criteria); |
| 2216 unittest.expect(o.id, unittest.equals('foo')); | 2216 unittest.expect(o.id, unittest.equals('foo')); |
| 2217 unittest.expect(o.kind, unittest.equals('foo')); | 2217 unittest.expect(o.kind, unittest.equals('foo')); |
| 2218 unittest.expect(o.state, unittest.equals('foo')); | 2218 unittest.expect(o.state, unittest.equals('foo')); |
| 2219 } | 2219 } |
| 2220 buildCounterQuestMilestone--; | 2220 buildCounterQuestMilestone--; |
| 2221 } | 2221 } |
| 2222 | 2222 |
| 2223 core.int buildCounterRevisionCheckResponse = 0; | 2223 core.int buildCounterRevisionCheckResponse = 0; |
| 2224 buildRevisionCheckResponse() { | 2224 buildRevisionCheckResponse() { |
| 2225 var o = new api.RevisionCheckResponse(); | 2225 var o = new api.RevisionCheckResponse(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2236 checkRevisionCheckResponse(api.RevisionCheckResponse o) { | 2236 checkRevisionCheckResponse(api.RevisionCheckResponse o) { |
| 2237 buildCounterRevisionCheckResponse++; | 2237 buildCounterRevisionCheckResponse++; |
| 2238 if (buildCounterRevisionCheckResponse < 3) { | 2238 if (buildCounterRevisionCheckResponse < 3) { |
| 2239 unittest.expect(o.apiVersion, unittest.equals('foo')); | 2239 unittest.expect(o.apiVersion, unittest.equals('foo')); |
| 2240 unittest.expect(o.kind, unittest.equals('foo')); | 2240 unittest.expect(o.kind, unittest.equals('foo')); |
| 2241 unittest.expect(o.revisionStatus, unittest.equals('foo')); | 2241 unittest.expect(o.revisionStatus, unittest.equals('foo')); |
| 2242 } | 2242 } |
| 2243 buildCounterRevisionCheckResponse--; | 2243 buildCounterRevisionCheckResponse--; |
| 2244 } | 2244 } |
| 2245 | 2245 |
| 2246 buildUnnamed62() { | 2246 buildUnnamed80() { |
| 2247 var o = new core.List<api.RoomParticipant>(); | 2247 var o = new core.List<api.RoomParticipant>(); |
| 2248 o.add(buildRoomParticipant()); | 2248 o.add(buildRoomParticipant()); |
| 2249 o.add(buildRoomParticipant()); | 2249 o.add(buildRoomParticipant()); |
| 2250 return o; | 2250 return o; |
| 2251 } | 2251 } |
| 2252 | 2252 |
| 2253 checkUnnamed62(core.List<api.RoomParticipant> o) { | 2253 checkUnnamed80(core.List<api.RoomParticipant> o) { |
| 2254 unittest.expect(o, unittest.hasLength(2)); | 2254 unittest.expect(o, unittest.hasLength(2)); |
| 2255 checkRoomParticipant(o[0]); | 2255 checkRoomParticipant(o[0]); |
| 2256 checkRoomParticipant(o[1]); | 2256 checkRoomParticipant(o[1]); |
| 2257 } | 2257 } |
| 2258 | 2258 |
| 2259 core.int buildCounterRoom = 0; | 2259 core.int buildCounterRoom = 0; |
| 2260 buildRoom() { | 2260 buildRoom() { |
| 2261 var o = new api.Room(); | 2261 var o = new api.Room(); |
| 2262 buildCounterRoom++; | 2262 buildCounterRoom++; |
| 2263 if (buildCounterRoom < 3) { | 2263 if (buildCounterRoom < 3) { |
| 2264 o.applicationId = "foo"; | 2264 o.applicationId = "foo"; |
| 2265 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); | 2265 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); |
| 2266 o.autoMatchingStatus = buildRoomAutoMatchStatus(); | 2266 o.autoMatchingStatus = buildRoomAutoMatchStatus(); |
| 2267 o.creationDetails = buildRoomModification(); | 2267 o.creationDetails = buildRoomModification(); |
| 2268 o.description = "foo"; | 2268 o.description = "foo"; |
| 2269 o.inviterId = "foo"; | 2269 o.inviterId = "foo"; |
| 2270 o.kind = "foo"; | 2270 o.kind = "foo"; |
| 2271 o.lastUpdateDetails = buildRoomModification(); | 2271 o.lastUpdateDetails = buildRoomModification(); |
| 2272 o.participants = buildUnnamed62(); | 2272 o.participants = buildUnnamed80(); |
| 2273 o.roomId = "foo"; | 2273 o.roomId = "foo"; |
| 2274 o.roomStatusVersion = 42; | 2274 o.roomStatusVersion = 42; |
| 2275 o.status = "foo"; | 2275 o.status = "foo"; |
| 2276 o.variant = 42; | 2276 o.variant = 42; |
| 2277 } | 2277 } |
| 2278 buildCounterRoom--; | 2278 buildCounterRoom--; |
| 2279 return o; | 2279 return o; |
| 2280 } | 2280 } |
| 2281 | 2281 |
| 2282 checkRoom(api.Room o) { | 2282 checkRoom(api.Room o) { |
| 2283 buildCounterRoom++; | 2283 buildCounterRoom++; |
| 2284 if (buildCounterRoom < 3) { | 2284 if (buildCounterRoom < 3) { |
| 2285 unittest.expect(o.applicationId, unittest.equals('foo')); | 2285 unittest.expect(o.applicationId, unittest.equals('foo')); |
| 2286 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); | 2286 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); |
| 2287 checkRoomAutoMatchStatus(o.autoMatchingStatus); | 2287 checkRoomAutoMatchStatus(o.autoMatchingStatus); |
| 2288 checkRoomModification(o.creationDetails); | 2288 checkRoomModification(o.creationDetails); |
| 2289 unittest.expect(o.description, unittest.equals('foo')); | 2289 unittest.expect(o.description, unittest.equals('foo')); |
| 2290 unittest.expect(o.inviterId, unittest.equals('foo')); | 2290 unittest.expect(o.inviterId, unittest.equals('foo')); |
| 2291 unittest.expect(o.kind, unittest.equals('foo')); | 2291 unittest.expect(o.kind, unittest.equals('foo')); |
| 2292 checkRoomModification(o.lastUpdateDetails); | 2292 checkRoomModification(o.lastUpdateDetails); |
| 2293 checkUnnamed62(o.participants); | 2293 checkUnnamed80(o.participants); |
| 2294 unittest.expect(o.roomId, unittest.equals('foo')); | 2294 unittest.expect(o.roomId, unittest.equals('foo')); |
| 2295 unittest.expect(o.roomStatusVersion, unittest.equals(42)); | 2295 unittest.expect(o.roomStatusVersion, unittest.equals(42)); |
| 2296 unittest.expect(o.status, unittest.equals('foo')); | 2296 unittest.expect(o.status, unittest.equals('foo')); |
| 2297 unittest.expect(o.variant, unittest.equals(42)); | 2297 unittest.expect(o.variant, unittest.equals(42)); |
| 2298 } | 2298 } |
| 2299 buildCounterRoom--; | 2299 buildCounterRoom--; |
| 2300 } | 2300 } |
| 2301 | 2301 |
| 2302 core.int buildCounterRoomAutoMatchStatus = 0; | 2302 core.int buildCounterRoomAutoMatchStatus = 0; |
| 2303 buildRoomAutoMatchStatus() { | 2303 buildRoomAutoMatchStatus() { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2359 | 2359 |
| 2360 checkRoomClientAddress(api.RoomClientAddress o) { | 2360 checkRoomClientAddress(api.RoomClientAddress o) { |
| 2361 buildCounterRoomClientAddress++; | 2361 buildCounterRoomClientAddress++; |
| 2362 if (buildCounterRoomClientAddress < 3) { | 2362 if (buildCounterRoomClientAddress < 3) { |
| 2363 unittest.expect(o.kind, unittest.equals('foo')); | 2363 unittest.expect(o.kind, unittest.equals('foo')); |
| 2364 unittest.expect(o.xmppAddress, unittest.equals('foo')); | 2364 unittest.expect(o.xmppAddress, unittest.equals('foo')); |
| 2365 } | 2365 } |
| 2366 buildCounterRoomClientAddress--; | 2366 buildCounterRoomClientAddress--; |
| 2367 } | 2367 } |
| 2368 | 2368 |
| 2369 buildUnnamed63() { | 2369 buildUnnamed81() { |
| 2370 var o = new core.List<core.String>(); | 2370 var o = new core.List<core.String>(); |
| 2371 o.add("foo"); | 2371 o.add("foo"); |
| 2372 o.add("foo"); | 2372 o.add("foo"); |
| 2373 return o; | 2373 return o; |
| 2374 } | 2374 } |
| 2375 | 2375 |
| 2376 checkUnnamed63(core.List<core.String> o) { | 2376 checkUnnamed81(core.List<core.String> o) { |
| 2377 unittest.expect(o, unittest.hasLength(2)); | 2377 unittest.expect(o, unittest.hasLength(2)); |
| 2378 unittest.expect(o[0], unittest.equals('foo')); | 2378 unittest.expect(o[0], unittest.equals('foo')); |
| 2379 unittest.expect(o[1], unittest.equals('foo')); | 2379 unittest.expect(o[1], unittest.equals('foo')); |
| 2380 } | 2380 } |
| 2381 | 2381 |
| 2382 buildUnnamed64() { | 2382 buildUnnamed82() { |
| 2383 var o = new core.List<core.String>(); | 2383 var o = new core.List<core.String>(); |
| 2384 o.add("foo"); | 2384 o.add("foo"); |
| 2385 o.add("foo"); | 2385 o.add("foo"); |
| 2386 return o; | 2386 return o; |
| 2387 } | 2387 } |
| 2388 | 2388 |
| 2389 checkUnnamed64(core.List<core.String> o) { | 2389 checkUnnamed82(core.List<core.String> o) { |
| 2390 unittest.expect(o, unittest.hasLength(2)); | 2390 unittest.expect(o, unittest.hasLength(2)); |
| 2391 unittest.expect(o[0], unittest.equals('foo')); | 2391 unittest.expect(o[0], unittest.equals('foo')); |
| 2392 unittest.expect(o[1], unittest.equals('foo')); | 2392 unittest.expect(o[1], unittest.equals('foo')); |
| 2393 } | 2393 } |
| 2394 | 2394 |
| 2395 core.int buildCounterRoomCreateRequest = 0; | 2395 core.int buildCounterRoomCreateRequest = 0; |
| 2396 buildRoomCreateRequest() { | 2396 buildRoomCreateRequest() { |
| 2397 var o = new api.RoomCreateRequest(); | 2397 var o = new api.RoomCreateRequest(); |
| 2398 buildCounterRoomCreateRequest++; | 2398 buildCounterRoomCreateRequest++; |
| 2399 if (buildCounterRoomCreateRequest < 3) { | 2399 if (buildCounterRoomCreateRequest < 3) { |
| 2400 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); | 2400 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); |
| 2401 o.capabilities = buildUnnamed63(); | 2401 o.capabilities = buildUnnamed81(); |
| 2402 o.clientAddress = buildRoomClientAddress(); | 2402 o.clientAddress = buildRoomClientAddress(); |
| 2403 o.invitedPlayerIds = buildUnnamed64(); | 2403 o.invitedPlayerIds = buildUnnamed82(); |
| 2404 o.kind = "foo"; | 2404 o.kind = "foo"; |
| 2405 o.networkDiagnostics = buildNetworkDiagnostics(); | 2405 o.networkDiagnostics = buildNetworkDiagnostics(); |
| 2406 o.requestId = "foo"; | 2406 o.requestId = "foo"; |
| 2407 o.variant = 42; | 2407 o.variant = 42; |
| 2408 } | 2408 } |
| 2409 buildCounterRoomCreateRequest--; | 2409 buildCounterRoomCreateRequest--; |
| 2410 return o; | 2410 return o; |
| 2411 } | 2411 } |
| 2412 | 2412 |
| 2413 checkRoomCreateRequest(api.RoomCreateRequest o) { | 2413 checkRoomCreateRequest(api.RoomCreateRequest o) { |
| 2414 buildCounterRoomCreateRequest++; | 2414 buildCounterRoomCreateRequest++; |
| 2415 if (buildCounterRoomCreateRequest < 3) { | 2415 if (buildCounterRoomCreateRequest < 3) { |
| 2416 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); | 2416 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); |
| 2417 checkUnnamed63(o.capabilities); | 2417 checkUnnamed81(o.capabilities); |
| 2418 checkRoomClientAddress(o.clientAddress); | 2418 checkRoomClientAddress(o.clientAddress); |
| 2419 checkUnnamed64(o.invitedPlayerIds); | 2419 checkUnnamed82(o.invitedPlayerIds); |
| 2420 unittest.expect(o.kind, unittest.equals('foo')); | 2420 unittest.expect(o.kind, unittest.equals('foo')); |
| 2421 checkNetworkDiagnostics(o.networkDiagnostics); | 2421 checkNetworkDiagnostics(o.networkDiagnostics); |
| 2422 unittest.expect(o.requestId, unittest.equals('foo')); | 2422 unittest.expect(o.requestId, unittest.equals('foo')); |
| 2423 unittest.expect(o.variant, unittest.equals(42)); | 2423 unittest.expect(o.variant, unittest.equals(42)); |
| 2424 } | 2424 } |
| 2425 buildCounterRoomCreateRequest--; | 2425 buildCounterRoomCreateRequest--; |
| 2426 } | 2426 } |
| 2427 | 2427 |
| 2428 buildUnnamed65() { | 2428 buildUnnamed83() { |
| 2429 var o = new core.List<core.String>(); | 2429 var o = new core.List<core.String>(); |
| 2430 o.add("foo"); | 2430 o.add("foo"); |
| 2431 o.add("foo"); | 2431 o.add("foo"); |
| 2432 return o; | 2432 return o; |
| 2433 } | 2433 } |
| 2434 | 2434 |
| 2435 checkUnnamed65(core.List<core.String> o) { | 2435 checkUnnamed83(core.List<core.String> o) { |
| 2436 unittest.expect(o, unittest.hasLength(2)); | 2436 unittest.expect(o, unittest.hasLength(2)); |
| 2437 unittest.expect(o[0], unittest.equals('foo')); | 2437 unittest.expect(o[0], unittest.equals('foo')); |
| 2438 unittest.expect(o[1], unittest.equals('foo')); | 2438 unittest.expect(o[1], unittest.equals('foo')); |
| 2439 } | 2439 } |
| 2440 | 2440 |
| 2441 core.int buildCounterRoomJoinRequest = 0; | 2441 core.int buildCounterRoomJoinRequest = 0; |
| 2442 buildRoomJoinRequest() { | 2442 buildRoomJoinRequest() { |
| 2443 var o = new api.RoomJoinRequest(); | 2443 var o = new api.RoomJoinRequest(); |
| 2444 buildCounterRoomJoinRequest++; | 2444 buildCounterRoomJoinRequest++; |
| 2445 if (buildCounterRoomJoinRequest < 3) { | 2445 if (buildCounterRoomJoinRequest < 3) { |
| 2446 o.capabilities = buildUnnamed65(); | 2446 o.capabilities = buildUnnamed83(); |
| 2447 o.clientAddress = buildRoomClientAddress(); | 2447 o.clientAddress = buildRoomClientAddress(); |
| 2448 o.kind = "foo"; | 2448 o.kind = "foo"; |
| 2449 o.networkDiagnostics = buildNetworkDiagnostics(); | 2449 o.networkDiagnostics = buildNetworkDiagnostics(); |
| 2450 } | 2450 } |
| 2451 buildCounterRoomJoinRequest--; | 2451 buildCounterRoomJoinRequest--; |
| 2452 return o; | 2452 return o; |
| 2453 } | 2453 } |
| 2454 | 2454 |
| 2455 checkRoomJoinRequest(api.RoomJoinRequest o) { | 2455 checkRoomJoinRequest(api.RoomJoinRequest o) { |
| 2456 buildCounterRoomJoinRequest++; | 2456 buildCounterRoomJoinRequest++; |
| 2457 if (buildCounterRoomJoinRequest < 3) { | 2457 if (buildCounterRoomJoinRequest < 3) { |
| 2458 checkUnnamed65(o.capabilities); | 2458 checkUnnamed83(o.capabilities); |
| 2459 checkRoomClientAddress(o.clientAddress); | 2459 checkRoomClientAddress(o.clientAddress); |
| 2460 unittest.expect(o.kind, unittest.equals('foo')); | 2460 unittest.expect(o.kind, unittest.equals('foo')); |
| 2461 checkNetworkDiagnostics(o.networkDiagnostics); | 2461 checkNetworkDiagnostics(o.networkDiagnostics); |
| 2462 } | 2462 } |
| 2463 buildCounterRoomJoinRequest--; | 2463 buildCounterRoomJoinRequest--; |
| 2464 } | 2464 } |
| 2465 | 2465 |
| 2466 buildUnnamed66() { | 2466 buildUnnamed84() { |
| 2467 var o = new core.List<api.PeerSessionDiagnostics>(); | 2467 var o = new core.List<api.PeerSessionDiagnostics>(); |
| 2468 o.add(buildPeerSessionDiagnostics()); | 2468 o.add(buildPeerSessionDiagnostics()); |
| 2469 o.add(buildPeerSessionDiagnostics()); | 2469 o.add(buildPeerSessionDiagnostics()); |
| 2470 return o; | 2470 return o; |
| 2471 } | 2471 } |
| 2472 | 2472 |
| 2473 checkUnnamed66(core.List<api.PeerSessionDiagnostics> o) { | 2473 checkUnnamed84(core.List<api.PeerSessionDiagnostics> o) { |
| 2474 unittest.expect(o, unittest.hasLength(2)); | 2474 unittest.expect(o, unittest.hasLength(2)); |
| 2475 checkPeerSessionDiagnostics(o[0]); | 2475 checkPeerSessionDiagnostics(o[0]); |
| 2476 checkPeerSessionDiagnostics(o[1]); | 2476 checkPeerSessionDiagnostics(o[1]); |
| 2477 } | 2477 } |
| 2478 | 2478 |
| 2479 core.int buildCounterRoomLeaveDiagnostics = 0; | 2479 core.int buildCounterRoomLeaveDiagnostics = 0; |
| 2480 buildRoomLeaveDiagnostics() { | 2480 buildRoomLeaveDiagnostics() { |
| 2481 var o = new api.RoomLeaveDiagnostics(); | 2481 var o = new api.RoomLeaveDiagnostics(); |
| 2482 buildCounterRoomLeaveDiagnostics++; | 2482 buildCounterRoomLeaveDiagnostics++; |
| 2483 if (buildCounterRoomLeaveDiagnostics < 3) { | 2483 if (buildCounterRoomLeaveDiagnostics < 3) { |
| 2484 o.androidNetworkSubtype = 42; | 2484 o.androidNetworkSubtype = 42; |
| 2485 o.androidNetworkType = 42; | 2485 o.androidNetworkType = 42; |
| 2486 o.iosNetworkType = 42; | 2486 o.iosNetworkType = 42; |
| 2487 o.kind = "foo"; | 2487 o.kind = "foo"; |
| 2488 o.networkOperatorCode = "foo"; | 2488 o.networkOperatorCode = "foo"; |
| 2489 o.networkOperatorName = "foo"; | 2489 o.networkOperatorName = "foo"; |
| 2490 o.peerSession = buildUnnamed66(); | 2490 o.peerSession = buildUnnamed84(); |
| 2491 o.socketsUsed = true; | 2491 o.socketsUsed = true; |
| 2492 } | 2492 } |
| 2493 buildCounterRoomLeaveDiagnostics--; | 2493 buildCounterRoomLeaveDiagnostics--; |
| 2494 return o; | 2494 return o; |
| 2495 } | 2495 } |
| 2496 | 2496 |
| 2497 checkRoomLeaveDiagnostics(api.RoomLeaveDiagnostics o) { | 2497 checkRoomLeaveDiagnostics(api.RoomLeaveDiagnostics o) { |
| 2498 buildCounterRoomLeaveDiagnostics++; | 2498 buildCounterRoomLeaveDiagnostics++; |
| 2499 if (buildCounterRoomLeaveDiagnostics < 3) { | 2499 if (buildCounterRoomLeaveDiagnostics < 3) { |
| 2500 unittest.expect(o.androidNetworkSubtype, unittest.equals(42)); | 2500 unittest.expect(o.androidNetworkSubtype, unittest.equals(42)); |
| 2501 unittest.expect(o.androidNetworkType, unittest.equals(42)); | 2501 unittest.expect(o.androidNetworkType, unittest.equals(42)); |
| 2502 unittest.expect(o.iosNetworkType, unittest.equals(42)); | 2502 unittest.expect(o.iosNetworkType, unittest.equals(42)); |
| 2503 unittest.expect(o.kind, unittest.equals('foo')); | 2503 unittest.expect(o.kind, unittest.equals('foo')); |
| 2504 unittest.expect(o.networkOperatorCode, unittest.equals('foo')); | 2504 unittest.expect(o.networkOperatorCode, unittest.equals('foo')); |
| 2505 unittest.expect(o.networkOperatorName, unittest.equals('foo')); | 2505 unittest.expect(o.networkOperatorName, unittest.equals('foo')); |
| 2506 checkUnnamed66(o.peerSession); | 2506 checkUnnamed84(o.peerSession); |
| 2507 unittest.expect(o.socketsUsed, unittest.isTrue); | 2507 unittest.expect(o.socketsUsed, unittest.isTrue); |
| 2508 } | 2508 } |
| 2509 buildCounterRoomLeaveDiagnostics--; | 2509 buildCounterRoomLeaveDiagnostics--; |
| 2510 } | 2510 } |
| 2511 | 2511 |
| 2512 core.int buildCounterRoomLeaveRequest = 0; | 2512 core.int buildCounterRoomLeaveRequest = 0; |
| 2513 buildRoomLeaveRequest() { | 2513 buildRoomLeaveRequest() { |
| 2514 var o = new api.RoomLeaveRequest(); | 2514 var o = new api.RoomLeaveRequest(); |
| 2515 buildCounterRoomLeaveRequest++; | 2515 buildCounterRoomLeaveRequest++; |
| 2516 if (buildCounterRoomLeaveRequest < 3) { | 2516 if (buildCounterRoomLeaveRequest < 3) { |
| 2517 o.kind = "foo"; | 2517 o.kind = "foo"; |
| 2518 o.leaveDiagnostics = buildRoomLeaveDiagnostics(); | 2518 o.leaveDiagnostics = buildRoomLeaveDiagnostics(); |
| 2519 o.reason = "foo"; | 2519 o.reason = "foo"; |
| 2520 } | 2520 } |
| 2521 buildCounterRoomLeaveRequest--; | 2521 buildCounterRoomLeaveRequest--; |
| 2522 return o; | 2522 return o; |
| 2523 } | 2523 } |
| 2524 | 2524 |
| 2525 checkRoomLeaveRequest(api.RoomLeaveRequest o) { | 2525 checkRoomLeaveRequest(api.RoomLeaveRequest o) { |
| 2526 buildCounterRoomLeaveRequest++; | 2526 buildCounterRoomLeaveRequest++; |
| 2527 if (buildCounterRoomLeaveRequest < 3) { | 2527 if (buildCounterRoomLeaveRequest < 3) { |
| 2528 unittest.expect(o.kind, unittest.equals('foo')); | 2528 unittest.expect(o.kind, unittest.equals('foo')); |
| 2529 checkRoomLeaveDiagnostics(o.leaveDiagnostics); | 2529 checkRoomLeaveDiagnostics(o.leaveDiagnostics); |
| 2530 unittest.expect(o.reason, unittest.equals('foo')); | 2530 unittest.expect(o.reason, unittest.equals('foo')); |
| 2531 } | 2531 } |
| 2532 buildCounterRoomLeaveRequest--; | 2532 buildCounterRoomLeaveRequest--; |
| 2533 } | 2533 } |
| 2534 | 2534 |
| 2535 buildUnnamed67() { | 2535 buildUnnamed85() { |
| 2536 var o = new core.List<api.Room>(); | 2536 var o = new core.List<api.Room>(); |
| 2537 o.add(buildRoom()); | 2537 o.add(buildRoom()); |
| 2538 o.add(buildRoom()); | 2538 o.add(buildRoom()); |
| 2539 return o; | 2539 return o; |
| 2540 } | 2540 } |
| 2541 | 2541 |
| 2542 checkUnnamed67(core.List<api.Room> o) { | 2542 checkUnnamed85(core.List<api.Room> o) { |
| 2543 unittest.expect(o, unittest.hasLength(2)); | 2543 unittest.expect(o, unittest.hasLength(2)); |
| 2544 checkRoom(o[0]); | 2544 checkRoom(o[0]); |
| 2545 checkRoom(o[1]); | 2545 checkRoom(o[1]); |
| 2546 } | 2546 } |
| 2547 | 2547 |
| 2548 core.int buildCounterRoomList = 0; | 2548 core.int buildCounterRoomList = 0; |
| 2549 buildRoomList() { | 2549 buildRoomList() { |
| 2550 var o = new api.RoomList(); | 2550 var o = new api.RoomList(); |
| 2551 buildCounterRoomList++; | 2551 buildCounterRoomList++; |
| 2552 if (buildCounterRoomList < 3) { | 2552 if (buildCounterRoomList < 3) { |
| 2553 o.items = buildUnnamed67(); | 2553 o.items = buildUnnamed85(); |
| 2554 o.kind = "foo"; | 2554 o.kind = "foo"; |
| 2555 o.nextPageToken = "foo"; | 2555 o.nextPageToken = "foo"; |
| 2556 } | 2556 } |
| 2557 buildCounterRoomList--; | 2557 buildCounterRoomList--; |
| 2558 return o; | 2558 return o; |
| 2559 } | 2559 } |
| 2560 | 2560 |
| 2561 checkRoomList(api.RoomList o) { | 2561 checkRoomList(api.RoomList o) { |
| 2562 buildCounterRoomList++; | 2562 buildCounterRoomList++; |
| 2563 if (buildCounterRoomList < 3) { | 2563 if (buildCounterRoomList < 3) { |
| 2564 checkUnnamed67(o.items); | 2564 checkUnnamed85(o.items); |
| 2565 unittest.expect(o.kind, unittest.equals('foo')); | 2565 unittest.expect(o.kind, unittest.equals('foo')); |
| 2566 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2566 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2567 } | 2567 } |
| 2568 buildCounterRoomList--; | 2568 buildCounterRoomList--; |
| 2569 } | 2569 } |
| 2570 | 2570 |
| 2571 core.int buildCounterRoomModification = 0; | 2571 core.int buildCounterRoomModification = 0; |
| 2572 buildRoomModification() { | 2572 buildRoomModification() { |
| 2573 var o = new api.RoomModification(); | 2573 var o = new api.RoomModification(); |
| 2574 buildCounterRoomModification++; | 2574 buildCounterRoomModification++; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2615 unittest.expect(o.error, unittest.equals('foo')); | 2615 unittest.expect(o.error, unittest.equals('foo')); |
| 2616 unittest.expect(o.errorReason, unittest.equals('foo')); | 2616 unittest.expect(o.errorReason, unittest.equals('foo')); |
| 2617 unittest.expect(o.kind, unittest.equals('foo')); | 2617 unittest.expect(o.kind, unittest.equals('foo')); |
| 2618 unittest.expect(o.participantId, unittest.equals('foo')); | 2618 unittest.expect(o.participantId, unittest.equals('foo')); |
| 2619 unittest.expect(o.status, unittest.equals('foo')); | 2619 unittest.expect(o.status, unittest.equals('foo')); |
| 2620 unittest.expect(o.unreliableRoundtripLatencyMillis, unittest.equals(42)); | 2620 unittest.expect(o.unreliableRoundtripLatencyMillis, unittest.equals(42)); |
| 2621 } | 2621 } |
| 2622 buildCounterRoomP2PStatus--; | 2622 buildCounterRoomP2PStatus--; |
| 2623 } | 2623 } |
| 2624 | 2624 |
| 2625 buildUnnamed68() { | 2625 buildUnnamed86() { |
| 2626 var o = new core.List<api.RoomP2PStatus>(); | 2626 var o = new core.List<api.RoomP2PStatus>(); |
| 2627 o.add(buildRoomP2PStatus()); | 2627 o.add(buildRoomP2PStatus()); |
| 2628 o.add(buildRoomP2PStatus()); | 2628 o.add(buildRoomP2PStatus()); |
| 2629 return o; | 2629 return o; |
| 2630 } | 2630 } |
| 2631 | 2631 |
| 2632 checkUnnamed68(core.List<api.RoomP2PStatus> o) { | 2632 checkUnnamed86(core.List<api.RoomP2PStatus> o) { |
| 2633 unittest.expect(o, unittest.hasLength(2)); | 2633 unittest.expect(o, unittest.hasLength(2)); |
| 2634 checkRoomP2PStatus(o[0]); | 2634 checkRoomP2PStatus(o[0]); |
| 2635 checkRoomP2PStatus(o[1]); | 2635 checkRoomP2PStatus(o[1]); |
| 2636 } | 2636 } |
| 2637 | 2637 |
| 2638 core.int buildCounterRoomP2PStatuses = 0; | 2638 core.int buildCounterRoomP2PStatuses = 0; |
| 2639 buildRoomP2PStatuses() { | 2639 buildRoomP2PStatuses() { |
| 2640 var o = new api.RoomP2PStatuses(); | 2640 var o = new api.RoomP2PStatuses(); |
| 2641 buildCounterRoomP2PStatuses++; | 2641 buildCounterRoomP2PStatuses++; |
| 2642 if (buildCounterRoomP2PStatuses < 3) { | 2642 if (buildCounterRoomP2PStatuses < 3) { |
| 2643 o.kind = "foo"; | 2643 o.kind = "foo"; |
| 2644 o.updates = buildUnnamed68(); | 2644 o.updates = buildUnnamed86(); |
| 2645 } | 2645 } |
| 2646 buildCounterRoomP2PStatuses--; | 2646 buildCounterRoomP2PStatuses--; |
| 2647 return o; | 2647 return o; |
| 2648 } | 2648 } |
| 2649 | 2649 |
| 2650 checkRoomP2PStatuses(api.RoomP2PStatuses o) { | 2650 checkRoomP2PStatuses(api.RoomP2PStatuses o) { |
| 2651 buildCounterRoomP2PStatuses++; | 2651 buildCounterRoomP2PStatuses++; |
| 2652 if (buildCounterRoomP2PStatuses < 3) { | 2652 if (buildCounterRoomP2PStatuses < 3) { |
| 2653 unittest.expect(o.kind, unittest.equals('foo')); | 2653 unittest.expect(o.kind, unittest.equals('foo')); |
| 2654 checkUnnamed68(o.updates); | 2654 checkUnnamed86(o.updates); |
| 2655 } | 2655 } |
| 2656 buildCounterRoomP2PStatuses--; | 2656 buildCounterRoomP2PStatuses--; |
| 2657 } | 2657 } |
| 2658 | 2658 |
| 2659 buildUnnamed69() { | 2659 buildUnnamed87() { |
| 2660 var o = new core.List<core.String>(); | 2660 var o = new core.List<core.String>(); |
| 2661 o.add("foo"); | 2661 o.add("foo"); |
| 2662 o.add("foo"); | 2662 o.add("foo"); |
| 2663 return o; | 2663 return o; |
| 2664 } | 2664 } |
| 2665 | 2665 |
| 2666 checkUnnamed69(core.List<core.String> o) { | 2666 checkUnnamed87(core.List<core.String> o) { |
| 2667 unittest.expect(o, unittest.hasLength(2)); | 2667 unittest.expect(o, unittest.hasLength(2)); |
| 2668 unittest.expect(o[0], unittest.equals('foo')); | 2668 unittest.expect(o[0], unittest.equals('foo')); |
| 2669 unittest.expect(o[1], unittest.equals('foo')); | 2669 unittest.expect(o[1], unittest.equals('foo')); |
| 2670 } | 2670 } |
| 2671 | 2671 |
| 2672 core.int buildCounterRoomParticipant = 0; | 2672 core.int buildCounterRoomParticipant = 0; |
| 2673 buildRoomParticipant() { | 2673 buildRoomParticipant() { |
| 2674 var o = new api.RoomParticipant(); | 2674 var o = new api.RoomParticipant(); |
| 2675 buildCounterRoomParticipant++; | 2675 buildCounterRoomParticipant++; |
| 2676 if (buildCounterRoomParticipant < 3) { | 2676 if (buildCounterRoomParticipant < 3) { |
| 2677 o.autoMatched = true; | 2677 o.autoMatched = true; |
| 2678 o.autoMatchedPlayer = buildAnonymousPlayer(); | 2678 o.autoMatchedPlayer = buildAnonymousPlayer(); |
| 2679 o.capabilities = buildUnnamed69(); | 2679 o.capabilities = buildUnnamed87(); |
| 2680 o.clientAddress = buildRoomClientAddress(); | 2680 o.clientAddress = buildRoomClientAddress(); |
| 2681 o.connected = true; | 2681 o.connected = true; |
| 2682 o.id = "foo"; | 2682 o.id = "foo"; |
| 2683 o.kind = "foo"; | 2683 o.kind = "foo"; |
| 2684 o.leaveReason = "foo"; | 2684 o.leaveReason = "foo"; |
| 2685 o.player = buildPlayer(); | 2685 o.player = buildPlayer(); |
| 2686 o.status = "foo"; | 2686 o.status = "foo"; |
| 2687 } | 2687 } |
| 2688 buildCounterRoomParticipant--; | 2688 buildCounterRoomParticipant--; |
| 2689 return o; | 2689 return o; |
| 2690 } | 2690 } |
| 2691 | 2691 |
| 2692 checkRoomParticipant(api.RoomParticipant o) { | 2692 checkRoomParticipant(api.RoomParticipant o) { |
| 2693 buildCounterRoomParticipant++; | 2693 buildCounterRoomParticipant++; |
| 2694 if (buildCounterRoomParticipant < 3) { | 2694 if (buildCounterRoomParticipant < 3) { |
| 2695 unittest.expect(o.autoMatched, unittest.isTrue); | 2695 unittest.expect(o.autoMatched, unittest.isTrue); |
| 2696 checkAnonymousPlayer(o.autoMatchedPlayer); | 2696 checkAnonymousPlayer(o.autoMatchedPlayer); |
| 2697 checkUnnamed69(o.capabilities); | 2697 checkUnnamed87(o.capabilities); |
| 2698 checkRoomClientAddress(o.clientAddress); | 2698 checkRoomClientAddress(o.clientAddress); |
| 2699 unittest.expect(o.connected, unittest.isTrue); | 2699 unittest.expect(o.connected, unittest.isTrue); |
| 2700 unittest.expect(o.id, unittest.equals('foo')); | 2700 unittest.expect(o.id, unittest.equals('foo')); |
| 2701 unittest.expect(o.kind, unittest.equals('foo')); | 2701 unittest.expect(o.kind, unittest.equals('foo')); |
| 2702 unittest.expect(o.leaveReason, unittest.equals('foo')); | 2702 unittest.expect(o.leaveReason, unittest.equals('foo')); |
| 2703 checkPlayer(o.player); | 2703 checkPlayer(o.player); |
| 2704 unittest.expect(o.status, unittest.equals('foo')); | 2704 unittest.expect(o.status, unittest.equals('foo')); |
| 2705 } | 2705 } |
| 2706 buildCounterRoomParticipant--; | 2706 buildCounterRoomParticipant--; |
| 2707 } | 2707 } |
| 2708 | 2708 |
| 2709 buildUnnamed70() { | 2709 buildUnnamed88() { |
| 2710 var o = new core.List<api.RoomParticipant>(); | 2710 var o = new core.List<api.RoomParticipant>(); |
| 2711 o.add(buildRoomParticipant()); | 2711 o.add(buildRoomParticipant()); |
| 2712 o.add(buildRoomParticipant()); | 2712 o.add(buildRoomParticipant()); |
| 2713 return o; | 2713 return o; |
| 2714 } | 2714 } |
| 2715 | 2715 |
| 2716 checkUnnamed70(core.List<api.RoomParticipant> o) { | 2716 checkUnnamed88(core.List<api.RoomParticipant> o) { |
| 2717 unittest.expect(o, unittest.hasLength(2)); | 2717 unittest.expect(o, unittest.hasLength(2)); |
| 2718 checkRoomParticipant(o[0]); | 2718 checkRoomParticipant(o[0]); |
| 2719 checkRoomParticipant(o[1]); | 2719 checkRoomParticipant(o[1]); |
| 2720 } | 2720 } |
| 2721 | 2721 |
| 2722 core.int buildCounterRoomStatus = 0; | 2722 core.int buildCounterRoomStatus = 0; |
| 2723 buildRoomStatus() { | 2723 buildRoomStatus() { |
| 2724 var o = new api.RoomStatus(); | 2724 var o = new api.RoomStatus(); |
| 2725 buildCounterRoomStatus++; | 2725 buildCounterRoomStatus++; |
| 2726 if (buildCounterRoomStatus < 3) { | 2726 if (buildCounterRoomStatus < 3) { |
| 2727 o.autoMatchingStatus = buildRoomAutoMatchStatus(); | 2727 o.autoMatchingStatus = buildRoomAutoMatchStatus(); |
| 2728 o.kind = "foo"; | 2728 o.kind = "foo"; |
| 2729 o.participants = buildUnnamed70(); | 2729 o.participants = buildUnnamed88(); |
| 2730 o.roomId = "foo"; | 2730 o.roomId = "foo"; |
| 2731 o.status = "foo"; | 2731 o.status = "foo"; |
| 2732 o.statusVersion = 42; | 2732 o.statusVersion = 42; |
| 2733 } | 2733 } |
| 2734 buildCounterRoomStatus--; | 2734 buildCounterRoomStatus--; |
| 2735 return o; | 2735 return o; |
| 2736 } | 2736 } |
| 2737 | 2737 |
| 2738 checkRoomStatus(api.RoomStatus o) { | 2738 checkRoomStatus(api.RoomStatus o) { |
| 2739 buildCounterRoomStatus++; | 2739 buildCounterRoomStatus++; |
| 2740 if (buildCounterRoomStatus < 3) { | 2740 if (buildCounterRoomStatus < 3) { |
| 2741 checkRoomAutoMatchStatus(o.autoMatchingStatus); | 2741 checkRoomAutoMatchStatus(o.autoMatchingStatus); |
| 2742 unittest.expect(o.kind, unittest.equals('foo')); | 2742 unittest.expect(o.kind, unittest.equals('foo')); |
| 2743 checkUnnamed70(o.participants); | 2743 checkUnnamed88(o.participants); |
| 2744 unittest.expect(o.roomId, unittest.equals('foo')); | 2744 unittest.expect(o.roomId, unittest.equals('foo')); |
| 2745 unittest.expect(o.status, unittest.equals('foo')); | 2745 unittest.expect(o.status, unittest.equals('foo')); |
| 2746 unittest.expect(o.statusVersion, unittest.equals(42)); | 2746 unittest.expect(o.statusVersion, unittest.equals(42)); |
| 2747 } | 2747 } |
| 2748 buildCounterRoomStatus--; | 2748 buildCounterRoomStatus--; |
| 2749 } | 2749 } |
| 2750 | 2750 |
| 2751 core.int buildCounterScoreSubmission = 0; | 2751 core.int buildCounterScoreSubmission = 0; |
| 2752 buildScoreSubmission() { | 2752 buildScoreSubmission() { |
| 2753 var o = new api.ScoreSubmission(); | 2753 var o = new api.ScoreSubmission(); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2834 if (buildCounterSnapshotImage < 3) { | 2834 if (buildCounterSnapshotImage < 3) { |
| 2835 unittest.expect(o.height, unittest.equals(42)); | 2835 unittest.expect(o.height, unittest.equals(42)); |
| 2836 unittest.expect(o.kind, unittest.equals('foo')); | 2836 unittest.expect(o.kind, unittest.equals('foo')); |
| 2837 unittest.expect(o.mimeType, unittest.equals('foo')); | 2837 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 2838 unittest.expect(o.url, unittest.equals('foo')); | 2838 unittest.expect(o.url, unittest.equals('foo')); |
| 2839 unittest.expect(o.width, unittest.equals(42)); | 2839 unittest.expect(o.width, unittest.equals(42)); |
| 2840 } | 2840 } |
| 2841 buildCounterSnapshotImage--; | 2841 buildCounterSnapshotImage--; |
| 2842 } | 2842 } |
| 2843 | 2843 |
| 2844 buildUnnamed71() { | 2844 buildUnnamed89() { |
| 2845 var o = new core.List<api.Snapshot>(); | 2845 var o = new core.List<api.Snapshot>(); |
| 2846 o.add(buildSnapshot()); | 2846 o.add(buildSnapshot()); |
| 2847 o.add(buildSnapshot()); | 2847 o.add(buildSnapshot()); |
| 2848 return o; | 2848 return o; |
| 2849 } | 2849 } |
| 2850 | 2850 |
| 2851 checkUnnamed71(core.List<api.Snapshot> o) { | 2851 checkUnnamed89(core.List<api.Snapshot> o) { |
| 2852 unittest.expect(o, unittest.hasLength(2)); | 2852 unittest.expect(o, unittest.hasLength(2)); |
| 2853 checkSnapshot(o[0]); | 2853 checkSnapshot(o[0]); |
| 2854 checkSnapshot(o[1]); | 2854 checkSnapshot(o[1]); |
| 2855 } | 2855 } |
| 2856 | 2856 |
| 2857 core.int buildCounterSnapshotListResponse = 0; | 2857 core.int buildCounterSnapshotListResponse = 0; |
| 2858 buildSnapshotListResponse() { | 2858 buildSnapshotListResponse() { |
| 2859 var o = new api.SnapshotListResponse(); | 2859 var o = new api.SnapshotListResponse(); |
| 2860 buildCounterSnapshotListResponse++; | 2860 buildCounterSnapshotListResponse++; |
| 2861 if (buildCounterSnapshotListResponse < 3) { | 2861 if (buildCounterSnapshotListResponse < 3) { |
| 2862 o.items = buildUnnamed71(); | 2862 o.items = buildUnnamed89(); |
| 2863 o.kind = "foo"; | 2863 o.kind = "foo"; |
| 2864 o.nextPageToken = "foo"; | 2864 o.nextPageToken = "foo"; |
| 2865 } | 2865 } |
| 2866 buildCounterSnapshotListResponse--; | 2866 buildCounterSnapshotListResponse--; |
| 2867 return o; | 2867 return o; |
| 2868 } | 2868 } |
| 2869 | 2869 |
| 2870 checkSnapshotListResponse(api.SnapshotListResponse o) { | 2870 checkSnapshotListResponse(api.SnapshotListResponse o) { |
| 2871 buildCounterSnapshotListResponse++; | 2871 buildCounterSnapshotListResponse++; |
| 2872 if (buildCounterSnapshotListResponse < 3) { | 2872 if (buildCounterSnapshotListResponse < 3) { |
| 2873 checkUnnamed71(o.items); | 2873 checkUnnamed89(o.items); |
| 2874 unittest.expect(o.kind, unittest.equals('foo')); | 2874 unittest.expect(o.kind, unittest.equals('foo')); |
| 2875 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2875 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2876 } | 2876 } |
| 2877 buildCounterSnapshotListResponse--; | 2877 buildCounterSnapshotListResponse--; |
| 2878 } | 2878 } |
| 2879 | 2879 |
| 2880 core.int buildCounterTurnBasedAutoMatchingCriteria = 0; | 2880 core.int buildCounterTurnBasedAutoMatchingCriteria = 0; |
| 2881 buildTurnBasedAutoMatchingCriteria() { | 2881 buildTurnBasedAutoMatchingCriteria() { |
| 2882 var o = new api.TurnBasedAutoMatchingCriteria(); | 2882 var o = new api.TurnBasedAutoMatchingCriteria(); |
| 2883 buildCounterTurnBasedAutoMatchingCriteria++; | 2883 buildCounterTurnBasedAutoMatchingCriteria++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2895 buildCounterTurnBasedAutoMatchingCriteria++; | 2895 buildCounterTurnBasedAutoMatchingCriteria++; |
| 2896 if (buildCounterTurnBasedAutoMatchingCriteria < 3) { | 2896 if (buildCounterTurnBasedAutoMatchingCriteria < 3) { |
| 2897 unittest.expect(o.exclusiveBitmask, unittest.equals('foo')); | 2897 unittest.expect(o.exclusiveBitmask, unittest.equals('foo')); |
| 2898 unittest.expect(o.kind, unittest.equals('foo')); | 2898 unittest.expect(o.kind, unittest.equals('foo')); |
| 2899 unittest.expect(o.maxAutoMatchingPlayers, unittest.equals(42)); | 2899 unittest.expect(o.maxAutoMatchingPlayers, unittest.equals(42)); |
| 2900 unittest.expect(o.minAutoMatchingPlayers, unittest.equals(42)); | 2900 unittest.expect(o.minAutoMatchingPlayers, unittest.equals(42)); |
| 2901 } | 2901 } |
| 2902 buildCounterTurnBasedAutoMatchingCriteria--; | 2902 buildCounterTurnBasedAutoMatchingCriteria--; |
| 2903 } | 2903 } |
| 2904 | 2904 |
| 2905 buildUnnamed72() { | 2905 buildUnnamed90() { |
| 2906 var o = new core.List<api.TurnBasedMatchParticipant>(); | 2906 var o = new core.List<api.TurnBasedMatchParticipant>(); |
| 2907 o.add(buildTurnBasedMatchParticipant()); | 2907 o.add(buildTurnBasedMatchParticipant()); |
| 2908 o.add(buildTurnBasedMatchParticipant()); | 2908 o.add(buildTurnBasedMatchParticipant()); |
| 2909 return o; | 2909 return o; |
| 2910 } | 2910 } |
| 2911 | 2911 |
| 2912 checkUnnamed72(core.List<api.TurnBasedMatchParticipant> o) { | 2912 checkUnnamed90(core.List<api.TurnBasedMatchParticipant> o) { |
| 2913 unittest.expect(o, unittest.hasLength(2)); | 2913 unittest.expect(o, unittest.hasLength(2)); |
| 2914 checkTurnBasedMatchParticipant(o[0]); | 2914 checkTurnBasedMatchParticipant(o[0]); |
| 2915 checkTurnBasedMatchParticipant(o[1]); | 2915 checkTurnBasedMatchParticipant(o[1]); |
| 2916 } | 2916 } |
| 2917 | 2917 |
| 2918 buildUnnamed73() { | 2918 buildUnnamed91() { |
| 2919 var o = new core.List<api.ParticipantResult>(); | 2919 var o = new core.List<api.ParticipantResult>(); |
| 2920 o.add(buildParticipantResult()); | 2920 o.add(buildParticipantResult()); |
| 2921 o.add(buildParticipantResult()); | 2921 o.add(buildParticipantResult()); |
| 2922 return o; | 2922 return o; |
| 2923 } | 2923 } |
| 2924 | 2924 |
| 2925 checkUnnamed73(core.List<api.ParticipantResult> o) { | 2925 checkUnnamed91(core.List<api.ParticipantResult> o) { |
| 2926 unittest.expect(o, unittest.hasLength(2)); | 2926 unittest.expect(o, unittest.hasLength(2)); |
| 2927 checkParticipantResult(o[0]); | 2927 checkParticipantResult(o[0]); |
| 2928 checkParticipantResult(o[1]); | 2928 checkParticipantResult(o[1]); |
| 2929 } | 2929 } |
| 2930 | 2930 |
| 2931 core.int buildCounterTurnBasedMatch = 0; | 2931 core.int buildCounterTurnBasedMatch = 0; |
| 2932 buildTurnBasedMatch() { | 2932 buildTurnBasedMatch() { |
| 2933 var o = new api.TurnBasedMatch(); | 2933 var o = new api.TurnBasedMatch(); |
| 2934 buildCounterTurnBasedMatch++; | 2934 buildCounterTurnBasedMatch++; |
| 2935 if (buildCounterTurnBasedMatch < 3) { | 2935 if (buildCounterTurnBasedMatch < 3) { |
| 2936 o.applicationId = "foo"; | 2936 o.applicationId = "foo"; |
| 2937 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); | 2937 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); |
| 2938 o.creationDetails = buildTurnBasedMatchModification(); | 2938 o.creationDetails = buildTurnBasedMatchModification(); |
| 2939 o.data = buildTurnBasedMatchData(); | 2939 o.data = buildTurnBasedMatchData(); |
| 2940 o.description = "foo"; | 2940 o.description = "foo"; |
| 2941 o.inviterId = "foo"; | 2941 o.inviterId = "foo"; |
| 2942 o.kind = "foo"; | 2942 o.kind = "foo"; |
| 2943 o.lastUpdateDetails = buildTurnBasedMatchModification(); | 2943 o.lastUpdateDetails = buildTurnBasedMatchModification(); |
| 2944 o.matchId = "foo"; | 2944 o.matchId = "foo"; |
| 2945 o.matchNumber = 42; | 2945 o.matchNumber = 42; |
| 2946 o.matchVersion = 42; | 2946 o.matchVersion = 42; |
| 2947 o.participants = buildUnnamed72(); | 2947 o.participants = buildUnnamed90(); |
| 2948 o.pendingParticipantId = "foo"; | 2948 o.pendingParticipantId = "foo"; |
| 2949 o.previousMatchData = buildTurnBasedMatchData(); | 2949 o.previousMatchData = buildTurnBasedMatchData(); |
| 2950 o.rematchId = "foo"; | 2950 o.rematchId = "foo"; |
| 2951 o.results = buildUnnamed73(); | 2951 o.results = buildUnnamed91(); |
| 2952 o.status = "foo"; | 2952 o.status = "foo"; |
| 2953 o.userMatchStatus = "foo"; | 2953 o.userMatchStatus = "foo"; |
| 2954 o.variant = 42; | 2954 o.variant = 42; |
| 2955 o.withParticipantId = "foo"; | 2955 o.withParticipantId = "foo"; |
| 2956 } | 2956 } |
| 2957 buildCounterTurnBasedMatch--; | 2957 buildCounterTurnBasedMatch--; |
| 2958 return o; | 2958 return o; |
| 2959 } | 2959 } |
| 2960 | 2960 |
| 2961 checkTurnBasedMatch(api.TurnBasedMatch o) { | 2961 checkTurnBasedMatch(api.TurnBasedMatch o) { |
| 2962 buildCounterTurnBasedMatch++; | 2962 buildCounterTurnBasedMatch++; |
| 2963 if (buildCounterTurnBasedMatch < 3) { | 2963 if (buildCounterTurnBasedMatch < 3) { |
| 2964 unittest.expect(o.applicationId, unittest.equals('foo')); | 2964 unittest.expect(o.applicationId, unittest.equals('foo')); |
| 2965 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); | 2965 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); |
| 2966 checkTurnBasedMatchModification(o.creationDetails); | 2966 checkTurnBasedMatchModification(o.creationDetails); |
| 2967 checkTurnBasedMatchData(o.data); | 2967 checkTurnBasedMatchData(o.data); |
| 2968 unittest.expect(o.description, unittest.equals('foo')); | 2968 unittest.expect(o.description, unittest.equals('foo')); |
| 2969 unittest.expect(o.inviterId, unittest.equals('foo')); | 2969 unittest.expect(o.inviterId, unittest.equals('foo')); |
| 2970 unittest.expect(o.kind, unittest.equals('foo')); | 2970 unittest.expect(o.kind, unittest.equals('foo')); |
| 2971 checkTurnBasedMatchModification(o.lastUpdateDetails); | 2971 checkTurnBasedMatchModification(o.lastUpdateDetails); |
| 2972 unittest.expect(o.matchId, unittest.equals('foo')); | 2972 unittest.expect(o.matchId, unittest.equals('foo')); |
| 2973 unittest.expect(o.matchNumber, unittest.equals(42)); | 2973 unittest.expect(o.matchNumber, unittest.equals(42)); |
| 2974 unittest.expect(o.matchVersion, unittest.equals(42)); | 2974 unittest.expect(o.matchVersion, unittest.equals(42)); |
| 2975 checkUnnamed72(o.participants); | 2975 checkUnnamed90(o.participants); |
| 2976 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); | 2976 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); |
| 2977 checkTurnBasedMatchData(o.previousMatchData); | 2977 checkTurnBasedMatchData(o.previousMatchData); |
| 2978 unittest.expect(o.rematchId, unittest.equals('foo')); | 2978 unittest.expect(o.rematchId, unittest.equals('foo')); |
| 2979 checkUnnamed73(o.results); | 2979 checkUnnamed91(o.results); |
| 2980 unittest.expect(o.status, unittest.equals('foo')); | 2980 unittest.expect(o.status, unittest.equals('foo')); |
| 2981 unittest.expect(o.userMatchStatus, unittest.equals('foo')); | 2981 unittest.expect(o.userMatchStatus, unittest.equals('foo')); |
| 2982 unittest.expect(o.variant, unittest.equals(42)); | 2982 unittest.expect(o.variant, unittest.equals(42)); |
| 2983 unittest.expect(o.withParticipantId, unittest.equals('foo')); | 2983 unittest.expect(o.withParticipantId, unittest.equals('foo')); |
| 2984 } | 2984 } |
| 2985 buildCounterTurnBasedMatch--; | 2985 buildCounterTurnBasedMatch--; |
| 2986 } | 2986 } |
| 2987 | 2987 |
| 2988 buildUnnamed74() { | 2988 buildUnnamed92() { |
| 2989 var o = new core.List<core.String>(); | 2989 var o = new core.List<core.String>(); |
| 2990 o.add("foo"); | 2990 o.add("foo"); |
| 2991 o.add("foo"); | 2991 o.add("foo"); |
| 2992 return o; | 2992 return o; |
| 2993 } | 2993 } |
| 2994 | 2994 |
| 2995 checkUnnamed74(core.List<core.String> o) { | 2995 checkUnnamed92(core.List<core.String> o) { |
| 2996 unittest.expect(o, unittest.hasLength(2)); | 2996 unittest.expect(o, unittest.hasLength(2)); |
| 2997 unittest.expect(o[0], unittest.equals('foo')); | 2997 unittest.expect(o[0], unittest.equals('foo')); |
| 2998 unittest.expect(o[1], unittest.equals('foo')); | 2998 unittest.expect(o[1], unittest.equals('foo')); |
| 2999 } | 2999 } |
| 3000 | 3000 |
| 3001 core.int buildCounterTurnBasedMatchCreateRequest = 0; | 3001 core.int buildCounterTurnBasedMatchCreateRequest = 0; |
| 3002 buildTurnBasedMatchCreateRequest() { | 3002 buildTurnBasedMatchCreateRequest() { |
| 3003 var o = new api.TurnBasedMatchCreateRequest(); | 3003 var o = new api.TurnBasedMatchCreateRequest(); |
| 3004 buildCounterTurnBasedMatchCreateRequest++; | 3004 buildCounterTurnBasedMatchCreateRequest++; |
| 3005 if (buildCounterTurnBasedMatchCreateRequest < 3) { | 3005 if (buildCounterTurnBasedMatchCreateRequest < 3) { |
| 3006 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); | 3006 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); |
| 3007 o.invitedPlayerIds = buildUnnamed74(); | 3007 o.invitedPlayerIds = buildUnnamed92(); |
| 3008 o.kind = "foo"; | 3008 o.kind = "foo"; |
| 3009 o.requestId = "foo"; | 3009 o.requestId = "foo"; |
| 3010 o.variant = 42; | 3010 o.variant = 42; |
| 3011 } | 3011 } |
| 3012 buildCounterTurnBasedMatchCreateRequest--; | 3012 buildCounterTurnBasedMatchCreateRequest--; |
| 3013 return o; | 3013 return o; |
| 3014 } | 3014 } |
| 3015 | 3015 |
| 3016 checkTurnBasedMatchCreateRequest(api.TurnBasedMatchCreateRequest o) { | 3016 checkTurnBasedMatchCreateRequest(api.TurnBasedMatchCreateRequest o) { |
| 3017 buildCounterTurnBasedMatchCreateRequest++; | 3017 buildCounterTurnBasedMatchCreateRequest++; |
| 3018 if (buildCounterTurnBasedMatchCreateRequest < 3) { | 3018 if (buildCounterTurnBasedMatchCreateRequest < 3) { |
| 3019 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); | 3019 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); |
| 3020 checkUnnamed74(o.invitedPlayerIds); | 3020 checkUnnamed92(o.invitedPlayerIds); |
| 3021 unittest.expect(o.kind, unittest.equals('foo')); | 3021 unittest.expect(o.kind, unittest.equals('foo')); |
| 3022 unittest.expect(o.requestId, unittest.equals('foo')); | 3022 unittest.expect(o.requestId, unittest.equals('foo')); |
| 3023 unittest.expect(o.variant, unittest.equals(42)); | 3023 unittest.expect(o.variant, unittest.equals(42)); |
| 3024 } | 3024 } |
| 3025 buildCounterTurnBasedMatchCreateRequest--; | 3025 buildCounterTurnBasedMatchCreateRequest--; |
| 3026 } | 3026 } |
| 3027 | 3027 |
| 3028 core.int buildCounterTurnBasedMatchData = 0; | 3028 core.int buildCounterTurnBasedMatchData = 0; |
| 3029 buildTurnBasedMatchData() { | 3029 buildTurnBasedMatchData() { |
| 3030 var o = new api.TurnBasedMatchData(); | 3030 var o = new api.TurnBasedMatchData(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3062 | 3062 |
| 3063 checkTurnBasedMatchDataRequest(api.TurnBasedMatchDataRequest o) { | 3063 checkTurnBasedMatchDataRequest(api.TurnBasedMatchDataRequest o) { |
| 3064 buildCounterTurnBasedMatchDataRequest++; | 3064 buildCounterTurnBasedMatchDataRequest++; |
| 3065 if (buildCounterTurnBasedMatchDataRequest < 3) { | 3065 if (buildCounterTurnBasedMatchDataRequest < 3) { |
| 3066 unittest.expect(o.data, unittest.equals('foo')); | 3066 unittest.expect(o.data, unittest.equals('foo')); |
| 3067 unittest.expect(o.kind, unittest.equals('foo')); | 3067 unittest.expect(o.kind, unittest.equals('foo')); |
| 3068 } | 3068 } |
| 3069 buildCounterTurnBasedMatchDataRequest--; | 3069 buildCounterTurnBasedMatchDataRequest--; |
| 3070 } | 3070 } |
| 3071 | 3071 |
| 3072 buildUnnamed75() { | 3072 buildUnnamed93() { |
| 3073 var o = new core.List<api.TurnBasedMatch>(); | 3073 var o = new core.List<api.TurnBasedMatch>(); |
| 3074 o.add(buildTurnBasedMatch()); | 3074 o.add(buildTurnBasedMatch()); |
| 3075 o.add(buildTurnBasedMatch()); | 3075 o.add(buildTurnBasedMatch()); |
| 3076 return o; | 3076 return o; |
| 3077 } | 3077 } |
| 3078 | 3078 |
| 3079 checkUnnamed75(core.List<api.TurnBasedMatch> o) { | 3079 checkUnnamed93(core.List<api.TurnBasedMatch> o) { |
| 3080 unittest.expect(o, unittest.hasLength(2)); | 3080 unittest.expect(o, unittest.hasLength(2)); |
| 3081 checkTurnBasedMatch(o[0]); | 3081 checkTurnBasedMatch(o[0]); |
| 3082 checkTurnBasedMatch(o[1]); | 3082 checkTurnBasedMatch(o[1]); |
| 3083 } | 3083 } |
| 3084 | 3084 |
| 3085 core.int buildCounterTurnBasedMatchList = 0; | 3085 core.int buildCounterTurnBasedMatchList = 0; |
| 3086 buildTurnBasedMatchList() { | 3086 buildTurnBasedMatchList() { |
| 3087 var o = new api.TurnBasedMatchList(); | 3087 var o = new api.TurnBasedMatchList(); |
| 3088 buildCounterTurnBasedMatchList++; | 3088 buildCounterTurnBasedMatchList++; |
| 3089 if (buildCounterTurnBasedMatchList < 3) { | 3089 if (buildCounterTurnBasedMatchList < 3) { |
| 3090 o.items = buildUnnamed75(); | 3090 o.items = buildUnnamed93(); |
| 3091 o.kind = "foo"; | 3091 o.kind = "foo"; |
| 3092 o.nextPageToken = "foo"; | 3092 o.nextPageToken = "foo"; |
| 3093 } | 3093 } |
| 3094 buildCounterTurnBasedMatchList--; | 3094 buildCounterTurnBasedMatchList--; |
| 3095 return o; | 3095 return o; |
| 3096 } | 3096 } |
| 3097 | 3097 |
| 3098 checkTurnBasedMatchList(api.TurnBasedMatchList o) { | 3098 checkTurnBasedMatchList(api.TurnBasedMatchList o) { |
| 3099 buildCounterTurnBasedMatchList++; | 3099 buildCounterTurnBasedMatchList++; |
| 3100 if (buildCounterTurnBasedMatchList < 3) { | 3100 if (buildCounterTurnBasedMatchList < 3) { |
| 3101 checkUnnamed75(o.items); | 3101 checkUnnamed93(o.items); |
| 3102 unittest.expect(o.kind, unittest.equals('foo')); | 3102 unittest.expect(o.kind, unittest.equals('foo')); |
| 3103 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3103 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3104 } | 3104 } |
| 3105 buildCounterTurnBasedMatchList--; | 3105 buildCounterTurnBasedMatchList--; |
| 3106 } | 3106 } |
| 3107 | 3107 |
| 3108 core.int buildCounterTurnBasedMatchModification = 0; | 3108 core.int buildCounterTurnBasedMatchModification = 0; |
| 3109 buildTurnBasedMatchModification() { | 3109 buildTurnBasedMatchModification() { |
| 3110 var o = new api.TurnBasedMatchModification(); | 3110 var o = new api.TurnBasedMatchModification(); |
| 3111 buildCounterTurnBasedMatchModification++; | 3111 buildCounterTurnBasedMatchModification++; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3173 checkTurnBasedMatchRematch(api.TurnBasedMatchRematch o) { | 3173 checkTurnBasedMatchRematch(api.TurnBasedMatchRematch o) { |
| 3174 buildCounterTurnBasedMatchRematch++; | 3174 buildCounterTurnBasedMatchRematch++; |
| 3175 if (buildCounterTurnBasedMatchRematch < 3) { | 3175 if (buildCounterTurnBasedMatchRematch < 3) { |
| 3176 unittest.expect(o.kind, unittest.equals('foo')); | 3176 unittest.expect(o.kind, unittest.equals('foo')); |
| 3177 checkTurnBasedMatch(o.previousMatch); | 3177 checkTurnBasedMatch(o.previousMatch); |
| 3178 checkTurnBasedMatch(o.rematch); | 3178 checkTurnBasedMatch(o.rematch); |
| 3179 } | 3179 } |
| 3180 buildCounterTurnBasedMatchRematch--; | 3180 buildCounterTurnBasedMatchRematch--; |
| 3181 } | 3181 } |
| 3182 | 3182 |
| 3183 buildUnnamed76() { | 3183 buildUnnamed94() { |
| 3184 var o = new core.List<api.ParticipantResult>(); | 3184 var o = new core.List<api.ParticipantResult>(); |
| 3185 o.add(buildParticipantResult()); | 3185 o.add(buildParticipantResult()); |
| 3186 o.add(buildParticipantResult()); | 3186 o.add(buildParticipantResult()); |
| 3187 return o; | 3187 return o; |
| 3188 } | 3188 } |
| 3189 | 3189 |
| 3190 checkUnnamed76(core.List<api.ParticipantResult> o) { | 3190 checkUnnamed94(core.List<api.ParticipantResult> o) { |
| 3191 unittest.expect(o, unittest.hasLength(2)); | 3191 unittest.expect(o, unittest.hasLength(2)); |
| 3192 checkParticipantResult(o[0]); | 3192 checkParticipantResult(o[0]); |
| 3193 checkParticipantResult(o[1]); | 3193 checkParticipantResult(o[1]); |
| 3194 } | 3194 } |
| 3195 | 3195 |
| 3196 core.int buildCounterTurnBasedMatchResults = 0; | 3196 core.int buildCounterTurnBasedMatchResults = 0; |
| 3197 buildTurnBasedMatchResults() { | 3197 buildTurnBasedMatchResults() { |
| 3198 var o = new api.TurnBasedMatchResults(); | 3198 var o = new api.TurnBasedMatchResults(); |
| 3199 buildCounterTurnBasedMatchResults++; | 3199 buildCounterTurnBasedMatchResults++; |
| 3200 if (buildCounterTurnBasedMatchResults < 3) { | 3200 if (buildCounterTurnBasedMatchResults < 3) { |
| 3201 o.data = buildTurnBasedMatchDataRequest(); | 3201 o.data = buildTurnBasedMatchDataRequest(); |
| 3202 o.kind = "foo"; | 3202 o.kind = "foo"; |
| 3203 o.matchVersion = 42; | 3203 o.matchVersion = 42; |
| 3204 o.results = buildUnnamed76(); | 3204 o.results = buildUnnamed94(); |
| 3205 } | 3205 } |
| 3206 buildCounterTurnBasedMatchResults--; | 3206 buildCounterTurnBasedMatchResults--; |
| 3207 return o; | 3207 return o; |
| 3208 } | 3208 } |
| 3209 | 3209 |
| 3210 checkTurnBasedMatchResults(api.TurnBasedMatchResults o) { | 3210 checkTurnBasedMatchResults(api.TurnBasedMatchResults o) { |
| 3211 buildCounterTurnBasedMatchResults++; | 3211 buildCounterTurnBasedMatchResults++; |
| 3212 if (buildCounterTurnBasedMatchResults < 3) { | 3212 if (buildCounterTurnBasedMatchResults < 3) { |
| 3213 checkTurnBasedMatchDataRequest(o.data); | 3213 checkTurnBasedMatchDataRequest(o.data); |
| 3214 unittest.expect(o.kind, unittest.equals('foo')); | 3214 unittest.expect(o.kind, unittest.equals('foo')); |
| 3215 unittest.expect(o.matchVersion, unittest.equals(42)); | 3215 unittest.expect(o.matchVersion, unittest.equals(42)); |
| 3216 checkUnnamed76(o.results); | 3216 checkUnnamed94(o.results); |
| 3217 } | 3217 } |
| 3218 buildCounterTurnBasedMatchResults--; | 3218 buildCounterTurnBasedMatchResults--; |
| 3219 } | 3219 } |
| 3220 | 3220 |
| 3221 buildUnnamed77() { | 3221 buildUnnamed95() { |
| 3222 var o = new core.List<api.TurnBasedMatch>(); | 3222 var o = new core.List<api.TurnBasedMatch>(); |
| 3223 o.add(buildTurnBasedMatch()); | 3223 o.add(buildTurnBasedMatch()); |
| 3224 o.add(buildTurnBasedMatch()); | 3224 o.add(buildTurnBasedMatch()); |
| 3225 return o; | 3225 return o; |
| 3226 } | 3226 } |
| 3227 | 3227 |
| 3228 checkUnnamed77(core.List<api.TurnBasedMatch> o) { | 3228 checkUnnamed95(core.List<api.TurnBasedMatch> o) { |
| 3229 unittest.expect(o, unittest.hasLength(2)); | 3229 unittest.expect(o, unittest.hasLength(2)); |
| 3230 checkTurnBasedMatch(o[0]); | 3230 checkTurnBasedMatch(o[0]); |
| 3231 checkTurnBasedMatch(o[1]); | 3231 checkTurnBasedMatch(o[1]); |
| 3232 } | 3232 } |
| 3233 | 3233 |
| 3234 core.int buildCounterTurnBasedMatchSync = 0; | 3234 core.int buildCounterTurnBasedMatchSync = 0; |
| 3235 buildTurnBasedMatchSync() { | 3235 buildTurnBasedMatchSync() { |
| 3236 var o = new api.TurnBasedMatchSync(); | 3236 var o = new api.TurnBasedMatchSync(); |
| 3237 buildCounterTurnBasedMatchSync++; | 3237 buildCounterTurnBasedMatchSync++; |
| 3238 if (buildCounterTurnBasedMatchSync < 3) { | 3238 if (buildCounterTurnBasedMatchSync < 3) { |
| 3239 o.items = buildUnnamed77(); | 3239 o.items = buildUnnamed95(); |
| 3240 o.kind = "foo"; | 3240 o.kind = "foo"; |
| 3241 o.moreAvailable = true; | 3241 o.moreAvailable = true; |
| 3242 o.nextPageToken = "foo"; | 3242 o.nextPageToken = "foo"; |
| 3243 } | 3243 } |
| 3244 buildCounterTurnBasedMatchSync--; | 3244 buildCounterTurnBasedMatchSync--; |
| 3245 return o; | 3245 return o; |
| 3246 } | 3246 } |
| 3247 | 3247 |
| 3248 checkTurnBasedMatchSync(api.TurnBasedMatchSync o) { | 3248 checkTurnBasedMatchSync(api.TurnBasedMatchSync o) { |
| 3249 buildCounterTurnBasedMatchSync++; | 3249 buildCounterTurnBasedMatchSync++; |
| 3250 if (buildCounterTurnBasedMatchSync < 3) { | 3250 if (buildCounterTurnBasedMatchSync < 3) { |
| 3251 checkUnnamed77(o.items); | 3251 checkUnnamed95(o.items); |
| 3252 unittest.expect(o.kind, unittest.equals('foo')); | 3252 unittest.expect(o.kind, unittest.equals('foo')); |
| 3253 unittest.expect(o.moreAvailable, unittest.isTrue); | 3253 unittest.expect(o.moreAvailable, unittest.isTrue); |
| 3254 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3254 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3255 } | 3255 } |
| 3256 buildCounterTurnBasedMatchSync--; | 3256 buildCounterTurnBasedMatchSync--; |
| 3257 } | 3257 } |
| 3258 | 3258 |
| 3259 buildUnnamed78() { | 3259 buildUnnamed96() { |
| 3260 var o = new core.List<api.ParticipantResult>(); | 3260 var o = new core.List<api.ParticipantResult>(); |
| 3261 o.add(buildParticipantResult()); | 3261 o.add(buildParticipantResult()); |
| 3262 o.add(buildParticipantResult()); | 3262 o.add(buildParticipantResult()); |
| 3263 return o; | 3263 return o; |
| 3264 } | 3264 } |
| 3265 | 3265 |
| 3266 checkUnnamed78(core.List<api.ParticipantResult> o) { | 3266 checkUnnamed96(core.List<api.ParticipantResult> o) { |
| 3267 unittest.expect(o, unittest.hasLength(2)); | 3267 unittest.expect(o, unittest.hasLength(2)); |
| 3268 checkParticipantResult(o[0]); | 3268 checkParticipantResult(o[0]); |
| 3269 checkParticipantResult(o[1]); | 3269 checkParticipantResult(o[1]); |
| 3270 } | 3270 } |
| 3271 | 3271 |
| 3272 core.int buildCounterTurnBasedMatchTurn = 0; | 3272 core.int buildCounterTurnBasedMatchTurn = 0; |
| 3273 buildTurnBasedMatchTurn() { | 3273 buildTurnBasedMatchTurn() { |
| 3274 var o = new api.TurnBasedMatchTurn(); | 3274 var o = new api.TurnBasedMatchTurn(); |
| 3275 buildCounterTurnBasedMatchTurn++; | 3275 buildCounterTurnBasedMatchTurn++; |
| 3276 if (buildCounterTurnBasedMatchTurn < 3) { | 3276 if (buildCounterTurnBasedMatchTurn < 3) { |
| 3277 o.data = buildTurnBasedMatchDataRequest(); | 3277 o.data = buildTurnBasedMatchDataRequest(); |
| 3278 o.kind = "foo"; | 3278 o.kind = "foo"; |
| 3279 o.matchVersion = 42; | 3279 o.matchVersion = 42; |
| 3280 o.pendingParticipantId = "foo"; | 3280 o.pendingParticipantId = "foo"; |
| 3281 o.results = buildUnnamed78(); | 3281 o.results = buildUnnamed96(); |
| 3282 } | 3282 } |
| 3283 buildCounterTurnBasedMatchTurn--; | 3283 buildCounterTurnBasedMatchTurn--; |
| 3284 return o; | 3284 return o; |
| 3285 } | 3285 } |
| 3286 | 3286 |
| 3287 checkTurnBasedMatchTurn(api.TurnBasedMatchTurn o) { | 3287 checkTurnBasedMatchTurn(api.TurnBasedMatchTurn o) { |
| 3288 buildCounterTurnBasedMatchTurn++; | 3288 buildCounterTurnBasedMatchTurn++; |
| 3289 if (buildCounterTurnBasedMatchTurn < 3) { | 3289 if (buildCounterTurnBasedMatchTurn < 3) { |
| 3290 checkTurnBasedMatchDataRequest(o.data); | 3290 checkTurnBasedMatchDataRequest(o.data); |
| 3291 unittest.expect(o.kind, unittest.equals('foo')); | 3291 unittest.expect(o.kind, unittest.equals('foo')); |
| 3292 unittest.expect(o.matchVersion, unittest.equals(42)); | 3292 unittest.expect(o.matchVersion, unittest.equals(42)); |
| 3293 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); | 3293 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); |
| 3294 checkUnnamed78(o.results); | 3294 checkUnnamed96(o.results); |
| 3295 } | 3295 } |
| 3296 buildCounterTurnBasedMatchTurn--; | 3296 buildCounterTurnBasedMatchTurn--; |
| 3297 } | 3297 } |
| 3298 | 3298 |
| 3299 | 3299 |
| 3300 main() { | 3300 main() { |
| 3301 unittest.group("obj-schema-AchievementDefinition", () { | 3301 unittest.group("obj-schema-AchievementDefinition", () { |
| 3302 unittest.test("to-json--from-json", () { | 3302 unittest.test("to-json--from-json", () { |
| 3303 var o = buildAchievementDefinition(); | 3303 var o = buildAchievementDefinition(); |
| 3304 var od = new api.AchievementDefinition.fromJson(o.toJson()); | 3304 var od = new api.AchievementDefinition.fromJson(o.toJson()); |
| (...skipping 3945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7250 res.takeTurn(arg_request, arg_matchId, consistencyToken: arg_consistencyTo
ken, language: arg_language).then(unittest.expectAsync(((api.TurnBasedMatch resp
onse) { | 7250 res.takeTurn(arg_request, arg_matchId, consistencyToken: arg_consistencyTo
ken, language: arg_language).then(unittest.expectAsync(((api.TurnBasedMatch resp
onse) { |
| 7251 checkTurnBasedMatch(response); | 7251 checkTurnBasedMatch(response); |
| 7252 }))); | 7252 }))); |
| 7253 }); | 7253 }); |
| 7254 | 7254 |
| 7255 }); | 7255 }); |
| 7256 | 7256 |
| 7257 | 7257 |
| 7258 } | 7258 } |
| 7259 | 7259 |
| OLD | NEW |