| OLD | NEW |
| 1 library googleapis.androidpublisher.v2.test; | 1 library googleapis.androidpublisher.v2.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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 checkApkListing(api.ApkListing o) { | 106 checkApkListing(api.ApkListing o) { |
| 107 buildCounterApkListing++; | 107 buildCounterApkListing++; |
| 108 if (buildCounterApkListing < 3) { | 108 if (buildCounterApkListing < 3) { |
| 109 unittest.expect(o.language, unittest.equals('foo')); | 109 unittest.expect(o.language, unittest.equals('foo')); |
| 110 unittest.expect(o.recentChanges, unittest.equals('foo')); | 110 unittest.expect(o.recentChanges, unittest.equals('foo')); |
| 111 } | 111 } |
| 112 buildCounterApkListing--; | 112 buildCounterApkListing--; |
| 113 } | 113 } |
| 114 | 114 |
| 115 buildUnnamed411() { | 115 buildUnnamed2478() { |
| 116 var o = new core.List<api.ApkListing>(); | 116 var o = new core.List<api.ApkListing>(); |
| 117 o.add(buildApkListing()); | 117 o.add(buildApkListing()); |
| 118 o.add(buildApkListing()); | 118 o.add(buildApkListing()); |
| 119 return o; | 119 return o; |
| 120 } | 120 } |
| 121 | 121 |
| 122 checkUnnamed411(core.List<api.ApkListing> o) { | 122 checkUnnamed2478(core.List<api.ApkListing> o) { |
| 123 unittest.expect(o, unittest.hasLength(2)); | 123 unittest.expect(o, unittest.hasLength(2)); |
| 124 checkApkListing(o[0]); | 124 checkApkListing(o[0]); |
| 125 checkApkListing(o[1]); | 125 checkApkListing(o[1]); |
| 126 } | 126 } |
| 127 | 127 |
| 128 core.int buildCounterApkListingsListResponse = 0; | 128 core.int buildCounterApkListingsListResponse = 0; |
| 129 buildApkListingsListResponse() { | 129 buildApkListingsListResponse() { |
| 130 var o = new api.ApkListingsListResponse(); | 130 var o = new api.ApkListingsListResponse(); |
| 131 buildCounterApkListingsListResponse++; | 131 buildCounterApkListingsListResponse++; |
| 132 if (buildCounterApkListingsListResponse < 3) { | 132 if (buildCounterApkListingsListResponse < 3) { |
| 133 o.kind = "foo"; | 133 o.kind = "foo"; |
| 134 o.listings = buildUnnamed411(); | 134 o.listings = buildUnnamed2478(); |
| 135 } | 135 } |
| 136 buildCounterApkListingsListResponse--; | 136 buildCounterApkListingsListResponse--; |
| 137 return o; | 137 return o; |
| 138 } | 138 } |
| 139 | 139 |
| 140 checkApkListingsListResponse(api.ApkListingsListResponse o) { | 140 checkApkListingsListResponse(api.ApkListingsListResponse o) { |
| 141 buildCounterApkListingsListResponse++; | 141 buildCounterApkListingsListResponse++; |
| 142 if (buildCounterApkListingsListResponse < 3) { | 142 if (buildCounterApkListingsListResponse < 3) { |
| 143 unittest.expect(o.kind, unittest.equals('foo')); | 143 unittest.expect(o.kind, unittest.equals('foo')); |
| 144 checkUnnamed411(o.listings); | 144 checkUnnamed2478(o.listings); |
| 145 } | 145 } |
| 146 buildCounterApkListingsListResponse--; | 146 buildCounterApkListingsListResponse--; |
| 147 } | 147 } |
| 148 | 148 |
| 149 core.int buildCounterApksAddExternallyHostedRequest = 0; | 149 core.int buildCounterApksAddExternallyHostedRequest = 0; |
| 150 buildApksAddExternallyHostedRequest() { | 150 buildApksAddExternallyHostedRequest() { |
| 151 var o = new api.ApksAddExternallyHostedRequest(); | 151 var o = new api.ApksAddExternallyHostedRequest(); |
| 152 buildCounterApksAddExternallyHostedRequest++; | 152 buildCounterApksAddExternallyHostedRequest++; |
| 153 if (buildCounterApksAddExternallyHostedRequest < 3) { | 153 if (buildCounterApksAddExternallyHostedRequest < 3) { |
| 154 o.externallyHostedApk = buildExternallyHostedApk(); | 154 o.externallyHostedApk = buildExternallyHostedApk(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 177 } | 177 } |
| 178 | 178 |
| 179 checkApksAddExternallyHostedResponse(api.ApksAddExternallyHostedResponse o) { | 179 checkApksAddExternallyHostedResponse(api.ApksAddExternallyHostedResponse o) { |
| 180 buildCounterApksAddExternallyHostedResponse++; | 180 buildCounterApksAddExternallyHostedResponse++; |
| 181 if (buildCounterApksAddExternallyHostedResponse < 3) { | 181 if (buildCounterApksAddExternallyHostedResponse < 3) { |
| 182 checkExternallyHostedApk(o.externallyHostedApk); | 182 checkExternallyHostedApk(o.externallyHostedApk); |
| 183 } | 183 } |
| 184 buildCounterApksAddExternallyHostedResponse--; | 184 buildCounterApksAddExternallyHostedResponse--; |
| 185 } | 185 } |
| 186 | 186 |
| 187 buildUnnamed412() { | 187 buildUnnamed2479() { |
| 188 var o = new core.List<api.Apk>(); | 188 var o = new core.List<api.Apk>(); |
| 189 o.add(buildApk()); | 189 o.add(buildApk()); |
| 190 o.add(buildApk()); | 190 o.add(buildApk()); |
| 191 return o; | 191 return o; |
| 192 } | 192 } |
| 193 | 193 |
| 194 checkUnnamed412(core.List<api.Apk> o) { | 194 checkUnnamed2479(core.List<api.Apk> o) { |
| 195 unittest.expect(o, unittest.hasLength(2)); | 195 unittest.expect(o, unittest.hasLength(2)); |
| 196 checkApk(o[0]); | 196 checkApk(o[0]); |
| 197 checkApk(o[1]); | 197 checkApk(o[1]); |
| 198 } | 198 } |
| 199 | 199 |
| 200 core.int buildCounterApksListResponse = 0; | 200 core.int buildCounterApksListResponse = 0; |
| 201 buildApksListResponse() { | 201 buildApksListResponse() { |
| 202 var o = new api.ApksListResponse(); | 202 var o = new api.ApksListResponse(); |
| 203 buildCounterApksListResponse++; | 203 buildCounterApksListResponse++; |
| 204 if (buildCounterApksListResponse < 3) { | 204 if (buildCounterApksListResponse < 3) { |
| 205 o.apks = buildUnnamed412(); | 205 o.apks = buildUnnamed2479(); |
| 206 o.kind = "foo"; | 206 o.kind = "foo"; |
| 207 } | 207 } |
| 208 buildCounterApksListResponse--; | 208 buildCounterApksListResponse--; |
| 209 return o; | 209 return o; |
| 210 } | 210 } |
| 211 | 211 |
| 212 checkApksListResponse(api.ApksListResponse o) { | 212 checkApksListResponse(api.ApksListResponse o) { |
| 213 buildCounterApksListResponse++; | 213 buildCounterApksListResponse++; |
| 214 if (buildCounterApksListResponse < 3) { | 214 if (buildCounterApksListResponse < 3) { |
| 215 checkUnnamed412(o.apks); | 215 checkUnnamed2479(o.apks); |
| 216 unittest.expect(o.kind, unittest.equals('foo')); | 216 unittest.expect(o.kind, unittest.equals('foo')); |
| 217 } | 217 } |
| 218 buildCounterApksListResponse--; | 218 buildCounterApksListResponse--; |
| 219 } | 219 } |
| 220 | 220 |
| 221 core.int buildCounterAppDetails = 0; | 221 core.int buildCounterAppDetails = 0; |
| 222 buildAppDetails() { | 222 buildAppDetails() { |
| 223 var o = new api.AppDetails(); | 223 var o = new api.AppDetails(); |
| 224 buildCounterAppDetails++; | 224 buildCounterAppDetails++; |
| 225 if (buildCounterAppDetails < 3) { | 225 if (buildCounterAppDetails < 3) { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 buildCounterEntitlement++; | 324 buildCounterEntitlement++; |
| 325 if (buildCounterEntitlement < 3) { | 325 if (buildCounterEntitlement < 3) { |
| 326 unittest.expect(o.kind, unittest.equals('foo')); | 326 unittest.expect(o.kind, unittest.equals('foo')); |
| 327 unittest.expect(o.productId, unittest.equals('foo')); | 327 unittest.expect(o.productId, unittest.equals('foo')); |
| 328 unittest.expect(o.productType, unittest.equals('foo')); | 328 unittest.expect(o.productType, unittest.equals('foo')); |
| 329 unittest.expect(o.token, unittest.equals('foo')); | 329 unittest.expect(o.token, unittest.equals('foo')); |
| 330 } | 330 } |
| 331 buildCounterEntitlement--; | 331 buildCounterEntitlement--; |
| 332 } | 332 } |
| 333 | 333 |
| 334 buildUnnamed413() { | 334 buildUnnamed2480() { |
| 335 var o = new core.List<api.Entitlement>(); | 335 var o = new core.List<api.Entitlement>(); |
| 336 o.add(buildEntitlement()); | 336 o.add(buildEntitlement()); |
| 337 o.add(buildEntitlement()); | 337 o.add(buildEntitlement()); |
| 338 return o; | 338 return o; |
| 339 } | 339 } |
| 340 | 340 |
| 341 checkUnnamed413(core.List<api.Entitlement> o) { | 341 checkUnnamed2480(core.List<api.Entitlement> o) { |
| 342 unittest.expect(o, unittest.hasLength(2)); | 342 unittest.expect(o, unittest.hasLength(2)); |
| 343 checkEntitlement(o[0]); | 343 checkEntitlement(o[0]); |
| 344 checkEntitlement(o[1]); | 344 checkEntitlement(o[1]); |
| 345 } | 345 } |
| 346 | 346 |
| 347 core.int buildCounterEntitlementsListResponse = 0; | 347 core.int buildCounterEntitlementsListResponse = 0; |
| 348 buildEntitlementsListResponse() { | 348 buildEntitlementsListResponse() { |
| 349 var o = new api.EntitlementsListResponse(); | 349 var o = new api.EntitlementsListResponse(); |
| 350 buildCounterEntitlementsListResponse++; | 350 buildCounterEntitlementsListResponse++; |
| 351 if (buildCounterEntitlementsListResponse < 3) { | 351 if (buildCounterEntitlementsListResponse < 3) { |
| 352 o.pageInfo = buildPageInfo(); | 352 o.pageInfo = buildPageInfo(); |
| 353 o.resources = buildUnnamed413(); | 353 o.resources = buildUnnamed2480(); |
| 354 o.tokenPagination = buildTokenPagination(); | 354 o.tokenPagination = buildTokenPagination(); |
| 355 } | 355 } |
| 356 buildCounterEntitlementsListResponse--; | 356 buildCounterEntitlementsListResponse--; |
| 357 return o; | 357 return o; |
| 358 } | 358 } |
| 359 | 359 |
| 360 checkEntitlementsListResponse(api.EntitlementsListResponse o) { | 360 checkEntitlementsListResponse(api.EntitlementsListResponse o) { |
| 361 buildCounterEntitlementsListResponse++; | 361 buildCounterEntitlementsListResponse++; |
| 362 if (buildCounterEntitlementsListResponse < 3) { | 362 if (buildCounterEntitlementsListResponse < 3) { |
| 363 checkPageInfo(o.pageInfo); | 363 checkPageInfo(o.pageInfo); |
| 364 checkUnnamed413(o.resources); | 364 checkUnnamed2480(o.resources); |
| 365 checkTokenPagination(o.tokenPagination); | 365 checkTokenPagination(o.tokenPagination); |
| 366 } | 366 } |
| 367 buildCounterEntitlementsListResponse--; | 367 buildCounterEntitlementsListResponse--; |
| 368 } | 368 } |
| 369 | 369 |
| 370 core.int buildCounterExpansionFile = 0; | 370 core.int buildCounterExpansionFile = 0; |
| 371 buildExpansionFile() { | 371 buildExpansionFile() { |
| 372 var o = new api.ExpansionFile(); | 372 var o = new api.ExpansionFile(); |
| 373 buildCounterExpansionFile++; | 373 buildCounterExpansionFile++; |
| 374 if (buildCounterExpansionFile < 3) { | 374 if (buildCounterExpansionFile < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 400 } | 400 } |
| 401 | 401 |
| 402 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { | 402 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { |
| 403 buildCounterExpansionFilesUploadResponse++; | 403 buildCounterExpansionFilesUploadResponse++; |
| 404 if (buildCounterExpansionFilesUploadResponse < 3) { | 404 if (buildCounterExpansionFilesUploadResponse < 3) { |
| 405 checkExpansionFile(o.expansionFile); | 405 checkExpansionFile(o.expansionFile); |
| 406 } | 406 } |
| 407 buildCounterExpansionFilesUploadResponse--; | 407 buildCounterExpansionFilesUploadResponse--; |
| 408 } | 408 } |
| 409 | 409 |
| 410 buildUnnamed414() { | 410 buildUnnamed2481() { |
| 411 var o = new core.List<core.String>(); | 411 var o = new core.List<core.String>(); |
| 412 o.add("foo"); | 412 o.add("foo"); |
| 413 o.add("foo"); | 413 o.add("foo"); |
| 414 return o; | 414 return o; |
| 415 } | 415 } |
| 416 | 416 |
| 417 checkUnnamed414(core.List<core.String> o) { | 417 checkUnnamed2481(core.List<core.String> o) { |
| 418 unittest.expect(o, unittest.hasLength(2)); | 418 unittest.expect(o, unittest.hasLength(2)); |
| 419 unittest.expect(o[0], unittest.equals('foo')); | 419 unittest.expect(o[0], unittest.equals('foo')); |
| 420 unittest.expect(o[1], unittest.equals('foo')); | 420 unittest.expect(o[1], unittest.equals('foo')); |
| 421 } | 421 } |
| 422 | 422 |
| 423 buildUnnamed415() { | 423 buildUnnamed2482() { |
| 424 var o = new core.List<core.String>(); | 424 var o = new core.List<core.String>(); |
| 425 o.add("foo"); | 425 o.add("foo"); |
| 426 o.add("foo"); | 426 o.add("foo"); |
| 427 return o; | 427 return o; |
| 428 } | 428 } |
| 429 | 429 |
| 430 checkUnnamed415(core.List<core.String> o) { | 430 checkUnnamed2482(core.List<core.String> o) { |
| 431 unittest.expect(o, unittest.hasLength(2)); | 431 unittest.expect(o, unittest.hasLength(2)); |
| 432 unittest.expect(o[0], unittest.equals('foo')); | 432 unittest.expect(o[0], unittest.equals('foo')); |
| 433 unittest.expect(o[1], unittest.equals('foo')); | 433 unittest.expect(o[1], unittest.equals('foo')); |
| 434 } | 434 } |
| 435 | 435 |
| 436 buildUnnamed416() { | 436 buildUnnamed2483() { |
| 437 var o = new core.List<core.String>(); | 437 var o = new core.List<core.String>(); |
| 438 o.add("foo"); | 438 o.add("foo"); |
| 439 o.add("foo"); | 439 o.add("foo"); |
| 440 return o; | 440 return o; |
| 441 } | 441 } |
| 442 | 442 |
| 443 checkUnnamed416(core.List<core.String> o) { | 443 checkUnnamed2483(core.List<core.String> o) { |
| 444 unittest.expect(o, unittest.hasLength(2)); | 444 unittest.expect(o, unittest.hasLength(2)); |
| 445 unittest.expect(o[0], unittest.equals('foo')); | 445 unittest.expect(o[0], unittest.equals('foo')); |
| 446 unittest.expect(o[1], unittest.equals('foo')); | 446 unittest.expect(o[1], unittest.equals('foo')); |
| 447 } | 447 } |
| 448 | 448 |
| 449 buildUnnamed417() { | 449 buildUnnamed2484() { |
| 450 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); | 450 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); |
| 451 o.add(buildExternallyHostedApkUsesPermission()); | 451 o.add(buildExternallyHostedApkUsesPermission()); |
| 452 o.add(buildExternallyHostedApkUsesPermission()); | 452 o.add(buildExternallyHostedApkUsesPermission()); |
| 453 return o; | 453 return o; |
| 454 } | 454 } |
| 455 | 455 |
| 456 checkUnnamed417(core.List<api.ExternallyHostedApkUsesPermission> o) { | 456 checkUnnamed2484(core.List<api.ExternallyHostedApkUsesPermission> o) { |
| 457 unittest.expect(o, unittest.hasLength(2)); | 457 unittest.expect(o, unittest.hasLength(2)); |
| 458 checkExternallyHostedApkUsesPermission(o[0]); | 458 checkExternallyHostedApkUsesPermission(o[0]); |
| 459 checkExternallyHostedApkUsesPermission(o[1]); | 459 checkExternallyHostedApkUsesPermission(o[1]); |
| 460 } | 460 } |
| 461 | 461 |
| 462 core.int buildCounterExternallyHostedApk = 0; | 462 core.int buildCounterExternallyHostedApk = 0; |
| 463 buildExternallyHostedApk() { | 463 buildExternallyHostedApk() { |
| 464 var o = new api.ExternallyHostedApk(); | 464 var o = new api.ExternallyHostedApk(); |
| 465 buildCounterExternallyHostedApk++; | 465 buildCounterExternallyHostedApk++; |
| 466 if (buildCounterExternallyHostedApk < 3) { | 466 if (buildCounterExternallyHostedApk < 3) { |
| 467 o.applicationLabel = "foo"; | 467 o.applicationLabel = "foo"; |
| 468 o.certificateBase64s = buildUnnamed414(); | 468 o.certificateBase64s = buildUnnamed2481(); |
| 469 o.externallyHostedUrl = "foo"; | 469 o.externallyHostedUrl = "foo"; |
| 470 o.fileSha1Base64 = "foo"; | 470 o.fileSha1Base64 = "foo"; |
| 471 o.fileSha256Base64 = "foo"; | 471 o.fileSha256Base64 = "foo"; |
| 472 o.fileSize = "foo"; | 472 o.fileSize = "foo"; |
| 473 o.iconBase64 = "foo"; | 473 o.iconBase64 = "foo"; |
| 474 o.maximumSdk = 42; | 474 o.maximumSdk = 42; |
| 475 o.minimumSdk = 42; | 475 o.minimumSdk = 42; |
| 476 o.nativeCodes = buildUnnamed415(); | 476 o.nativeCodes = buildUnnamed2482(); |
| 477 o.packageName = "foo"; | 477 o.packageName = "foo"; |
| 478 o.usesFeatures = buildUnnamed416(); | 478 o.usesFeatures = buildUnnamed2483(); |
| 479 o.usesPermissions = buildUnnamed417(); | 479 o.usesPermissions = buildUnnamed2484(); |
| 480 o.versionCode = 42; | 480 o.versionCode = 42; |
| 481 o.versionName = "foo"; | 481 o.versionName = "foo"; |
| 482 } | 482 } |
| 483 buildCounterExternallyHostedApk--; | 483 buildCounterExternallyHostedApk--; |
| 484 return o; | 484 return o; |
| 485 } | 485 } |
| 486 | 486 |
| 487 checkExternallyHostedApk(api.ExternallyHostedApk o) { | 487 checkExternallyHostedApk(api.ExternallyHostedApk o) { |
| 488 buildCounterExternallyHostedApk++; | 488 buildCounterExternallyHostedApk++; |
| 489 if (buildCounterExternallyHostedApk < 3) { | 489 if (buildCounterExternallyHostedApk < 3) { |
| 490 unittest.expect(o.applicationLabel, unittest.equals('foo')); | 490 unittest.expect(o.applicationLabel, unittest.equals('foo')); |
| 491 checkUnnamed414(o.certificateBase64s); | 491 checkUnnamed2481(o.certificateBase64s); |
| 492 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); | 492 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); |
| 493 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); | 493 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); |
| 494 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); | 494 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); |
| 495 unittest.expect(o.fileSize, unittest.equals('foo')); | 495 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 496 unittest.expect(o.iconBase64, unittest.equals('foo')); | 496 unittest.expect(o.iconBase64, unittest.equals('foo')); |
| 497 unittest.expect(o.maximumSdk, unittest.equals(42)); | 497 unittest.expect(o.maximumSdk, unittest.equals(42)); |
| 498 unittest.expect(o.minimumSdk, unittest.equals(42)); | 498 unittest.expect(o.minimumSdk, unittest.equals(42)); |
| 499 checkUnnamed415(o.nativeCodes); | 499 checkUnnamed2482(o.nativeCodes); |
| 500 unittest.expect(o.packageName, unittest.equals('foo')); | 500 unittest.expect(o.packageName, unittest.equals('foo')); |
| 501 checkUnnamed416(o.usesFeatures); | 501 checkUnnamed2483(o.usesFeatures); |
| 502 checkUnnamed417(o.usesPermissions); | 502 checkUnnamed2484(o.usesPermissions); |
| 503 unittest.expect(o.versionCode, unittest.equals(42)); | 503 unittest.expect(o.versionCode, unittest.equals(42)); |
| 504 unittest.expect(o.versionName, unittest.equals('foo')); | 504 unittest.expect(o.versionName, unittest.equals('foo')); |
| 505 } | 505 } |
| 506 buildCounterExternallyHostedApk--; | 506 buildCounterExternallyHostedApk--; |
| 507 } | 507 } |
| 508 | 508 |
| 509 core.int buildCounterExternallyHostedApkUsesPermission = 0; | 509 core.int buildCounterExternallyHostedApkUsesPermission = 0; |
| 510 buildExternallyHostedApkUsesPermission() { | 510 buildExternallyHostedApkUsesPermission() { |
| 511 var o = new api.ExternallyHostedApkUsesPermission(); | 511 var o = new api.ExternallyHostedApkUsesPermission(); |
| 512 buildCounterExternallyHostedApkUsesPermission++; | 512 buildCounterExternallyHostedApkUsesPermission++; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 543 checkImage(api.Image o) { | 543 checkImage(api.Image o) { |
| 544 buildCounterImage++; | 544 buildCounterImage++; |
| 545 if (buildCounterImage < 3) { | 545 if (buildCounterImage < 3) { |
| 546 unittest.expect(o.id, unittest.equals('foo')); | 546 unittest.expect(o.id, unittest.equals('foo')); |
| 547 unittest.expect(o.sha1, unittest.equals('foo')); | 547 unittest.expect(o.sha1, unittest.equals('foo')); |
| 548 unittest.expect(o.url, unittest.equals('foo')); | 548 unittest.expect(o.url, unittest.equals('foo')); |
| 549 } | 549 } |
| 550 buildCounterImage--; | 550 buildCounterImage--; |
| 551 } | 551 } |
| 552 | 552 |
| 553 buildUnnamed418() { | 553 buildUnnamed2485() { |
| 554 var o = new core.List<api.Image>(); | 554 var o = new core.List<api.Image>(); |
| 555 o.add(buildImage()); | 555 o.add(buildImage()); |
| 556 o.add(buildImage()); | 556 o.add(buildImage()); |
| 557 return o; | 557 return o; |
| 558 } | 558 } |
| 559 | 559 |
| 560 checkUnnamed418(core.List<api.Image> o) { | 560 checkUnnamed2485(core.List<api.Image> o) { |
| 561 unittest.expect(o, unittest.hasLength(2)); | 561 unittest.expect(o, unittest.hasLength(2)); |
| 562 checkImage(o[0]); | 562 checkImage(o[0]); |
| 563 checkImage(o[1]); | 563 checkImage(o[1]); |
| 564 } | 564 } |
| 565 | 565 |
| 566 core.int buildCounterImagesDeleteAllResponse = 0; | 566 core.int buildCounterImagesDeleteAllResponse = 0; |
| 567 buildImagesDeleteAllResponse() { | 567 buildImagesDeleteAllResponse() { |
| 568 var o = new api.ImagesDeleteAllResponse(); | 568 var o = new api.ImagesDeleteAllResponse(); |
| 569 buildCounterImagesDeleteAllResponse++; | 569 buildCounterImagesDeleteAllResponse++; |
| 570 if (buildCounterImagesDeleteAllResponse < 3) { | 570 if (buildCounterImagesDeleteAllResponse < 3) { |
| 571 o.deleted = buildUnnamed418(); | 571 o.deleted = buildUnnamed2485(); |
| 572 } | 572 } |
| 573 buildCounterImagesDeleteAllResponse--; | 573 buildCounterImagesDeleteAllResponse--; |
| 574 return o; | 574 return o; |
| 575 } | 575 } |
| 576 | 576 |
| 577 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { | 577 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { |
| 578 buildCounterImagesDeleteAllResponse++; | 578 buildCounterImagesDeleteAllResponse++; |
| 579 if (buildCounterImagesDeleteAllResponse < 3) { | 579 if (buildCounterImagesDeleteAllResponse < 3) { |
| 580 checkUnnamed418(o.deleted); | 580 checkUnnamed2485(o.deleted); |
| 581 } | 581 } |
| 582 buildCounterImagesDeleteAllResponse--; | 582 buildCounterImagesDeleteAllResponse--; |
| 583 } | 583 } |
| 584 | 584 |
| 585 buildUnnamed419() { | 585 buildUnnamed2486() { |
| 586 var o = new core.List<api.Image>(); | 586 var o = new core.List<api.Image>(); |
| 587 o.add(buildImage()); | 587 o.add(buildImage()); |
| 588 o.add(buildImage()); | 588 o.add(buildImage()); |
| 589 return o; | 589 return o; |
| 590 } | 590 } |
| 591 | 591 |
| 592 checkUnnamed419(core.List<api.Image> o) { | 592 checkUnnamed2486(core.List<api.Image> o) { |
| 593 unittest.expect(o, unittest.hasLength(2)); | 593 unittest.expect(o, unittest.hasLength(2)); |
| 594 checkImage(o[0]); | 594 checkImage(o[0]); |
| 595 checkImage(o[1]); | 595 checkImage(o[1]); |
| 596 } | 596 } |
| 597 | 597 |
| 598 core.int buildCounterImagesListResponse = 0; | 598 core.int buildCounterImagesListResponse = 0; |
| 599 buildImagesListResponse() { | 599 buildImagesListResponse() { |
| 600 var o = new api.ImagesListResponse(); | 600 var o = new api.ImagesListResponse(); |
| 601 buildCounterImagesListResponse++; | 601 buildCounterImagesListResponse++; |
| 602 if (buildCounterImagesListResponse < 3) { | 602 if (buildCounterImagesListResponse < 3) { |
| 603 o.images = buildUnnamed419(); | 603 o.images = buildUnnamed2486(); |
| 604 } | 604 } |
| 605 buildCounterImagesListResponse--; | 605 buildCounterImagesListResponse--; |
| 606 return o; | 606 return o; |
| 607 } | 607 } |
| 608 | 608 |
| 609 checkImagesListResponse(api.ImagesListResponse o) { | 609 checkImagesListResponse(api.ImagesListResponse o) { |
| 610 buildCounterImagesListResponse++; | 610 buildCounterImagesListResponse++; |
| 611 if (buildCounterImagesListResponse < 3) { | 611 if (buildCounterImagesListResponse < 3) { |
| 612 checkUnnamed419(o.images); | 612 checkUnnamed2486(o.images); |
| 613 } | 613 } |
| 614 buildCounterImagesListResponse--; | 614 buildCounterImagesListResponse--; |
| 615 } | 615 } |
| 616 | 616 |
| 617 core.int buildCounterImagesUploadResponse = 0; | 617 core.int buildCounterImagesUploadResponse = 0; |
| 618 buildImagesUploadResponse() { | 618 buildImagesUploadResponse() { |
| 619 var o = new api.ImagesUploadResponse(); | 619 var o = new api.ImagesUploadResponse(); |
| 620 buildCounterImagesUploadResponse++; | 620 buildCounterImagesUploadResponse++; |
| 621 if (buildCounterImagesUploadResponse < 3) { | 621 if (buildCounterImagesUploadResponse < 3) { |
| 622 o.image = buildImage(); | 622 o.image = buildImage(); |
| 623 } | 623 } |
| 624 buildCounterImagesUploadResponse--; | 624 buildCounterImagesUploadResponse--; |
| 625 return o; | 625 return o; |
| 626 } | 626 } |
| 627 | 627 |
| 628 checkImagesUploadResponse(api.ImagesUploadResponse o) { | 628 checkImagesUploadResponse(api.ImagesUploadResponse o) { |
| 629 buildCounterImagesUploadResponse++; | 629 buildCounterImagesUploadResponse++; |
| 630 if (buildCounterImagesUploadResponse < 3) { | 630 if (buildCounterImagesUploadResponse < 3) { |
| 631 checkImage(o.image); | 631 checkImage(o.image); |
| 632 } | 632 } |
| 633 buildCounterImagesUploadResponse--; | 633 buildCounterImagesUploadResponse--; |
| 634 } | 634 } |
| 635 | 635 |
| 636 buildUnnamed420() { | 636 buildUnnamed2487() { |
| 637 var o = new core.Map<core.String, api.InAppProductListing>(); | 637 var o = new core.Map<core.String, api.InAppProductListing>(); |
| 638 o["x"] = buildInAppProductListing(); | 638 o["x"] = buildInAppProductListing(); |
| 639 o["y"] = buildInAppProductListing(); | 639 o["y"] = buildInAppProductListing(); |
| 640 return o; | 640 return o; |
| 641 } | 641 } |
| 642 | 642 |
| 643 checkUnnamed420(core.Map<core.String, api.InAppProductListing> o) { | 643 checkUnnamed2487(core.Map<core.String, api.InAppProductListing> o) { |
| 644 unittest.expect(o, unittest.hasLength(2)); | 644 unittest.expect(o, unittest.hasLength(2)); |
| 645 checkInAppProductListing(o["x"]); | 645 checkInAppProductListing(o["x"]); |
| 646 checkInAppProductListing(o["y"]); | 646 checkInAppProductListing(o["y"]); |
| 647 } | 647 } |
| 648 | 648 |
| 649 buildUnnamed421() { | 649 buildUnnamed2488() { |
| 650 var o = new core.Map<core.String, api.Price>(); | 650 var o = new core.Map<core.String, api.Price>(); |
| 651 o["x"] = buildPrice(); | 651 o["x"] = buildPrice(); |
| 652 o["y"] = buildPrice(); | 652 o["y"] = buildPrice(); |
| 653 return o; | 653 return o; |
| 654 } | 654 } |
| 655 | 655 |
| 656 checkUnnamed421(core.Map<core.String, api.Price> o) { | 656 checkUnnamed2488(core.Map<core.String, api.Price> o) { |
| 657 unittest.expect(o, unittest.hasLength(2)); | 657 unittest.expect(o, unittest.hasLength(2)); |
| 658 checkPrice(o["x"]); | 658 checkPrice(o["x"]); |
| 659 checkPrice(o["y"]); | 659 checkPrice(o["y"]); |
| 660 } | 660 } |
| 661 | 661 |
| 662 core.int buildCounterInAppProduct = 0; | 662 core.int buildCounterInAppProduct = 0; |
| 663 buildInAppProduct() { | 663 buildInAppProduct() { |
| 664 var o = new api.InAppProduct(); | 664 var o = new api.InAppProduct(); |
| 665 buildCounterInAppProduct++; | 665 buildCounterInAppProduct++; |
| 666 if (buildCounterInAppProduct < 3) { | 666 if (buildCounterInAppProduct < 3) { |
| 667 o.defaultLanguage = "foo"; | 667 o.defaultLanguage = "foo"; |
| 668 o.defaultPrice = buildPrice(); | 668 o.defaultPrice = buildPrice(); |
| 669 o.listings = buildUnnamed420(); | 669 o.listings = buildUnnamed2487(); |
| 670 o.packageName = "foo"; | 670 o.packageName = "foo"; |
| 671 o.prices = buildUnnamed421(); | 671 o.prices = buildUnnamed2488(); |
| 672 o.purchaseType = "foo"; | 672 o.purchaseType = "foo"; |
| 673 o.season = buildSeason(); | 673 o.season = buildSeason(); |
| 674 o.sku = "foo"; | 674 o.sku = "foo"; |
| 675 o.status = "foo"; | 675 o.status = "foo"; |
| 676 o.subscriptionPeriod = "foo"; | 676 o.subscriptionPeriod = "foo"; |
| 677 o.trialPeriod = "foo"; | 677 o.trialPeriod = "foo"; |
| 678 } | 678 } |
| 679 buildCounterInAppProduct--; | 679 buildCounterInAppProduct--; |
| 680 return o; | 680 return o; |
| 681 } | 681 } |
| 682 | 682 |
| 683 checkInAppProduct(api.InAppProduct o) { | 683 checkInAppProduct(api.InAppProduct o) { |
| 684 buildCounterInAppProduct++; | 684 buildCounterInAppProduct++; |
| 685 if (buildCounterInAppProduct < 3) { | 685 if (buildCounterInAppProduct < 3) { |
| 686 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 686 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 687 checkPrice(o.defaultPrice); | 687 checkPrice(o.defaultPrice); |
| 688 checkUnnamed420(o.listings); | 688 checkUnnamed2487(o.listings); |
| 689 unittest.expect(o.packageName, unittest.equals('foo')); | 689 unittest.expect(o.packageName, unittest.equals('foo')); |
| 690 checkUnnamed421(o.prices); | 690 checkUnnamed2488(o.prices); |
| 691 unittest.expect(o.purchaseType, unittest.equals('foo')); | 691 unittest.expect(o.purchaseType, unittest.equals('foo')); |
| 692 checkSeason(o.season); | 692 checkSeason(o.season); |
| 693 unittest.expect(o.sku, unittest.equals('foo')); | 693 unittest.expect(o.sku, unittest.equals('foo')); |
| 694 unittest.expect(o.status, unittest.equals('foo')); | 694 unittest.expect(o.status, unittest.equals('foo')); |
| 695 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); | 695 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); |
| 696 unittest.expect(o.trialPeriod, unittest.equals('foo')); | 696 unittest.expect(o.trialPeriod, unittest.equals('foo')); |
| 697 } | 697 } |
| 698 buildCounterInAppProduct--; | 698 buildCounterInAppProduct--; |
| 699 } | 699 } |
| 700 | 700 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 712 | 712 |
| 713 checkInAppProductListing(api.InAppProductListing o) { | 713 checkInAppProductListing(api.InAppProductListing o) { |
| 714 buildCounterInAppProductListing++; | 714 buildCounterInAppProductListing++; |
| 715 if (buildCounterInAppProductListing < 3) { | 715 if (buildCounterInAppProductListing < 3) { |
| 716 unittest.expect(o.description, unittest.equals('foo')); | 716 unittest.expect(o.description, unittest.equals('foo')); |
| 717 unittest.expect(o.title, unittest.equals('foo')); | 717 unittest.expect(o.title, unittest.equals('foo')); |
| 718 } | 718 } |
| 719 buildCounterInAppProductListing--; | 719 buildCounterInAppProductListing--; |
| 720 } | 720 } |
| 721 | 721 |
| 722 buildUnnamed422() { | 722 buildUnnamed2489() { |
| 723 var o = new core.List<api.InappproductsBatchRequestEntry>(); | 723 var o = new core.List<api.InappproductsBatchRequestEntry>(); |
| 724 o.add(buildInappproductsBatchRequestEntry()); | 724 o.add(buildInappproductsBatchRequestEntry()); |
| 725 o.add(buildInappproductsBatchRequestEntry()); | 725 o.add(buildInappproductsBatchRequestEntry()); |
| 726 return o; | 726 return o; |
| 727 } | 727 } |
| 728 | 728 |
| 729 checkUnnamed422(core.List<api.InappproductsBatchRequestEntry> o) { | 729 checkUnnamed2489(core.List<api.InappproductsBatchRequestEntry> o) { |
| 730 unittest.expect(o, unittest.hasLength(2)); | 730 unittest.expect(o, unittest.hasLength(2)); |
| 731 checkInappproductsBatchRequestEntry(o[0]); | 731 checkInappproductsBatchRequestEntry(o[0]); |
| 732 checkInappproductsBatchRequestEntry(o[1]); | 732 checkInappproductsBatchRequestEntry(o[1]); |
| 733 } | 733 } |
| 734 | 734 |
| 735 core.int buildCounterInappproductsBatchRequest = 0; | 735 core.int buildCounterInappproductsBatchRequest = 0; |
| 736 buildInappproductsBatchRequest() { | 736 buildInappproductsBatchRequest() { |
| 737 var o = new api.InappproductsBatchRequest(); | 737 var o = new api.InappproductsBatchRequest(); |
| 738 buildCounterInappproductsBatchRequest++; | 738 buildCounterInappproductsBatchRequest++; |
| 739 if (buildCounterInappproductsBatchRequest < 3) { | 739 if (buildCounterInappproductsBatchRequest < 3) { |
| 740 o.entrys = buildUnnamed422(); | 740 o.entrys = buildUnnamed2489(); |
| 741 } | 741 } |
| 742 buildCounterInappproductsBatchRequest--; | 742 buildCounterInappproductsBatchRequest--; |
| 743 return o; | 743 return o; |
| 744 } | 744 } |
| 745 | 745 |
| 746 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { | 746 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { |
| 747 buildCounterInappproductsBatchRequest++; | 747 buildCounterInappproductsBatchRequest++; |
| 748 if (buildCounterInappproductsBatchRequest < 3) { | 748 if (buildCounterInappproductsBatchRequest < 3) { |
| 749 checkUnnamed422(o.entrys); | 749 checkUnnamed2489(o.entrys); |
| 750 } | 750 } |
| 751 buildCounterInappproductsBatchRequest--; | 751 buildCounterInappproductsBatchRequest--; |
| 752 } | 752 } |
| 753 | 753 |
| 754 core.int buildCounterInappproductsBatchRequestEntry = 0; | 754 core.int buildCounterInappproductsBatchRequestEntry = 0; |
| 755 buildInappproductsBatchRequestEntry() { | 755 buildInappproductsBatchRequestEntry() { |
| 756 var o = new api.InappproductsBatchRequestEntry(); | 756 var o = new api.InappproductsBatchRequestEntry(); |
| 757 buildCounterInappproductsBatchRequestEntry++; | 757 buildCounterInappproductsBatchRequestEntry++; |
| 758 if (buildCounterInappproductsBatchRequestEntry < 3) { | 758 if (buildCounterInappproductsBatchRequestEntry < 3) { |
| 759 o.batchId = 42; | 759 o.batchId = 42; |
| 760 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); | 760 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); |
| 761 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); | 761 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); |
| 762 o.methodName = "foo"; | 762 o.methodName = "foo"; |
| 763 } | 763 } |
| 764 buildCounterInappproductsBatchRequestEntry--; | 764 buildCounterInappproductsBatchRequestEntry--; |
| 765 return o; | 765 return o; |
| 766 } | 766 } |
| 767 | 767 |
| 768 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { | 768 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { |
| 769 buildCounterInappproductsBatchRequestEntry++; | 769 buildCounterInappproductsBatchRequestEntry++; |
| 770 if (buildCounterInappproductsBatchRequestEntry < 3) { | 770 if (buildCounterInappproductsBatchRequestEntry < 3) { |
| 771 unittest.expect(o.batchId, unittest.equals(42)); | 771 unittest.expect(o.batchId, unittest.equals(42)); |
| 772 checkInappproductsInsertRequest(o.inappproductsinsertrequest); | 772 checkInappproductsInsertRequest(o.inappproductsinsertrequest); |
| 773 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); | 773 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); |
| 774 unittest.expect(o.methodName, unittest.equals('foo')); | 774 unittest.expect(o.methodName, unittest.equals('foo')); |
| 775 } | 775 } |
| 776 buildCounterInappproductsBatchRequestEntry--; | 776 buildCounterInappproductsBatchRequestEntry--; |
| 777 } | 777 } |
| 778 | 778 |
| 779 buildUnnamed423() { | 779 buildUnnamed2490() { |
| 780 var o = new core.List<api.InappproductsBatchResponseEntry>(); | 780 var o = new core.List<api.InappproductsBatchResponseEntry>(); |
| 781 o.add(buildInappproductsBatchResponseEntry()); | 781 o.add(buildInappproductsBatchResponseEntry()); |
| 782 o.add(buildInappproductsBatchResponseEntry()); | 782 o.add(buildInappproductsBatchResponseEntry()); |
| 783 return o; | 783 return o; |
| 784 } | 784 } |
| 785 | 785 |
| 786 checkUnnamed423(core.List<api.InappproductsBatchResponseEntry> o) { | 786 checkUnnamed2490(core.List<api.InappproductsBatchResponseEntry> o) { |
| 787 unittest.expect(o, unittest.hasLength(2)); | 787 unittest.expect(o, unittest.hasLength(2)); |
| 788 checkInappproductsBatchResponseEntry(o[0]); | 788 checkInappproductsBatchResponseEntry(o[0]); |
| 789 checkInappproductsBatchResponseEntry(o[1]); | 789 checkInappproductsBatchResponseEntry(o[1]); |
| 790 } | 790 } |
| 791 | 791 |
| 792 core.int buildCounterInappproductsBatchResponse = 0; | 792 core.int buildCounterInappproductsBatchResponse = 0; |
| 793 buildInappproductsBatchResponse() { | 793 buildInappproductsBatchResponse() { |
| 794 var o = new api.InappproductsBatchResponse(); | 794 var o = new api.InappproductsBatchResponse(); |
| 795 buildCounterInappproductsBatchResponse++; | 795 buildCounterInappproductsBatchResponse++; |
| 796 if (buildCounterInappproductsBatchResponse < 3) { | 796 if (buildCounterInappproductsBatchResponse < 3) { |
| 797 o.entrys = buildUnnamed423(); | 797 o.entrys = buildUnnamed2490(); |
| 798 o.kind = "foo"; | 798 o.kind = "foo"; |
| 799 } | 799 } |
| 800 buildCounterInappproductsBatchResponse--; | 800 buildCounterInappproductsBatchResponse--; |
| 801 return o; | 801 return o; |
| 802 } | 802 } |
| 803 | 803 |
| 804 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { | 804 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { |
| 805 buildCounterInappproductsBatchResponse++; | 805 buildCounterInappproductsBatchResponse++; |
| 806 if (buildCounterInappproductsBatchResponse < 3) { | 806 if (buildCounterInappproductsBatchResponse < 3) { |
| 807 checkUnnamed423(o.entrys); | 807 checkUnnamed2490(o.entrys); |
| 808 unittest.expect(o.kind, unittest.equals('foo')); | 808 unittest.expect(o.kind, unittest.equals('foo')); |
| 809 } | 809 } |
| 810 buildCounterInappproductsBatchResponse--; | 810 buildCounterInappproductsBatchResponse--; |
| 811 } | 811 } |
| 812 | 812 |
| 813 core.int buildCounterInappproductsBatchResponseEntry = 0; | 813 core.int buildCounterInappproductsBatchResponseEntry = 0; |
| 814 buildInappproductsBatchResponseEntry() { | 814 buildInappproductsBatchResponseEntry() { |
| 815 var o = new api.InappproductsBatchResponseEntry(); | 815 var o = new api.InappproductsBatchResponseEntry(); |
| 816 buildCounterInappproductsBatchResponseEntry++; | 816 buildCounterInappproductsBatchResponseEntry++; |
| 817 if (buildCounterInappproductsBatchResponseEntry < 3) { | 817 if (buildCounterInappproductsBatchResponseEntry < 3) { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 } | 864 } |
| 865 | 865 |
| 866 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { | 866 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { |
| 867 buildCounterInappproductsInsertResponse++; | 867 buildCounterInappproductsInsertResponse++; |
| 868 if (buildCounterInappproductsInsertResponse < 3) { | 868 if (buildCounterInappproductsInsertResponse < 3) { |
| 869 checkInAppProduct(o.inappproduct); | 869 checkInAppProduct(o.inappproduct); |
| 870 } | 870 } |
| 871 buildCounterInappproductsInsertResponse--; | 871 buildCounterInappproductsInsertResponse--; |
| 872 } | 872 } |
| 873 | 873 |
| 874 buildUnnamed424() { | 874 buildUnnamed2491() { |
| 875 var o = new core.List<api.InAppProduct>(); | 875 var o = new core.List<api.InAppProduct>(); |
| 876 o.add(buildInAppProduct()); | 876 o.add(buildInAppProduct()); |
| 877 o.add(buildInAppProduct()); | 877 o.add(buildInAppProduct()); |
| 878 return o; | 878 return o; |
| 879 } | 879 } |
| 880 | 880 |
| 881 checkUnnamed424(core.List<api.InAppProduct> o) { | 881 checkUnnamed2491(core.List<api.InAppProduct> o) { |
| 882 unittest.expect(o, unittest.hasLength(2)); | 882 unittest.expect(o, unittest.hasLength(2)); |
| 883 checkInAppProduct(o[0]); | 883 checkInAppProduct(o[0]); |
| 884 checkInAppProduct(o[1]); | 884 checkInAppProduct(o[1]); |
| 885 } | 885 } |
| 886 | 886 |
| 887 core.int buildCounterInappproductsListResponse = 0; | 887 core.int buildCounterInappproductsListResponse = 0; |
| 888 buildInappproductsListResponse() { | 888 buildInappproductsListResponse() { |
| 889 var o = new api.InappproductsListResponse(); | 889 var o = new api.InappproductsListResponse(); |
| 890 buildCounterInappproductsListResponse++; | 890 buildCounterInappproductsListResponse++; |
| 891 if (buildCounterInappproductsListResponse < 3) { | 891 if (buildCounterInappproductsListResponse < 3) { |
| 892 o.inappproduct = buildUnnamed424(); | 892 o.inappproduct = buildUnnamed2491(); |
| 893 o.kind = "foo"; | 893 o.kind = "foo"; |
| 894 o.pageInfo = buildPageInfo(); | 894 o.pageInfo = buildPageInfo(); |
| 895 o.tokenPagination = buildTokenPagination(); | 895 o.tokenPagination = buildTokenPagination(); |
| 896 } | 896 } |
| 897 buildCounterInappproductsListResponse--; | 897 buildCounterInappproductsListResponse--; |
| 898 return o; | 898 return o; |
| 899 } | 899 } |
| 900 | 900 |
| 901 checkInappproductsListResponse(api.InappproductsListResponse o) { | 901 checkInappproductsListResponse(api.InappproductsListResponse o) { |
| 902 buildCounterInappproductsListResponse++; | 902 buildCounterInappproductsListResponse++; |
| 903 if (buildCounterInappproductsListResponse < 3) { | 903 if (buildCounterInappproductsListResponse < 3) { |
| 904 checkUnnamed424(o.inappproduct); | 904 checkUnnamed2491(o.inappproduct); |
| 905 unittest.expect(o.kind, unittest.equals('foo')); | 905 unittest.expect(o.kind, unittest.equals('foo')); |
| 906 checkPageInfo(o.pageInfo); | 906 checkPageInfo(o.pageInfo); |
| 907 checkTokenPagination(o.tokenPagination); | 907 checkTokenPagination(o.tokenPagination); |
| 908 } | 908 } |
| 909 buildCounterInappproductsListResponse--; | 909 buildCounterInappproductsListResponse--; |
| 910 } | 910 } |
| 911 | 911 |
| 912 core.int buildCounterInappproductsUpdateRequest = 0; | 912 core.int buildCounterInappproductsUpdateRequest = 0; |
| 913 buildInappproductsUpdateRequest() { | 913 buildInappproductsUpdateRequest() { |
| 914 var o = new api.InappproductsUpdateRequest(); | 914 var o = new api.InappproductsUpdateRequest(); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 967 if (buildCounterListing < 3) { | 967 if (buildCounterListing < 3) { |
| 968 unittest.expect(o.fullDescription, unittest.equals('foo')); | 968 unittest.expect(o.fullDescription, unittest.equals('foo')); |
| 969 unittest.expect(o.language, unittest.equals('foo')); | 969 unittest.expect(o.language, unittest.equals('foo')); |
| 970 unittest.expect(o.shortDescription, unittest.equals('foo')); | 970 unittest.expect(o.shortDescription, unittest.equals('foo')); |
| 971 unittest.expect(o.title, unittest.equals('foo')); | 971 unittest.expect(o.title, unittest.equals('foo')); |
| 972 unittest.expect(o.video, unittest.equals('foo')); | 972 unittest.expect(o.video, unittest.equals('foo')); |
| 973 } | 973 } |
| 974 buildCounterListing--; | 974 buildCounterListing--; |
| 975 } | 975 } |
| 976 | 976 |
| 977 buildUnnamed425() { | 977 buildUnnamed2492() { |
| 978 var o = new core.List<api.Listing>(); | 978 var o = new core.List<api.Listing>(); |
| 979 o.add(buildListing()); | 979 o.add(buildListing()); |
| 980 o.add(buildListing()); | 980 o.add(buildListing()); |
| 981 return o; | 981 return o; |
| 982 } | 982 } |
| 983 | 983 |
| 984 checkUnnamed425(core.List<api.Listing> o) { | 984 checkUnnamed2492(core.List<api.Listing> o) { |
| 985 unittest.expect(o, unittest.hasLength(2)); | 985 unittest.expect(o, unittest.hasLength(2)); |
| 986 checkListing(o[0]); | 986 checkListing(o[0]); |
| 987 checkListing(o[1]); | 987 checkListing(o[1]); |
| 988 } | 988 } |
| 989 | 989 |
| 990 core.int buildCounterListingsListResponse = 0; | 990 core.int buildCounterListingsListResponse = 0; |
| 991 buildListingsListResponse() { | 991 buildListingsListResponse() { |
| 992 var o = new api.ListingsListResponse(); | 992 var o = new api.ListingsListResponse(); |
| 993 buildCounterListingsListResponse++; | 993 buildCounterListingsListResponse++; |
| 994 if (buildCounterListingsListResponse < 3) { | 994 if (buildCounterListingsListResponse < 3) { |
| 995 o.kind = "foo"; | 995 o.kind = "foo"; |
| 996 o.listings = buildUnnamed425(); | 996 o.listings = buildUnnamed2492(); |
| 997 } | 997 } |
| 998 buildCounterListingsListResponse--; | 998 buildCounterListingsListResponse--; |
| 999 return o; | 999 return o; |
| 1000 } | 1000 } |
| 1001 | 1001 |
| 1002 checkListingsListResponse(api.ListingsListResponse o) { | 1002 checkListingsListResponse(api.ListingsListResponse o) { |
| 1003 buildCounterListingsListResponse++; | 1003 buildCounterListingsListResponse++; |
| 1004 if (buildCounterListingsListResponse < 3) { | 1004 if (buildCounterListingsListResponse < 3) { |
| 1005 unittest.expect(o.kind, unittest.equals('foo')); | 1005 unittest.expect(o.kind, unittest.equals('foo')); |
| 1006 checkUnnamed425(o.listings); | 1006 checkUnnamed2492(o.listings); |
| 1007 } | 1007 } |
| 1008 buildCounterListingsListResponse--; | 1008 buildCounterListingsListResponse--; |
| 1009 } | 1009 } |
| 1010 | 1010 |
| 1011 core.int buildCounterMonthDay = 0; | 1011 core.int buildCounterMonthDay = 0; |
| 1012 buildMonthDay() { | 1012 buildMonthDay() { |
| 1013 var o = new api.MonthDay(); | 1013 var o = new api.MonthDay(); |
| 1014 buildCounterMonthDay++; | 1014 buildCounterMonthDay++; |
| 1015 if (buildCounterMonthDay < 3) { | 1015 if (buildCounterMonthDay < 3) { |
| 1016 o.day = 42; | 1016 o.day = 42; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1114 | 1114 |
| 1115 checkProrate(api.Prorate o) { | 1115 checkProrate(api.Prorate o) { |
| 1116 buildCounterProrate++; | 1116 buildCounterProrate++; |
| 1117 if (buildCounterProrate < 3) { | 1117 if (buildCounterProrate < 3) { |
| 1118 checkPrice(o.defaultPrice); | 1118 checkPrice(o.defaultPrice); |
| 1119 checkMonthDay(o.start); | 1119 checkMonthDay(o.start); |
| 1120 } | 1120 } |
| 1121 buildCounterProrate--; | 1121 buildCounterProrate--; |
| 1122 } | 1122 } |
| 1123 | 1123 |
| 1124 buildUnnamed426() { | 1124 buildUnnamed2493() { |
| 1125 var o = new core.List<api.Comment>(); | 1125 var o = new core.List<api.Comment>(); |
| 1126 o.add(buildComment()); | 1126 o.add(buildComment()); |
| 1127 o.add(buildComment()); | 1127 o.add(buildComment()); |
| 1128 return o; | 1128 return o; |
| 1129 } | 1129 } |
| 1130 | 1130 |
| 1131 checkUnnamed426(core.List<api.Comment> o) { | 1131 checkUnnamed2493(core.List<api.Comment> o) { |
| 1132 unittest.expect(o, unittest.hasLength(2)); | 1132 unittest.expect(o, unittest.hasLength(2)); |
| 1133 checkComment(o[0]); | 1133 checkComment(o[0]); |
| 1134 checkComment(o[1]); | 1134 checkComment(o[1]); |
| 1135 } | 1135 } |
| 1136 | 1136 |
| 1137 core.int buildCounterReview = 0; | 1137 core.int buildCounterReview = 0; |
| 1138 buildReview() { | 1138 buildReview() { |
| 1139 var o = new api.Review(); | 1139 var o = new api.Review(); |
| 1140 buildCounterReview++; | 1140 buildCounterReview++; |
| 1141 if (buildCounterReview < 3) { | 1141 if (buildCounterReview < 3) { |
| 1142 o.authorName = "foo"; | 1142 o.authorName = "foo"; |
| 1143 o.comments = buildUnnamed426(); | 1143 o.comments = buildUnnamed2493(); |
| 1144 o.reviewId = "foo"; | 1144 o.reviewId = "foo"; |
| 1145 } | 1145 } |
| 1146 buildCounterReview--; | 1146 buildCounterReview--; |
| 1147 return o; | 1147 return o; |
| 1148 } | 1148 } |
| 1149 | 1149 |
| 1150 checkReview(api.Review o) { | 1150 checkReview(api.Review o) { |
| 1151 buildCounterReview++; | 1151 buildCounterReview++; |
| 1152 if (buildCounterReview < 3) { | 1152 if (buildCounterReview < 3) { |
| 1153 unittest.expect(o.authorName, unittest.equals('foo')); | 1153 unittest.expect(o.authorName, unittest.equals('foo')); |
| 1154 checkUnnamed426(o.comments); | 1154 checkUnnamed2493(o.comments); |
| 1155 unittest.expect(o.reviewId, unittest.equals('foo')); | 1155 unittest.expect(o.reviewId, unittest.equals('foo')); |
| 1156 } | 1156 } |
| 1157 buildCounterReview--; | 1157 buildCounterReview--; |
| 1158 } | 1158 } |
| 1159 | 1159 |
| 1160 core.int buildCounterReviewReplyResult = 0; | 1160 core.int buildCounterReviewReplyResult = 0; |
| 1161 buildReviewReplyResult() { | 1161 buildReviewReplyResult() { |
| 1162 var o = new api.ReviewReplyResult(); | 1162 var o = new api.ReviewReplyResult(); |
| 1163 buildCounterReviewReplyResult++; | 1163 buildCounterReviewReplyResult++; |
| 1164 if (buildCounterReviewReplyResult < 3) { | 1164 if (buildCounterReviewReplyResult < 3) { |
| 1165 o.lastEdited = buildTimestamp(); | 1165 o.lastEdited = buildTimestamp(); |
| 1166 o.replyText = "foo"; | 1166 o.replyText = "foo"; |
| 1167 } | 1167 } |
| 1168 buildCounterReviewReplyResult--; | 1168 buildCounterReviewReplyResult--; |
| 1169 return o; | 1169 return o; |
| 1170 } | 1170 } |
| 1171 | 1171 |
| 1172 checkReviewReplyResult(api.ReviewReplyResult o) { | 1172 checkReviewReplyResult(api.ReviewReplyResult o) { |
| 1173 buildCounterReviewReplyResult++; | 1173 buildCounterReviewReplyResult++; |
| 1174 if (buildCounterReviewReplyResult < 3) { | 1174 if (buildCounterReviewReplyResult < 3) { |
| 1175 checkTimestamp(o.lastEdited); | 1175 checkTimestamp(o.lastEdited); |
| 1176 unittest.expect(o.replyText, unittest.equals('foo')); | 1176 unittest.expect(o.replyText, unittest.equals('foo')); |
| 1177 } | 1177 } |
| 1178 buildCounterReviewReplyResult--; | 1178 buildCounterReviewReplyResult--; |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 buildUnnamed427() { | 1181 buildUnnamed2494() { |
| 1182 var o = new core.List<api.Review>(); | 1182 var o = new core.List<api.Review>(); |
| 1183 o.add(buildReview()); | 1183 o.add(buildReview()); |
| 1184 o.add(buildReview()); | 1184 o.add(buildReview()); |
| 1185 return o; | 1185 return o; |
| 1186 } | 1186 } |
| 1187 | 1187 |
| 1188 checkUnnamed427(core.List<api.Review> o) { | 1188 checkUnnamed2494(core.List<api.Review> o) { |
| 1189 unittest.expect(o, unittest.hasLength(2)); | 1189 unittest.expect(o, unittest.hasLength(2)); |
| 1190 checkReview(o[0]); | 1190 checkReview(o[0]); |
| 1191 checkReview(o[1]); | 1191 checkReview(o[1]); |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 core.int buildCounterReviewsListResponse = 0; | 1194 core.int buildCounterReviewsListResponse = 0; |
| 1195 buildReviewsListResponse() { | 1195 buildReviewsListResponse() { |
| 1196 var o = new api.ReviewsListResponse(); | 1196 var o = new api.ReviewsListResponse(); |
| 1197 buildCounterReviewsListResponse++; | 1197 buildCounterReviewsListResponse++; |
| 1198 if (buildCounterReviewsListResponse < 3) { | 1198 if (buildCounterReviewsListResponse < 3) { |
| 1199 o.pageInfo = buildPageInfo(); | 1199 o.pageInfo = buildPageInfo(); |
| 1200 o.reviews = buildUnnamed427(); | 1200 o.reviews = buildUnnamed2494(); |
| 1201 o.tokenPagination = buildTokenPagination(); | 1201 o.tokenPagination = buildTokenPagination(); |
| 1202 } | 1202 } |
| 1203 buildCounterReviewsListResponse--; | 1203 buildCounterReviewsListResponse--; |
| 1204 return o; | 1204 return o; |
| 1205 } | 1205 } |
| 1206 | 1206 |
| 1207 checkReviewsListResponse(api.ReviewsListResponse o) { | 1207 checkReviewsListResponse(api.ReviewsListResponse o) { |
| 1208 buildCounterReviewsListResponse++; | 1208 buildCounterReviewsListResponse++; |
| 1209 if (buildCounterReviewsListResponse < 3) { | 1209 if (buildCounterReviewsListResponse < 3) { |
| 1210 checkPageInfo(o.pageInfo); | 1210 checkPageInfo(o.pageInfo); |
| 1211 checkUnnamed427(o.reviews); | 1211 checkUnnamed2494(o.reviews); |
| 1212 checkTokenPagination(o.tokenPagination); | 1212 checkTokenPagination(o.tokenPagination); |
| 1213 } | 1213 } |
| 1214 buildCounterReviewsListResponse--; | 1214 buildCounterReviewsListResponse--; |
| 1215 } | 1215 } |
| 1216 | 1216 |
| 1217 core.int buildCounterReviewsReplyRequest = 0; | 1217 core.int buildCounterReviewsReplyRequest = 0; |
| 1218 buildReviewsReplyRequest() { | 1218 buildReviewsReplyRequest() { |
| 1219 var o = new api.ReviewsReplyRequest(); | 1219 var o = new api.ReviewsReplyRequest(); |
| 1220 buildCounterReviewsReplyRequest++; | 1220 buildCounterReviewsReplyRequest++; |
| 1221 if (buildCounterReviewsReplyRequest < 3) { | 1221 if (buildCounterReviewsReplyRequest < 3) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 checkReviewsReplyResponse(api.ReviewsReplyResponse o) { | 1247 checkReviewsReplyResponse(api.ReviewsReplyResponse o) { |
| 1248 buildCounterReviewsReplyResponse++; | 1248 buildCounterReviewsReplyResponse++; |
| 1249 if (buildCounterReviewsReplyResponse < 3) { | 1249 if (buildCounterReviewsReplyResponse < 3) { |
| 1250 checkReviewReplyResult(o.result); | 1250 checkReviewReplyResult(o.result); |
| 1251 } | 1251 } |
| 1252 buildCounterReviewsReplyResponse--; | 1252 buildCounterReviewsReplyResponse--; |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 buildUnnamed428() { | 1255 buildUnnamed2495() { |
| 1256 var o = new core.List<api.Prorate>(); | 1256 var o = new core.List<api.Prorate>(); |
| 1257 o.add(buildProrate()); | 1257 o.add(buildProrate()); |
| 1258 o.add(buildProrate()); | 1258 o.add(buildProrate()); |
| 1259 return o; | 1259 return o; |
| 1260 } | 1260 } |
| 1261 | 1261 |
| 1262 checkUnnamed428(core.List<api.Prorate> o) { | 1262 checkUnnamed2495(core.List<api.Prorate> o) { |
| 1263 unittest.expect(o, unittest.hasLength(2)); | 1263 unittest.expect(o, unittest.hasLength(2)); |
| 1264 checkProrate(o[0]); | 1264 checkProrate(o[0]); |
| 1265 checkProrate(o[1]); | 1265 checkProrate(o[1]); |
| 1266 } | 1266 } |
| 1267 | 1267 |
| 1268 core.int buildCounterSeason = 0; | 1268 core.int buildCounterSeason = 0; |
| 1269 buildSeason() { | 1269 buildSeason() { |
| 1270 var o = new api.Season(); | 1270 var o = new api.Season(); |
| 1271 buildCounterSeason++; | 1271 buildCounterSeason++; |
| 1272 if (buildCounterSeason < 3) { | 1272 if (buildCounterSeason < 3) { |
| 1273 o.end = buildMonthDay(); | 1273 o.end = buildMonthDay(); |
| 1274 o.prorations = buildUnnamed428(); | 1274 o.prorations = buildUnnamed2495(); |
| 1275 o.start = buildMonthDay(); | 1275 o.start = buildMonthDay(); |
| 1276 } | 1276 } |
| 1277 buildCounterSeason--; | 1277 buildCounterSeason--; |
| 1278 return o; | 1278 return o; |
| 1279 } | 1279 } |
| 1280 | 1280 |
| 1281 checkSeason(api.Season o) { | 1281 checkSeason(api.Season o) { |
| 1282 buildCounterSeason++; | 1282 buildCounterSeason++; |
| 1283 if (buildCounterSeason < 3) { | 1283 if (buildCounterSeason < 3) { |
| 1284 checkMonthDay(o.end); | 1284 checkMonthDay(o.end); |
| 1285 checkUnnamed428(o.prorations); | 1285 checkUnnamed2495(o.prorations); |
| 1286 checkMonthDay(o.start); | 1286 checkMonthDay(o.start); |
| 1287 } | 1287 } |
| 1288 buildCounterSeason--; | 1288 buildCounterSeason--; |
| 1289 } | 1289 } |
| 1290 | 1290 |
| 1291 core.int buildCounterSubscriptionDeferralInfo = 0; | 1291 core.int buildCounterSubscriptionDeferralInfo = 0; |
| 1292 buildSubscriptionDeferralInfo() { | 1292 buildSubscriptionDeferralInfo() { |
| 1293 var o = new api.SubscriptionDeferralInfo(); | 1293 var o = new api.SubscriptionDeferralInfo(); |
| 1294 buildCounterSubscriptionDeferralInfo++; | 1294 buildCounterSubscriptionDeferralInfo++; |
| 1295 if (buildCounterSubscriptionDeferralInfo < 3) { | 1295 if (buildCounterSubscriptionDeferralInfo < 3) { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 } | 1377 } |
| 1378 | 1378 |
| 1379 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { | 1379 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { |
| 1380 buildCounterSubscriptionPurchasesDeferResponse++; | 1380 buildCounterSubscriptionPurchasesDeferResponse++; |
| 1381 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { | 1381 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { |
| 1382 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); | 1382 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); |
| 1383 } | 1383 } |
| 1384 buildCounterSubscriptionPurchasesDeferResponse--; | 1384 buildCounterSubscriptionPurchasesDeferResponse--; |
| 1385 } | 1385 } |
| 1386 | 1386 |
| 1387 buildUnnamed429() { | 1387 buildUnnamed2496() { |
| 1388 var o = new core.List<core.String>(); | 1388 var o = new core.List<core.String>(); |
| 1389 o.add("foo"); | 1389 o.add("foo"); |
| 1390 o.add("foo"); | 1390 o.add("foo"); |
| 1391 return o; | 1391 return o; |
| 1392 } | 1392 } |
| 1393 | 1393 |
| 1394 checkUnnamed429(core.List<core.String> o) { | 1394 checkUnnamed2496(core.List<core.String> o) { |
| 1395 unittest.expect(o, unittest.hasLength(2)); | 1395 unittest.expect(o, unittest.hasLength(2)); |
| 1396 unittest.expect(o[0], unittest.equals('foo')); | 1396 unittest.expect(o[0], unittest.equals('foo')); |
| 1397 unittest.expect(o[1], unittest.equals('foo')); | 1397 unittest.expect(o[1], unittest.equals('foo')); |
| 1398 } | 1398 } |
| 1399 | 1399 |
| 1400 buildUnnamed430() { | 1400 buildUnnamed2497() { |
| 1401 var o = new core.List<core.String>(); | 1401 var o = new core.List<core.String>(); |
| 1402 o.add("foo"); | 1402 o.add("foo"); |
| 1403 o.add("foo"); | 1403 o.add("foo"); |
| 1404 return o; | 1404 return o; |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 checkUnnamed430(core.List<core.String> o) { | 1407 checkUnnamed2497(core.List<core.String> o) { |
| 1408 unittest.expect(o, unittest.hasLength(2)); | 1408 unittest.expect(o, unittest.hasLength(2)); |
| 1409 unittest.expect(o[0], unittest.equals('foo')); | 1409 unittest.expect(o[0], unittest.equals('foo')); |
| 1410 unittest.expect(o[1], unittest.equals('foo')); | 1410 unittest.expect(o[1], unittest.equals('foo')); |
| 1411 } | 1411 } |
| 1412 | 1412 |
| 1413 core.int buildCounterTesters = 0; | 1413 core.int buildCounterTesters = 0; |
| 1414 buildTesters() { | 1414 buildTesters() { |
| 1415 var o = new api.Testers(); | 1415 var o = new api.Testers(); |
| 1416 buildCounterTesters++; | 1416 buildCounterTesters++; |
| 1417 if (buildCounterTesters < 3) { | 1417 if (buildCounterTesters < 3) { |
| 1418 o.googleGroups = buildUnnamed429(); | 1418 o.googleGroups = buildUnnamed2496(); |
| 1419 o.googlePlusCommunities = buildUnnamed430(); | 1419 o.googlePlusCommunities = buildUnnamed2497(); |
| 1420 } | 1420 } |
| 1421 buildCounterTesters--; | 1421 buildCounterTesters--; |
| 1422 return o; | 1422 return o; |
| 1423 } | 1423 } |
| 1424 | 1424 |
| 1425 checkTesters(api.Testers o) { | 1425 checkTesters(api.Testers o) { |
| 1426 buildCounterTesters++; | 1426 buildCounterTesters++; |
| 1427 if (buildCounterTesters < 3) { | 1427 if (buildCounterTesters < 3) { |
| 1428 checkUnnamed429(o.googleGroups); | 1428 checkUnnamed2496(o.googleGroups); |
| 1429 checkUnnamed430(o.googlePlusCommunities); | 1429 checkUnnamed2497(o.googlePlusCommunities); |
| 1430 } | 1430 } |
| 1431 buildCounterTesters--; | 1431 buildCounterTesters--; |
| 1432 } | 1432 } |
| 1433 | 1433 |
| 1434 core.int buildCounterTimestamp = 0; | 1434 core.int buildCounterTimestamp = 0; |
| 1435 buildTimestamp() { | 1435 buildTimestamp() { |
| 1436 var o = new api.Timestamp(); | 1436 var o = new api.Timestamp(); |
| 1437 buildCounterTimestamp++; | 1437 buildCounterTimestamp++; |
| 1438 if (buildCounterTimestamp < 3) { | 1438 if (buildCounterTimestamp < 3) { |
| 1439 o.nanos = 42; | 1439 o.nanos = 42; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1466 | 1466 |
| 1467 checkTokenPagination(api.TokenPagination o) { | 1467 checkTokenPagination(api.TokenPagination o) { |
| 1468 buildCounterTokenPagination++; | 1468 buildCounterTokenPagination++; |
| 1469 if (buildCounterTokenPagination < 3) { | 1469 if (buildCounterTokenPagination < 3) { |
| 1470 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1470 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1471 unittest.expect(o.previousPageToken, unittest.equals('foo')); | 1471 unittest.expect(o.previousPageToken, unittest.equals('foo')); |
| 1472 } | 1472 } |
| 1473 buildCounterTokenPagination--; | 1473 buildCounterTokenPagination--; |
| 1474 } | 1474 } |
| 1475 | 1475 |
| 1476 buildUnnamed431() { | 1476 buildUnnamed2498() { |
| 1477 var o = new core.List<core.int>(); | 1477 var o = new core.List<core.int>(); |
| 1478 o.add(42); | 1478 o.add(42); |
| 1479 o.add(42); | 1479 o.add(42); |
| 1480 return o; | 1480 return o; |
| 1481 } | 1481 } |
| 1482 | 1482 |
| 1483 checkUnnamed431(core.List<core.int> o) { | 1483 checkUnnamed2498(core.List<core.int> o) { |
| 1484 unittest.expect(o, unittest.hasLength(2)); | 1484 unittest.expect(o, unittest.hasLength(2)); |
| 1485 unittest.expect(o[0], unittest.equals(42)); | 1485 unittest.expect(o[0], unittest.equals(42)); |
| 1486 unittest.expect(o[1], unittest.equals(42)); | 1486 unittest.expect(o[1], unittest.equals(42)); |
| 1487 } | 1487 } |
| 1488 | 1488 |
| 1489 core.int buildCounterTrack = 0; | 1489 core.int buildCounterTrack = 0; |
| 1490 buildTrack() { | 1490 buildTrack() { |
| 1491 var o = new api.Track(); | 1491 var o = new api.Track(); |
| 1492 buildCounterTrack++; | 1492 buildCounterTrack++; |
| 1493 if (buildCounterTrack < 3) { | 1493 if (buildCounterTrack < 3) { |
| 1494 o.track = "foo"; | 1494 o.track = "foo"; |
| 1495 o.userFraction = 42.0; | 1495 o.userFraction = 42.0; |
| 1496 o.versionCodes = buildUnnamed431(); | 1496 o.versionCodes = buildUnnamed2498(); |
| 1497 } | 1497 } |
| 1498 buildCounterTrack--; | 1498 buildCounterTrack--; |
| 1499 return o; | 1499 return o; |
| 1500 } | 1500 } |
| 1501 | 1501 |
| 1502 checkTrack(api.Track o) { | 1502 checkTrack(api.Track o) { |
| 1503 buildCounterTrack++; | 1503 buildCounterTrack++; |
| 1504 if (buildCounterTrack < 3) { | 1504 if (buildCounterTrack < 3) { |
| 1505 unittest.expect(o.track, unittest.equals('foo')); | 1505 unittest.expect(o.track, unittest.equals('foo')); |
| 1506 unittest.expect(o.userFraction, unittest.equals(42.0)); | 1506 unittest.expect(o.userFraction, unittest.equals(42.0)); |
| 1507 checkUnnamed431(o.versionCodes); | 1507 checkUnnamed2498(o.versionCodes); |
| 1508 } | 1508 } |
| 1509 buildCounterTrack--; | 1509 buildCounterTrack--; |
| 1510 } | 1510 } |
| 1511 | 1511 |
| 1512 buildUnnamed432() { | 1512 buildUnnamed2499() { |
| 1513 var o = new core.List<api.Track>(); | 1513 var o = new core.List<api.Track>(); |
| 1514 o.add(buildTrack()); | 1514 o.add(buildTrack()); |
| 1515 o.add(buildTrack()); | 1515 o.add(buildTrack()); |
| 1516 return o; | 1516 return o; |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 checkUnnamed432(core.List<api.Track> o) { | 1519 checkUnnamed2499(core.List<api.Track> o) { |
| 1520 unittest.expect(o, unittest.hasLength(2)); | 1520 unittest.expect(o, unittest.hasLength(2)); |
| 1521 checkTrack(o[0]); | 1521 checkTrack(o[0]); |
| 1522 checkTrack(o[1]); | 1522 checkTrack(o[1]); |
| 1523 } | 1523 } |
| 1524 | 1524 |
| 1525 core.int buildCounterTracksListResponse = 0; | 1525 core.int buildCounterTracksListResponse = 0; |
| 1526 buildTracksListResponse() { | 1526 buildTracksListResponse() { |
| 1527 var o = new api.TracksListResponse(); | 1527 var o = new api.TracksListResponse(); |
| 1528 buildCounterTracksListResponse++; | 1528 buildCounterTracksListResponse++; |
| 1529 if (buildCounterTracksListResponse < 3) { | 1529 if (buildCounterTracksListResponse < 3) { |
| 1530 o.kind = "foo"; | 1530 o.kind = "foo"; |
| 1531 o.tracks = buildUnnamed432(); | 1531 o.tracks = buildUnnamed2499(); |
| 1532 } | 1532 } |
| 1533 buildCounterTracksListResponse--; | 1533 buildCounterTracksListResponse--; |
| 1534 return o; | 1534 return o; |
| 1535 } | 1535 } |
| 1536 | 1536 |
| 1537 checkTracksListResponse(api.TracksListResponse o) { | 1537 checkTracksListResponse(api.TracksListResponse o) { |
| 1538 buildCounterTracksListResponse++; | 1538 buildCounterTracksListResponse++; |
| 1539 if (buildCounterTracksListResponse < 3) { | 1539 if (buildCounterTracksListResponse < 3) { |
| 1540 unittest.expect(o.kind, unittest.equals('foo')); | 1540 unittest.expect(o.kind, unittest.equals('foo')); |
| 1541 checkUnnamed432(o.tracks); | 1541 checkUnnamed2499(o.tracks); |
| 1542 } | 1542 } |
| 1543 buildCounterTracksListResponse--; | 1543 buildCounterTracksListResponse--; |
| 1544 } | 1544 } |
| 1545 | 1545 |
| 1546 core.int buildCounterUserComment = 0; | 1546 core.int buildCounterUserComment = 0; |
| 1547 buildUserComment() { | 1547 buildUserComment() { |
| 1548 var o = new api.UserComment(); | 1548 var o = new api.UserComment(); |
| 1549 buildCounterUserComment++; | 1549 buildCounterUserComment++; |
| 1550 if (buildCounterUserComment < 3) { | 1550 if (buildCounterUserComment < 3) { |
| 1551 o.androidOsVersion = 42; | 1551 o.androidOsVersion = 42; |
| (...skipping 3069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4621 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect
Async(((api.ReviewsReplyResponse response) { | 4621 res.reply(arg_request, arg_packageName, arg_reviewId).then(unittest.expect
Async(((api.ReviewsReplyResponse response) { |
| 4622 checkReviewsReplyResponse(response); | 4622 checkReviewsReplyResponse(response); |
| 4623 }))); | 4623 }))); |
| 4624 }); | 4624 }); |
| 4625 | 4625 |
| 4626 }); | 4626 }); |
| 4627 | 4627 |
| 4628 | 4628 |
| 4629 } | 4629 } |
| 4630 | 4630 |
| OLD | NEW |