| 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 buildUnnamed20() { | 97 buildUnnamed1718() { |
| 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 checkUnnamed20(core.List<api.AchievementDefinition> o) { | 104 checkUnnamed1718(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 = buildUnnamed20(); | 115 o.items = buildUnnamed1718(); |
| 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 checkUnnamed20(o.items); | 126 checkUnnamed1718(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 buildUnnamed21() { | 221 buildUnnamed1719() { |
| 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 checkUnnamed21(core.List<api.AchievementUpdateRequest> o) { | 228 checkUnnamed1719(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 = buildUnnamed21(); | 240 o.updates = buildUnnamed1719(); |
| 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 checkUnnamed21(o.updates); | 250 checkUnnamed1719(o.updates); |
| 251 } | 251 } |
| 252 buildCounterAchievementUpdateMultipleRequest--; | 252 buildCounterAchievementUpdateMultipleRequest--; |
| 253 } | 253 } |
| 254 | 254 |
| 255 buildUnnamed22() { | 255 buildUnnamed1720() { |
| 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 checkUnnamed22(core.List<api.AchievementUpdateResponse> o) { | 262 checkUnnamed1720(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 = buildUnnamed22(); | 274 o.updatedAchievements = buildUnnamed1720(); |
| 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 checkUnnamed22(o.updatedAchievements); | 284 checkUnnamed1720(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 buildUnnamed23() { | 395 buildUnnamed1721() { |
| 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 checkUnnamed23(core.List<api.ImageAsset> o) { | 402 checkUnnamed1721(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 buildUnnamed24() { | 408 buildUnnamed1722() { |
| 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 checkUnnamed24(core.List<core.String> o) { | 415 checkUnnamed1722(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 buildUnnamed25() { | 421 buildUnnamed1723() { |
| 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 checkUnnamed25(core.List<api.Instance> o) { | 428 checkUnnamed1723(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 = buildUnnamed23(); | 440 o.assets = buildUnnamed1721(); |
| 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 = buildUnnamed24(); | 444 o.enabledFeatures = buildUnnamed1722(); |
| 445 o.id = "foo"; | 445 o.id = "foo"; |
| 446 o.instances = buildUnnamed25(); | 446 o.instances = buildUnnamed1723(); |
| 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 checkUnnamed23(o.assets); | 461 checkUnnamed1721(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 checkUnnamed24(o.enabledFeatures); | 465 checkUnnamed1722(o.enabledFeatures); |
| 466 unittest.expect(o.id, unittest.equals('foo')); | 466 unittest.expect(o.id, unittest.equals('foo')); |
| 467 checkUnnamed25(o.instances); | 467 checkUnnamed1723(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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 checkCategory(api.Category o) { | 513 checkCategory(api.Category o) { |
| 514 buildCounterCategory++; | 514 buildCounterCategory++; |
| 515 if (buildCounterCategory < 3) { | 515 if (buildCounterCategory < 3) { |
| 516 unittest.expect(o.category, unittest.equals('foo')); | 516 unittest.expect(o.category, unittest.equals('foo')); |
| 517 unittest.expect(o.experiencePoints, unittest.equals('foo')); | 517 unittest.expect(o.experiencePoints, unittest.equals('foo')); |
| 518 unittest.expect(o.kind, unittest.equals('foo')); | 518 unittest.expect(o.kind, unittest.equals('foo')); |
| 519 } | 519 } |
| 520 buildCounterCategory--; | 520 buildCounterCategory--; |
| 521 } | 521 } |
| 522 | 522 |
| 523 buildUnnamed26() { | 523 buildUnnamed1724() { |
| 524 var o = new core.List<api.Category>(); | 524 var o = new core.List<api.Category>(); |
| 525 o.add(buildCategory()); | 525 o.add(buildCategory()); |
| 526 o.add(buildCategory()); | 526 o.add(buildCategory()); |
| 527 return o; | 527 return o; |
| 528 } | 528 } |
| 529 | 529 |
| 530 checkUnnamed26(core.List<api.Category> o) { | 530 checkUnnamed1724(core.List<api.Category> o) { |
| 531 unittest.expect(o, unittest.hasLength(2)); | 531 unittest.expect(o, unittest.hasLength(2)); |
| 532 checkCategory(o[0]); | 532 checkCategory(o[0]); |
| 533 checkCategory(o[1]); | 533 checkCategory(o[1]); |
| 534 } | 534 } |
| 535 | 535 |
| 536 core.int buildCounterCategoryListResponse = 0; | 536 core.int buildCounterCategoryListResponse = 0; |
| 537 buildCategoryListResponse() { | 537 buildCategoryListResponse() { |
| 538 var o = new api.CategoryListResponse(); | 538 var o = new api.CategoryListResponse(); |
| 539 buildCounterCategoryListResponse++; | 539 buildCounterCategoryListResponse++; |
| 540 if (buildCounterCategoryListResponse < 3) { | 540 if (buildCounterCategoryListResponse < 3) { |
| 541 o.items = buildUnnamed26(); | 541 o.items = buildUnnamed1724(); |
| 542 o.kind = "foo"; | 542 o.kind = "foo"; |
| 543 o.nextPageToken = "foo"; | 543 o.nextPageToken = "foo"; |
| 544 } | 544 } |
| 545 buildCounterCategoryListResponse--; | 545 buildCounterCategoryListResponse--; |
| 546 return o; | 546 return o; |
| 547 } | 547 } |
| 548 | 548 |
| 549 checkCategoryListResponse(api.CategoryListResponse o) { | 549 checkCategoryListResponse(api.CategoryListResponse o) { |
| 550 buildCounterCategoryListResponse++; | 550 buildCounterCategoryListResponse++; |
| 551 if (buildCounterCategoryListResponse < 3) { | 551 if (buildCounterCategoryListResponse < 3) { |
| 552 checkUnnamed26(o.items); | 552 checkUnnamed1724(o.items); |
| 553 unittest.expect(o.kind, unittest.equals('foo')); | 553 unittest.expect(o.kind, unittest.equals('foo')); |
| 554 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 554 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 555 } | 555 } |
| 556 buildCounterCategoryListResponse--; | 556 buildCounterCategoryListResponse--; |
| 557 } | 557 } |
| 558 | 558 |
| 559 core.int buildCounterEventBatchRecordFailure = 0; | 559 core.int buildCounterEventBatchRecordFailure = 0; |
| 560 buildEventBatchRecordFailure() { | 560 buildEventBatchRecordFailure() { |
| 561 var o = new api.EventBatchRecordFailure(); | 561 var o = new api.EventBatchRecordFailure(); |
| 562 buildCounterEventBatchRecordFailure++; | 562 buildCounterEventBatchRecordFailure++; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 593 | 593 |
| 594 checkEventChild(api.EventChild o) { | 594 checkEventChild(api.EventChild o) { |
| 595 buildCounterEventChild++; | 595 buildCounterEventChild++; |
| 596 if (buildCounterEventChild < 3) { | 596 if (buildCounterEventChild < 3) { |
| 597 unittest.expect(o.childId, unittest.equals('foo')); | 597 unittest.expect(o.childId, unittest.equals('foo')); |
| 598 unittest.expect(o.kind, unittest.equals('foo')); | 598 unittest.expect(o.kind, unittest.equals('foo')); |
| 599 } | 599 } |
| 600 buildCounterEventChild--; | 600 buildCounterEventChild--; |
| 601 } | 601 } |
| 602 | 602 |
| 603 buildUnnamed27() { | 603 buildUnnamed1725() { |
| 604 var o = new core.List<api.EventChild>(); | 604 var o = new core.List<api.EventChild>(); |
| 605 o.add(buildEventChild()); | 605 o.add(buildEventChild()); |
| 606 o.add(buildEventChild()); | 606 o.add(buildEventChild()); |
| 607 return o; | 607 return o; |
| 608 } | 608 } |
| 609 | 609 |
| 610 checkUnnamed27(core.List<api.EventChild> o) { | 610 checkUnnamed1725(core.List<api.EventChild> o) { |
| 611 unittest.expect(o, unittest.hasLength(2)); | 611 unittest.expect(o, unittest.hasLength(2)); |
| 612 checkEventChild(o[0]); | 612 checkEventChild(o[0]); |
| 613 checkEventChild(o[1]); | 613 checkEventChild(o[1]); |
| 614 } | 614 } |
| 615 | 615 |
| 616 core.int buildCounterEventDefinition = 0; | 616 core.int buildCounterEventDefinition = 0; |
| 617 buildEventDefinition() { | 617 buildEventDefinition() { |
| 618 var o = new api.EventDefinition(); | 618 var o = new api.EventDefinition(); |
| 619 buildCounterEventDefinition++; | 619 buildCounterEventDefinition++; |
| 620 if (buildCounterEventDefinition < 3) { | 620 if (buildCounterEventDefinition < 3) { |
| 621 o.childEvents = buildUnnamed27(); | 621 o.childEvents = buildUnnamed1725(); |
| 622 o.description = "foo"; | 622 o.description = "foo"; |
| 623 o.displayName = "foo"; | 623 o.displayName = "foo"; |
| 624 o.id = "foo"; | 624 o.id = "foo"; |
| 625 o.imageUrl = "foo"; | 625 o.imageUrl = "foo"; |
| 626 o.isDefaultImageUrl = true; | 626 o.isDefaultImageUrl = true; |
| 627 o.kind = "foo"; | 627 o.kind = "foo"; |
| 628 o.visibility = "foo"; | 628 o.visibility = "foo"; |
| 629 } | 629 } |
| 630 buildCounterEventDefinition--; | 630 buildCounterEventDefinition--; |
| 631 return o; | 631 return o; |
| 632 } | 632 } |
| 633 | 633 |
| 634 checkEventDefinition(api.EventDefinition o) { | 634 checkEventDefinition(api.EventDefinition o) { |
| 635 buildCounterEventDefinition++; | 635 buildCounterEventDefinition++; |
| 636 if (buildCounterEventDefinition < 3) { | 636 if (buildCounterEventDefinition < 3) { |
| 637 checkUnnamed27(o.childEvents); | 637 checkUnnamed1725(o.childEvents); |
| 638 unittest.expect(o.description, unittest.equals('foo')); | 638 unittest.expect(o.description, unittest.equals('foo')); |
| 639 unittest.expect(o.displayName, unittest.equals('foo')); | 639 unittest.expect(o.displayName, unittest.equals('foo')); |
| 640 unittest.expect(o.id, unittest.equals('foo')); | 640 unittest.expect(o.id, unittest.equals('foo')); |
| 641 unittest.expect(o.imageUrl, unittest.equals('foo')); | 641 unittest.expect(o.imageUrl, unittest.equals('foo')); |
| 642 unittest.expect(o.isDefaultImageUrl, unittest.isTrue); | 642 unittest.expect(o.isDefaultImageUrl, unittest.isTrue); |
| 643 unittest.expect(o.kind, unittest.equals('foo')); | 643 unittest.expect(o.kind, unittest.equals('foo')); |
| 644 unittest.expect(o.visibility, unittest.equals('foo')); | 644 unittest.expect(o.visibility, unittest.equals('foo')); |
| 645 } | 645 } |
| 646 buildCounterEventDefinition--; | 646 buildCounterEventDefinition--; |
| 647 } | 647 } |
| 648 | 648 |
| 649 buildUnnamed28() { | 649 buildUnnamed1726() { |
| 650 var o = new core.List<api.EventDefinition>(); | 650 var o = new core.List<api.EventDefinition>(); |
| 651 o.add(buildEventDefinition()); | 651 o.add(buildEventDefinition()); |
| 652 o.add(buildEventDefinition()); | 652 o.add(buildEventDefinition()); |
| 653 return o; | 653 return o; |
| 654 } | 654 } |
| 655 | 655 |
| 656 checkUnnamed28(core.List<api.EventDefinition> o) { | 656 checkUnnamed1726(core.List<api.EventDefinition> o) { |
| 657 unittest.expect(o, unittest.hasLength(2)); | 657 unittest.expect(o, unittest.hasLength(2)); |
| 658 checkEventDefinition(o[0]); | 658 checkEventDefinition(o[0]); |
| 659 checkEventDefinition(o[1]); | 659 checkEventDefinition(o[1]); |
| 660 } | 660 } |
| 661 | 661 |
| 662 core.int buildCounterEventDefinitionListResponse = 0; | 662 core.int buildCounterEventDefinitionListResponse = 0; |
| 663 buildEventDefinitionListResponse() { | 663 buildEventDefinitionListResponse() { |
| 664 var o = new api.EventDefinitionListResponse(); | 664 var o = new api.EventDefinitionListResponse(); |
| 665 buildCounterEventDefinitionListResponse++; | 665 buildCounterEventDefinitionListResponse++; |
| 666 if (buildCounterEventDefinitionListResponse < 3) { | 666 if (buildCounterEventDefinitionListResponse < 3) { |
| 667 o.items = buildUnnamed28(); | 667 o.items = buildUnnamed1726(); |
| 668 o.kind = "foo"; | 668 o.kind = "foo"; |
| 669 o.nextPageToken = "foo"; | 669 o.nextPageToken = "foo"; |
| 670 } | 670 } |
| 671 buildCounterEventDefinitionListResponse--; | 671 buildCounterEventDefinitionListResponse--; |
| 672 return o; | 672 return o; |
| 673 } | 673 } |
| 674 | 674 |
| 675 checkEventDefinitionListResponse(api.EventDefinitionListResponse o) { | 675 checkEventDefinitionListResponse(api.EventDefinitionListResponse o) { |
| 676 buildCounterEventDefinitionListResponse++; | 676 buildCounterEventDefinitionListResponse++; |
| 677 if (buildCounterEventDefinitionListResponse < 3) { | 677 if (buildCounterEventDefinitionListResponse < 3) { |
| 678 checkUnnamed28(o.items); | 678 checkUnnamed1726(o.items); |
| 679 unittest.expect(o.kind, unittest.equals('foo')); | 679 unittest.expect(o.kind, unittest.equals('foo')); |
| 680 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 680 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 681 } | 681 } |
| 682 buildCounterEventDefinitionListResponse--; | 682 buildCounterEventDefinitionListResponse--; |
| 683 } | 683 } |
| 684 | 684 |
| 685 core.int buildCounterEventPeriodRange = 0; | 685 core.int buildCounterEventPeriodRange = 0; |
| 686 buildEventPeriodRange() { | 686 buildEventPeriodRange() { |
| 687 var o = new api.EventPeriodRange(); | 687 var o = new api.EventPeriodRange(); |
| 688 buildCounterEventPeriodRange++; | 688 buildCounterEventPeriodRange++; |
| 689 if (buildCounterEventPeriodRange < 3) { | 689 if (buildCounterEventPeriodRange < 3) { |
| 690 o.kind = "foo"; | 690 o.kind = "foo"; |
| 691 o.periodEndMillis = "foo"; | 691 o.periodEndMillis = "foo"; |
| 692 o.periodStartMillis = "foo"; | 692 o.periodStartMillis = "foo"; |
| 693 } | 693 } |
| 694 buildCounterEventPeriodRange--; | 694 buildCounterEventPeriodRange--; |
| 695 return o; | 695 return o; |
| 696 } | 696 } |
| 697 | 697 |
| 698 checkEventPeriodRange(api.EventPeriodRange o) { | 698 checkEventPeriodRange(api.EventPeriodRange o) { |
| 699 buildCounterEventPeriodRange++; | 699 buildCounterEventPeriodRange++; |
| 700 if (buildCounterEventPeriodRange < 3) { | 700 if (buildCounterEventPeriodRange < 3) { |
| 701 unittest.expect(o.kind, unittest.equals('foo')); | 701 unittest.expect(o.kind, unittest.equals('foo')); |
| 702 unittest.expect(o.periodEndMillis, unittest.equals('foo')); | 702 unittest.expect(o.periodEndMillis, unittest.equals('foo')); |
| 703 unittest.expect(o.periodStartMillis, unittest.equals('foo')); | 703 unittest.expect(o.periodStartMillis, unittest.equals('foo')); |
| 704 } | 704 } |
| 705 buildCounterEventPeriodRange--; | 705 buildCounterEventPeriodRange--; |
| 706 } | 706 } |
| 707 | 707 |
| 708 buildUnnamed29() { | 708 buildUnnamed1727() { |
| 709 var o = new core.List<api.EventUpdateRequest>(); | 709 var o = new core.List<api.EventUpdateRequest>(); |
| 710 o.add(buildEventUpdateRequest()); | 710 o.add(buildEventUpdateRequest()); |
| 711 o.add(buildEventUpdateRequest()); | 711 o.add(buildEventUpdateRequest()); |
| 712 return o; | 712 return o; |
| 713 } | 713 } |
| 714 | 714 |
| 715 checkUnnamed29(core.List<api.EventUpdateRequest> o) { | 715 checkUnnamed1727(core.List<api.EventUpdateRequest> o) { |
| 716 unittest.expect(o, unittest.hasLength(2)); | 716 unittest.expect(o, unittest.hasLength(2)); |
| 717 checkEventUpdateRequest(o[0]); | 717 checkEventUpdateRequest(o[0]); |
| 718 checkEventUpdateRequest(o[1]); | 718 checkEventUpdateRequest(o[1]); |
| 719 } | 719 } |
| 720 | 720 |
| 721 core.int buildCounterEventPeriodUpdate = 0; | 721 core.int buildCounterEventPeriodUpdate = 0; |
| 722 buildEventPeriodUpdate() { | 722 buildEventPeriodUpdate() { |
| 723 var o = new api.EventPeriodUpdate(); | 723 var o = new api.EventPeriodUpdate(); |
| 724 buildCounterEventPeriodUpdate++; | 724 buildCounterEventPeriodUpdate++; |
| 725 if (buildCounterEventPeriodUpdate < 3) { | 725 if (buildCounterEventPeriodUpdate < 3) { |
| 726 o.kind = "foo"; | 726 o.kind = "foo"; |
| 727 o.timePeriod = buildEventPeriodRange(); | 727 o.timePeriod = buildEventPeriodRange(); |
| 728 o.updates = buildUnnamed29(); | 728 o.updates = buildUnnamed1727(); |
| 729 } | 729 } |
| 730 buildCounterEventPeriodUpdate--; | 730 buildCounterEventPeriodUpdate--; |
| 731 return o; | 731 return o; |
| 732 } | 732 } |
| 733 | 733 |
| 734 checkEventPeriodUpdate(api.EventPeriodUpdate o) { | 734 checkEventPeriodUpdate(api.EventPeriodUpdate o) { |
| 735 buildCounterEventPeriodUpdate++; | 735 buildCounterEventPeriodUpdate++; |
| 736 if (buildCounterEventPeriodUpdate < 3) { | 736 if (buildCounterEventPeriodUpdate < 3) { |
| 737 unittest.expect(o.kind, unittest.equals('foo')); | 737 unittest.expect(o.kind, unittest.equals('foo')); |
| 738 checkEventPeriodRange(o.timePeriod); | 738 checkEventPeriodRange(o.timePeriod); |
| 739 checkUnnamed29(o.updates); | 739 checkUnnamed1727(o.updates); |
| 740 } | 740 } |
| 741 buildCounterEventPeriodUpdate--; | 741 buildCounterEventPeriodUpdate--; |
| 742 } | 742 } |
| 743 | 743 |
| 744 core.int buildCounterEventRecordFailure = 0; | 744 core.int buildCounterEventRecordFailure = 0; |
| 745 buildEventRecordFailure() { | 745 buildEventRecordFailure() { |
| 746 var o = new api.EventRecordFailure(); | 746 var o = new api.EventRecordFailure(); |
| 747 buildCounterEventRecordFailure++; | 747 buildCounterEventRecordFailure++; |
| 748 if (buildCounterEventRecordFailure < 3) { | 748 if (buildCounterEventRecordFailure < 3) { |
| 749 o.eventId = "foo"; | 749 o.eventId = "foo"; |
| 750 o.failureCause = "foo"; | 750 o.failureCause = "foo"; |
| 751 o.kind = "foo"; | 751 o.kind = "foo"; |
| 752 } | 752 } |
| 753 buildCounterEventRecordFailure--; | 753 buildCounterEventRecordFailure--; |
| 754 return o; | 754 return o; |
| 755 } | 755 } |
| 756 | 756 |
| 757 checkEventRecordFailure(api.EventRecordFailure o) { | 757 checkEventRecordFailure(api.EventRecordFailure o) { |
| 758 buildCounterEventRecordFailure++; | 758 buildCounterEventRecordFailure++; |
| 759 if (buildCounterEventRecordFailure < 3) { | 759 if (buildCounterEventRecordFailure < 3) { |
| 760 unittest.expect(o.eventId, unittest.equals('foo')); | 760 unittest.expect(o.eventId, unittest.equals('foo')); |
| 761 unittest.expect(o.failureCause, unittest.equals('foo')); | 761 unittest.expect(o.failureCause, unittest.equals('foo')); |
| 762 unittest.expect(o.kind, unittest.equals('foo')); | 762 unittest.expect(o.kind, unittest.equals('foo')); |
| 763 } | 763 } |
| 764 buildCounterEventRecordFailure--; | 764 buildCounterEventRecordFailure--; |
| 765 } | 765 } |
| 766 | 766 |
| 767 buildUnnamed30() { | 767 buildUnnamed1728() { |
| 768 var o = new core.List<api.EventPeriodUpdate>(); | 768 var o = new core.List<api.EventPeriodUpdate>(); |
| 769 o.add(buildEventPeriodUpdate()); | 769 o.add(buildEventPeriodUpdate()); |
| 770 o.add(buildEventPeriodUpdate()); | 770 o.add(buildEventPeriodUpdate()); |
| 771 return o; | 771 return o; |
| 772 } | 772 } |
| 773 | 773 |
| 774 checkUnnamed30(core.List<api.EventPeriodUpdate> o) { | 774 checkUnnamed1728(core.List<api.EventPeriodUpdate> o) { |
| 775 unittest.expect(o, unittest.hasLength(2)); | 775 unittest.expect(o, unittest.hasLength(2)); |
| 776 checkEventPeriodUpdate(o[0]); | 776 checkEventPeriodUpdate(o[0]); |
| 777 checkEventPeriodUpdate(o[1]); | 777 checkEventPeriodUpdate(o[1]); |
| 778 } | 778 } |
| 779 | 779 |
| 780 core.int buildCounterEventRecordRequest = 0; | 780 core.int buildCounterEventRecordRequest = 0; |
| 781 buildEventRecordRequest() { | 781 buildEventRecordRequest() { |
| 782 var o = new api.EventRecordRequest(); | 782 var o = new api.EventRecordRequest(); |
| 783 buildCounterEventRecordRequest++; | 783 buildCounterEventRecordRequest++; |
| 784 if (buildCounterEventRecordRequest < 3) { | 784 if (buildCounterEventRecordRequest < 3) { |
| 785 o.currentTimeMillis = "foo"; | 785 o.currentTimeMillis = "foo"; |
| 786 o.kind = "foo"; | 786 o.kind = "foo"; |
| 787 o.requestId = "foo"; | 787 o.requestId = "foo"; |
| 788 o.timePeriods = buildUnnamed30(); | 788 o.timePeriods = buildUnnamed1728(); |
| 789 } | 789 } |
| 790 buildCounterEventRecordRequest--; | 790 buildCounterEventRecordRequest--; |
| 791 return o; | 791 return o; |
| 792 } | 792 } |
| 793 | 793 |
| 794 checkEventRecordRequest(api.EventRecordRequest o) { | 794 checkEventRecordRequest(api.EventRecordRequest o) { |
| 795 buildCounterEventRecordRequest++; | 795 buildCounterEventRecordRequest++; |
| 796 if (buildCounterEventRecordRequest < 3) { | 796 if (buildCounterEventRecordRequest < 3) { |
| 797 unittest.expect(o.currentTimeMillis, unittest.equals('foo')); | 797 unittest.expect(o.currentTimeMillis, unittest.equals('foo')); |
| 798 unittest.expect(o.kind, unittest.equals('foo')); | 798 unittest.expect(o.kind, unittest.equals('foo')); |
| 799 unittest.expect(o.requestId, unittest.equals('foo')); | 799 unittest.expect(o.requestId, unittest.equals('foo')); |
| 800 checkUnnamed30(o.timePeriods); | 800 checkUnnamed1728(o.timePeriods); |
| 801 } | 801 } |
| 802 buildCounterEventRecordRequest--; | 802 buildCounterEventRecordRequest--; |
| 803 } | 803 } |
| 804 | 804 |
| 805 core.int buildCounterEventUpdateRequest = 0; | 805 core.int buildCounterEventUpdateRequest = 0; |
| 806 buildEventUpdateRequest() { | 806 buildEventUpdateRequest() { |
| 807 var o = new api.EventUpdateRequest(); | 807 var o = new api.EventUpdateRequest(); |
| 808 buildCounterEventUpdateRequest++; | 808 buildCounterEventUpdateRequest++; |
| 809 if (buildCounterEventUpdateRequest < 3) { | 809 if (buildCounterEventUpdateRequest < 3) { |
| 810 o.definitionId = "foo"; | 810 o.definitionId = "foo"; |
| 811 o.kind = "foo"; | 811 o.kind = "foo"; |
| 812 o.updateCount = "foo"; | 812 o.updateCount = "foo"; |
| 813 } | 813 } |
| 814 buildCounterEventUpdateRequest--; | 814 buildCounterEventUpdateRequest--; |
| 815 return o; | 815 return o; |
| 816 } | 816 } |
| 817 | 817 |
| 818 checkEventUpdateRequest(api.EventUpdateRequest o) { | 818 checkEventUpdateRequest(api.EventUpdateRequest o) { |
| 819 buildCounterEventUpdateRequest++; | 819 buildCounterEventUpdateRequest++; |
| 820 if (buildCounterEventUpdateRequest < 3) { | 820 if (buildCounterEventUpdateRequest < 3) { |
| 821 unittest.expect(o.definitionId, unittest.equals('foo')); | 821 unittest.expect(o.definitionId, unittest.equals('foo')); |
| 822 unittest.expect(o.kind, unittest.equals('foo')); | 822 unittest.expect(o.kind, unittest.equals('foo')); |
| 823 unittest.expect(o.updateCount, unittest.equals('foo')); | 823 unittest.expect(o.updateCount, unittest.equals('foo')); |
| 824 } | 824 } |
| 825 buildCounterEventUpdateRequest--; | 825 buildCounterEventUpdateRequest--; |
| 826 } | 826 } |
| 827 | 827 |
| 828 buildUnnamed31() { | 828 buildUnnamed1729() { |
| 829 var o = new core.List<api.EventBatchRecordFailure>(); | 829 var o = new core.List<api.EventBatchRecordFailure>(); |
| 830 o.add(buildEventBatchRecordFailure()); | 830 o.add(buildEventBatchRecordFailure()); |
| 831 o.add(buildEventBatchRecordFailure()); | 831 o.add(buildEventBatchRecordFailure()); |
| 832 return o; | 832 return o; |
| 833 } | 833 } |
| 834 | 834 |
| 835 checkUnnamed31(core.List<api.EventBatchRecordFailure> o) { | 835 checkUnnamed1729(core.List<api.EventBatchRecordFailure> o) { |
| 836 unittest.expect(o, unittest.hasLength(2)); | 836 unittest.expect(o, unittest.hasLength(2)); |
| 837 checkEventBatchRecordFailure(o[0]); | 837 checkEventBatchRecordFailure(o[0]); |
| 838 checkEventBatchRecordFailure(o[1]); | 838 checkEventBatchRecordFailure(o[1]); |
| 839 } | 839 } |
| 840 | 840 |
| 841 buildUnnamed32() { | 841 buildUnnamed1730() { |
| 842 var o = new core.List<api.EventRecordFailure>(); | 842 var o = new core.List<api.EventRecordFailure>(); |
| 843 o.add(buildEventRecordFailure()); | 843 o.add(buildEventRecordFailure()); |
| 844 o.add(buildEventRecordFailure()); | 844 o.add(buildEventRecordFailure()); |
| 845 return o; | 845 return o; |
| 846 } | 846 } |
| 847 | 847 |
| 848 checkUnnamed32(core.List<api.EventRecordFailure> o) { | 848 checkUnnamed1730(core.List<api.EventRecordFailure> o) { |
| 849 unittest.expect(o, unittest.hasLength(2)); | 849 unittest.expect(o, unittest.hasLength(2)); |
| 850 checkEventRecordFailure(o[0]); | 850 checkEventRecordFailure(o[0]); |
| 851 checkEventRecordFailure(o[1]); | 851 checkEventRecordFailure(o[1]); |
| 852 } | 852 } |
| 853 | 853 |
| 854 buildUnnamed33() { | 854 buildUnnamed1731() { |
| 855 var o = new core.List<api.PlayerEvent>(); | 855 var o = new core.List<api.PlayerEvent>(); |
| 856 o.add(buildPlayerEvent()); | 856 o.add(buildPlayerEvent()); |
| 857 o.add(buildPlayerEvent()); | 857 o.add(buildPlayerEvent()); |
| 858 return o; | 858 return o; |
| 859 } | 859 } |
| 860 | 860 |
| 861 checkUnnamed33(core.List<api.PlayerEvent> o) { | 861 checkUnnamed1731(core.List<api.PlayerEvent> o) { |
| 862 unittest.expect(o, unittest.hasLength(2)); | 862 unittest.expect(o, unittest.hasLength(2)); |
| 863 checkPlayerEvent(o[0]); | 863 checkPlayerEvent(o[0]); |
| 864 checkPlayerEvent(o[1]); | 864 checkPlayerEvent(o[1]); |
| 865 } | 865 } |
| 866 | 866 |
| 867 core.int buildCounterEventUpdateResponse = 0; | 867 core.int buildCounterEventUpdateResponse = 0; |
| 868 buildEventUpdateResponse() { | 868 buildEventUpdateResponse() { |
| 869 var o = new api.EventUpdateResponse(); | 869 var o = new api.EventUpdateResponse(); |
| 870 buildCounterEventUpdateResponse++; | 870 buildCounterEventUpdateResponse++; |
| 871 if (buildCounterEventUpdateResponse < 3) { | 871 if (buildCounterEventUpdateResponse < 3) { |
| 872 o.batchFailures = buildUnnamed31(); | 872 o.batchFailures = buildUnnamed1729(); |
| 873 o.eventFailures = buildUnnamed32(); | 873 o.eventFailures = buildUnnamed1730(); |
| 874 o.kind = "foo"; | 874 o.kind = "foo"; |
| 875 o.playerEvents = buildUnnamed33(); | 875 o.playerEvents = buildUnnamed1731(); |
| 876 } | 876 } |
| 877 buildCounterEventUpdateResponse--; | 877 buildCounterEventUpdateResponse--; |
| 878 return o; | 878 return o; |
| 879 } | 879 } |
| 880 | 880 |
| 881 checkEventUpdateResponse(api.EventUpdateResponse o) { | 881 checkEventUpdateResponse(api.EventUpdateResponse o) { |
| 882 buildCounterEventUpdateResponse++; | 882 buildCounterEventUpdateResponse++; |
| 883 if (buildCounterEventUpdateResponse < 3) { | 883 if (buildCounterEventUpdateResponse < 3) { |
| 884 checkUnnamed31(o.batchFailures); | 884 checkUnnamed1729(o.batchFailures); |
| 885 checkUnnamed32(o.eventFailures); | 885 checkUnnamed1730(o.eventFailures); |
| 886 unittest.expect(o.kind, unittest.equals('foo')); | 886 unittest.expect(o.kind, unittest.equals('foo')); |
| 887 checkUnnamed33(o.playerEvents); | 887 checkUnnamed1731(o.playerEvents); |
| 888 } | 888 } |
| 889 buildCounterEventUpdateResponse--; | 889 buildCounterEventUpdateResponse--; |
| 890 } | 890 } |
| 891 | 891 |
| 892 core.int buildCounterGamesAchievementIncrement = 0; | 892 core.int buildCounterGamesAchievementIncrement = 0; |
| 893 buildGamesAchievementIncrement() { | 893 buildGamesAchievementIncrement() { |
| 894 var o = new api.GamesAchievementIncrement(); | 894 var o = new api.GamesAchievementIncrement(); |
| 895 buildCounterGamesAchievementIncrement++; | 895 buildCounterGamesAchievementIncrement++; |
| 896 if (buildCounterGamesAchievementIncrement < 3) { | 896 if (buildCounterGamesAchievementIncrement < 3) { |
| 897 o.kind = "foo"; | 897 o.kind = "foo"; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 checkPlayer(o.player); | 1131 checkPlayer(o.player); |
| 1132 unittest.expect(o.scoreRank, unittest.equals('foo')); | 1132 unittest.expect(o.scoreRank, unittest.equals('foo')); |
| 1133 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1133 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1134 unittest.expect(o.scoreValue, unittest.equals('foo')); | 1134 unittest.expect(o.scoreValue, unittest.equals('foo')); |
| 1135 unittest.expect(o.timeSpan, unittest.equals('foo')); | 1135 unittest.expect(o.timeSpan, unittest.equals('foo')); |
| 1136 unittest.expect(o.writeTimestampMillis, unittest.equals('foo')); | 1136 unittest.expect(o.writeTimestampMillis, unittest.equals('foo')); |
| 1137 } | 1137 } |
| 1138 buildCounterLeaderboardEntry--; | 1138 buildCounterLeaderboardEntry--; |
| 1139 } | 1139 } |
| 1140 | 1140 |
| 1141 buildUnnamed34() { | 1141 buildUnnamed1732() { |
| 1142 var o = new core.List<api.Leaderboard>(); | 1142 var o = new core.List<api.Leaderboard>(); |
| 1143 o.add(buildLeaderboard()); | 1143 o.add(buildLeaderboard()); |
| 1144 o.add(buildLeaderboard()); | 1144 o.add(buildLeaderboard()); |
| 1145 return o; | 1145 return o; |
| 1146 } | 1146 } |
| 1147 | 1147 |
| 1148 checkUnnamed34(core.List<api.Leaderboard> o) { | 1148 checkUnnamed1732(core.List<api.Leaderboard> o) { |
| 1149 unittest.expect(o, unittest.hasLength(2)); | 1149 unittest.expect(o, unittest.hasLength(2)); |
| 1150 checkLeaderboard(o[0]); | 1150 checkLeaderboard(o[0]); |
| 1151 checkLeaderboard(o[1]); | 1151 checkLeaderboard(o[1]); |
| 1152 } | 1152 } |
| 1153 | 1153 |
| 1154 core.int buildCounterLeaderboardListResponse = 0; | 1154 core.int buildCounterLeaderboardListResponse = 0; |
| 1155 buildLeaderboardListResponse() { | 1155 buildLeaderboardListResponse() { |
| 1156 var o = new api.LeaderboardListResponse(); | 1156 var o = new api.LeaderboardListResponse(); |
| 1157 buildCounterLeaderboardListResponse++; | 1157 buildCounterLeaderboardListResponse++; |
| 1158 if (buildCounterLeaderboardListResponse < 3) { | 1158 if (buildCounterLeaderboardListResponse < 3) { |
| 1159 o.items = buildUnnamed34(); | 1159 o.items = buildUnnamed1732(); |
| 1160 o.kind = "foo"; | 1160 o.kind = "foo"; |
| 1161 o.nextPageToken = "foo"; | 1161 o.nextPageToken = "foo"; |
| 1162 } | 1162 } |
| 1163 buildCounterLeaderboardListResponse--; | 1163 buildCounterLeaderboardListResponse--; |
| 1164 return o; | 1164 return o; |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 checkLeaderboardListResponse(api.LeaderboardListResponse o) { | 1167 checkLeaderboardListResponse(api.LeaderboardListResponse o) { |
| 1168 buildCounterLeaderboardListResponse++; | 1168 buildCounterLeaderboardListResponse++; |
| 1169 if (buildCounterLeaderboardListResponse < 3) { | 1169 if (buildCounterLeaderboardListResponse < 3) { |
| 1170 checkUnnamed34(o.items); | 1170 checkUnnamed1732(o.items); |
| 1171 unittest.expect(o.kind, unittest.equals('foo')); | 1171 unittest.expect(o.kind, unittest.equals('foo')); |
| 1172 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1172 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1173 } | 1173 } |
| 1174 buildCounterLeaderboardListResponse--; | 1174 buildCounterLeaderboardListResponse--; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 core.int buildCounterLeaderboardScoreRank = 0; | 1177 core.int buildCounterLeaderboardScoreRank = 0; |
| 1178 buildLeaderboardScoreRank() { | 1178 buildLeaderboardScoreRank() { |
| 1179 var o = new api.LeaderboardScoreRank(); | 1179 var o = new api.LeaderboardScoreRank(); |
| 1180 buildCounterLeaderboardScoreRank++; | 1180 buildCounterLeaderboardScoreRank++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1194 if (buildCounterLeaderboardScoreRank < 3) { | 1194 if (buildCounterLeaderboardScoreRank < 3) { |
| 1195 unittest.expect(o.formattedNumScores, unittest.equals('foo')); | 1195 unittest.expect(o.formattedNumScores, unittest.equals('foo')); |
| 1196 unittest.expect(o.formattedRank, unittest.equals('foo')); | 1196 unittest.expect(o.formattedRank, unittest.equals('foo')); |
| 1197 unittest.expect(o.kind, unittest.equals('foo')); | 1197 unittest.expect(o.kind, unittest.equals('foo')); |
| 1198 unittest.expect(o.numScores, unittest.equals('foo')); | 1198 unittest.expect(o.numScores, unittest.equals('foo')); |
| 1199 unittest.expect(o.rank, unittest.equals('foo')); | 1199 unittest.expect(o.rank, unittest.equals('foo')); |
| 1200 } | 1200 } |
| 1201 buildCounterLeaderboardScoreRank--; | 1201 buildCounterLeaderboardScoreRank--; |
| 1202 } | 1202 } |
| 1203 | 1203 |
| 1204 buildUnnamed35() { | 1204 buildUnnamed1733() { |
| 1205 var o = new core.List<api.LeaderboardEntry>(); | 1205 var o = new core.List<api.LeaderboardEntry>(); |
| 1206 o.add(buildLeaderboardEntry()); | 1206 o.add(buildLeaderboardEntry()); |
| 1207 o.add(buildLeaderboardEntry()); | 1207 o.add(buildLeaderboardEntry()); |
| 1208 return o; | 1208 return o; |
| 1209 } | 1209 } |
| 1210 | 1210 |
| 1211 checkUnnamed35(core.List<api.LeaderboardEntry> o) { | 1211 checkUnnamed1733(core.List<api.LeaderboardEntry> o) { |
| 1212 unittest.expect(o, unittest.hasLength(2)); | 1212 unittest.expect(o, unittest.hasLength(2)); |
| 1213 checkLeaderboardEntry(o[0]); | 1213 checkLeaderboardEntry(o[0]); |
| 1214 checkLeaderboardEntry(o[1]); | 1214 checkLeaderboardEntry(o[1]); |
| 1215 } | 1215 } |
| 1216 | 1216 |
| 1217 core.int buildCounterLeaderboardScores = 0; | 1217 core.int buildCounterLeaderboardScores = 0; |
| 1218 buildLeaderboardScores() { | 1218 buildLeaderboardScores() { |
| 1219 var o = new api.LeaderboardScores(); | 1219 var o = new api.LeaderboardScores(); |
| 1220 buildCounterLeaderboardScores++; | 1220 buildCounterLeaderboardScores++; |
| 1221 if (buildCounterLeaderboardScores < 3) { | 1221 if (buildCounterLeaderboardScores < 3) { |
| 1222 o.items = buildUnnamed35(); | 1222 o.items = buildUnnamed1733(); |
| 1223 o.kind = "foo"; | 1223 o.kind = "foo"; |
| 1224 o.nextPageToken = "foo"; | 1224 o.nextPageToken = "foo"; |
| 1225 o.numScores = "foo"; | 1225 o.numScores = "foo"; |
| 1226 o.playerScore = buildLeaderboardEntry(); | 1226 o.playerScore = buildLeaderboardEntry(); |
| 1227 o.prevPageToken = "foo"; | 1227 o.prevPageToken = "foo"; |
| 1228 } | 1228 } |
| 1229 buildCounterLeaderboardScores--; | 1229 buildCounterLeaderboardScores--; |
| 1230 return o; | 1230 return o; |
| 1231 } | 1231 } |
| 1232 | 1232 |
| 1233 checkLeaderboardScores(api.LeaderboardScores o) { | 1233 checkLeaderboardScores(api.LeaderboardScores o) { |
| 1234 buildCounterLeaderboardScores++; | 1234 buildCounterLeaderboardScores++; |
| 1235 if (buildCounterLeaderboardScores < 3) { | 1235 if (buildCounterLeaderboardScores < 3) { |
| 1236 checkUnnamed35(o.items); | 1236 checkUnnamed1733(o.items); |
| 1237 unittest.expect(o.kind, unittest.equals('foo')); | 1237 unittest.expect(o.kind, unittest.equals('foo')); |
| 1238 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1238 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1239 unittest.expect(o.numScores, unittest.equals('foo')); | 1239 unittest.expect(o.numScores, unittest.equals('foo')); |
| 1240 checkLeaderboardEntry(o.playerScore); | 1240 checkLeaderboardEntry(o.playerScore); |
| 1241 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1241 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1242 } | 1242 } |
| 1243 buildCounterLeaderboardScores--; | 1243 buildCounterLeaderboardScores--; |
| 1244 } | 1244 } |
| 1245 | 1245 |
| 1246 buildUnnamed36() { | 1246 buildUnnamed1734() { |
| 1247 var o = new core.List<api.PlayerLevel>(); | 1247 var o = new core.List<api.PlayerLevel>(); |
| 1248 o.add(buildPlayerLevel()); | 1248 o.add(buildPlayerLevel()); |
| 1249 o.add(buildPlayerLevel()); | 1249 o.add(buildPlayerLevel()); |
| 1250 return o; | 1250 return o; |
| 1251 } | 1251 } |
| 1252 | 1252 |
| 1253 checkUnnamed36(core.List<api.PlayerLevel> o) { | 1253 checkUnnamed1734(core.List<api.PlayerLevel> o) { |
| 1254 unittest.expect(o, unittest.hasLength(2)); | 1254 unittest.expect(o, unittest.hasLength(2)); |
| 1255 checkPlayerLevel(o[0]); | 1255 checkPlayerLevel(o[0]); |
| 1256 checkPlayerLevel(o[1]); | 1256 checkPlayerLevel(o[1]); |
| 1257 } | 1257 } |
| 1258 | 1258 |
| 1259 core.int buildCounterMetagameConfig = 0; | 1259 core.int buildCounterMetagameConfig = 0; |
| 1260 buildMetagameConfig() { | 1260 buildMetagameConfig() { |
| 1261 var o = new api.MetagameConfig(); | 1261 var o = new api.MetagameConfig(); |
| 1262 buildCounterMetagameConfig++; | 1262 buildCounterMetagameConfig++; |
| 1263 if (buildCounterMetagameConfig < 3) { | 1263 if (buildCounterMetagameConfig < 3) { |
| 1264 o.currentVersion = 42; | 1264 o.currentVersion = 42; |
| 1265 o.kind = "foo"; | 1265 o.kind = "foo"; |
| 1266 o.playerLevels = buildUnnamed36(); | 1266 o.playerLevels = buildUnnamed1734(); |
| 1267 } | 1267 } |
| 1268 buildCounterMetagameConfig--; | 1268 buildCounterMetagameConfig--; |
| 1269 return o; | 1269 return o; |
| 1270 } | 1270 } |
| 1271 | 1271 |
| 1272 checkMetagameConfig(api.MetagameConfig o) { | 1272 checkMetagameConfig(api.MetagameConfig o) { |
| 1273 buildCounterMetagameConfig++; | 1273 buildCounterMetagameConfig++; |
| 1274 if (buildCounterMetagameConfig < 3) { | 1274 if (buildCounterMetagameConfig < 3) { |
| 1275 unittest.expect(o.currentVersion, unittest.equals(42)); | 1275 unittest.expect(o.currentVersion, unittest.equals(42)); |
| 1276 unittest.expect(o.kind, unittest.equals('foo')); | 1276 unittest.expect(o.kind, unittest.equals('foo')); |
| 1277 checkUnnamed36(o.playerLevels); | 1277 checkUnnamed1734(o.playerLevels); |
| 1278 } | 1278 } |
| 1279 buildCounterMetagameConfig--; | 1279 buildCounterMetagameConfig--; |
| 1280 } | 1280 } |
| 1281 | 1281 |
| 1282 core.int buildCounterNetworkDiagnostics = 0; | 1282 core.int buildCounterNetworkDiagnostics = 0; |
| 1283 buildNetworkDiagnostics() { | 1283 buildNetworkDiagnostics() { |
| 1284 var o = new api.NetworkDiagnostics(); | 1284 var o = new api.NetworkDiagnostics(); |
| 1285 buildCounterNetworkDiagnostics++; | 1285 buildCounterNetworkDiagnostics++; |
| 1286 if (buildCounterNetworkDiagnostics < 3) { | 1286 if (buildCounterNetworkDiagnostics < 3) { |
| 1287 o.androidNetworkSubtype = 42; | 1287 o.androidNetworkSubtype = 42; |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1496 unittest.expect(o.currentSteps, unittest.equals(42)); | 1496 unittest.expect(o.currentSteps, unittest.equals(42)); |
| 1497 unittest.expect(o.experiencePoints, unittest.equals('foo')); | 1497 unittest.expect(o.experiencePoints, unittest.equals('foo')); |
| 1498 unittest.expect(o.formattedCurrentStepsString, unittest.equals('foo')); | 1498 unittest.expect(o.formattedCurrentStepsString, unittest.equals('foo')); |
| 1499 unittest.expect(o.id, unittest.equals('foo')); | 1499 unittest.expect(o.id, unittest.equals('foo')); |
| 1500 unittest.expect(o.kind, unittest.equals('foo')); | 1500 unittest.expect(o.kind, unittest.equals('foo')); |
| 1501 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); | 1501 unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo')); |
| 1502 } | 1502 } |
| 1503 buildCounterPlayerAchievement--; | 1503 buildCounterPlayerAchievement--; |
| 1504 } | 1504 } |
| 1505 | 1505 |
| 1506 buildUnnamed37() { | 1506 buildUnnamed1735() { |
| 1507 var o = new core.List<api.PlayerAchievement>(); | 1507 var o = new core.List<api.PlayerAchievement>(); |
| 1508 o.add(buildPlayerAchievement()); | 1508 o.add(buildPlayerAchievement()); |
| 1509 o.add(buildPlayerAchievement()); | 1509 o.add(buildPlayerAchievement()); |
| 1510 return o; | 1510 return o; |
| 1511 } | 1511 } |
| 1512 | 1512 |
| 1513 checkUnnamed37(core.List<api.PlayerAchievement> o) { | 1513 checkUnnamed1735(core.List<api.PlayerAchievement> o) { |
| 1514 unittest.expect(o, unittest.hasLength(2)); | 1514 unittest.expect(o, unittest.hasLength(2)); |
| 1515 checkPlayerAchievement(o[0]); | 1515 checkPlayerAchievement(o[0]); |
| 1516 checkPlayerAchievement(o[1]); | 1516 checkPlayerAchievement(o[1]); |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 core.int buildCounterPlayerAchievementListResponse = 0; | 1519 core.int buildCounterPlayerAchievementListResponse = 0; |
| 1520 buildPlayerAchievementListResponse() { | 1520 buildPlayerAchievementListResponse() { |
| 1521 var o = new api.PlayerAchievementListResponse(); | 1521 var o = new api.PlayerAchievementListResponse(); |
| 1522 buildCounterPlayerAchievementListResponse++; | 1522 buildCounterPlayerAchievementListResponse++; |
| 1523 if (buildCounterPlayerAchievementListResponse < 3) { | 1523 if (buildCounterPlayerAchievementListResponse < 3) { |
| 1524 o.items = buildUnnamed37(); | 1524 o.items = buildUnnamed1735(); |
| 1525 o.kind = "foo"; | 1525 o.kind = "foo"; |
| 1526 o.nextPageToken = "foo"; | 1526 o.nextPageToken = "foo"; |
| 1527 } | 1527 } |
| 1528 buildCounterPlayerAchievementListResponse--; | 1528 buildCounterPlayerAchievementListResponse--; |
| 1529 return o; | 1529 return o; |
| 1530 } | 1530 } |
| 1531 | 1531 |
| 1532 checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { | 1532 checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { |
| 1533 buildCounterPlayerAchievementListResponse++; | 1533 buildCounterPlayerAchievementListResponse++; |
| 1534 if (buildCounterPlayerAchievementListResponse < 3) { | 1534 if (buildCounterPlayerAchievementListResponse < 3) { |
| 1535 checkUnnamed37(o.items); | 1535 checkUnnamed1735(o.items); |
| 1536 unittest.expect(o.kind, unittest.equals('foo')); | 1536 unittest.expect(o.kind, unittest.equals('foo')); |
| 1537 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1537 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1538 } | 1538 } |
| 1539 buildCounterPlayerAchievementListResponse--; | 1539 buildCounterPlayerAchievementListResponse--; |
| 1540 } | 1540 } |
| 1541 | 1541 |
| 1542 core.int buildCounterPlayerEvent = 0; | 1542 core.int buildCounterPlayerEvent = 0; |
| 1543 buildPlayerEvent() { | 1543 buildPlayerEvent() { |
| 1544 var o = new api.PlayerEvent(); | 1544 var o = new api.PlayerEvent(); |
| 1545 buildCounterPlayerEvent++; | 1545 buildCounterPlayerEvent++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1559 if (buildCounterPlayerEvent < 3) { | 1559 if (buildCounterPlayerEvent < 3) { |
| 1560 unittest.expect(o.definitionId, unittest.equals('foo')); | 1560 unittest.expect(o.definitionId, unittest.equals('foo')); |
| 1561 unittest.expect(o.formattedNumEvents, unittest.equals('foo')); | 1561 unittest.expect(o.formattedNumEvents, unittest.equals('foo')); |
| 1562 unittest.expect(o.kind, unittest.equals('foo')); | 1562 unittest.expect(o.kind, unittest.equals('foo')); |
| 1563 unittest.expect(o.numEvents, unittest.equals('foo')); | 1563 unittest.expect(o.numEvents, unittest.equals('foo')); |
| 1564 unittest.expect(o.playerId, unittest.equals('foo')); | 1564 unittest.expect(o.playerId, unittest.equals('foo')); |
| 1565 } | 1565 } |
| 1566 buildCounterPlayerEvent--; | 1566 buildCounterPlayerEvent--; |
| 1567 } | 1567 } |
| 1568 | 1568 |
| 1569 buildUnnamed38() { | 1569 buildUnnamed1736() { |
| 1570 var o = new core.List<api.PlayerEvent>(); | 1570 var o = new core.List<api.PlayerEvent>(); |
| 1571 o.add(buildPlayerEvent()); | 1571 o.add(buildPlayerEvent()); |
| 1572 o.add(buildPlayerEvent()); | 1572 o.add(buildPlayerEvent()); |
| 1573 return o; | 1573 return o; |
| 1574 } | 1574 } |
| 1575 | 1575 |
| 1576 checkUnnamed38(core.List<api.PlayerEvent> o) { | 1576 checkUnnamed1736(core.List<api.PlayerEvent> o) { |
| 1577 unittest.expect(o, unittest.hasLength(2)); | 1577 unittest.expect(o, unittest.hasLength(2)); |
| 1578 checkPlayerEvent(o[0]); | 1578 checkPlayerEvent(o[0]); |
| 1579 checkPlayerEvent(o[1]); | 1579 checkPlayerEvent(o[1]); |
| 1580 } | 1580 } |
| 1581 | 1581 |
| 1582 core.int buildCounterPlayerEventListResponse = 0; | 1582 core.int buildCounterPlayerEventListResponse = 0; |
| 1583 buildPlayerEventListResponse() { | 1583 buildPlayerEventListResponse() { |
| 1584 var o = new api.PlayerEventListResponse(); | 1584 var o = new api.PlayerEventListResponse(); |
| 1585 buildCounterPlayerEventListResponse++; | 1585 buildCounterPlayerEventListResponse++; |
| 1586 if (buildCounterPlayerEventListResponse < 3) { | 1586 if (buildCounterPlayerEventListResponse < 3) { |
| 1587 o.items = buildUnnamed38(); | 1587 o.items = buildUnnamed1736(); |
| 1588 o.kind = "foo"; | 1588 o.kind = "foo"; |
| 1589 o.nextPageToken = "foo"; | 1589 o.nextPageToken = "foo"; |
| 1590 } | 1590 } |
| 1591 buildCounterPlayerEventListResponse--; | 1591 buildCounterPlayerEventListResponse--; |
| 1592 return o; | 1592 return o; |
| 1593 } | 1593 } |
| 1594 | 1594 |
| 1595 checkPlayerEventListResponse(api.PlayerEventListResponse o) { | 1595 checkPlayerEventListResponse(api.PlayerEventListResponse o) { |
| 1596 buildCounterPlayerEventListResponse++; | 1596 buildCounterPlayerEventListResponse++; |
| 1597 if (buildCounterPlayerEventListResponse < 3) { | 1597 if (buildCounterPlayerEventListResponse < 3) { |
| 1598 checkUnnamed38(o.items); | 1598 checkUnnamed1736(o.items); |
| 1599 unittest.expect(o.kind, unittest.equals('foo')); | 1599 unittest.expect(o.kind, unittest.equals('foo')); |
| 1600 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1600 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1601 } | 1601 } |
| 1602 buildCounterPlayerEventListResponse--; | 1602 buildCounterPlayerEventListResponse--; |
| 1603 } | 1603 } |
| 1604 | 1604 |
| 1605 core.int buildCounterPlayerExperienceInfo = 0; | 1605 core.int buildCounterPlayerExperienceInfo = 0; |
| 1606 buildPlayerExperienceInfo() { | 1606 buildPlayerExperienceInfo() { |
| 1607 var o = new api.PlayerExperienceInfo(); | 1607 var o = new api.PlayerExperienceInfo(); |
| 1608 buildCounterPlayerExperienceInfo++; | 1608 buildCounterPlayerExperienceInfo++; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1657 unittest.expect(o.scoreString, unittest.equals('foo')); | 1657 unittest.expect(o.scoreString, unittest.equals('foo')); |
| 1658 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1658 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1659 unittest.expect(o.scoreValue, unittest.equals('foo')); | 1659 unittest.expect(o.scoreValue, unittest.equals('foo')); |
| 1660 checkLeaderboardScoreRank(o.socialRank); | 1660 checkLeaderboardScoreRank(o.socialRank); |
| 1661 unittest.expect(o.timeSpan, unittest.equals('foo')); | 1661 unittest.expect(o.timeSpan, unittest.equals('foo')); |
| 1662 unittest.expect(o.writeTimestamp, unittest.equals('foo')); | 1662 unittest.expect(o.writeTimestamp, unittest.equals('foo')); |
| 1663 } | 1663 } |
| 1664 buildCounterPlayerLeaderboardScore--; | 1664 buildCounterPlayerLeaderboardScore--; |
| 1665 } | 1665 } |
| 1666 | 1666 |
| 1667 buildUnnamed39() { | 1667 buildUnnamed1737() { |
| 1668 var o = new core.List<api.PlayerLeaderboardScore>(); | 1668 var o = new core.List<api.PlayerLeaderboardScore>(); |
| 1669 o.add(buildPlayerLeaderboardScore()); | 1669 o.add(buildPlayerLeaderboardScore()); |
| 1670 o.add(buildPlayerLeaderboardScore()); | 1670 o.add(buildPlayerLeaderboardScore()); |
| 1671 return o; | 1671 return o; |
| 1672 } | 1672 } |
| 1673 | 1673 |
| 1674 checkUnnamed39(core.List<api.PlayerLeaderboardScore> o) { | 1674 checkUnnamed1737(core.List<api.PlayerLeaderboardScore> o) { |
| 1675 unittest.expect(o, unittest.hasLength(2)); | 1675 unittest.expect(o, unittest.hasLength(2)); |
| 1676 checkPlayerLeaderboardScore(o[0]); | 1676 checkPlayerLeaderboardScore(o[0]); |
| 1677 checkPlayerLeaderboardScore(o[1]); | 1677 checkPlayerLeaderboardScore(o[1]); |
| 1678 } | 1678 } |
| 1679 | 1679 |
| 1680 core.int buildCounterPlayerLeaderboardScoreListResponse = 0; | 1680 core.int buildCounterPlayerLeaderboardScoreListResponse = 0; |
| 1681 buildPlayerLeaderboardScoreListResponse() { | 1681 buildPlayerLeaderboardScoreListResponse() { |
| 1682 var o = new api.PlayerLeaderboardScoreListResponse(); | 1682 var o = new api.PlayerLeaderboardScoreListResponse(); |
| 1683 buildCounterPlayerLeaderboardScoreListResponse++; | 1683 buildCounterPlayerLeaderboardScoreListResponse++; |
| 1684 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { | 1684 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { |
| 1685 o.items = buildUnnamed39(); | 1685 o.items = buildUnnamed1737(); |
| 1686 o.kind = "foo"; | 1686 o.kind = "foo"; |
| 1687 o.nextPageToken = "foo"; | 1687 o.nextPageToken = "foo"; |
| 1688 o.player = buildPlayer(); | 1688 o.player = buildPlayer(); |
| 1689 } | 1689 } |
| 1690 buildCounterPlayerLeaderboardScoreListResponse--; | 1690 buildCounterPlayerLeaderboardScoreListResponse--; |
| 1691 return o; | 1691 return o; |
| 1692 } | 1692 } |
| 1693 | 1693 |
| 1694 checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o
) { | 1694 checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o
) { |
| 1695 buildCounterPlayerLeaderboardScoreListResponse++; | 1695 buildCounterPlayerLeaderboardScoreListResponse++; |
| 1696 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { | 1696 if (buildCounterPlayerLeaderboardScoreListResponse < 3) { |
| 1697 checkUnnamed39(o.items); | 1697 checkUnnamed1737(o.items); |
| 1698 unittest.expect(o.kind, unittest.equals('foo')); | 1698 unittest.expect(o.kind, unittest.equals('foo')); |
| 1699 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1699 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1700 checkPlayer(o.player); | 1700 checkPlayer(o.player); |
| 1701 } | 1701 } |
| 1702 buildCounterPlayerLeaderboardScoreListResponse--; | 1702 buildCounterPlayerLeaderboardScoreListResponse--; |
| 1703 } | 1703 } |
| 1704 | 1704 |
| 1705 core.int buildCounterPlayerLevel = 0; | 1705 core.int buildCounterPlayerLevel = 0; |
| 1706 buildPlayerLevel() { | 1706 buildPlayerLevel() { |
| 1707 var o = new api.PlayerLevel(); | 1707 var o = new api.PlayerLevel(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1720 buildCounterPlayerLevel++; | 1720 buildCounterPlayerLevel++; |
| 1721 if (buildCounterPlayerLevel < 3) { | 1721 if (buildCounterPlayerLevel < 3) { |
| 1722 unittest.expect(o.kind, unittest.equals('foo')); | 1722 unittest.expect(o.kind, unittest.equals('foo')); |
| 1723 unittest.expect(o.level, unittest.equals(42)); | 1723 unittest.expect(o.level, unittest.equals(42)); |
| 1724 unittest.expect(o.maxExperiencePoints, unittest.equals('foo')); | 1724 unittest.expect(o.maxExperiencePoints, unittest.equals('foo')); |
| 1725 unittest.expect(o.minExperiencePoints, unittest.equals('foo')); | 1725 unittest.expect(o.minExperiencePoints, unittest.equals('foo')); |
| 1726 } | 1726 } |
| 1727 buildCounterPlayerLevel--; | 1727 buildCounterPlayerLevel--; |
| 1728 } | 1728 } |
| 1729 | 1729 |
| 1730 buildUnnamed40() { | 1730 buildUnnamed1738() { |
| 1731 var o = new core.List<api.Player>(); | 1731 var o = new core.List<api.Player>(); |
| 1732 o.add(buildPlayer()); | 1732 o.add(buildPlayer()); |
| 1733 o.add(buildPlayer()); | 1733 o.add(buildPlayer()); |
| 1734 return o; | 1734 return o; |
| 1735 } | 1735 } |
| 1736 | 1736 |
| 1737 checkUnnamed40(core.List<api.Player> o) { | 1737 checkUnnamed1738(core.List<api.Player> o) { |
| 1738 unittest.expect(o, unittest.hasLength(2)); | 1738 unittest.expect(o, unittest.hasLength(2)); |
| 1739 checkPlayer(o[0]); | 1739 checkPlayer(o[0]); |
| 1740 checkPlayer(o[1]); | 1740 checkPlayer(o[1]); |
| 1741 } | 1741 } |
| 1742 | 1742 |
| 1743 core.int buildCounterPlayerListResponse = 0; | 1743 core.int buildCounterPlayerListResponse = 0; |
| 1744 buildPlayerListResponse() { | 1744 buildPlayerListResponse() { |
| 1745 var o = new api.PlayerListResponse(); | 1745 var o = new api.PlayerListResponse(); |
| 1746 buildCounterPlayerListResponse++; | 1746 buildCounterPlayerListResponse++; |
| 1747 if (buildCounterPlayerListResponse < 3) { | 1747 if (buildCounterPlayerListResponse < 3) { |
| 1748 o.items = buildUnnamed40(); | 1748 o.items = buildUnnamed1738(); |
| 1749 o.kind = "foo"; | 1749 o.kind = "foo"; |
| 1750 o.nextPageToken = "foo"; | 1750 o.nextPageToken = "foo"; |
| 1751 } | 1751 } |
| 1752 buildCounterPlayerListResponse--; | 1752 buildCounterPlayerListResponse--; |
| 1753 return o; | 1753 return o; |
| 1754 } | 1754 } |
| 1755 | 1755 |
| 1756 checkPlayerListResponse(api.PlayerListResponse o) { | 1756 checkPlayerListResponse(api.PlayerListResponse o) { |
| 1757 buildCounterPlayerListResponse++; | 1757 buildCounterPlayerListResponse++; |
| 1758 if (buildCounterPlayerListResponse < 3) { | 1758 if (buildCounterPlayerListResponse < 3) { |
| 1759 checkUnnamed40(o.items); | 1759 checkUnnamed1738(o.items); |
| 1760 unittest.expect(o.kind, unittest.equals('foo')); | 1760 unittest.expect(o.kind, unittest.equals('foo')); |
| 1761 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1761 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1762 } | 1762 } |
| 1763 buildCounterPlayerListResponse--; | 1763 buildCounterPlayerListResponse--; |
| 1764 } | 1764 } |
| 1765 | 1765 |
| 1766 core.int buildCounterPlayerScore = 0; | 1766 core.int buildCounterPlayerScore = 0; |
| 1767 buildPlayerScore() { | 1767 buildPlayerScore() { |
| 1768 var o = new api.PlayerScore(); | 1768 var o = new api.PlayerScore(); |
| 1769 buildCounterPlayerScore++; | 1769 buildCounterPlayerScore++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1783 if (buildCounterPlayerScore < 3) { | 1783 if (buildCounterPlayerScore < 3) { |
| 1784 unittest.expect(o.formattedScore, unittest.equals('foo')); | 1784 unittest.expect(o.formattedScore, unittest.equals('foo')); |
| 1785 unittest.expect(o.kind, unittest.equals('foo')); | 1785 unittest.expect(o.kind, unittest.equals('foo')); |
| 1786 unittest.expect(o.score, unittest.equals('foo')); | 1786 unittest.expect(o.score, unittest.equals('foo')); |
| 1787 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1787 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1788 unittest.expect(o.timeSpan, unittest.equals('foo')); | 1788 unittest.expect(o.timeSpan, unittest.equals('foo')); |
| 1789 } | 1789 } |
| 1790 buildCounterPlayerScore--; | 1790 buildCounterPlayerScore--; |
| 1791 } | 1791 } |
| 1792 | 1792 |
| 1793 buildUnnamed41() { | 1793 buildUnnamed1739() { |
| 1794 var o = new core.List<api.PlayerScoreResponse>(); | 1794 var o = new core.List<api.PlayerScoreResponse>(); |
| 1795 o.add(buildPlayerScoreResponse()); | 1795 o.add(buildPlayerScoreResponse()); |
| 1796 o.add(buildPlayerScoreResponse()); | 1796 o.add(buildPlayerScoreResponse()); |
| 1797 return o; | 1797 return o; |
| 1798 } | 1798 } |
| 1799 | 1799 |
| 1800 checkUnnamed41(core.List<api.PlayerScoreResponse> o) { | 1800 checkUnnamed1739(core.List<api.PlayerScoreResponse> o) { |
| 1801 unittest.expect(o, unittest.hasLength(2)); | 1801 unittest.expect(o, unittest.hasLength(2)); |
| 1802 checkPlayerScoreResponse(o[0]); | 1802 checkPlayerScoreResponse(o[0]); |
| 1803 checkPlayerScoreResponse(o[1]); | 1803 checkPlayerScoreResponse(o[1]); |
| 1804 } | 1804 } |
| 1805 | 1805 |
| 1806 core.int buildCounterPlayerScoreListResponse = 0; | 1806 core.int buildCounterPlayerScoreListResponse = 0; |
| 1807 buildPlayerScoreListResponse() { | 1807 buildPlayerScoreListResponse() { |
| 1808 var o = new api.PlayerScoreListResponse(); | 1808 var o = new api.PlayerScoreListResponse(); |
| 1809 buildCounterPlayerScoreListResponse++; | 1809 buildCounterPlayerScoreListResponse++; |
| 1810 if (buildCounterPlayerScoreListResponse < 3) { | 1810 if (buildCounterPlayerScoreListResponse < 3) { |
| 1811 o.kind = "foo"; | 1811 o.kind = "foo"; |
| 1812 o.submittedScores = buildUnnamed41(); | 1812 o.submittedScores = buildUnnamed1739(); |
| 1813 } | 1813 } |
| 1814 buildCounterPlayerScoreListResponse--; | 1814 buildCounterPlayerScoreListResponse--; |
| 1815 return o; | 1815 return o; |
| 1816 } | 1816 } |
| 1817 | 1817 |
| 1818 checkPlayerScoreListResponse(api.PlayerScoreListResponse o) { | 1818 checkPlayerScoreListResponse(api.PlayerScoreListResponse o) { |
| 1819 buildCounterPlayerScoreListResponse++; | 1819 buildCounterPlayerScoreListResponse++; |
| 1820 if (buildCounterPlayerScoreListResponse < 3) { | 1820 if (buildCounterPlayerScoreListResponse < 3) { |
| 1821 unittest.expect(o.kind, unittest.equals('foo')); | 1821 unittest.expect(o.kind, unittest.equals('foo')); |
| 1822 checkUnnamed41(o.submittedScores); | 1822 checkUnnamed1739(o.submittedScores); |
| 1823 } | 1823 } |
| 1824 buildCounterPlayerScoreListResponse--; | 1824 buildCounterPlayerScoreListResponse--; |
| 1825 } | 1825 } |
| 1826 | 1826 |
| 1827 buildUnnamed42() { | 1827 buildUnnamed1740() { |
| 1828 var o = new core.List<core.String>(); | 1828 var o = new core.List<core.String>(); |
| 1829 o.add("foo"); | 1829 o.add("foo"); |
| 1830 o.add("foo"); | 1830 o.add("foo"); |
| 1831 return o; | 1831 return o; |
| 1832 } | 1832 } |
| 1833 | 1833 |
| 1834 checkUnnamed42(core.List<core.String> o) { | 1834 checkUnnamed1740(core.List<core.String> o) { |
| 1835 unittest.expect(o, unittest.hasLength(2)); | 1835 unittest.expect(o, unittest.hasLength(2)); |
| 1836 unittest.expect(o[0], unittest.equals('foo')); | 1836 unittest.expect(o[0], unittest.equals('foo')); |
| 1837 unittest.expect(o[1], unittest.equals('foo')); | 1837 unittest.expect(o[1], unittest.equals('foo')); |
| 1838 } | 1838 } |
| 1839 | 1839 |
| 1840 buildUnnamed43() { | 1840 buildUnnamed1741() { |
| 1841 var o = new core.List<api.PlayerScore>(); | 1841 var o = new core.List<api.PlayerScore>(); |
| 1842 o.add(buildPlayerScore()); | 1842 o.add(buildPlayerScore()); |
| 1843 o.add(buildPlayerScore()); | 1843 o.add(buildPlayerScore()); |
| 1844 return o; | 1844 return o; |
| 1845 } | 1845 } |
| 1846 | 1846 |
| 1847 checkUnnamed43(core.List<api.PlayerScore> o) { | 1847 checkUnnamed1741(core.List<api.PlayerScore> o) { |
| 1848 unittest.expect(o, unittest.hasLength(2)); | 1848 unittest.expect(o, unittest.hasLength(2)); |
| 1849 checkPlayerScore(o[0]); | 1849 checkPlayerScore(o[0]); |
| 1850 checkPlayerScore(o[1]); | 1850 checkPlayerScore(o[1]); |
| 1851 } | 1851 } |
| 1852 | 1852 |
| 1853 core.int buildCounterPlayerScoreResponse = 0; | 1853 core.int buildCounterPlayerScoreResponse = 0; |
| 1854 buildPlayerScoreResponse() { | 1854 buildPlayerScoreResponse() { |
| 1855 var o = new api.PlayerScoreResponse(); | 1855 var o = new api.PlayerScoreResponse(); |
| 1856 buildCounterPlayerScoreResponse++; | 1856 buildCounterPlayerScoreResponse++; |
| 1857 if (buildCounterPlayerScoreResponse < 3) { | 1857 if (buildCounterPlayerScoreResponse < 3) { |
| 1858 o.beatenScoreTimeSpans = buildUnnamed42(); | 1858 o.beatenScoreTimeSpans = buildUnnamed1740(); |
| 1859 o.formattedScore = "foo"; | 1859 o.formattedScore = "foo"; |
| 1860 o.kind = "foo"; | 1860 o.kind = "foo"; |
| 1861 o.leaderboardId = "foo"; | 1861 o.leaderboardId = "foo"; |
| 1862 o.scoreTag = "foo"; | 1862 o.scoreTag = "foo"; |
| 1863 o.unbeatenScores = buildUnnamed43(); | 1863 o.unbeatenScores = buildUnnamed1741(); |
| 1864 } | 1864 } |
| 1865 buildCounterPlayerScoreResponse--; | 1865 buildCounterPlayerScoreResponse--; |
| 1866 return o; | 1866 return o; |
| 1867 } | 1867 } |
| 1868 | 1868 |
| 1869 checkPlayerScoreResponse(api.PlayerScoreResponse o) { | 1869 checkPlayerScoreResponse(api.PlayerScoreResponse o) { |
| 1870 buildCounterPlayerScoreResponse++; | 1870 buildCounterPlayerScoreResponse++; |
| 1871 if (buildCounterPlayerScoreResponse < 3) { | 1871 if (buildCounterPlayerScoreResponse < 3) { |
| 1872 checkUnnamed42(o.beatenScoreTimeSpans); | 1872 checkUnnamed1740(o.beatenScoreTimeSpans); |
| 1873 unittest.expect(o.formattedScore, unittest.equals('foo')); | 1873 unittest.expect(o.formattedScore, unittest.equals('foo')); |
| 1874 unittest.expect(o.kind, unittest.equals('foo')); | 1874 unittest.expect(o.kind, unittest.equals('foo')); |
| 1875 unittest.expect(o.leaderboardId, unittest.equals('foo')); | 1875 unittest.expect(o.leaderboardId, unittest.equals('foo')); |
| 1876 unittest.expect(o.scoreTag, unittest.equals('foo')); | 1876 unittest.expect(o.scoreTag, unittest.equals('foo')); |
| 1877 checkUnnamed43(o.unbeatenScores); | 1877 checkUnnamed1741(o.unbeatenScores); |
| 1878 } | 1878 } |
| 1879 buildCounterPlayerScoreResponse--; | 1879 buildCounterPlayerScoreResponse--; |
| 1880 } | 1880 } |
| 1881 | 1881 |
| 1882 buildUnnamed44() { | 1882 buildUnnamed1742() { |
| 1883 var o = new core.List<api.ScoreSubmission>(); | 1883 var o = new core.List<api.ScoreSubmission>(); |
| 1884 o.add(buildScoreSubmission()); | 1884 o.add(buildScoreSubmission()); |
| 1885 o.add(buildScoreSubmission()); | 1885 o.add(buildScoreSubmission()); |
| 1886 return o; | 1886 return o; |
| 1887 } | 1887 } |
| 1888 | 1888 |
| 1889 checkUnnamed44(core.List<api.ScoreSubmission> o) { | 1889 checkUnnamed1742(core.List<api.ScoreSubmission> o) { |
| 1890 unittest.expect(o, unittest.hasLength(2)); | 1890 unittest.expect(o, unittest.hasLength(2)); |
| 1891 checkScoreSubmission(o[0]); | 1891 checkScoreSubmission(o[0]); |
| 1892 checkScoreSubmission(o[1]); | 1892 checkScoreSubmission(o[1]); |
| 1893 } | 1893 } |
| 1894 | 1894 |
| 1895 core.int buildCounterPlayerScoreSubmissionList = 0; | 1895 core.int buildCounterPlayerScoreSubmissionList = 0; |
| 1896 buildPlayerScoreSubmissionList() { | 1896 buildPlayerScoreSubmissionList() { |
| 1897 var o = new api.PlayerScoreSubmissionList(); | 1897 var o = new api.PlayerScoreSubmissionList(); |
| 1898 buildCounterPlayerScoreSubmissionList++; | 1898 buildCounterPlayerScoreSubmissionList++; |
| 1899 if (buildCounterPlayerScoreSubmissionList < 3) { | 1899 if (buildCounterPlayerScoreSubmissionList < 3) { |
| 1900 o.kind = "foo"; | 1900 o.kind = "foo"; |
| 1901 o.scores = buildUnnamed44(); | 1901 o.scores = buildUnnamed1742(); |
| 1902 } | 1902 } |
| 1903 buildCounterPlayerScoreSubmissionList--; | 1903 buildCounterPlayerScoreSubmissionList--; |
| 1904 return o; | 1904 return o; |
| 1905 } | 1905 } |
| 1906 | 1906 |
| 1907 checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) { | 1907 checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) { |
| 1908 buildCounterPlayerScoreSubmissionList++; | 1908 buildCounterPlayerScoreSubmissionList++; |
| 1909 if (buildCounterPlayerScoreSubmissionList < 3) { | 1909 if (buildCounterPlayerScoreSubmissionList < 3) { |
| 1910 unittest.expect(o.kind, unittest.equals('foo')); | 1910 unittest.expect(o.kind, unittest.equals('foo')); |
| 1911 checkUnnamed44(o.scores); | 1911 checkUnnamed1742(o.scores); |
| 1912 } | 1912 } |
| 1913 buildCounterPlayerScoreSubmissionList--; | 1913 buildCounterPlayerScoreSubmissionList--; |
| 1914 } | 1914 } |
| 1915 | 1915 |
| 1916 core.int buildCounterPushToken = 0; | 1916 core.int buildCounterPushToken = 0; |
| 1917 buildPushToken() { | 1917 buildPushToken() { |
| 1918 var o = new api.PushToken(); | 1918 var o = new api.PushToken(); |
| 1919 buildCounterPushToken++; | 1919 buildCounterPushToken++; |
| 1920 if (buildCounterPushToken < 3) { | 1920 if (buildCounterPushToken < 3) { |
| 1921 o.clientRevision = "foo"; | 1921 o.clientRevision = "foo"; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1973 | 1973 |
| 1974 checkPushTokenId(api.PushTokenId o) { | 1974 checkPushTokenId(api.PushTokenId o) { |
| 1975 buildCounterPushTokenId++; | 1975 buildCounterPushTokenId++; |
| 1976 if (buildCounterPushTokenId < 3) { | 1976 if (buildCounterPushTokenId < 3) { |
| 1977 checkPushTokenIdIos(o.ios); | 1977 checkPushTokenIdIos(o.ios); |
| 1978 unittest.expect(o.kind, unittest.equals('foo')); | 1978 unittest.expect(o.kind, unittest.equals('foo')); |
| 1979 } | 1979 } |
| 1980 buildCounterPushTokenId--; | 1980 buildCounterPushTokenId--; |
| 1981 } | 1981 } |
| 1982 | 1982 |
| 1983 buildUnnamed45() { | 1983 buildUnnamed1743() { |
| 1984 var o = new core.List<api.QuestMilestone>(); | 1984 var o = new core.List<api.QuestMilestone>(); |
| 1985 o.add(buildQuestMilestone()); | 1985 o.add(buildQuestMilestone()); |
| 1986 o.add(buildQuestMilestone()); | 1986 o.add(buildQuestMilestone()); |
| 1987 return o; | 1987 return o; |
| 1988 } | 1988 } |
| 1989 | 1989 |
| 1990 checkUnnamed45(core.List<api.QuestMilestone> o) { | 1990 checkUnnamed1743(core.List<api.QuestMilestone> o) { |
| 1991 unittest.expect(o, unittest.hasLength(2)); | 1991 unittest.expect(o, unittest.hasLength(2)); |
| 1992 checkQuestMilestone(o[0]); | 1992 checkQuestMilestone(o[0]); |
| 1993 checkQuestMilestone(o[1]); | 1993 checkQuestMilestone(o[1]); |
| 1994 } | 1994 } |
| 1995 | 1995 |
| 1996 core.int buildCounterQuest = 0; | 1996 core.int buildCounterQuest = 0; |
| 1997 buildQuest() { | 1997 buildQuest() { |
| 1998 var o = new api.Quest(); | 1998 var o = new api.Quest(); |
| 1999 buildCounterQuest++; | 1999 buildCounterQuest++; |
| 2000 if (buildCounterQuest < 3) { | 2000 if (buildCounterQuest < 3) { |
| 2001 o.acceptedTimestampMillis = "foo"; | 2001 o.acceptedTimestampMillis = "foo"; |
| 2002 o.applicationId = "foo"; | 2002 o.applicationId = "foo"; |
| 2003 o.bannerUrl = "foo"; | 2003 o.bannerUrl = "foo"; |
| 2004 o.description = "foo"; | 2004 o.description = "foo"; |
| 2005 o.endTimestampMillis = "foo"; | 2005 o.endTimestampMillis = "foo"; |
| 2006 o.iconUrl = "foo"; | 2006 o.iconUrl = "foo"; |
| 2007 o.id = "foo"; | 2007 o.id = "foo"; |
| 2008 o.isDefaultBannerUrl = true; | 2008 o.isDefaultBannerUrl = true; |
| 2009 o.isDefaultIconUrl = true; | 2009 o.isDefaultIconUrl = true; |
| 2010 o.kind = "foo"; | 2010 o.kind = "foo"; |
| 2011 o.lastUpdatedTimestampMillis = "foo"; | 2011 o.lastUpdatedTimestampMillis = "foo"; |
| 2012 o.milestones = buildUnnamed45(); | 2012 o.milestones = buildUnnamed1743(); |
| 2013 o.name = "foo"; | 2013 o.name = "foo"; |
| 2014 o.notifyTimestampMillis = "foo"; | 2014 o.notifyTimestampMillis = "foo"; |
| 2015 o.startTimestampMillis = "foo"; | 2015 o.startTimestampMillis = "foo"; |
| 2016 o.state = "foo"; | 2016 o.state = "foo"; |
| 2017 } | 2017 } |
| 2018 buildCounterQuest--; | 2018 buildCounterQuest--; |
| 2019 return o; | 2019 return o; |
| 2020 } | 2020 } |
| 2021 | 2021 |
| 2022 checkQuest(api.Quest o) { | 2022 checkQuest(api.Quest o) { |
| 2023 buildCounterQuest++; | 2023 buildCounterQuest++; |
| 2024 if (buildCounterQuest < 3) { | 2024 if (buildCounterQuest < 3) { |
| 2025 unittest.expect(o.acceptedTimestampMillis, unittest.equals('foo')); | 2025 unittest.expect(o.acceptedTimestampMillis, unittest.equals('foo')); |
| 2026 unittest.expect(o.applicationId, unittest.equals('foo')); | 2026 unittest.expect(o.applicationId, unittest.equals('foo')); |
| 2027 unittest.expect(o.bannerUrl, unittest.equals('foo')); | 2027 unittest.expect(o.bannerUrl, unittest.equals('foo')); |
| 2028 unittest.expect(o.description, unittest.equals('foo')); | 2028 unittest.expect(o.description, unittest.equals('foo')); |
| 2029 unittest.expect(o.endTimestampMillis, unittest.equals('foo')); | 2029 unittest.expect(o.endTimestampMillis, unittest.equals('foo')); |
| 2030 unittest.expect(o.iconUrl, unittest.equals('foo')); | 2030 unittest.expect(o.iconUrl, unittest.equals('foo')); |
| 2031 unittest.expect(o.id, unittest.equals('foo')); | 2031 unittest.expect(o.id, unittest.equals('foo')); |
| 2032 unittest.expect(o.isDefaultBannerUrl, unittest.isTrue); | 2032 unittest.expect(o.isDefaultBannerUrl, unittest.isTrue); |
| 2033 unittest.expect(o.isDefaultIconUrl, unittest.isTrue); | 2033 unittest.expect(o.isDefaultIconUrl, unittest.isTrue); |
| 2034 unittest.expect(o.kind, unittest.equals('foo')); | 2034 unittest.expect(o.kind, unittest.equals('foo')); |
| 2035 unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo')); | 2035 unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo')); |
| 2036 checkUnnamed45(o.milestones); | 2036 checkUnnamed1743(o.milestones); |
| 2037 unittest.expect(o.name, unittest.equals('foo')); | 2037 unittest.expect(o.name, unittest.equals('foo')); |
| 2038 unittest.expect(o.notifyTimestampMillis, unittest.equals('foo')); | 2038 unittest.expect(o.notifyTimestampMillis, unittest.equals('foo')); |
| 2039 unittest.expect(o.startTimestampMillis, unittest.equals('foo')); | 2039 unittest.expect(o.startTimestampMillis, unittest.equals('foo')); |
| 2040 unittest.expect(o.state, unittest.equals('foo')); | 2040 unittest.expect(o.state, unittest.equals('foo')); |
| 2041 } | 2041 } |
| 2042 buildCounterQuest--; | 2042 buildCounterQuest--; |
| 2043 } | 2043 } |
| 2044 | 2044 |
| 2045 core.int buildCounterQuestContribution = 0; | 2045 core.int buildCounterQuestContribution = 0; |
| 2046 buildQuestContribution() { | 2046 buildQuestContribution() { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2085 if (buildCounterQuestCriterion < 3) { | 2085 if (buildCounterQuestCriterion < 3) { |
| 2086 checkQuestContribution(o.completionContribution); | 2086 checkQuestContribution(o.completionContribution); |
| 2087 checkQuestContribution(o.currentContribution); | 2087 checkQuestContribution(o.currentContribution); |
| 2088 unittest.expect(o.eventId, unittest.equals('foo')); | 2088 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2089 checkQuestContribution(o.initialPlayerProgress); | 2089 checkQuestContribution(o.initialPlayerProgress); |
| 2090 unittest.expect(o.kind, unittest.equals('foo')); | 2090 unittest.expect(o.kind, unittest.equals('foo')); |
| 2091 } | 2091 } |
| 2092 buildCounterQuestCriterion--; | 2092 buildCounterQuestCriterion--; |
| 2093 } | 2093 } |
| 2094 | 2094 |
| 2095 buildUnnamed46() { | 2095 buildUnnamed1744() { |
| 2096 var o = new core.List<api.Quest>(); | 2096 var o = new core.List<api.Quest>(); |
| 2097 o.add(buildQuest()); | 2097 o.add(buildQuest()); |
| 2098 o.add(buildQuest()); | 2098 o.add(buildQuest()); |
| 2099 return o; | 2099 return o; |
| 2100 } | 2100 } |
| 2101 | 2101 |
| 2102 checkUnnamed46(core.List<api.Quest> o) { | 2102 checkUnnamed1744(core.List<api.Quest> o) { |
| 2103 unittest.expect(o, unittest.hasLength(2)); | 2103 unittest.expect(o, unittest.hasLength(2)); |
| 2104 checkQuest(o[0]); | 2104 checkQuest(o[0]); |
| 2105 checkQuest(o[1]); | 2105 checkQuest(o[1]); |
| 2106 } | 2106 } |
| 2107 | 2107 |
| 2108 core.int buildCounterQuestListResponse = 0; | 2108 core.int buildCounterQuestListResponse = 0; |
| 2109 buildQuestListResponse() { | 2109 buildQuestListResponse() { |
| 2110 var o = new api.QuestListResponse(); | 2110 var o = new api.QuestListResponse(); |
| 2111 buildCounterQuestListResponse++; | 2111 buildCounterQuestListResponse++; |
| 2112 if (buildCounterQuestListResponse < 3) { | 2112 if (buildCounterQuestListResponse < 3) { |
| 2113 o.items = buildUnnamed46(); | 2113 o.items = buildUnnamed1744(); |
| 2114 o.kind = "foo"; | 2114 o.kind = "foo"; |
| 2115 o.nextPageToken = "foo"; | 2115 o.nextPageToken = "foo"; |
| 2116 } | 2116 } |
| 2117 buildCounterQuestListResponse--; | 2117 buildCounterQuestListResponse--; |
| 2118 return o; | 2118 return o; |
| 2119 } | 2119 } |
| 2120 | 2120 |
| 2121 checkQuestListResponse(api.QuestListResponse o) { | 2121 checkQuestListResponse(api.QuestListResponse o) { |
| 2122 buildCounterQuestListResponse++; | 2122 buildCounterQuestListResponse++; |
| 2123 if (buildCounterQuestListResponse < 3) { | 2123 if (buildCounterQuestListResponse < 3) { |
| 2124 checkUnnamed46(o.items); | 2124 checkUnnamed1744(o.items); |
| 2125 unittest.expect(o.kind, unittest.equals('foo')); | 2125 unittest.expect(o.kind, unittest.equals('foo')); |
| 2126 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2126 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2127 } | 2127 } |
| 2128 buildCounterQuestListResponse--; | 2128 buildCounterQuestListResponse--; |
| 2129 } | 2129 } |
| 2130 | 2130 |
| 2131 buildUnnamed47() { | 2131 buildUnnamed1745() { |
| 2132 var o = new core.List<api.QuestCriterion>(); | 2132 var o = new core.List<api.QuestCriterion>(); |
| 2133 o.add(buildQuestCriterion()); | 2133 o.add(buildQuestCriterion()); |
| 2134 o.add(buildQuestCriterion()); | 2134 o.add(buildQuestCriterion()); |
| 2135 return o; | 2135 return o; |
| 2136 } | 2136 } |
| 2137 | 2137 |
| 2138 checkUnnamed47(core.List<api.QuestCriterion> o) { | 2138 checkUnnamed1745(core.List<api.QuestCriterion> o) { |
| 2139 unittest.expect(o, unittest.hasLength(2)); | 2139 unittest.expect(o, unittest.hasLength(2)); |
| 2140 checkQuestCriterion(o[0]); | 2140 checkQuestCriterion(o[0]); |
| 2141 checkQuestCriterion(o[1]); | 2141 checkQuestCriterion(o[1]); |
| 2142 } | 2142 } |
| 2143 | 2143 |
| 2144 core.int buildCounterQuestMilestone = 0; | 2144 core.int buildCounterQuestMilestone = 0; |
| 2145 buildQuestMilestone() { | 2145 buildQuestMilestone() { |
| 2146 var o = new api.QuestMilestone(); | 2146 var o = new api.QuestMilestone(); |
| 2147 buildCounterQuestMilestone++; | 2147 buildCounterQuestMilestone++; |
| 2148 if (buildCounterQuestMilestone < 3) { | 2148 if (buildCounterQuestMilestone < 3) { |
| 2149 o.completionRewardData = "foo"; | 2149 o.completionRewardData = "foo"; |
| 2150 o.criteria = buildUnnamed47(); | 2150 o.criteria = buildUnnamed1745(); |
| 2151 o.id = "foo"; | 2151 o.id = "foo"; |
| 2152 o.kind = "foo"; | 2152 o.kind = "foo"; |
| 2153 o.state = "foo"; | 2153 o.state = "foo"; |
| 2154 } | 2154 } |
| 2155 buildCounterQuestMilestone--; | 2155 buildCounterQuestMilestone--; |
| 2156 return o; | 2156 return o; |
| 2157 } | 2157 } |
| 2158 | 2158 |
| 2159 checkQuestMilestone(api.QuestMilestone o) { | 2159 checkQuestMilestone(api.QuestMilestone o) { |
| 2160 buildCounterQuestMilestone++; | 2160 buildCounterQuestMilestone++; |
| 2161 if (buildCounterQuestMilestone < 3) { | 2161 if (buildCounterQuestMilestone < 3) { |
| 2162 unittest.expect(o.completionRewardData, unittest.equals('foo')); | 2162 unittest.expect(o.completionRewardData, unittest.equals('foo')); |
| 2163 checkUnnamed47(o.criteria); | 2163 checkUnnamed1745(o.criteria); |
| 2164 unittest.expect(o.id, unittest.equals('foo')); | 2164 unittest.expect(o.id, unittest.equals('foo')); |
| 2165 unittest.expect(o.kind, unittest.equals('foo')); | 2165 unittest.expect(o.kind, unittest.equals('foo')); |
| 2166 unittest.expect(o.state, unittest.equals('foo')); | 2166 unittest.expect(o.state, unittest.equals('foo')); |
| 2167 } | 2167 } |
| 2168 buildCounterQuestMilestone--; | 2168 buildCounterQuestMilestone--; |
| 2169 } | 2169 } |
| 2170 | 2170 |
| 2171 core.int buildCounterRevisionCheckResponse = 0; | 2171 core.int buildCounterRevisionCheckResponse = 0; |
| 2172 buildRevisionCheckResponse() { | 2172 buildRevisionCheckResponse() { |
| 2173 var o = new api.RevisionCheckResponse(); | 2173 var o = new api.RevisionCheckResponse(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2184 checkRevisionCheckResponse(api.RevisionCheckResponse o) { | 2184 checkRevisionCheckResponse(api.RevisionCheckResponse o) { |
| 2185 buildCounterRevisionCheckResponse++; | 2185 buildCounterRevisionCheckResponse++; |
| 2186 if (buildCounterRevisionCheckResponse < 3) { | 2186 if (buildCounterRevisionCheckResponse < 3) { |
| 2187 unittest.expect(o.apiVersion, unittest.equals('foo')); | 2187 unittest.expect(o.apiVersion, unittest.equals('foo')); |
| 2188 unittest.expect(o.kind, unittest.equals('foo')); | 2188 unittest.expect(o.kind, unittest.equals('foo')); |
| 2189 unittest.expect(o.revisionStatus, unittest.equals('foo')); | 2189 unittest.expect(o.revisionStatus, unittest.equals('foo')); |
| 2190 } | 2190 } |
| 2191 buildCounterRevisionCheckResponse--; | 2191 buildCounterRevisionCheckResponse--; |
| 2192 } | 2192 } |
| 2193 | 2193 |
| 2194 buildUnnamed48() { | 2194 buildUnnamed1746() { |
| 2195 var o = new core.List<api.RoomParticipant>(); | 2195 var o = new core.List<api.RoomParticipant>(); |
| 2196 o.add(buildRoomParticipant()); | 2196 o.add(buildRoomParticipant()); |
| 2197 o.add(buildRoomParticipant()); | 2197 o.add(buildRoomParticipant()); |
| 2198 return o; | 2198 return o; |
| 2199 } | 2199 } |
| 2200 | 2200 |
| 2201 checkUnnamed48(core.List<api.RoomParticipant> o) { | 2201 checkUnnamed1746(core.List<api.RoomParticipant> o) { |
| 2202 unittest.expect(o, unittest.hasLength(2)); | 2202 unittest.expect(o, unittest.hasLength(2)); |
| 2203 checkRoomParticipant(o[0]); | 2203 checkRoomParticipant(o[0]); |
| 2204 checkRoomParticipant(o[1]); | 2204 checkRoomParticipant(o[1]); |
| 2205 } | 2205 } |
| 2206 | 2206 |
| 2207 core.int buildCounterRoom = 0; | 2207 core.int buildCounterRoom = 0; |
| 2208 buildRoom() { | 2208 buildRoom() { |
| 2209 var o = new api.Room(); | 2209 var o = new api.Room(); |
| 2210 buildCounterRoom++; | 2210 buildCounterRoom++; |
| 2211 if (buildCounterRoom < 3) { | 2211 if (buildCounterRoom < 3) { |
| 2212 o.applicationId = "foo"; | 2212 o.applicationId = "foo"; |
| 2213 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); | 2213 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); |
| 2214 o.autoMatchingStatus = buildRoomAutoMatchStatus(); | 2214 o.autoMatchingStatus = buildRoomAutoMatchStatus(); |
| 2215 o.creationDetails = buildRoomModification(); | 2215 o.creationDetails = buildRoomModification(); |
| 2216 o.description = "foo"; | 2216 o.description = "foo"; |
| 2217 o.inviterId = "foo"; | 2217 o.inviterId = "foo"; |
| 2218 o.kind = "foo"; | 2218 o.kind = "foo"; |
| 2219 o.lastUpdateDetails = buildRoomModification(); | 2219 o.lastUpdateDetails = buildRoomModification(); |
| 2220 o.participants = buildUnnamed48(); | 2220 o.participants = buildUnnamed1746(); |
| 2221 o.roomId = "foo"; | 2221 o.roomId = "foo"; |
| 2222 o.roomStatusVersion = 42; | 2222 o.roomStatusVersion = 42; |
| 2223 o.status = "foo"; | 2223 o.status = "foo"; |
| 2224 o.variant = 42; | 2224 o.variant = 42; |
| 2225 } | 2225 } |
| 2226 buildCounterRoom--; | 2226 buildCounterRoom--; |
| 2227 return o; | 2227 return o; |
| 2228 } | 2228 } |
| 2229 | 2229 |
| 2230 checkRoom(api.Room o) { | 2230 checkRoom(api.Room o) { |
| 2231 buildCounterRoom++; | 2231 buildCounterRoom++; |
| 2232 if (buildCounterRoom < 3) { | 2232 if (buildCounterRoom < 3) { |
| 2233 unittest.expect(o.applicationId, unittest.equals('foo')); | 2233 unittest.expect(o.applicationId, unittest.equals('foo')); |
| 2234 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); | 2234 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); |
| 2235 checkRoomAutoMatchStatus(o.autoMatchingStatus); | 2235 checkRoomAutoMatchStatus(o.autoMatchingStatus); |
| 2236 checkRoomModification(o.creationDetails); | 2236 checkRoomModification(o.creationDetails); |
| 2237 unittest.expect(o.description, unittest.equals('foo')); | 2237 unittest.expect(o.description, unittest.equals('foo')); |
| 2238 unittest.expect(o.inviterId, unittest.equals('foo')); | 2238 unittest.expect(o.inviterId, unittest.equals('foo')); |
| 2239 unittest.expect(o.kind, unittest.equals('foo')); | 2239 unittest.expect(o.kind, unittest.equals('foo')); |
| 2240 checkRoomModification(o.lastUpdateDetails); | 2240 checkRoomModification(o.lastUpdateDetails); |
| 2241 checkUnnamed48(o.participants); | 2241 checkUnnamed1746(o.participants); |
| 2242 unittest.expect(o.roomId, unittest.equals('foo')); | 2242 unittest.expect(o.roomId, unittest.equals('foo')); |
| 2243 unittest.expect(o.roomStatusVersion, unittest.equals(42)); | 2243 unittest.expect(o.roomStatusVersion, unittest.equals(42)); |
| 2244 unittest.expect(o.status, unittest.equals('foo')); | 2244 unittest.expect(o.status, unittest.equals('foo')); |
| 2245 unittest.expect(o.variant, unittest.equals(42)); | 2245 unittest.expect(o.variant, unittest.equals(42)); |
| 2246 } | 2246 } |
| 2247 buildCounterRoom--; | 2247 buildCounterRoom--; |
| 2248 } | 2248 } |
| 2249 | 2249 |
| 2250 core.int buildCounterRoomAutoMatchStatus = 0; | 2250 core.int buildCounterRoomAutoMatchStatus = 0; |
| 2251 buildRoomAutoMatchStatus() { | 2251 buildRoomAutoMatchStatus() { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2307 | 2307 |
| 2308 checkRoomClientAddress(api.RoomClientAddress o) { | 2308 checkRoomClientAddress(api.RoomClientAddress o) { |
| 2309 buildCounterRoomClientAddress++; | 2309 buildCounterRoomClientAddress++; |
| 2310 if (buildCounterRoomClientAddress < 3) { | 2310 if (buildCounterRoomClientAddress < 3) { |
| 2311 unittest.expect(o.kind, unittest.equals('foo')); | 2311 unittest.expect(o.kind, unittest.equals('foo')); |
| 2312 unittest.expect(o.xmppAddress, unittest.equals('foo')); | 2312 unittest.expect(o.xmppAddress, unittest.equals('foo')); |
| 2313 } | 2313 } |
| 2314 buildCounterRoomClientAddress--; | 2314 buildCounterRoomClientAddress--; |
| 2315 } | 2315 } |
| 2316 | 2316 |
| 2317 buildUnnamed49() { | 2317 buildUnnamed1747() { |
| 2318 var o = new core.List<core.String>(); | 2318 var o = new core.List<core.String>(); |
| 2319 o.add("foo"); | 2319 o.add("foo"); |
| 2320 o.add("foo"); | 2320 o.add("foo"); |
| 2321 return o; | 2321 return o; |
| 2322 } | 2322 } |
| 2323 | 2323 |
| 2324 checkUnnamed49(core.List<core.String> o) { | 2324 checkUnnamed1747(core.List<core.String> o) { |
| 2325 unittest.expect(o, unittest.hasLength(2)); | 2325 unittest.expect(o, unittest.hasLength(2)); |
| 2326 unittest.expect(o[0], unittest.equals('foo')); | 2326 unittest.expect(o[0], unittest.equals('foo')); |
| 2327 unittest.expect(o[1], unittest.equals('foo')); | 2327 unittest.expect(o[1], unittest.equals('foo')); |
| 2328 } | 2328 } |
| 2329 | 2329 |
| 2330 buildUnnamed50() { | 2330 buildUnnamed1748() { |
| 2331 var o = new core.List<core.String>(); | 2331 var o = new core.List<core.String>(); |
| 2332 o.add("foo"); | 2332 o.add("foo"); |
| 2333 o.add("foo"); | 2333 o.add("foo"); |
| 2334 return o; | 2334 return o; |
| 2335 } | 2335 } |
| 2336 | 2336 |
| 2337 checkUnnamed50(core.List<core.String> o) { | 2337 checkUnnamed1748(core.List<core.String> o) { |
| 2338 unittest.expect(o, unittest.hasLength(2)); | 2338 unittest.expect(o, unittest.hasLength(2)); |
| 2339 unittest.expect(o[0], unittest.equals('foo')); | 2339 unittest.expect(o[0], unittest.equals('foo')); |
| 2340 unittest.expect(o[1], unittest.equals('foo')); | 2340 unittest.expect(o[1], unittest.equals('foo')); |
| 2341 } | 2341 } |
| 2342 | 2342 |
| 2343 core.int buildCounterRoomCreateRequest = 0; | 2343 core.int buildCounterRoomCreateRequest = 0; |
| 2344 buildRoomCreateRequest() { | 2344 buildRoomCreateRequest() { |
| 2345 var o = new api.RoomCreateRequest(); | 2345 var o = new api.RoomCreateRequest(); |
| 2346 buildCounterRoomCreateRequest++; | 2346 buildCounterRoomCreateRequest++; |
| 2347 if (buildCounterRoomCreateRequest < 3) { | 2347 if (buildCounterRoomCreateRequest < 3) { |
| 2348 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); | 2348 o.autoMatchingCriteria = buildRoomAutoMatchingCriteria(); |
| 2349 o.capabilities = buildUnnamed49(); | 2349 o.capabilities = buildUnnamed1747(); |
| 2350 o.clientAddress = buildRoomClientAddress(); | 2350 o.clientAddress = buildRoomClientAddress(); |
| 2351 o.invitedPlayerIds = buildUnnamed50(); | 2351 o.invitedPlayerIds = buildUnnamed1748(); |
| 2352 o.kind = "foo"; | 2352 o.kind = "foo"; |
| 2353 o.networkDiagnostics = buildNetworkDiagnostics(); | 2353 o.networkDiagnostics = buildNetworkDiagnostics(); |
| 2354 o.requestId = "foo"; | 2354 o.requestId = "foo"; |
| 2355 o.variant = 42; | 2355 o.variant = 42; |
| 2356 } | 2356 } |
| 2357 buildCounterRoomCreateRequest--; | 2357 buildCounterRoomCreateRequest--; |
| 2358 return o; | 2358 return o; |
| 2359 } | 2359 } |
| 2360 | 2360 |
| 2361 checkRoomCreateRequest(api.RoomCreateRequest o) { | 2361 checkRoomCreateRequest(api.RoomCreateRequest o) { |
| 2362 buildCounterRoomCreateRequest++; | 2362 buildCounterRoomCreateRequest++; |
| 2363 if (buildCounterRoomCreateRequest < 3) { | 2363 if (buildCounterRoomCreateRequest < 3) { |
| 2364 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); | 2364 checkRoomAutoMatchingCriteria(o.autoMatchingCriteria); |
| 2365 checkUnnamed49(o.capabilities); | 2365 checkUnnamed1747(o.capabilities); |
| 2366 checkRoomClientAddress(o.clientAddress); | 2366 checkRoomClientAddress(o.clientAddress); |
| 2367 checkUnnamed50(o.invitedPlayerIds); | 2367 checkUnnamed1748(o.invitedPlayerIds); |
| 2368 unittest.expect(o.kind, unittest.equals('foo')); | 2368 unittest.expect(o.kind, unittest.equals('foo')); |
| 2369 checkNetworkDiagnostics(o.networkDiagnostics); | 2369 checkNetworkDiagnostics(o.networkDiagnostics); |
| 2370 unittest.expect(o.requestId, unittest.equals('foo')); | 2370 unittest.expect(o.requestId, unittest.equals('foo')); |
| 2371 unittest.expect(o.variant, unittest.equals(42)); | 2371 unittest.expect(o.variant, unittest.equals(42)); |
| 2372 } | 2372 } |
| 2373 buildCounterRoomCreateRequest--; | 2373 buildCounterRoomCreateRequest--; |
| 2374 } | 2374 } |
| 2375 | 2375 |
| 2376 buildUnnamed51() { | 2376 buildUnnamed1749() { |
| 2377 var o = new core.List<core.String>(); | 2377 var o = new core.List<core.String>(); |
| 2378 o.add("foo"); | 2378 o.add("foo"); |
| 2379 o.add("foo"); | 2379 o.add("foo"); |
| 2380 return o; | 2380 return o; |
| 2381 } | 2381 } |
| 2382 | 2382 |
| 2383 checkUnnamed51(core.List<core.String> o) { | 2383 checkUnnamed1749(core.List<core.String> o) { |
| 2384 unittest.expect(o, unittest.hasLength(2)); | 2384 unittest.expect(o, unittest.hasLength(2)); |
| 2385 unittest.expect(o[0], unittest.equals('foo')); | 2385 unittest.expect(o[0], unittest.equals('foo')); |
| 2386 unittest.expect(o[1], unittest.equals('foo')); | 2386 unittest.expect(o[1], unittest.equals('foo')); |
| 2387 } | 2387 } |
| 2388 | 2388 |
| 2389 core.int buildCounterRoomJoinRequest = 0; | 2389 core.int buildCounterRoomJoinRequest = 0; |
| 2390 buildRoomJoinRequest() { | 2390 buildRoomJoinRequest() { |
| 2391 var o = new api.RoomJoinRequest(); | 2391 var o = new api.RoomJoinRequest(); |
| 2392 buildCounterRoomJoinRequest++; | 2392 buildCounterRoomJoinRequest++; |
| 2393 if (buildCounterRoomJoinRequest < 3) { | 2393 if (buildCounterRoomJoinRequest < 3) { |
| 2394 o.capabilities = buildUnnamed51(); | 2394 o.capabilities = buildUnnamed1749(); |
| 2395 o.clientAddress = buildRoomClientAddress(); | 2395 o.clientAddress = buildRoomClientAddress(); |
| 2396 o.kind = "foo"; | 2396 o.kind = "foo"; |
| 2397 o.networkDiagnostics = buildNetworkDiagnostics(); | 2397 o.networkDiagnostics = buildNetworkDiagnostics(); |
| 2398 } | 2398 } |
| 2399 buildCounterRoomJoinRequest--; | 2399 buildCounterRoomJoinRequest--; |
| 2400 return o; | 2400 return o; |
| 2401 } | 2401 } |
| 2402 | 2402 |
| 2403 checkRoomJoinRequest(api.RoomJoinRequest o) { | 2403 checkRoomJoinRequest(api.RoomJoinRequest o) { |
| 2404 buildCounterRoomJoinRequest++; | 2404 buildCounterRoomJoinRequest++; |
| 2405 if (buildCounterRoomJoinRequest < 3) { | 2405 if (buildCounterRoomJoinRequest < 3) { |
| 2406 checkUnnamed51(o.capabilities); | 2406 checkUnnamed1749(o.capabilities); |
| 2407 checkRoomClientAddress(o.clientAddress); | 2407 checkRoomClientAddress(o.clientAddress); |
| 2408 unittest.expect(o.kind, unittest.equals('foo')); | 2408 unittest.expect(o.kind, unittest.equals('foo')); |
| 2409 checkNetworkDiagnostics(o.networkDiagnostics); | 2409 checkNetworkDiagnostics(o.networkDiagnostics); |
| 2410 } | 2410 } |
| 2411 buildCounterRoomJoinRequest--; | 2411 buildCounterRoomJoinRequest--; |
| 2412 } | 2412 } |
| 2413 | 2413 |
| 2414 buildUnnamed52() { | 2414 buildUnnamed1750() { |
| 2415 var o = new core.List<api.PeerSessionDiagnostics>(); | 2415 var o = new core.List<api.PeerSessionDiagnostics>(); |
| 2416 o.add(buildPeerSessionDiagnostics()); | 2416 o.add(buildPeerSessionDiagnostics()); |
| 2417 o.add(buildPeerSessionDiagnostics()); | 2417 o.add(buildPeerSessionDiagnostics()); |
| 2418 return o; | 2418 return o; |
| 2419 } | 2419 } |
| 2420 | 2420 |
| 2421 checkUnnamed52(core.List<api.PeerSessionDiagnostics> o) { | 2421 checkUnnamed1750(core.List<api.PeerSessionDiagnostics> o) { |
| 2422 unittest.expect(o, unittest.hasLength(2)); | 2422 unittest.expect(o, unittest.hasLength(2)); |
| 2423 checkPeerSessionDiagnostics(o[0]); | 2423 checkPeerSessionDiagnostics(o[0]); |
| 2424 checkPeerSessionDiagnostics(o[1]); | 2424 checkPeerSessionDiagnostics(o[1]); |
| 2425 } | 2425 } |
| 2426 | 2426 |
| 2427 core.int buildCounterRoomLeaveDiagnostics = 0; | 2427 core.int buildCounterRoomLeaveDiagnostics = 0; |
| 2428 buildRoomLeaveDiagnostics() { | 2428 buildRoomLeaveDiagnostics() { |
| 2429 var o = new api.RoomLeaveDiagnostics(); | 2429 var o = new api.RoomLeaveDiagnostics(); |
| 2430 buildCounterRoomLeaveDiagnostics++; | 2430 buildCounterRoomLeaveDiagnostics++; |
| 2431 if (buildCounterRoomLeaveDiagnostics < 3) { | 2431 if (buildCounterRoomLeaveDiagnostics < 3) { |
| 2432 o.androidNetworkSubtype = 42; | 2432 o.androidNetworkSubtype = 42; |
| 2433 o.androidNetworkType = 42; | 2433 o.androidNetworkType = 42; |
| 2434 o.iosNetworkType = 42; | 2434 o.iosNetworkType = 42; |
| 2435 o.kind = "foo"; | 2435 o.kind = "foo"; |
| 2436 o.networkOperatorCode = "foo"; | 2436 o.networkOperatorCode = "foo"; |
| 2437 o.networkOperatorName = "foo"; | 2437 o.networkOperatorName = "foo"; |
| 2438 o.peerSession = buildUnnamed52(); | 2438 o.peerSession = buildUnnamed1750(); |
| 2439 o.socketsUsed = true; | 2439 o.socketsUsed = true; |
| 2440 } | 2440 } |
| 2441 buildCounterRoomLeaveDiagnostics--; | 2441 buildCounterRoomLeaveDiagnostics--; |
| 2442 return o; | 2442 return o; |
| 2443 } | 2443 } |
| 2444 | 2444 |
| 2445 checkRoomLeaveDiagnostics(api.RoomLeaveDiagnostics o) { | 2445 checkRoomLeaveDiagnostics(api.RoomLeaveDiagnostics o) { |
| 2446 buildCounterRoomLeaveDiagnostics++; | 2446 buildCounterRoomLeaveDiagnostics++; |
| 2447 if (buildCounterRoomLeaveDiagnostics < 3) { | 2447 if (buildCounterRoomLeaveDiagnostics < 3) { |
| 2448 unittest.expect(o.androidNetworkSubtype, unittest.equals(42)); | 2448 unittest.expect(o.androidNetworkSubtype, unittest.equals(42)); |
| 2449 unittest.expect(o.androidNetworkType, unittest.equals(42)); | 2449 unittest.expect(o.androidNetworkType, unittest.equals(42)); |
| 2450 unittest.expect(o.iosNetworkType, unittest.equals(42)); | 2450 unittest.expect(o.iosNetworkType, unittest.equals(42)); |
| 2451 unittest.expect(o.kind, unittest.equals('foo')); | 2451 unittest.expect(o.kind, unittest.equals('foo')); |
| 2452 unittest.expect(o.networkOperatorCode, unittest.equals('foo')); | 2452 unittest.expect(o.networkOperatorCode, unittest.equals('foo')); |
| 2453 unittest.expect(o.networkOperatorName, unittest.equals('foo')); | 2453 unittest.expect(o.networkOperatorName, unittest.equals('foo')); |
| 2454 checkUnnamed52(o.peerSession); | 2454 checkUnnamed1750(o.peerSession); |
| 2455 unittest.expect(o.socketsUsed, unittest.isTrue); | 2455 unittest.expect(o.socketsUsed, unittest.isTrue); |
| 2456 } | 2456 } |
| 2457 buildCounterRoomLeaveDiagnostics--; | 2457 buildCounterRoomLeaveDiagnostics--; |
| 2458 } | 2458 } |
| 2459 | 2459 |
| 2460 core.int buildCounterRoomLeaveRequest = 0; | 2460 core.int buildCounterRoomLeaveRequest = 0; |
| 2461 buildRoomLeaveRequest() { | 2461 buildRoomLeaveRequest() { |
| 2462 var o = new api.RoomLeaveRequest(); | 2462 var o = new api.RoomLeaveRequest(); |
| 2463 buildCounterRoomLeaveRequest++; | 2463 buildCounterRoomLeaveRequest++; |
| 2464 if (buildCounterRoomLeaveRequest < 3) { | 2464 if (buildCounterRoomLeaveRequest < 3) { |
| 2465 o.kind = "foo"; | 2465 o.kind = "foo"; |
| 2466 o.leaveDiagnostics = buildRoomLeaveDiagnostics(); | 2466 o.leaveDiagnostics = buildRoomLeaveDiagnostics(); |
| 2467 o.reason = "foo"; | 2467 o.reason = "foo"; |
| 2468 } | 2468 } |
| 2469 buildCounterRoomLeaveRequest--; | 2469 buildCounterRoomLeaveRequest--; |
| 2470 return o; | 2470 return o; |
| 2471 } | 2471 } |
| 2472 | 2472 |
| 2473 checkRoomLeaveRequest(api.RoomLeaveRequest o) { | 2473 checkRoomLeaveRequest(api.RoomLeaveRequest o) { |
| 2474 buildCounterRoomLeaveRequest++; | 2474 buildCounterRoomLeaveRequest++; |
| 2475 if (buildCounterRoomLeaveRequest < 3) { | 2475 if (buildCounterRoomLeaveRequest < 3) { |
| 2476 unittest.expect(o.kind, unittest.equals('foo')); | 2476 unittest.expect(o.kind, unittest.equals('foo')); |
| 2477 checkRoomLeaveDiagnostics(o.leaveDiagnostics); | 2477 checkRoomLeaveDiagnostics(o.leaveDiagnostics); |
| 2478 unittest.expect(o.reason, unittest.equals('foo')); | 2478 unittest.expect(o.reason, unittest.equals('foo')); |
| 2479 } | 2479 } |
| 2480 buildCounterRoomLeaveRequest--; | 2480 buildCounterRoomLeaveRequest--; |
| 2481 } | 2481 } |
| 2482 | 2482 |
| 2483 buildUnnamed53() { | 2483 buildUnnamed1751() { |
| 2484 var o = new core.List<api.Room>(); | 2484 var o = new core.List<api.Room>(); |
| 2485 o.add(buildRoom()); | 2485 o.add(buildRoom()); |
| 2486 o.add(buildRoom()); | 2486 o.add(buildRoom()); |
| 2487 return o; | 2487 return o; |
| 2488 } | 2488 } |
| 2489 | 2489 |
| 2490 checkUnnamed53(core.List<api.Room> o) { | 2490 checkUnnamed1751(core.List<api.Room> o) { |
| 2491 unittest.expect(o, unittest.hasLength(2)); | 2491 unittest.expect(o, unittest.hasLength(2)); |
| 2492 checkRoom(o[0]); | 2492 checkRoom(o[0]); |
| 2493 checkRoom(o[1]); | 2493 checkRoom(o[1]); |
| 2494 } | 2494 } |
| 2495 | 2495 |
| 2496 core.int buildCounterRoomList = 0; | 2496 core.int buildCounterRoomList = 0; |
| 2497 buildRoomList() { | 2497 buildRoomList() { |
| 2498 var o = new api.RoomList(); | 2498 var o = new api.RoomList(); |
| 2499 buildCounterRoomList++; | 2499 buildCounterRoomList++; |
| 2500 if (buildCounterRoomList < 3) { | 2500 if (buildCounterRoomList < 3) { |
| 2501 o.items = buildUnnamed53(); | 2501 o.items = buildUnnamed1751(); |
| 2502 o.kind = "foo"; | 2502 o.kind = "foo"; |
| 2503 o.nextPageToken = "foo"; | 2503 o.nextPageToken = "foo"; |
| 2504 } | 2504 } |
| 2505 buildCounterRoomList--; | 2505 buildCounterRoomList--; |
| 2506 return o; | 2506 return o; |
| 2507 } | 2507 } |
| 2508 | 2508 |
| 2509 checkRoomList(api.RoomList o) { | 2509 checkRoomList(api.RoomList o) { |
| 2510 buildCounterRoomList++; | 2510 buildCounterRoomList++; |
| 2511 if (buildCounterRoomList < 3) { | 2511 if (buildCounterRoomList < 3) { |
| 2512 checkUnnamed53(o.items); | 2512 checkUnnamed1751(o.items); |
| 2513 unittest.expect(o.kind, unittest.equals('foo')); | 2513 unittest.expect(o.kind, unittest.equals('foo')); |
| 2514 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2514 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2515 } | 2515 } |
| 2516 buildCounterRoomList--; | 2516 buildCounterRoomList--; |
| 2517 } | 2517 } |
| 2518 | 2518 |
| 2519 core.int buildCounterRoomModification = 0; | 2519 core.int buildCounterRoomModification = 0; |
| 2520 buildRoomModification() { | 2520 buildRoomModification() { |
| 2521 var o = new api.RoomModification(); | 2521 var o = new api.RoomModification(); |
| 2522 buildCounterRoomModification++; | 2522 buildCounterRoomModification++; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2563 unittest.expect(o.error, unittest.equals('foo')); | 2563 unittest.expect(o.error, unittest.equals('foo')); |
| 2564 unittest.expect(o.errorReason, unittest.equals('foo')); | 2564 unittest.expect(o.errorReason, unittest.equals('foo')); |
| 2565 unittest.expect(o.kind, unittest.equals('foo')); | 2565 unittest.expect(o.kind, unittest.equals('foo')); |
| 2566 unittest.expect(o.participantId, unittest.equals('foo')); | 2566 unittest.expect(o.participantId, unittest.equals('foo')); |
| 2567 unittest.expect(o.status, unittest.equals('foo')); | 2567 unittest.expect(o.status, unittest.equals('foo')); |
| 2568 unittest.expect(o.unreliableRoundtripLatencyMillis, unittest.equals(42)); | 2568 unittest.expect(o.unreliableRoundtripLatencyMillis, unittest.equals(42)); |
| 2569 } | 2569 } |
| 2570 buildCounterRoomP2PStatus--; | 2570 buildCounterRoomP2PStatus--; |
| 2571 } | 2571 } |
| 2572 | 2572 |
| 2573 buildUnnamed54() { | 2573 buildUnnamed1752() { |
| 2574 var o = new core.List<api.RoomP2PStatus>(); | 2574 var o = new core.List<api.RoomP2PStatus>(); |
| 2575 o.add(buildRoomP2PStatus()); | 2575 o.add(buildRoomP2PStatus()); |
| 2576 o.add(buildRoomP2PStatus()); | 2576 o.add(buildRoomP2PStatus()); |
| 2577 return o; | 2577 return o; |
| 2578 } | 2578 } |
| 2579 | 2579 |
| 2580 checkUnnamed54(core.List<api.RoomP2PStatus> o) { | 2580 checkUnnamed1752(core.List<api.RoomP2PStatus> o) { |
| 2581 unittest.expect(o, unittest.hasLength(2)); | 2581 unittest.expect(o, unittest.hasLength(2)); |
| 2582 checkRoomP2PStatus(o[0]); | 2582 checkRoomP2PStatus(o[0]); |
| 2583 checkRoomP2PStatus(o[1]); | 2583 checkRoomP2PStatus(o[1]); |
| 2584 } | 2584 } |
| 2585 | 2585 |
| 2586 core.int buildCounterRoomP2PStatuses = 0; | 2586 core.int buildCounterRoomP2PStatuses = 0; |
| 2587 buildRoomP2PStatuses() { | 2587 buildRoomP2PStatuses() { |
| 2588 var o = new api.RoomP2PStatuses(); | 2588 var o = new api.RoomP2PStatuses(); |
| 2589 buildCounterRoomP2PStatuses++; | 2589 buildCounterRoomP2PStatuses++; |
| 2590 if (buildCounterRoomP2PStatuses < 3) { | 2590 if (buildCounterRoomP2PStatuses < 3) { |
| 2591 o.kind = "foo"; | 2591 o.kind = "foo"; |
| 2592 o.updates = buildUnnamed54(); | 2592 o.updates = buildUnnamed1752(); |
| 2593 } | 2593 } |
| 2594 buildCounterRoomP2PStatuses--; | 2594 buildCounterRoomP2PStatuses--; |
| 2595 return o; | 2595 return o; |
| 2596 } | 2596 } |
| 2597 | 2597 |
| 2598 checkRoomP2PStatuses(api.RoomP2PStatuses o) { | 2598 checkRoomP2PStatuses(api.RoomP2PStatuses o) { |
| 2599 buildCounterRoomP2PStatuses++; | 2599 buildCounterRoomP2PStatuses++; |
| 2600 if (buildCounterRoomP2PStatuses < 3) { | 2600 if (buildCounterRoomP2PStatuses < 3) { |
| 2601 unittest.expect(o.kind, unittest.equals('foo')); | 2601 unittest.expect(o.kind, unittest.equals('foo')); |
| 2602 checkUnnamed54(o.updates); | 2602 checkUnnamed1752(o.updates); |
| 2603 } | 2603 } |
| 2604 buildCounterRoomP2PStatuses--; | 2604 buildCounterRoomP2PStatuses--; |
| 2605 } | 2605 } |
| 2606 | 2606 |
| 2607 buildUnnamed55() { | 2607 buildUnnamed1753() { |
| 2608 var o = new core.List<core.String>(); | 2608 var o = new core.List<core.String>(); |
| 2609 o.add("foo"); | 2609 o.add("foo"); |
| 2610 o.add("foo"); | 2610 o.add("foo"); |
| 2611 return o; | 2611 return o; |
| 2612 } | 2612 } |
| 2613 | 2613 |
| 2614 checkUnnamed55(core.List<core.String> o) { | 2614 checkUnnamed1753(core.List<core.String> o) { |
| 2615 unittest.expect(o, unittest.hasLength(2)); | 2615 unittest.expect(o, unittest.hasLength(2)); |
| 2616 unittest.expect(o[0], unittest.equals('foo')); | 2616 unittest.expect(o[0], unittest.equals('foo')); |
| 2617 unittest.expect(o[1], unittest.equals('foo')); | 2617 unittest.expect(o[1], unittest.equals('foo')); |
| 2618 } | 2618 } |
| 2619 | 2619 |
| 2620 core.int buildCounterRoomParticipant = 0; | 2620 core.int buildCounterRoomParticipant = 0; |
| 2621 buildRoomParticipant() { | 2621 buildRoomParticipant() { |
| 2622 var o = new api.RoomParticipant(); | 2622 var o = new api.RoomParticipant(); |
| 2623 buildCounterRoomParticipant++; | 2623 buildCounterRoomParticipant++; |
| 2624 if (buildCounterRoomParticipant < 3) { | 2624 if (buildCounterRoomParticipant < 3) { |
| 2625 o.autoMatched = true; | 2625 o.autoMatched = true; |
| 2626 o.autoMatchedPlayer = buildAnonymousPlayer(); | 2626 o.autoMatchedPlayer = buildAnonymousPlayer(); |
| 2627 o.capabilities = buildUnnamed55(); | 2627 o.capabilities = buildUnnamed1753(); |
| 2628 o.clientAddress = buildRoomClientAddress(); | 2628 o.clientAddress = buildRoomClientAddress(); |
| 2629 o.connected = true; | 2629 o.connected = true; |
| 2630 o.id = "foo"; | 2630 o.id = "foo"; |
| 2631 o.kind = "foo"; | 2631 o.kind = "foo"; |
| 2632 o.leaveReason = "foo"; | 2632 o.leaveReason = "foo"; |
| 2633 o.player = buildPlayer(); | 2633 o.player = buildPlayer(); |
| 2634 o.status = "foo"; | 2634 o.status = "foo"; |
| 2635 } | 2635 } |
| 2636 buildCounterRoomParticipant--; | 2636 buildCounterRoomParticipant--; |
| 2637 return o; | 2637 return o; |
| 2638 } | 2638 } |
| 2639 | 2639 |
| 2640 checkRoomParticipant(api.RoomParticipant o) { | 2640 checkRoomParticipant(api.RoomParticipant o) { |
| 2641 buildCounterRoomParticipant++; | 2641 buildCounterRoomParticipant++; |
| 2642 if (buildCounterRoomParticipant < 3) { | 2642 if (buildCounterRoomParticipant < 3) { |
| 2643 unittest.expect(o.autoMatched, unittest.isTrue); | 2643 unittest.expect(o.autoMatched, unittest.isTrue); |
| 2644 checkAnonymousPlayer(o.autoMatchedPlayer); | 2644 checkAnonymousPlayer(o.autoMatchedPlayer); |
| 2645 checkUnnamed55(o.capabilities); | 2645 checkUnnamed1753(o.capabilities); |
| 2646 checkRoomClientAddress(o.clientAddress); | 2646 checkRoomClientAddress(o.clientAddress); |
| 2647 unittest.expect(o.connected, unittest.isTrue); | 2647 unittest.expect(o.connected, unittest.isTrue); |
| 2648 unittest.expect(o.id, unittest.equals('foo')); | 2648 unittest.expect(o.id, unittest.equals('foo')); |
| 2649 unittest.expect(o.kind, unittest.equals('foo')); | 2649 unittest.expect(o.kind, unittest.equals('foo')); |
| 2650 unittest.expect(o.leaveReason, unittest.equals('foo')); | 2650 unittest.expect(o.leaveReason, unittest.equals('foo')); |
| 2651 checkPlayer(o.player); | 2651 checkPlayer(o.player); |
| 2652 unittest.expect(o.status, unittest.equals('foo')); | 2652 unittest.expect(o.status, unittest.equals('foo')); |
| 2653 } | 2653 } |
| 2654 buildCounterRoomParticipant--; | 2654 buildCounterRoomParticipant--; |
| 2655 } | 2655 } |
| 2656 | 2656 |
| 2657 buildUnnamed56() { | 2657 buildUnnamed1754() { |
| 2658 var o = new core.List<api.RoomParticipant>(); | 2658 var o = new core.List<api.RoomParticipant>(); |
| 2659 o.add(buildRoomParticipant()); | 2659 o.add(buildRoomParticipant()); |
| 2660 o.add(buildRoomParticipant()); | 2660 o.add(buildRoomParticipant()); |
| 2661 return o; | 2661 return o; |
| 2662 } | 2662 } |
| 2663 | 2663 |
| 2664 checkUnnamed56(core.List<api.RoomParticipant> o) { | 2664 checkUnnamed1754(core.List<api.RoomParticipant> o) { |
| 2665 unittest.expect(o, unittest.hasLength(2)); | 2665 unittest.expect(o, unittest.hasLength(2)); |
| 2666 checkRoomParticipant(o[0]); | 2666 checkRoomParticipant(o[0]); |
| 2667 checkRoomParticipant(o[1]); | 2667 checkRoomParticipant(o[1]); |
| 2668 } | 2668 } |
| 2669 | 2669 |
| 2670 core.int buildCounterRoomStatus = 0; | 2670 core.int buildCounterRoomStatus = 0; |
| 2671 buildRoomStatus() { | 2671 buildRoomStatus() { |
| 2672 var o = new api.RoomStatus(); | 2672 var o = new api.RoomStatus(); |
| 2673 buildCounterRoomStatus++; | 2673 buildCounterRoomStatus++; |
| 2674 if (buildCounterRoomStatus < 3) { | 2674 if (buildCounterRoomStatus < 3) { |
| 2675 o.autoMatchingStatus = buildRoomAutoMatchStatus(); | 2675 o.autoMatchingStatus = buildRoomAutoMatchStatus(); |
| 2676 o.kind = "foo"; | 2676 o.kind = "foo"; |
| 2677 o.participants = buildUnnamed56(); | 2677 o.participants = buildUnnamed1754(); |
| 2678 o.roomId = "foo"; | 2678 o.roomId = "foo"; |
| 2679 o.status = "foo"; | 2679 o.status = "foo"; |
| 2680 o.statusVersion = 42; | 2680 o.statusVersion = 42; |
| 2681 } | 2681 } |
| 2682 buildCounterRoomStatus--; | 2682 buildCounterRoomStatus--; |
| 2683 return o; | 2683 return o; |
| 2684 } | 2684 } |
| 2685 | 2685 |
| 2686 checkRoomStatus(api.RoomStatus o) { | 2686 checkRoomStatus(api.RoomStatus o) { |
| 2687 buildCounterRoomStatus++; | 2687 buildCounterRoomStatus++; |
| 2688 if (buildCounterRoomStatus < 3) { | 2688 if (buildCounterRoomStatus < 3) { |
| 2689 checkRoomAutoMatchStatus(o.autoMatchingStatus); | 2689 checkRoomAutoMatchStatus(o.autoMatchingStatus); |
| 2690 unittest.expect(o.kind, unittest.equals('foo')); | 2690 unittest.expect(o.kind, unittest.equals('foo')); |
| 2691 checkUnnamed56(o.participants); | 2691 checkUnnamed1754(o.participants); |
| 2692 unittest.expect(o.roomId, unittest.equals('foo')); | 2692 unittest.expect(o.roomId, unittest.equals('foo')); |
| 2693 unittest.expect(o.status, unittest.equals('foo')); | 2693 unittest.expect(o.status, unittest.equals('foo')); |
| 2694 unittest.expect(o.statusVersion, unittest.equals(42)); | 2694 unittest.expect(o.statusVersion, unittest.equals(42)); |
| 2695 } | 2695 } |
| 2696 buildCounterRoomStatus--; | 2696 buildCounterRoomStatus--; |
| 2697 } | 2697 } |
| 2698 | 2698 |
| 2699 core.int buildCounterScoreSubmission = 0; | 2699 core.int buildCounterScoreSubmission = 0; |
| 2700 buildScoreSubmission() { | 2700 buildScoreSubmission() { |
| 2701 var o = new api.ScoreSubmission(); | 2701 var o = new api.ScoreSubmission(); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2782 if (buildCounterSnapshotImage < 3) { | 2782 if (buildCounterSnapshotImage < 3) { |
| 2783 unittest.expect(o.height, unittest.equals(42)); | 2783 unittest.expect(o.height, unittest.equals(42)); |
| 2784 unittest.expect(o.kind, unittest.equals('foo')); | 2784 unittest.expect(o.kind, unittest.equals('foo')); |
| 2785 unittest.expect(o.mimeType, unittest.equals('foo')); | 2785 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 2786 unittest.expect(o.url, unittest.equals('foo')); | 2786 unittest.expect(o.url, unittest.equals('foo')); |
| 2787 unittest.expect(o.width, unittest.equals(42)); | 2787 unittest.expect(o.width, unittest.equals(42)); |
| 2788 } | 2788 } |
| 2789 buildCounterSnapshotImage--; | 2789 buildCounterSnapshotImage--; |
| 2790 } | 2790 } |
| 2791 | 2791 |
| 2792 buildUnnamed57() { | 2792 buildUnnamed1755() { |
| 2793 var o = new core.List<api.Snapshot>(); | 2793 var o = new core.List<api.Snapshot>(); |
| 2794 o.add(buildSnapshot()); | 2794 o.add(buildSnapshot()); |
| 2795 o.add(buildSnapshot()); | 2795 o.add(buildSnapshot()); |
| 2796 return o; | 2796 return o; |
| 2797 } | 2797 } |
| 2798 | 2798 |
| 2799 checkUnnamed57(core.List<api.Snapshot> o) { | 2799 checkUnnamed1755(core.List<api.Snapshot> o) { |
| 2800 unittest.expect(o, unittest.hasLength(2)); | 2800 unittest.expect(o, unittest.hasLength(2)); |
| 2801 checkSnapshot(o[0]); | 2801 checkSnapshot(o[0]); |
| 2802 checkSnapshot(o[1]); | 2802 checkSnapshot(o[1]); |
| 2803 } | 2803 } |
| 2804 | 2804 |
| 2805 core.int buildCounterSnapshotListResponse = 0; | 2805 core.int buildCounterSnapshotListResponse = 0; |
| 2806 buildSnapshotListResponse() { | 2806 buildSnapshotListResponse() { |
| 2807 var o = new api.SnapshotListResponse(); | 2807 var o = new api.SnapshotListResponse(); |
| 2808 buildCounterSnapshotListResponse++; | 2808 buildCounterSnapshotListResponse++; |
| 2809 if (buildCounterSnapshotListResponse < 3) { | 2809 if (buildCounterSnapshotListResponse < 3) { |
| 2810 o.items = buildUnnamed57(); | 2810 o.items = buildUnnamed1755(); |
| 2811 o.kind = "foo"; | 2811 o.kind = "foo"; |
| 2812 o.nextPageToken = "foo"; | 2812 o.nextPageToken = "foo"; |
| 2813 } | 2813 } |
| 2814 buildCounterSnapshotListResponse--; | 2814 buildCounterSnapshotListResponse--; |
| 2815 return o; | 2815 return o; |
| 2816 } | 2816 } |
| 2817 | 2817 |
| 2818 checkSnapshotListResponse(api.SnapshotListResponse o) { | 2818 checkSnapshotListResponse(api.SnapshotListResponse o) { |
| 2819 buildCounterSnapshotListResponse++; | 2819 buildCounterSnapshotListResponse++; |
| 2820 if (buildCounterSnapshotListResponse < 3) { | 2820 if (buildCounterSnapshotListResponse < 3) { |
| 2821 checkUnnamed57(o.items); | 2821 checkUnnamed1755(o.items); |
| 2822 unittest.expect(o.kind, unittest.equals('foo')); | 2822 unittest.expect(o.kind, unittest.equals('foo')); |
| 2823 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2823 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2824 } | 2824 } |
| 2825 buildCounterSnapshotListResponse--; | 2825 buildCounterSnapshotListResponse--; |
| 2826 } | 2826 } |
| 2827 | 2827 |
| 2828 core.int buildCounterTurnBasedAutoMatchingCriteria = 0; | 2828 core.int buildCounterTurnBasedAutoMatchingCriteria = 0; |
| 2829 buildTurnBasedAutoMatchingCriteria() { | 2829 buildTurnBasedAutoMatchingCriteria() { |
| 2830 var o = new api.TurnBasedAutoMatchingCriteria(); | 2830 var o = new api.TurnBasedAutoMatchingCriteria(); |
| 2831 buildCounterTurnBasedAutoMatchingCriteria++; | 2831 buildCounterTurnBasedAutoMatchingCriteria++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2843 buildCounterTurnBasedAutoMatchingCriteria++; | 2843 buildCounterTurnBasedAutoMatchingCriteria++; |
| 2844 if (buildCounterTurnBasedAutoMatchingCriteria < 3) { | 2844 if (buildCounterTurnBasedAutoMatchingCriteria < 3) { |
| 2845 unittest.expect(o.exclusiveBitmask, unittest.equals('foo')); | 2845 unittest.expect(o.exclusiveBitmask, unittest.equals('foo')); |
| 2846 unittest.expect(o.kind, unittest.equals('foo')); | 2846 unittest.expect(o.kind, unittest.equals('foo')); |
| 2847 unittest.expect(o.maxAutoMatchingPlayers, unittest.equals(42)); | 2847 unittest.expect(o.maxAutoMatchingPlayers, unittest.equals(42)); |
| 2848 unittest.expect(o.minAutoMatchingPlayers, unittest.equals(42)); | 2848 unittest.expect(o.minAutoMatchingPlayers, unittest.equals(42)); |
| 2849 } | 2849 } |
| 2850 buildCounterTurnBasedAutoMatchingCriteria--; | 2850 buildCounterTurnBasedAutoMatchingCriteria--; |
| 2851 } | 2851 } |
| 2852 | 2852 |
| 2853 buildUnnamed58() { | 2853 buildUnnamed1756() { |
| 2854 var o = new core.List<api.TurnBasedMatchParticipant>(); | 2854 var o = new core.List<api.TurnBasedMatchParticipant>(); |
| 2855 o.add(buildTurnBasedMatchParticipant()); | 2855 o.add(buildTurnBasedMatchParticipant()); |
| 2856 o.add(buildTurnBasedMatchParticipant()); | 2856 o.add(buildTurnBasedMatchParticipant()); |
| 2857 return o; | 2857 return o; |
| 2858 } | 2858 } |
| 2859 | 2859 |
| 2860 checkUnnamed58(core.List<api.TurnBasedMatchParticipant> o) { | 2860 checkUnnamed1756(core.List<api.TurnBasedMatchParticipant> o) { |
| 2861 unittest.expect(o, unittest.hasLength(2)); | 2861 unittest.expect(o, unittest.hasLength(2)); |
| 2862 checkTurnBasedMatchParticipant(o[0]); | 2862 checkTurnBasedMatchParticipant(o[0]); |
| 2863 checkTurnBasedMatchParticipant(o[1]); | 2863 checkTurnBasedMatchParticipant(o[1]); |
| 2864 } | 2864 } |
| 2865 | 2865 |
| 2866 buildUnnamed59() { | 2866 buildUnnamed1757() { |
| 2867 var o = new core.List<api.ParticipantResult>(); | 2867 var o = new core.List<api.ParticipantResult>(); |
| 2868 o.add(buildParticipantResult()); | 2868 o.add(buildParticipantResult()); |
| 2869 o.add(buildParticipantResult()); | 2869 o.add(buildParticipantResult()); |
| 2870 return o; | 2870 return o; |
| 2871 } | 2871 } |
| 2872 | 2872 |
| 2873 checkUnnamed59(core.List<api.ParticipantResult> o) { | 2873 checkUnnamed1757(core.List<api.ParticipantResult> o) { |
| 2874 unittest.expect(o, unittest.hasLength(2)); | 2874 unittest.expect(o, unittest.hasLength(2)); |
| 2875 checkParticipantResult(o[0]); | 2875 checkParticipantResult(o[0]); |
| 2876 checkParticipantResult(o[1]); | 2876 checkParticipantResult(o[1]); |
| 2877 } | 2877 } |
| 2878 | 2878 |
| 2879 core.int buildCounterTurnBasedMatch = 0; | 2879 core.int buildCounterTurnBasedMatch = 0; |
| 2880 buildTurnBasedMatch() { | 2880 buildTurnBasedMatch() { |
| 2881 var o = new api.TurnBasedMatch(); | 2881 var o = new api.TurnBasedMatch(); |
| 2882 buildCounterTurnBasedMatch++; | 2882 buildCounterTurnBasedMatch++; |
| 2883 if (buildCounterTurnBasedMatch < 3) { | 2883 if (buildCounterTurnBasedMatch < 3) { |
| 2884 o.applicationId = "foo"; | 2884 o.applicationId = "foo"; |
| 2885 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); | 2885 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); |
| 2886 o.creationDetails = buildTurnBasedMatchModification(); | 2886 o.creationDetails = buildTurnBasedMatchModification(); |
| 2887 o.data = buildTurnBasedMatchData(); | 2887 o.data = buildTurnBasedMatchData(); |
| 2888 o.description = "foo"; | 2888 o.description = "foo"; |
| 2889 o.inviterId = "foo"; | 2889 o.inviterId = "foo"; |
| 2890 o.kind = "foo"; | 2890 o.kind = "foo"; |
| 2891 o.lastUpdateDetails = buildTurnBasedMatchModification(); | 2891 o.lastUpdateDetails = buildTurnBasedMatchModification(); |
| 2892 o.matchId = "foo"; | 2892 o.matchId = "foo"; |
| 2893 o.matchNumber = 42; | 2893 o.matchNumber = 42; |
| 2894 o.matchVersion = 42; | 2894 o.matchVersion = 42; |
| 2895 o.participants = buildUnnamed58(); | 2895 o.participants = buildUnnamed1756(); |
| 2896 o.pendingParticipantId = "foo"; | 2896 o.pendingParticipantId = "foo"; |
| 2897 o.previousMatchData = buildTurnBasedMatchData(); | 2897 o.previousMatchData = buildTurnBasedMatchData(); |
| 2898 o.rematchId = "foo"; | 2898 o.rematchId = "foo"; |
| 2899 o.results = buildUnnamed59(); | 2899 o.results = buildUnnamed1757(); |
| 2900 o.status = "foo"; | 2900 o.status = "foo"; |
| 2901 o.userMatchStatus = "foo"; | 2901 o.userMatchStatus = "foo"; |
| 2902 o.variant = 42; | 2902 o.variant = 42; |
| 2903 o.withParticipantId = "foo"; | 2903 o.withParticipantId = "foo"; |
| 2904 } | 2904 } |
| 2905 buildCounterTurnBasedMatch--; | 2905 buildCounterTurnBasedMatch--; |
| 2906 return o; | 2906 return o; |
| 2907 } | 2907 } |
| 2908 | 2908 |
| 2909 checkTurnBasedMatch(api.TurnBasedMatch o) { | 2909 checkTurnBasedMatch(api.TurnBasedMatch o) { |
| 2910 buildCounterTurnBasedMatch++; | 2910 buildCounterTurnBasedMatch++; |
| 2911 if (buildCounterTurnBasedMatch < 3) { | 2911 if (buildCounterTurnBasedMatch < 3) { |
| 2912 unittest.expect(o.applicationId, unittest.equals('foo')); | 2912 unittest.expect(o.applicationId, unittest.equals('foo')); |
| 2913 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); | 2913 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); |
| 2914 checkTurnBasedMatchModification(o.creationDetails); | 2914 checkTurnBasedMatchModification(o.creationDetails); |
| 2915 checkTurnBasedMatchData(o.data); | 2915 checkTurnBasedMatchData(o.data); |
| 2916 unittest.expect(o.description, unittest.equals('foo')); | 2916 unittest.expect(o.description, unittest.equals('foo')); |
| 2917 unittest.expect(o.inviterId, unittest.equals('foo')); | 2917 unittest.expect(o.inviterId, unittest.equals('foo')); |
| 2918 unittest.expect(o.kind, unittest.equals('foo')); | 2918 unittest.expect(o.kind, unittest.equals('foo')); |
| 2919 checkTurnBasedMatchModification(o.lastUpdateDetails); | 2919 checkTurnBasedMatchModification(o.lastUpdateDetails); |
| 2920 unittest.expect(o.matchId, unittest.equals('foo')); | 2920 unittest.expect(o.matchId, unittest.equals('foo')); |
| 2921 unittest.expect(o.matchNumber, unittest.equals(42)); | 2921 unittest.expect(o.matchNumber, unittest.equals(42)); |
| 2922 unittest.expect(o.matchVersion, unittest.equals(42)); | 2922 unittest.expect(o.matchVersion, unittest.equals(42)); |
| 2923 checkUnnamed58(o.participants); | 2923 checkUnnamed1756(o.participants); |
| 2924 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); | 2924 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); |
| 2925 checkTurnBasedMatchData(o.previousMatchData); | 2925 checkTurnBasedMatchData(o.previousMatchData); |
| 2926 unittest.expect(o.rematchId, unittest.equals('foo')); | 2926 unittest.expect(o.rematchId, unittest.equals('foo')); |
| 2927 checkUnnamed59(o.results); | 2927 checkUnnamed1757(o.results); |
| 2928 unittest.expect(o.status, unittest.equals('foo')); | 2928 unittest.expect(o.status, unittest.equals('foo')); |
| 2929 unittest.expect(o.userMatchStatus, unittest.equals('foo')); | 2929 unittest.expect(o.userMatchStatus, unittest.equals('foo')); |
| 2930 unittest.expect(o.variant, unittest.equals(42)); | 2930 unittest.expect(o.variant, unittest.equals(42)); |
| 2931 unittest.expect(o.withParticipantId, unittest.equals('foo')); | 2931 unittest.expect(o.withParticipantId, unittest.equals('foo')); |
| 2932 } | 2932 } |
| 2933 buildCounterTurnBasedMatch--; | 2933 buildCounterTurnBasedMatch--; |
| 2934 } | 2934 } |
| 2935 | 2935 |
| 2936 buildUnnamed60() { | 2936 buildUnnamed1758() { |
| 2937 var o = new core.List<core.String>(); | 2937 var o = new core.List<core.String>(); |
| 2938 o.add("foo"); | 2938 o.add("foo"); |
| 2939 o.add("foo"); | 2939 o.add("foo"); |
| 2940 return o; | 2940 return o; |
| 2941 } | 2941 } |
| 2942 | 2942 |
| 2943 checkUnnamed60(core.List<core.String> o) { | 2943 checkUnnamed1758(core.List<core.String> o) { |
| 2944 unittest.expect(o, unittest.hasLength(2)); | 2944 unittest.expect(o, unittest.hasLength(2)); |
| 2945 unittest.expect(o[0], unittest.equals('foo')); | 2945 unittest.expect(o[0], unittest.equals('foo')); |
| 2946 unittest.expect(o[1], unittest.equals('foo')); | 2946 unittest.expect(o[1], unittest.equals('foo')); |
| 2947 } | 2947 } |
| 2948 | 2948 |
| 2949 core.int buildCounterTurnBasedMatchCreateRequest = 0; | 2949 core.int buildCounterTurnBasedMatchCreateRequest = 0; |
| 2950 buildTurnBasedMatchCreateRequest() { | 2950 buildTurnBasedMatchCreateRequest() { |
| 2951 var o = new api.TurnBasedMatchCreateRequest(); | 2951 var o = new api.TurnBasedMatchCreateRequest(); |
| 2952 buildCounterTurnBasedMatchCreateRequest++; | 2952 buildCounterTurnBasedMatchCreateRequest++; |
| 2953 if (buildCounterTurnBasedMatchCreateRequest < 3) { | 2953 if (buildCounterTurnBasedMatchCreateRequest < 3) { |
| 2954 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); | 2954 o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria(); |
| 2955 o.invitedPlayerIds = buildUnnamed60(); | 2955 o.invitedPlayerIds = buildUnnamed1758(); |
| 2956 o.kind = "foo"; | 2956 o.kind = "foo"; |
| 2957 o.requestId = "foo"; | 2957 o.requestId = "foo"; |
| 2958 o.variant = 42; | 2958 o.variant = 42; |
| 2959 } | 2959 } |
| 2960 buildCounterTurnBasedMatchCreateRequest--; | 2960 buildCounterTurnBasedMatchCreateRequest--; |
| 2961 return o; | 2961 return o; |
| 2962 } | 2962 } |
| 2963 | 2963 |
| 2964 checkTurnBasedMatchCreateRequest(api.TurnBasedMatchCreateRequest o) { | 2964 checkTurnBasedMatchCreateRequest(api.TurnBasedMatchCreateRequest o) { |
| 2965 buildCounterTurnBasedMatchCreateRequest++; | 2965 buildCounterTurnBasedMatchCreateRequest++; |
| 2966 if (buildCounterTurnBasedMatchCreateRequest < 3) { | 2966 if (buildCounterTurnBasedMatchCreateRequest < 3) { |
| 2967 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); | 2967 checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria); |
| 2968 checkUnnamed60(o.invitedPlayerIds); | 2968 checkUnnamed1758(o.invitedPlayerIds); |
| 2969 unittest.expect(o.kind, unittest.equals('foo')); | 2969 unittest.expect(o.kind, unittest.equals('foo')); |
| 2970 unittest.expect(o.requestId, unittest.equals('foo')); | 2970 unittest.expect(o.requestId, unittest.equals('foo')); |
| 2971 unittest.expect(o.variant, unittest.equals(42)); | 2971 unittest.expect(o.variant, unittest.equals(42)); |
| 2972 } | 2972 } |
| 2973 buildCounterTurnBasedMatchCreateRequest--; | 2973 buildCounterTurnBasedMatchCreateRequest--; |
| 2974 } | 2974 } |
| 2975 | 2975 |
| 2976 core.int buildCounterTurnBasedMatchData = 0; | 2976 core.int buildCounterTurnBasedMatchData = 0; |
| 2977 buildTurnBasedMatchData() { | 2977 buildTurnBasedMatchData() { |
| 2978 var o = new api.TurnBasedMatchData(); | 2978 var o = new api.TurnBasedMatchData(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3010 | 3010 |
| 3011 checkTurnBasedMatchDataRequest(api.TurnBasedMatchDataRequest o) { | 3011 checkTurnBasedMatchDataRequest(api.TurnBasedMatchDataRequest o) { |
| 3012 buildCounterTurnBasedMatchDataRequest++; | 3012 buildCounterTurnBasedMatchDataRequest++; |
| 3013 if (buildCounterTurnBasedMatchDataRequest < 3) { | 3013 if (buildCounterTurnBasedMatchDataRequest < 3) { |
| 3014 unittest.expect(o.data, unittest.equals('foo')); | 3014 unittest.expect(o.data, unittest.equals('foo')); |
| 3015 unittest.expect(o.kind, unittest.equals('foo')); | 3015 unittest.expect(o.kind, unittest.equals('foo')); |
| 3016 } | 3016 } |
| 3017 buildCounterTurnBasedMatchDataRequest--; | 3017 buildCounterTurnBasedMatchDataRequest--; |
| 3018 } | 3018 } |
| 3019 | 3019 |
| 3020 buildUnnamed61() { | 3020 buildUnnamed1759() { |
| 3021 var o = new core.List<api.TurnBasedMatch>(); | 3021 var o = new core.List<api.TurnBasedMatch>(); |
| 3022 o.add(buildTurnBasedMatch()); | 3022 o.add(buildTurnBasedMatch()); |
| 3023 o.add(buildTurnBasedMatch()); | 3023 o.add(buildTurnBasedMatch()); |
| 3024 return o; | 3024 return o; |
| 3025 } | 3025 } |
| 3026 | 3026 |
| 3027 checkUnnamed61(core.List<api.TurnBasedMatch> o) { | 3027 checkUnnamed1759(core.List<api.TurnBasedMatch> o) { |
| 3028 unittest.expect(o, unittest.hasLength(2)); | 3028 unittest.expect(o, unittest.hasLength(2)); |
| 3029 checkTurnBasedMatch(o[0]); | 3029 checkTurnBasedMatch(o[0]); |
| 3030 checkTurnBasedMatch(o[1]); | 3030 checkTurnBasedMatch(o[1]); |
| 3031 } | 3031 } |
| 3032 | 3032 |
| 3033 core.int buildCounterTurnBasedMatchList = 0; | 3033 core.int buildCounterTurnBasedMatchList = 0; |
| 3034 buildTurnBasedMatchList() { | 3034 buildTurnBasedMatchList() { |
| 3035 var o = new api.TurnBasedMatchList(); | 3035 var o = new api.TurnBasedMatchList(); |
| 3036 buildCounterTurnBasedMatchList++; | 3036 buildCounterTurnBasedMatchList++; |
| 3037 if (buildCounterTurnBasedMatchList < 3) { | 3037 if (buildCounterTurnBasedMatchList < 3) { |
| 3038 o.items = buildUnnamed61(); | 3038 o.items = buildUnnamed1759(); |
| 3039 o.kind = "foo"; | 3039 o.kind = "foo"; |
| 3040 o.nextPageToken = "foo"; | 3040 o.nextPageToken = "foo"; |
| 3041 } | 3041 } |
| 3042 buildCounterTurnBasedMatchList--; | 3042 buildCounterTurnBasedMatchList--; |
| 3043 return o; | 3043 return o; |
| 3044 } | 3044 } |
| 3045 | 3045 |
| 3046 checkTurnBasedMatchList(api.TurnBasedMatchList o) { | 3046 checkTurnBasedMatchList(api.TurnBasedMatchList o) { |
| 3047 buildCounterTurnBasedMatchList++; | 3047 buildCounterTurnBasedMatchList++; |
| 3048 if (buildCounterTurnBasedMatchList < 3) { | 3048 if (buildCounterTurnBasedMatchList < 3) { |
| 3049 checkUnnamed61(o.items); | 3049 checkUnnamed1759(o.items); |
| 3050 unittest.expect(o.kind, unittest.equals('foo')); | 3050 unittest.expect(o.kind, unittest.equals('foo')); |
| 3051 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3051 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3052 } | 3052 } |
| 3053 buildCounterTurnBasedMatchList--; | 3053 buildCounterTurnBasedMatchList--; |
| 3054 } | 3054 } |
| 3055 | 3055 |
| 3056 core.int buildCounterTurnBasedMatchModification = 0; | 3056 core.int buildCounterTurnBasedMatchModification = 0; |
| 3057 buildTurnBasedMatchModification() { | 3057 buildTurnBasedMatchModification() { |
| 3058 var o = new api.TurnBasedMatchModification(); | 3058 var o = new api.TurnBasedMatchModification(); |
| 3059 buildCounterTurnBasedMatchModification++; | 3059 buildCounterTurnBasedMatchModification++; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3121 checkTurnBasedMatchRematch(api.TurnBasedMatchRematch o) { | 3121 checkTurnBasedMatchRematch(api.TurnBasedMatchRematch o) { |
| 3122 buildCounterTurnBasedMatchRematch++; | 3122 buildCounterTurnBasedMatchRematch++; |
| 3123 if (buildCounterTurnBasedMatchRematch < 3) { | 3123 if (buildCounterTurnBasedMatchRematch < 3) { |
| 3124 unittest.expect(o.kind, unittest.equals('foo')); | 3124 unittest.expect(o.kind, unittest.equals('foo')); |
| 3125 checkTurnBasedMatch(o.previousMatch); | 3125 checkTurnBasedMatch(o.previousMatch); |
| 3126 checkTurnBasedMatch(o.rematch); | 3126 checkTurnBasedMatch(o.rematch); |
| 3127 } | 3127 } |
| 3128 buildCounterTurnBasedMatchRematch--; | 3128 buildCounterTurnBasedMatchRematch--; |
| 3129 } | 3129 } |
| 3130 | 3130 |
| 3131 buildUnnamed62() { | 3131 buildUnnamed1760() { |
| 3132 var o = new core.List<api.ParticipantResult>(); | 3132 var o = new core.List<api.ParticipantResult>(); |
| 3133 o.add(buildParticipantResult()); | 3133 o.add(buildParticipantResult()); |
| 3134 o.add(buildParticipantResult()); | 3134 o.add(buildParticipantResult()); |
| 3135 return o; | 3135 return o; |
| 3136 } | 3136 } |
| 3137 | 3137 |
| 3138 checkUnnamed62(core.List<api.ParticipantResult> o) { | 3138 checkUnnamed1760(core.List<api.ParticipantResult> o) { |
| 3139 unittest.expect(o, unittest.hasLength(2)); | 3139 unittest.expect(o, unittest.hasLength(2)); |
| 3140 checkParticipantResult(o[0]); | 3140 checkParticipantResult(o[0]); |
| 3141 checkParticipantResult(o[1]); | 3141 checkParticipantResult(o[1]); |
| 3142 } | 3142 } |
| 3143 | 3143 |
| 3144 core.int buildCounterTurnBasedMatchResults = 0; | 3144 core.int buildCounterTurnBasedMatchResults = 0; |
| 3145 buildTurnBasedMatchResults() { | 3145 buildTurnBasedMatchResults() { |
| 3146 var o = new api.TurnBasedMatchResults(); | 3146 var o = new api.TurnBasedMatchResults(); |
| 3147 buildCounterTurnBasedMatchResults++; | 3147 buildCounterTurnBasedMatchResults++; |
| 3148 if (buildCounterTurnBasedMatchResults < 3) { | 3148 if (buildCounterTurnBasedMatchResults < 3) { |
| 3149 o.data = buildTurnBasedMatchDataRequest(); | 3149 o.data = buildTurnBasedMatchDataRequest(); |
| 3150 o.kind = "foo"; | 3150 o.kind = "foo"; |
| 3151 o.matchVersion = 42; | 3151 o.matchVersion = 42; |
| 3152 o.results = buildUnnamed62(); | 3152 o.results = buildUnnamed1760(); |
| 3153 } | 3153 } |
| 3154 buildCounterTurnBasedMatchResults--; | 3154 buildCounterTurnBasedMatchResults--; |
| 3155 return o; | 3155 return o; |
| 3156 } | 3156 } |
| 3157 | 3157 |
| 3158 checkTurnBasedMatchResults(api.TurnBasedMatchResults o) { | 3158 checkTurnBasedMatchResults(api.TurnBasedMatchResults o) { |
| 3159 buildCounterTurnBasedMatchResults++; | 3159 buildCounterTurnBasedMatchResults++; |
| 3160 if (buildCounterTurnBasedMatchResults < 3) { | 3160 if (buildCounterTurnBasedMatchResults < 3) { |
| 3161 checkTurnBasedMatchDataRequest(o.data); | 3161 checkTurnBasedMatchDataRequest(o.data); |
| 3162 unittest.expect(o.kind, unittest.equals('foo')); | 3162 unittest.expect(o.kind, unittest.equals('foo')); |
| 3163 unittest.expect(o.matchVersion, unittest.equals(42)); | 3163 unittest.expect(o.matchVersion, unittest.equals(42)); |
| 3164 checkUnnamed62(o.results); | 3164 checkUnnamed1760(o.results); |
| 3165 } | 3165 } |
| 3166 buildCounterTurnBasedMatchResults--; | 3166 buildCounterTurnBasedMatchResults--; |
| 3167 } | 3167 } |
| 3168 | 3168 |
| 3169 buildUnnamed63() { | 3169 buildUnnamed1761() { |
| 3170 var o = new core.List<api.TurnBasedMatch>(); | 3170 var o = new core.List<api.TurnBasedMatch>(); |
| 3171 o.add(buildTurnBasedMatch()); | 3171 o.add(buildTurnBasedMatch()); |
| 3172 o.add(buildTurnBasedMatch()); | 3172 o.add(buildTurnBasedMatch()); |
| 3173 return o; | 3173 return o; |
| 3174 } | 3174 } |
| 3175 | 3175 |
| 3176 checkUnnamed63(core.List<api.TurnBasedMatch> o) { | 3176 checkUnnamed1761(core.List<api.TurnBasedMatch> o) { |
| 3177 unittest.expect(o, unittest.hasLength(2)); | 3177 unittest.expect(o, unittest.hasLength(2)); |
| 3178 checkTurnBasedMatch(o[0]); | 3178 checkTurnBasedMatch(o[0]); |
| 3179 checkTurnBasedMatch(o[1]); | 3179 checkTurnBasedMatch(o[1]); |
| 3180 } | 3180 } |
| 3181 | 3181 |
| 3182 core.int buildCounterTurnBasedMatchSync = 0; | 3182 core.int buildCounterTurnBasedMatchSync = 0; |
| 3183 buildTurnBasedMatchSync() { | 3183 buildTurnBasedMatchSync() { |
| 3184 var o = new api.TurnBasedMatchSync(); | 3184 var o = new api.TurnBasedMatchSync(); |
| 3185 buildCounterTurnBasedMatchSync++; | 3185 buildCounterTurnBasedMatchSync++; |
| 3186 if (buildCounterTurnBasedMatchSync < 3) { | 3186 if (buildCounterTurnBasedMatchSync < 3) { |
| 3187 o.items = buildUnnamed63(); | 3187 o.items = buildUnnamed1761(); |
| 3188 o.kind = "foo"; | 3188 o.kind = "foo"; |
| 3189 o.moreAvailable = true; | 3189 o.moreAvailable = true; |
| 3190 o.nextPageToken = "foo"; | 3190 o.nextPageToken = "foo"; |
| 3191 } | 3191 } |
| 3192 buildCounterTurnBasedMatchSync--; | 3192 buildCounterTurnBasedMatchSync--; |
| 3193 return o; | 3193 return o; |
| 3194 } | 3194 } |
| 3195 | 3195 |
| 3196 checkTurnBasedMatchSync(api.TurnBasedMatchSync o) { | 3196 checkTurnBasedMatchSync(api.TurnBasedMatchSync o) { |
| 3197 buildCounterTurnBasedMatchSync++; | 3197 buildCounterTurnBasedMatchSync++; |
| 3198 if (buildCounterTurnBasedMatchSync < 3) { | 3198 if (buildCounterTurnBasedMatchSync < 3) { |
| 3199 checkUnnamed63(o.items); | 3199 checkUnnamed1761(o.items); |
| 3200 unittest.expect(o.kind, unittest.equals('foo')); | 3200 unittest.expect(o.kind, unittest.equals('foo')); |
| 3201 unittest.expect(o.moreAvailable, unittest.isTrue); | 3201 unittest.expect(o.moreAvailable, unittest.isTrue); |
| 3202 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3202 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3203 } | 3203 } |
| 3204 buildCounterTurnBasedMatchSync--; | 3204 buildCounterTurnBasedMatchSync--; |
| 3205 } | 3205 } |
| 3206 | 3206 |
| 3207 buildUnnamed64() { | 3207 buildUnnamed1762() { |
| 3208 var o = new core.List<api.ParticipantResult>(); | 3208 var o = new core.List<api.ParticipantResult>(); |
| 3209 o.add(buildParticipantResult()); | 3209 o.add(buildParticipantResult()); |
| 3210 o.add(buildParticipantResult()); | 3210 o.add(buildParticipantResult()); |
| 3211 return o; | 3211 return o; |
| 3212 } | 3212 } |
| 3213 | 3213 |
| 3214 checkUnnamed64(core.List<api.ParticipantResult> o) { | 3214 checkUnnamed1762(core.List<api.ParticipantResult> o) { |
| 3215 unittest.expect(o, unittest.hasLength(2)); | 3215 unittest.expect(o, unittest.hasLength(2)); |
| 3216 checkParticipantResult(o[0]); | 3216 checkParticipantResult(o[0]); |
| 3217 checkParticipantResult(o[1]); | 3217 checkParticipantResult(o[1]); |
| 3218 } | 3218 } |
| 3219 | 3219 |
| 3220 core.int buildCounterTurnBasedMatchTurn = 0; | 3220 core.int buildCounterTurnBasedMatchTurn = 0; |
| 3221 buildTurnBasedMatchTurn() { | 3221 buildTurnBasedMatchTurn() { |
| 3222 var o = new api.TurnBasedMatchTurn(); | 3222 var o = new api.TurnBasedMatchTurn(); |
| 3223 buildCounterTurnBasedMatchTurn++; | 3223 buildCounterTurnBasedMatchTurn++; |
| 3224 if (buildCounterTurnBasedMatchTurn < 3) { | 3224 if (buildCounterTurnBasedMatchTurn < 3) { |
| 3225 o.data = buildTurnBasedMatchDataRequest(); | 3225 o.data = buildTurnBasedMatchDataRequest(); |
| 3226 o.kind = "foo"; | 3226 o.kind = "foo"; |
| 3227 o.matchVersion = 42; | 3227 o.matchVersion = 42; |
| 3228 o.pendingParticipantId = "foo"; | 3228 o.pendingParticipantId = "foo"; |
| 3229 o.results = buildUnnamed64(); | 3229 o.results = buildUnnamed1762(); |
| 3230 } | 3230 } |
| 3231 buildCounterTurnBasedMatchTurn--; | 3231 buildCounterTurnBasedMatchTurn--; |
| 3232 return o; | 3232 return o; |
| 3233 } | 3233 } |
| 3234 | 3234 |
| 3235 checkTurnBasedMatchTurn(api.TurnBasedMatchTurn o) { | 3235 checkTurnBasedMatchTurn(api.TurnBasedMatchTurn o) { |
| 3236 buildCounterTurnBasedMatchTurn++; | 3236 buildCounterTurnBasedMatchTurn++; |
| 3237 if (buildCounterTurnBasedMatchTurn < 3) { | 3237 if (buildCounterTurnBasedMatchTurn < 3) { |
| 3238 checkTurnBasedMatchDataRequest(o.data); | 3238 checkTurnBasedMatchDataRequest(o.data); |
| 3239 unittest.expect(o.kind, unittest.equals('foo')); | 3239 unittest.expect(o.kind, unittest.equals('foo')); |
| 3240 unittest.expect(o.matchVersion, unittest.equals(42)); | 3240 unittest.expect(o.matchVersion, unittest.equals(42)); |
| 3241 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); | 3241 unittest.expect(o.pendingParticipantId, unittest.equals('foo')); |
| 3242 checkUnnamed64(o.results); | 3242 checkUnnamed1762(o.results); |
| 3243 } | 3243 } |
| 3244 buildCounterTurnBasedMatchTurn--; | 3244 buildCounterTurnBasedMatchTurn--; |
| 3245 } | 3245 } |
| 3246 | 3246 |
| 3247 | 3247 |
| 3248 main() { | 3248 main() { |
| 3249 unittest.group("obj-schema-AchievementDefinition", () { | 3249 unittest.group("obj-schema-AchievementDefinition", () { |
| 3250 unittest.test("to-json--from-json", () { | 3250 unittest.test("to-json--from-json", () { |
| 3251 var o = buildAchievementDefinition(); | 3251 var o = buildAchievementDefinition(); |
| 3252 var od = new api.AchievementDefinition.fromJson(o.toJson()); | 3252 var od = new api.AchievementDefinition.fromJson(o.toJson()); |
| (...skipping 3768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7021 res.takeTurn(arg_request, arg_matchId, language: arg_language).then(unitte
st.expectAsync(((api.TurnBasedMatch response) { | 7021 res.takeTurn(arg_request, arg_matchId, language: arg_language).then(unitte
st.expectAsync(((api.TurnBasedMatch response) { |
| 7022 checkTurnBasedMatch(response); | 7022 checkTurnBasedMatch(response); |
| 7023 }))); | 7023 }))); |
| 7024 }); | 7024 }); |
| 7025 | 7025 |
| 7026 }); | 7026 }); |
| 7027 | 7027 |
| 7028 | 7028 |
| 7029 } | 7029 } |
| 7030 | 7030 |
| OLD | NEW |