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