| 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 buildUnnamed1411() { | 115 buildUnnamed309() { |
| 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 checkUnnamed1411(core.List<api.ApkListing> o) { | 122 checkUnnamed309(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 = buildUnnamed1411(); | 134 o.listings = buildUnnamed309(); |
| 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 checkUnnamed1411(o.listings); | 144 checkUnnamed309(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 buildUnnamed1412() { | 187 buildUnnamed310() { |
| 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 checkUnnamed1412(core.List<api.Apk> o) { | 194 checkUnnamed310(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 = buildUnnamed1412(); | 205 o.apks = buildUnnamed310(); |
| 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 checkUnnamed1412(o.apks); | 215 checkUnnamed310(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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 buildCounterEntitlement++; | 282 buildCounterEntitlement++; |
| 283 if (buildCounterEntitlement < 3) { | 283 if (buildCounterEntitlement < 3) { |
| 284 unittest.expect(o.kind, unittest.equals('foo')); | 284 unittest.expect(o.kind, unittest.equals('foo')); |
| 285 unittest.expect(o.productId, unittest.equals('foo')); | 285 unittest.expect(o.productId, unittest.equals('foo')); |
| 286 unittest.expect(o.productType, unittest.equals('foo')); | 286 unittest.expect(o.productType, unittest.equals('foo')); |
| 287 unittest.expect(o.token, unittest.equals('foo')); | 287 unittest.expect(o.token, unittest.equals('foo')); |
| 288 } | 288 } |
| 289 buildCounterEntitlement--; | 289 buildCounterEntitlement--; |
| 290 } | 290 } |
| 291 | 291 |
| 292 buildUnnamed1413() { | 292 buildUnnamed311() { |
| 293 var o = new core.List<api.Entitlement>(); | 293 var o = new core.List<api.Entitlement>(); |
| 294 o.add(buildEntitlement()); | 294 o.add(buildEntitlement()); |
| 295 o.add(buildEntitlement()); | 295 o.add(buildEntitlement()); |
| 296 return o; | 296 return o; |
| 297 } | 297 } |
| 298 | 298 |
| 299 checkUnnamed1413(core.List<api.Entitlement> o) { | 299 checkUnnamed311(core.List<api.Entitlement> o) { |
| 300 unittest.expect(o, unittest.hasLength(2)); | 300 unittest.expect(o, unittest.hasLength(2)); |
| 301 checkEntitlement(o[0]); | 301 checkEntitlement(o[0]); |
| 302 checkEntitlement(o[1]); | 302 checkEntitlement(o[1]); |
| 303 } | 303 } |
| 304 | 304 |
| 305 core.int buildCounterEntitlementsListResponse = 0; | 305 core.int buildCounterEntitlementsListResponse = 0; |
| 306 buildEntitlementsListResponse() { | 306 buildEntitlementsListResponse() { |
| 307 var o = new api.EntitlementsListResponse(); | 307 var o = new api.EntitlementsListResponse(); |
| 308 buildCounterEntitlementsListResponse++; | 308 buildCounterEntitlementsListResponse++; |
| 309 if (buildCounterEntitlementsListResponse < 3) { | 309 if (buildCounterEntitlementsListResponse < 3) { |
| 310 o.pageInfo = buildPageInfo(); | 310 o.pageInfo = buildPageInfo(); |
| 311 o.resources = buildUnnamed1413(); | 311 o.resources = buildUnnamed311(); |
| 312 o.tokenPagination = buildTokenPagination(); | 312 o.tokenPagination = buildTokenPagination(); |
| 313 } | 313 } |
| 314 buildCounterEntitlementsListResponse--; | 314 buildCounterEntitlementsListResponse--; |
| 315 return o; | 315 return o; |
| 316 } | 316 } |
| 317 | 317 |
| 318 checkEntitlementsListResponse(api.EntitlementsListResponse o) { | 318 checkEntitlementsListResponse(api.EntitlementsListResponse o) { |
| 319 buildCounterEntitlementsListResponse++; | 319 buildCounterEntitlementsListResponse++; |
| 320 if (buildCounterEntitlementsListResponse < 3) { | 320 if (buildCounterEntitlementsListResponse < 3) { |
| 321 checkPageInfo(o.pageInfo); | 321 checkPageInfo(o.pageInfo); |
| 322 checkUnnamed1413(o.resources); | 322 checkUnnamed311(o.resources); |
| 323 checkTokenPagination(o.tokenPagination); | 323 checkTokenPagination(o.tokenPagination); |
| 324 } | 324 } |
| 325 buildCounterEntitlementsListResponse--; | 325 buildCounterEntitlementsListResponse--; |
| 326 } | 326 } |
| 327 | 327 |
| 328 core.int buildCounterExpansionFile = 0; | 328 core.int buildCounterExpansionFile = 0; |
| 329 buildExpansionFile() { | 329 buildExpansionFile() { |
| 330 var o = new api.ExpansionFile(); | 330 var o = new api.ExpansionFile(); |
| 331 buildCounterExpansionFile++; | 331 buildCounterExpansionFile++; |
| 332 if (buildCounterExpansionFile < 3) { | 332 if (buildCounterExpansionFile < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 358 } | 358 } |
| 359 | 359 |
| 360 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { | 360 checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { |
| 361 buildCounterExpansionFilesUploadResponse++; | 361 buildCounterExpansionFilesUploadResponse++; |
| 362 if (buildCounterExpansionFilesUploadResponse < 3) { | 362 if (buildCounterExpansionFilesUploadResponse < 3) { |
| 363 checkExpansionFile(o.expansionFile); | 363 checkExpansionFile(o.expansionFile); |
| 364 } | 364 } |
| 365 buildCounterExpansionFilesUploadResponse--; | 365 buildCounterExpansionFilesUploadResponse--; |
| 366 } | 366 } |
| 367 | 367 |
| 368 buildUnnamed1414() { | 368 buildUnnamed312() { |
| 369 var o = new core.List<core.String>(); | 369 var o = new core.List<core.String>(); |
| 370 o.add("foo"); | 370 o.add("foo"); |
| 371 o.add("foo"); | 371 o.add("foo"); |
| 372 return o; | 372 return o; |
| 373 } | 373 } |
| 374 | 374 |
| 375 checkUnnamed1414(core.List<core.String> o) { | 375 checkUnnamed312(core.List<core.String> o) { |
| 376 unittest.expect(o, unittest.hasLength(2)); | 376 unittest.expect(o, unittest.hasLength(2)); |
| 377 unittest.expect(o[0], unittest.equals('foo')); | 377 unittest.expect(o[0], unittest.equals('foo')); |
| 378 unittest.expect(o[1], unittest.equals('foo')); | 378 unittest.expect(o[1], unittest.equals('foo')); |
| 379 } | 379 } |
| 380 | 380 |
| 381 buildUnnamed1415() { | 381 buildUnnamed313() { |
| 382 var o = new core.List<core.String>(); | 382 var o = new core.List<core.String>(); |
| 383 o.add("foo"); | 383 o.add("foo"); |
| 384 o.add("foo"); | 384 o.add("foo"); |
| 385 return o; | 385 return o; |
| 386 } | 386 } |
| 387 | 387 |
| 388 checkUnnamed1415(core.List<core.String> o) { | 388 checkUnnamed313(core.List<core.String> o) { |
| 389 unittest.expect(o, unittest.hasLength(2)); | 389 unittest.expect(o, unittest.hasLength(2)); |
| 390 unittest.expect(o[0], unittest.equals('foo')); | 390 unittest.expect(o[0], unittest.equals('foo')); |
| 391 unittest.expect(o[1], unittest.equals('foo')); | 391 unittest.expect(o[1], unittest.equals('foo')); |
| 392 } | 392 } |
| 393 | 393 |
| 394 buildUnnamed1416() { | 394 buildUnnamed314() { |
| 395 var o = new core.List<core.String>(); | 395 var o = new core.List<core.String>(); |
| 396 o.add("foo"); | 396 o.add("foo"); |
| 397 o.add("foo"); | 397 o.add("foo"); |
| 398 return o; | 398 return o; |
| 399 } | 399 } |
| 400 | 400 |
| 401 checkUnnamed1416(core.List<core.String> o) { | 401 checkUnnamed314(core.List<core.String> o) { |
| 402 unittest.expect(o, unittest.hasLength(2)); | 402 unittest.expect(o, unittest.hasLength(2)); |
| 403 unittest.expect(o[0], unittest.equals('foo')); | 403 unittest.expect(o[0], unittest.equals('foo')); |
| 404 unittest.expect(o[1], unittest.equals('foo')); | 404 unittest.expect(o[1], unittest.equals('foo')); |
| 405 } | 405 } |
| 406 | 406 |
| 407 buildUnnamed1417() { | 407 buildUnnamed315() { |
| 408 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); | 408 var o = new core.List<api.ExternallyHostedApkUsesPermission>(); |
| 409 o.add(buildExternallyHostedApkUsesPermission()); | 409 o.add(buildExternallyHostedApkUsesPermission()); |
| 410 o.add(buildExternallyHostedApkUsesPermission()); | 410 o.add(buildExternallyHostedApkUsesPermission()); |
| 411 return o; | 411 return o; |
| 412 } | 412 } |
| 413 | 413 |
| 414 checkUnnamed1417(core.List<api.ExternallyHostedApkUsesPermission> o) { | 414 checkUnnamed315(core.List<api.ExternallyHostedApkUsesPermission> o) { |
| 415 unittest.expect(o, unittest.hasLength(2)); | 415 unittest.expect(o, unittest.hasLength(2)); |
| 416 checkExternallyHostedApkUsesPermission(o[0]); | 416 checkExternallyHostedApkUsesPermission(o[0]); |
| 417 checkExternallyHostedApkUsesPermission(o[1]); | 417 checkExternallyHostedApkUsesPermission(o[1]); |
| 418 } | 418 } |
| 419 | 419 |
| 420 core.int buildCounterExternallyHostedApk = 0; | 420 core.int buildCounterExternallyHostedApk = 0; |
| 421 buildExternallyHostedApk() { | 421 buildExternallyHostedApk() { |
| 422 var o = new api.ExternallyHostedApk(); | 422 var o = new api.ExternallyHostedApk(); |
| 423 buildCounterExternallyHostedApk++; | 423 buildCounterExternallyHostedApk++; |
| 424 if (buildCounterExternallyHostedApk < 3) { | 424 if (buildCounterExternallyHostedApk < 3) { |
| 425 o.applicationLabel = "foo"; | 425 o.applicationLabel = "foo"; |
| 426 o.certificateBase64s = buildUnnamed1414(); | 426 o.certificateBase64s = buildUnnamed312(); |
| 427 o.externallyHostedUrl = "foo"; | 427 o.externallyHostedUrl = "foo"; |
| 428 o.fileSha1Base64 = "foo"; | 428 o.fileSha1Base64 = "foo"; |
| 429 o.fileSha256Base64 = "foo"; | 429 o.fileSha256Base64 = "foo"; |
| 430 o.fileSize = "foo"; | 430 o.fileSize = "foo"; |
| 431 o.iconBase64 = "foo"; | 431 o.iconBase64 = "foo"; |
| 432 o.maximumSdk = 42; | 432 o.maximumSdk = 42; |
| 433 o.minimumSdk = 42; | 433 o.minimumSdk = 42; |
| 434 o.nativeCodes = buildUnnamed1415(); | 434 o.nativeCodes = buildUnnamed313(); |
| 435 o.packageName = "foo"; | 435 o.packageName = "foo"; |
| 436 o.usesFeatures = buildUnnamed1416(); | 436 o.usesFeatures = buildUnnamed314(); |
| 437 o.usesPermissions = buildUnnamed1417(); | 437 o.usesPermissions = buildUnnamed315(); |
| 438 o.versionCode = 42; | 438 o.versionCode = 42; |
| 439 o.versionName = "foo"; | 439 o.versionName = "foo"; |
| 440 } | 440 } |
| 441 buildCounterExternallyHostedApk--; | 441 buildCounterExternallyHostedApk--; |
| 442 return o; | 442 return o; |
| 443 } | 443 } |
| 444 | 444 |
| 445 checkExternallyHostedApk(api.ExternallyHostedApk o) { | 445 checkExternallyHostedApk(api.ExternallyHostedApk o) { |
| 446 buildCounterExternallyHostedApk++; | 446 buildCounterExternallyHostedApk++; |
| 447 if (buildCounterExternallyHostedApk < 3) { | 447 if (buildCounterExternallyHostedApk < 3) { |
| 448 unittest.expect(o.applicationLabel, unittest.equals('foo')); | 448 unittest.expect(o.applicationLabel, unittest.equals('foo')); |
| 449 checkUnnamed1414(o.certificateBase64s); | 449 checkUnnamed312(o.certificateBase64s); |
| 450 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); | 450 unittest.expect(o.externallyHostedUrl, unittest.equals('foo')); |
| 451 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); | 451 unittest.expect(o.fileSha1Base64, unittest.equals('foo')); |
| 452 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); | 452 unittest.expect(o.fileSha256Base64, unittest.equals('foo')); |
| 453 unittest.expect(o.fileSize, unittest.equals('foo')); | 453 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 454 unittest.expect(o.iconBase64, unittest.equals('foo')); | 454 unittest.expect(o.iconBase64, unittest.equals('foo')); |
| 455 unittest.expect(o.maximumSdk, unittest.equals(42)); | 455 unittest.expect(o.maximumSdk, unittest.equals(42)); |
| 456 unittest.expect(o.minimumSdk, unittest.equals(42)); | 456 unittest.expect(o.minimumSdk, unittest.equals(42)); |
| 457 checkUnnamed1415(o.nativeCodes); | 457 checkUnnamed313(o.nativeCodes); |
| 458 unittest.expect(o.packageName, unittest.equals('foo')); | 458 unittest.expect(o.packageName, unittest.equals('foo')); |
| 459 checkUnnamed1416(o.usesFeatures); | 459 checkUnnamed314(o.usesFeatures); |
| 460 checkUnnamed1417(o.usesPermissions); | 460 checkUnnamed315(o.usesPermissions); |
| 461 unittest.expect(o.versionCode, unittest.equals(42)); | 461 unittest.expect(o.versionCode, unittest.equals(42)); |
| 462 unittest.expect(o.versionName, unittest.equals('foo')); | 462 unittest.expect(o.versionName, unittest.equals('foo')); |
| 463 } | 463 } |
| 464 buildCounterExternallyHostedApk--; | 464 buildCounterExternallyHostedApk--; |
| 465 } | 465 } |
| 466 | 466 |
| 467 core.int buildCounterExternallyHostedApkUsesPermission = 0; | 467 core.int buildCounterExternallyHostedApkUsesPermission = 0; |
| 468 buildExternallyHostedApkUsesPermission() { | 468 buildExternallyHostedApkUsesPermission() { |
| 469 var o = new api.ExternallyHostedApkUsesPermission(); | 469 var o = new api.ExternallyHostedApkUsesPermission(); |
| 470 buildCounterExternallyHostedApkUsesPermission++; | 470 buildCounterExternallyHostedApkUsesPermission++; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 501 checkImage(api.Image o) { | 501 checkImage(api.Image o) { |
| 502 buildCounterImage++; | 502 buildCounterImage++; |
| 503 if (buildCounterImage < 3) { | 503 if (buildCounterImage < 3) { |
| 504 unittest.expect(o.id, unittest.equals('foo')); | 504 unittest.expect(o.id, unittest.equals('foo')); |
| 505 unittest.expect(o.sha1, unittest.equals('foo')); | 505 unittest.expect(o.sha1, unittest.equals('foo')); |
| 506 unittest.expect(o.url, unittest.equals('foo')); | 506 unittest.expect(o.url, unittest.equals('foo')); |
| 507 } | 507 } |
| 508 buildCounterImage--; | 508 buildCounterImage--; |
| 509 } | 509 } |
| 510 | 510 |
| 511 buildUnnamed1418() { | 511 buildUnnamed316() { |
| 512 var o = new core.List<api.Image>(); | 512 var o = new core.List<api.Image>(); |
| 513 o.add(buildImage()); | 513 o.add(buildImage()); |
| 514 o.add(buildImage()); | 514 o.add(buildImage()); |
| 515 return o; | 515 return o; |
| 516 } | 516 } |
| 517 | 517 |
| 518 checkUnnamed1418(core.List<api.Image> o) { | 518 checkUnnamed316(core.List<api.Image> o) { |
| 519 unittest.expect(o, unittest.hasLength(2)); | 519 unittest.expect(o, unittest.hasLength(2)); |
| 520 checkImage(o[0]); | 520 checkImage(o[0]); |
| 521 checkImage(o[1]); | 521 checkImage(o[1]); |
| 522 } | 522 } |
| 523 | 523 |
| 524 core.int buildCounterImagesDeleteAllResponse = 0; | 524 core.int buildCounterImagesDeleteAllResponse = 0; |
| 525 buildImagesDeleteAllResponse() { | 525 buildImagesDeleteAllResponse() { |
| 526 var o = new api.ImagesDeleteAllResponse(); | 526 var o = new api.ImagesDeleteAllResponse(); |
| 527 buildCounterImagesDeleteAllResponse++; | 527 buildCounterImagesDeleteAllResponse++; |
| 528 if (buildCounterImagesDeleteAllResponse < 3) { | 528 if (buildCounterImagesDeleteAllResponse < 3) { |
| 529 o.deleted = buildUnnamed1418(); | 529 o.deleted = buildUnnamed316(); |
| 530 } | 530 } |
| 531 buildCounterImagesDeleteAllResponse--; | 531 buildCounterImagesDeleteAllResponse--; |
| 532 return o; | 532 return o; |
| 533 } | 533 } |
| 534 | 534 |
| 535 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { | 535 checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { |
| 536 buildCounterImagesDeleteAllResponse++; | 536 buildCounterImagesDeleteAllResponse++; |
| 537 if (buildCounterImagesDeleteAllResponse < 3) { | 537 if (buildCounterImagesDeleteAllResponse < 3) { |
| 538 checkUnnamed1418(o.deleted); | 538 checkUnnamed316(o.deleted); |
| 539 } | 539 } |
| 540 buildCounterImagesDeleteAllResponse--; | 540 buildCounterImagesDeleteAllResponse--; |
| 541 } | 541 } |
| 542 | 542 |
| 543 buildUnnamed1419() { | 543 buildUnnamed317() { |
| 544 var o = new core.List<api.Image>(); | 544 var o = new core.List<api.Image>(); |
| 545 o.add(buildImage()); | 545 o.add(buildImage()); |
| 546 o.add(buildImage()); | 546 o.add(buildImage()); |
| 547 return o; | 547 return o; |
| 548 } | 548 } |
| 549 | 549 |
| 550 checkUnnamed1419(core.List<api.Image> o) { | 550 checkUnnamed317(core.List<api.Image> o) { |
| 551 unittest.expect(o, unittest.hasLength(2)); | 551 unittest.expect(o, unittest.hasLength(2)); |
| 552 checkImage(o[0]); | 552 checkImage(o[0]); |
| 553 checkImage(o[1]); | 553 checkImage(o[1]); |
| 554 } | 554 } |
| 555 | 555 |
| 556 core.int buildCounterImagesListResponse = 0; | 556 core.int buildCounterImagesListResponse = 0; |
| 557 buildImagesListResponse() { | 557 buildImagesListResponse() { |
| 558 var o = new api.ImagesListResponse(); | 558 var o = new api.ImagesListResponse(); |
| 559 buildCounterImagesListResponse++; | 559 buildCounterImagesListResponse++; |
| 560 if (buildCounterImagesListResponse < 3) { | 560 if (buildCounterImagesListResponse < 3) { |
| 561 o.images = buildUnnamed1419(); | 561 o.images = buildUnnamed317(); |
| 562 } | 562 } |
| 563 buildCounterImagesListResponse--; | 563 buildCounterImagesListResponse--; |
| 564 return o; | 564 return o; |
| 565 } | 565 } |
| 566 | 566 |
| 567 checkImagesListResponse(api.ImagesListResponse o) { | 567 checkImagesListResponse(api.ImagesListResponse o) { |
| 568 buildCounterImagesListResponse++; | 568 buildCounterImagesListResponse++; |
| 569 if (buildCounterImagesListResponse < 3) { | 569 if (buildCounterImagesListResponse < 3) { |
| 570 checkUnnamed1419(o.images); | 570 checkUnnamed317(o.images); |
| 571 } | 571 } |
| 572 buildCounterImagesListResponse--; | 572 buildCounterImagesListResponse--; |
| 573 } | 573 } |
| 574 | 574 |
| 575 core.int buildCounterImagesUploadResponse = 0; | 575 core.int buildCounterImagesUploadResponse = 0; |
| 576 buildImagesUploadResponse() { | 576 buildImagesUploadResponse() { |
| 577 var o = new api.ImagesUploadResponse(); | 577 var o = new api.ImagesUploadResponse(); |
| 578 buildCounterImagesUploadResponse++; | 578 buildCounterImagesUploadResponse++; |
| 579 if (buildCounterImagesUploadResponse < 3) { | 579 if (buildCounterImagesUploadResponse < 3) { |
| 580 o.image = buildImage(); | 580 o.image = buildImage(); |
| 581 } | 581 } |
| 582 buildCounterImagesUploadResponse--; | 582 buildCounterImagesUploadResponse--; |
| 583 return o; | 583 return o; |
| 584 } | 584 } |
| 585 | 585 |
| 586 checkImagesUploadResponse(api.ImagesUploadResponse o) { | 586 checkImagesUploadResponse(api.ImagesUploadResponse o) { |
| 587 buildCounterImagesUploadResponse++; | 587 buildCounterImagesUploadResponse++; |
| 588 if (buildCounterImagesUploadResponse < 3) { | 588 if (buildCounterImagesUploadResponse < 3) { |
| 589 checkImage(o.image); | 589 checkImage(o.image); |
| 590 } | 590 } |
| 591 buildCounterImagesUploadResponse--; | 591 buildCounterImagesUploadResponse--; |
| 592 } | 592 } |
| 593 | 593 |
| 594 buildUnnamed1420() { | 594 buildUnnamed318() { |
| 595 var o = new core.Map<core.String, api.InAppProductListing>(); | 595 var o = new core.Map<core.String, api.InAppProductListing>(); |
| 596 o["x"] = buildInAppProductListing(); | 596 o["x"] = buildInAppProductListing(); |
| 597 o["y"] = buildInAppProductListing(); | 597 o["y"] = buildInAppProductListing(); |
| 598 return o; | 598 return o; |
| 599 } | 599 } |
| 600 | 600 |
| 601 checkUnnamed1420(core.Map<core.String, api.InAppProductListing> o) { | 601 checkUnnamed318(core.Map<core.String, api.InAppProductListing> o) { |
| 602 unittest.expect(o, unittest.hasLength(2)); | 602 unittest.expect(o, unittest.hasLength(2)); |
| 603 checkInAppProductListing(o["x"]); | 603 checkInAppProductListing(o["x"]); |
| 604 checkInAppProductListing(o["y"]); | 604 checkInAppProductListing(o["y"]); |
| 605 } | 605 } |
| 606 | 606 |
| 607 buildUnnamed1421() { | 607 buildUnnamed319() { |
| 608 var o = new core.Map<core.String, api.Price>(); | 608 var o = new core.Map<core.String, api.Price>(); |
| 609 o["x"] = buildPrice(); | 609 o["x"] = buildPrice(); |
| 610 o["y"] = buildPrice(); | 610 o["y"] = buildPrice(); |
| 611 return o; | 611 return o; |
| 612 } | 612 } |
| 613 | 613 |
| 614 checkUnnamed1421(core.Map<core.String, api.Price> o) { | 614 checkUnnamed319(core.Map<core.String, api.Price> o) { |
| 615 unittest.expect(o, unittest.hasLength(2)); | 615 unittest.expect(o, unittest.hasLength(2)); |
| 616 checkPrice(o["x"]); | 616 checkPrice(o["x"]); |
| 617 checkPrice(o["y"]); | 617 checkPrice(o["y"]); |
| 618 } | 618 } |
| 619 | 619 |
| 620 core.int buildCounterInAppProduct = 0; | 620 core.int buildCounterInAppProduct = 0; |
| 621 buildInAppProduct() { | 621 buildInAppProduct() { |
| 622 var o = new api.InAppProduct(); | 622 var o = new api.InAppProduct(); |
| 623 buildCounterInAppProduct++; | 623 buildCounterInAppProduct++; |
| 624 if (buildCounterInAppProduct < 3) { | 624 if (buildCounterInAppProduct < 3) { |
| 625 o.defaultLanguage = "foo"; | 625 o.defaultLanguage = "foo"; |
| 626 o.defaultPrice = buildPrice(); | 626 o.defaultPrice = buildPrice(); |
| 627 o.listings = buildUnnamed1420(); | 627 o.listings = buildUnnamed318(); |
| 628 o.packageName = "foo"; | 628 o.packageName = "foo"; |
| 629 o.prices = buildUnnamed1421(); | 629 o.prices = buildUnnamed319(); |
| 630 o.purchaseType = "foo"; | 630 o.purchaseType = "foo"; |
| 631 o.season = buildSeason(); | 631 o.season = buildSeason(); |
| 632 o.sku = "foo"; | 632 o.sku = "foo"; |
| 633 o.status = "foo"; | 633 o.status = "foo"; |
| 634 o.subscriptionPeriod = "foo"; | 634 o.subscriptionPeriod = "foo"; |
| 635 o.trialPeriod = "foo"; | 635 o.trialPeriod = "foo"; |
| 636 } | 636 } |
| 637 buildCounterInAppProduct--; | 637 buildCounterInAppProduct--; |
| 638 return o; | 638 return o; |
| 639 } | 639 } |
| 640 | 640 |
| 641 checkInAppProduct(api.InAppProduct o) { | 641 checkInAppProduct(api.InAppProduct o) { |
| 642 buildCounterInAppProduct++; | 642 buildCounterInAppProduct++; |
| 643 if (buildCounterInAppProduct < 3) { | 643 if (buildCounterInAppProduct < 3) { |
| 644 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 644 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 645 checkPrice(o.defaultPrice); | 645 checkPrice(o.defaultPrice); |
| 646 checkUnnamed1420(o.listings); | 646 checkUnnamed318(o.listings); |
| 647 unittest.expect(o.packageName, unittest.equals('foo')); | 647 unittest.expect(o.packageName, unittest.equals('foo')); |
| 648 checkUnnamed1421(o.prices); | 648 checkUnnamed319(o.prices); |
| 649 unittest.expect(o.purchaseType, unittest.equals('foo')); | 649 unittest.expect(o.purchaseType, unittest.equals('foo')); |
| 650 checkSeason(o.season); | 650 checkSeason(o.season); |
| 651 unittest.expect(o.sku, unittest.equals('foo')); | 651 unittest.expect(o.sku, unittest.equals('foo')); |
| 652 unittest.expect(o.status, unittest.equals('foo')); | 652 unittest.expect(o.status, unittest.equals('foo')); |
| 653 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); | 653 unittest.expect(o.subscriptionPeriod, unittest.equals('foo')); |
| 654 unittest.expect(o.trialPeriod, unittest.equals('foo')); | 654 unittest.expect(o.trialPeriod, unittest.equals('foo')); |
| 655 } | 655 } |
| 656 buildCounterInAppProduct--; | 656 buildCounterInAppProduct--; |
| 657 } | 657 } |
| 658 | 658 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 670 | 670 |
| 671 checkInAppProductListing(api.InAppProductListing o) { | 671 checkInAppProductListing(api.InAppProductListing o) { |
| 672 buildCounterInAppProductListing++; | 672 buildCounterInAppProductListing++; |
| 673 if (buildCounterInAppProductListing < 3) { | 673 if (buildCounterInAppProductListing < 3) { |
| 674 unittest.expect(o.description, unittest.equals('foo')); | 674 unittest.expect(o.description, unittest.equals('foo')); |
| 675 unittest.expect(o.title, unittest.equals('foo')); | 675 unittest.expect(o.title, unittest.equals('foo')); |
| 676 } | 676 } |
| 677 buildCounterInAppProductListing--; | 677 buildCounterInAppProductListing--; |
| 678 } | 678 } |
| 679 | 679 |
| 680 buildUnnamed1422() { | 680 buildUnnamed320() { |
| 681 var o = new core.List<api.InappproductsBatchRequestEntry>(); | 681 var o = new core.List<api.InappproductsBatchRequestEntry>(); |
| 682 o.add(buildInappproductsBatchRequestEntry()); | 682 o.add(buildInappproductsBatchRequestEntry()); |
| 683 o.add(buildInappproductsBatchRequestEntry()); | 683 o.add(buildInappproductsBatchRequestEntry()); |
| 684 return o; | 684 return o; |
| 685 } | 685 } |
| 686 | 686 |
| 687 checkUnnamed1422(core.List<api.InappproductsBatchRequestEntry> o) { | 687 checkUnnamed320(core.List<api.InappproductsBatchRequestEntry> o) { |
| 688 unittest.expect(o, unittest.hasLength(2)); | 688 unittest.expect(o, unittest.hasLength(2)); |
| 689 checkInappproductsBatchRequestEntry(o[0]); | 689 checkInappproductsBatchRequestEntry(o[0]); |
| 690 checkInappproductsBatchRequestEntry(o[1]); | 690 checkInappproductsBatchRequestEntry(o[1]); |
| 691 } | 691 } |
| 692 | 692 |
| 693 core.int buildCounterInappproductsBatchRequest = 0; | 693 core.int buildCounterInappproductsBatchRequest = 0; |
| 694 buildInappproductsBatchRequest() { | 694 buildInappproductsBatchRequest() { |
| 695 var o = new api.InappproductsBatchRequest(); | 695 var o = new api.InappproductsBatchRequest(); |
| 696 buildCounterInappproductsBatchRequest++; | 696 buildCounterInappproductsBatchRequest++; |
| 697 if (buildCounterInappproductsBatchRequest < 3) { | 697 if (buildCounterInappproductsBatchRequest < 3) { |
| 698 o.entrys = buildUnnamed1422(); | 698 o.entrys = buildUnnamed320(); |
| 699 } | 699 } |
| 700 buildCounterInappproductsBatchRequest--; | 700 buildCounterInappproductsBatchRequest--; |
| 701 return o; | 701 return o; |
| 702 } | 702 } |
| 703 | 703 |
| 704 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { | 704 checkInappproductsBatchRequest(api.InappproductsBatchRequest o) { |
| 705 buildCounterInappproductsBatchRequest++; | 705 buildCounterInappproductsBatchRequest++; |
| 706 if (buildCounterInappproductsBatchRequest < 3) { | 706 if (buildCounterInappproductsBatchRequest < 3) { |
| 707 checkUnnamed1422(o.entrys); | 707 checkUnnamed320(o.entrys); |
| 708 } | 708 } |
| 709 buildCounterInappproductsBatchRequest--; | 709 buildCounterInappproductsBatchRequest--; |
| 710 } | 710 } |
| 711 | 711 |
| 712 core.int buildCounterInappproductsBatchRequestEntry = 0; | 712 core.int buildCounterInappproductsBatchRequestEntry = 0; |
| 713 buildInappproductsBatchRequestEntry() { | 713 buildInappproductsBatchRequestEntry() { |
| 714 var o = new api.InappproductsBatchRequestEntry(); | 714 var o = new api.InappproductsBatchRequestEntry(); |
| 715 buildCounterInappproductsBatchRequestEntry++; | 715 buildCounterInappproductsBatchRequestEntry++; |
| 716 if (buildCounterInappproductsBatchRequestEntry < 3) { | 716 if (buildCounterInappproductsBatchRequestEntry < 3) { |
| 717 o.batchId = 42; | 717 o.batchId = 42; |
| 718 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); | 718 o.inappproductsinsertrequest = buildInappproductsInsertRequest(); |
| 719 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); | 719 o.inappproductsupdaterequest = buildInappproductsUpdateRequest(); |
| 720 o.methodName = "foo"; | 720 o.methodName = "foo"; |
| 721 } | 721 } |
| 722 buildCounterInappproductsBatchRequestEntry--; | 722 buildCounterInappproductsBatchRequestEntry--; |
| 723 return o; | 723 return o; |
| 724 } | 724 } |
| 725 | 725 |
| 726 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { | 726 checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) { |
| 727 buildCounterInappproductsBatchRequestEntry++; | 727 buildCounterInappproductsBatchRequestEntry++; |
| 728 if (buildCounterInappproductsBatchRequestEntry < 3) { | 728 if (buildCounterInappproductsBatchRequestEntry < 3) { |
| 729 unittest.expect(o.batchId, unittest.equals(42)); | 729 unittest.expect(o.batchId, unittest.equals(42)); |
| 730 checkInappproductsInsertRequest(o.inappproductsinsertrequest); | 730 checkInappproductsInsertRequest(o.inappproductsinsertrequest); |
| 731 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); | 731 checkInappproductsUpdateRequest(o.inappproductsupdaterequest); |
| 732 unittest.expect(o.methodName, unittest.equals('foo')); | 732 unittest.expect(o.methodName, unittest.equals('foo')); |
| 733 } | 733 } |
| 734 buildCounterInappproductsBatchRequestEntry--; | 734 buildCounterInappproductsBatchRequestEntry--; |
| 735 } | 735 } |
| 736 | 736 |
| 737 buildUnnamed1423() { | 737 buildUnnamed321() { |
| 738 var o = new core.List<api.InappproductsBatchResponseEntry>(); | 738 var o = new core.List<api.InappproductsBatchResponseEntry>(); |
| 739 o.add(buildInappproductsBatchResponseEntry()); | 739 o.add(buildInappproductsBatchResponseEntry()); |
| 740 o.add(buildInappproductsBatchResponseEntry()); | 740 o.add(buildInappproductsBatchResponseEntry()); |
| 741 return o; | 741 return o; |
| 742 } | 742 } |
| 743 | 743 |
| 744 checkUnnamed1423(core.List<api.InappproductsBatchResponseEntry> o) { | 744 checkUnnamed321(core.List<api.InappproductsBatchResponseEntry> o) { |
| 745 unittest.expect(o, unittest.hasLength(2)); | 745 unittest.expect(o, unittest.hasLength(2)); |
| 746 checkInappproductsBatchResponseEntry(o[0]); | 746 checkInappproductsBatchResponseEntry(o[0]); |
| 747 checkInappproductsBatchResponseEntry(o[1]); | 747 checkInappproductsBatchResponseEntry(o[1]); |
| 748 } | 748 } |
| 749 | 749 |
| 750 core.int buildCounterInappproductsBatchResponse = 0; | 750 core.int buildCounterInappproductsBatchResponse = 0; |
| 751 buildInappproductsBatchResponse() { | 751 buildInappproductsBatchResponse() { |
| 752 var o = new api.InappproductsBatchResponse(); | 752 var o = new api.InappproductsBatchResponse(); |
| 753 buildCounterInappproductsBatchResponse++; | 753 buildCounterInappproductsBatchResponse++; |
| 754 if (buildCounterInappproductsBatchResponse < 3) { | 754 if (buildCounterInappproductsBatchResponse < 3) { |
| 755 o.entrys = buildUnnamed1423(); | 755 o.entrys = buildUnnamed321(); |
| 756 o.kind = "foo"; | 756 o.kind = "foo"; |
| 757 } | 757 } |
| 758 buildCounterInappproductsBatchResponse--; | 758 buildCounterInappproductsBatchResponse--; |
| 759 return o; | 759 return o; |
| 760 } | 760 } |
| 761 | 761 |
| 762 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { | 762 checkInappproductsBatchResponse(api.InappproductsBatchResponse o) { |
| 763 buildCounterInappproductsBatchResponse++; | 763 buildCounterInappproductsBatchResponse++; |
| 764 if (buildCounterInappproductsBatchResponse < 3) { | 764 if (buildCounterInappproductsBatchResponse < 3) { |
| 765 checkUnnamed1423(o.entrys); | 765 checkUnnamed321(o.entrys); |
| 766 unittest.expect(o.kind, unittest.equals('foo')); | 766 unittest.expect(o.kind, unittest.equals('foo')); |
| 767 } | 767 } |
| 768 buildCounterInappproductsBatchResponse--; | 768 buildCounterInappproductsBatchResponse--; |
| 769 } | 769 } |
| 770 | 770 |
| 771 core.int buildCounterInappproductsBatchResponseEntry = 0; | 771 core.int buildCounterInappproductsBatchResponseEntry = 0; |
| 772 buildInappproductsBatchResponseEntry() { | 772 buildInappproductsBatchResponseEntry() { |
| 773 var o = new api.InappproductsBatchResponseEntry(); | 773 var o = new api.InappproductsBatchResponseEntry(); |
| 774 buildCounterInappproductsBatchResponseEntry++; | 774 buildCounterInappproductsBatchResponseEntry++; |
| 775 if (buildCounterInappproductsBatchResponseEntry < 3) { | 775 if (buildCounterInappproductsBatchResponseEntry < 3) { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 } | 822 } |
| 823 | 823 |
| 824 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { | 824 checkInappproductsInsertResponse(api.InappproductsInsertResponse o) { |
| 825 buildCounterInappproductsInsertResponse++; | 825 buildCounterInappproductsInsertResponse++; |
| 826 if (buildCounterInappproductsInsertResponse < 3) { | 826 if (buildCounterInappproductsInsertResponse < 3) { |
| 827 checkInAppProduct(o.inappproduct); | 827 checkInAppProduct(o.inappproduct); |
| 828 } | 828 } |
| 829 buildCounterInappproductsInsertResponse--; | 829 buildCounterInappproductsInsertResponse--; |
| 830 } | 830 } |
| 831 | 831 |
| 832 buildUnnamed1424() { | 832 buildUnnamed322() { |
| 833 var o = new core.List<api.InAppProduct>(); | 833 var o = new core.List<api.InAppProduct>(); |
| 834 o.add(buildInAppProduct()); | 834 o.add(buildInAppProduct()); |
| 835 o.add(buildInAppProduct()); | 835 o.add(buildInAppProduct()); |
| 836 return o; | 836 return o; |
| 837 } | 837 } |
| 838 | 838 |
| 839 checkUnnamed1424(core.List<api.InAppProduct> o) { | 839 checkUnnamed322(core.List<api.InAppProduct> o) { |
| 840 unittest.expect(o, unittest.hasLength(2)); | 840 unittest.expect(o, unittest.hasLength(2)); |
| 841 checkInAppProduct(o[0]); | 841 checkInAppProduct(o[0]); |
| 842 checkInAppProduct(o[1]); | 842 checkInAppProduct(o[1]); |
| 843 } | 843 } |
| 844 | 844 |
| 845 core.int buildCounterInappproductsListResponse = 0; | 845 core.int buildCounterInappproductsListResponse = 0; |
| 846 buildInappproductsListResponse() { | 846 buildInappproductsListResponse() { |
| 847 var o = new api.InappproductsListResponse(); | 847 var o = new api.InappproductsListResponse(); |
| 848 buildCounterInappproductsListResponse++; | 848 buildCounterInappproductsListResponse++; |
| 849 if (buildCounterInappproductsListResponse < 3) { | 849 if (buildCounterInappproductsListResponse < 3) { |
| 850 o.inappproduct = buildUnnamed1424(); | 850 o.inappproduct = buildUnnamed322(); |
| 851 o.kind = "foo"; | 851 o.kind = "foo"; |
| 852 o.pageInfo = buildPageInfo(); | 852 o.pageInfo = buildPageInfo(); |
| 853 o.tokenPagination = buildTokenPagination(); | 853 o.tokenPagination = buildTokenPagination(); |
| 854 } | 854 } |
| 855 buildCounterInappproductsListResponse--; | 855 buildCounterInappproductsListResponse--; |
| 856 return o; | 856 return o; |
| 857 } | 857 } |
| 858 | 858 |
| 859 checkInappproductsListResponse(api.InappproductsListResponse o) { | 859 checkInappproductsListResponse(api.InappproductsListResponse o) { |
| 860 buildCounterInappproductsListResponse++; | 860 buildCounterInappproductsListResponse++; |
| 861 if (buildCounterInappproductsListResponse < 3) { | 861 if (buildCounterInappproductsListResponse < 3) { |
| 862 checkUnnamed1424(o.inappproduct); | 862 checkUnnamed322(o.inappproduct); |
| 863 unittest.expect(o.kind, unittest.equals('foo')); | 863 unittest.expect(o.kind, unittest.equals('foo')); |
| 864 checkPageInfo(o.pageInfo); | 864 checkPageInfo(o.pageInfo); |
| 865 checkTokenPagination(o.tokenPagination); | 865 checkTokenPagination(o.tokenPagination); |
| 866 } | 866 } |
| 867 buildCounterInappproductsListResponse--; | 867 buildCounterInappproductsListResponse--; |
| 868 } | 868 } |
| 869 | 869 |
| 870 core.int buildCounterInappproductsUpdateRequest = 0; | 870 core.int buildCounterInappproductsUpdateRequest = 0; |
| 871 buildInappproductsUpdateRequest() { | 871 buildInappproductsUpdateRequest() { |
| 872 var o = new api.InappproductsUpdateRequest(); | 872 var o = new api.InappproductsUpdateRequest(); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 if (buildCounterListing < 3) { | 925 if (buildCounterListing < 3) { |
| 926 unittest.expect(o.fullDescription, unittest.equals('foo')); | 926 unittest.expect(o.fullDescription, unittest.equals('foo')); |
| 927 unittest.expect(o.language, unittest.equals('foo')); | 927 unittest.expect(o.language, unittest.equals('foo')); |
| 928 unittest.expect(o.shortDescription, unittest.equals('foo')); | 928 unittest.expect(o.shortDescription, unittest.equals('foo')); |
| 929 unittest.expect(o.title, unittest.equals('foo')); | 929 unittest.expect(o.title, unittest.equals('foo')); |
| 930 unittest.expect(o.video, unittest.equals('foo')); | 930 unittest.expect(o.video, unittest.equals('foo')); |
| 931 } | 931 } |
| 932 buildCounterListing--; | 932 buildCounterListing--; |
| 933 } | 933 } |
| 934 | 934 |
| 935 buildUnnamed1425() { | 935 buildUnnamed323() { |
| 936 var o = new core.List<api.Listing>(); | 936 var o = new core.List<api.Listing>(); |
| 937 o.add(buildListing()); | 937 o.add(buildListing()); |
| 938 o.add(buildListing()); | 938 o.add(buildListing()); |
| 939 return o; | 939 return o; |
| 940 } | 940 } |
| 941 | 941 |
| 942 checkUnnamed1425(core.List<api.Listing> o) { | 942 checkUnnamed323(core.List<api.Listing> o) { |
| 943 unittest.expect(o, unittest.hasLength(2)); | 943 unittest.expect(o, unittest.hasLength(2)); |
| 944 checkListing(o[0]); | 944 checkListing(o[0]); |
| 945 checkListing(o[1]); | 945 checkListing(o[1]); |
| 946 } | 946 } |
| 947 | 947 |
| 948 core.int buildCounterListingsListResponse = 0; | 948 core.int buildCounterListingsListResponse = 0; |
| 949 buildListingsListResponse() { | 949 buildListingsListResponse() { |
| 950 var o = new api.ListingsListResponse(); | 950 var o = new api.ListingsListResponse(); |
| 951 buildCounterListingsListResponse++; | 951 buildCounterListingsListResponse++; |
| 952 if (buildCounterListingsListResponse < 3) { | 952 if (buildCounterListingsListResponse < 3) { |
| 953 o.kind = "foo"; | 953 o.kind = "foo"; |
| 954 o.listings = buildUnnamed1425(); | 954 o.listings = buildUnnamed323(); |
| 955 } | 955 } |
| 956 buildCounterListingsListResponse--; | 956 buildCounterListingsListResponse--; |
| 957 return o; | 957 return o; |
| 958 } | 958 } |
| 959 | 959 |
| 960 checkListingsListResponse(api.ListingsListResponse o) { | 960 checkListingsListResponse(api.ListingsListResponse o) { |
| 961 buildCounterListingsListResponse++; | 961 buildCounterListingsListResponse++; |
| 962 if (buildCounterListingsListResponse < 3) { | 962 if (buildCounterListingsListResponse < 3) { |
| 963 unittest.expect(o.kind, unittest.equals('foo')); | 963 unittest.expect(o.kind, unittest.equals('foo')); |
| 964 checkUnnamed1425(o.listings); | 964 checkUnnamed323(o.listings); |
| 965 } | 965 } |
| 966 buildCounterListingsListResponse--; | 966 buildCounterListingsListResponse--; |
| 967 } | 967 } |
| 968 | 968 |
| 969 core.int buildCounterMonthDay = 0; | 969 core.int buildCounterMonthDay = 0; |
| 970 buildMonthDay() { | 970 buildMonthDay() { |
| 971 var o = new api.MonthDay(); | 971 var o = new api.MonthDay(); |
| 972 buildCounterMonthDay++; | 972 buildCounterMonthDay++; |
| 973 if (buildCounterMonthDay < 3) { | 973 if (buildCounterMonthDay < 3) { |
| 974 o.day = 42; | 974 o.day = 42; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 } | 1156 } |
| 1157 | 1157 |
| 1158 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { | 1158 checkSubscriptionPurchasesDeferResponse(api.SubscriptionPurchasesDeferResponse o
) { |
| 1159 buildCounterSubscriptionPurchasesDeferResponse++; | 1159 buildCounterSubscriptionPurchasesDeferResponse++; |
| 1160 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { | 1160 if (buildCounterSubscriptionPurchasesDeferResponse < 3) { |
| 1161 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); | 1161 unittest.expect(o.newExpiryTimeMillis, unittest.equals('foo')); |
| 1162 } | 1162 } |
| 1163 buildCounterSubscriptionPurchasesDeferResponse--; | 1163 buildCounterSubscriptionPurchasesDeferResponse--; |
| 1164 } | 1164 } |
| 1165 | 1165 |
| 1166 buildUnnamed1426() { | 1166 buildUnnamed324() { |
| 1167 var o = new core.List<core.String>(); | 1167 var o = new core.List<core.String>(); |
| 1168 o.add("foo"); | 1168 o.add("foo"); |
| 1169 o.add("foo"); | 1169 o.add("foo"); |
| 1170 return o; | 1170 return o; |
| 1171 } | 1171 } |
| 1172 | 1172 |
| 1173 checkUnnamed1426(core.List<core.String> o) { | 1173 checkUnnamed324(core.List<core.String> o) { |
| 1174 unittest.expect(o, unittest.hasLength(2)); | 1174 unittest.expect(o, unittest.hasLength(2)); |
| 1175 unittest.expect(o[0], unittest.equals('foo')); | 1175 unittest.expect(o[0], unittest.equals('foo')); |
| 1176 unittest.expect(o[1], unittest.equals('foo')); | 1176 unittest.expect(o[1], unittest.equals('foo')); |
| 1177 } | 1177 } |
| 1178 | 1178 |
| 1179 buildUnnamed1427() { | 1179 buildUnnamed325() { |
| 1180 var o = new core.List<core.String>(); | 1180 var o = new core.List<core.String>(); |
| 1181 o.add("foo"); | 1181 o.add("foo"); |
| 1182 o.add("foo"); | 1182 o.add("foo"); |
| 1183 return o; | 1183 return o; |
| 1184 } | 1184 } |
| 1185 | 1185 |
| 1186 checkUnnamed1427(core.List<core.String> o) { | 1186 checkUnnamed325(core.List<core.String> o) { |
| 1187 unittest.expect(o, unittest.hasLength(2)); | 1187 unittest.expect(o, unittest.hasLength(2)); |
| 1188 unittest.expect(o[0], unittest.equals('foo')); | 1188 unittest.expect(o[0], unittest.equals('foo')); |
| 1189 unittest.expect(o[1], unittest.equals('foo')); | 1189 unittest.expect(o[1], unittest.equals('foo')); |
| 1190 } | 1190 } |
| 1191 | 1191 |
| 1192 core.int buildCounterTesters = 0; | 1192 core.int buildCounterTesters = 0; |
| 1193 buildTesters() { | 1193 buildTesters() { |
| 1194 var o = new api.Testers(); | 1194 var o = new api.Testers(); |
| 1195 buildCounterTesters++; | 1195 buildCounterTesters++; |
| 1196 if (buildCounterTesters < 3) { | 1196 if (buildCounterTesters < 3) { |
| 1197 o.googleGroups = buildUnnamed1426(); | 1197 o.googleGroups = buildUnnamed324(); |
| 1198 o.googlePlusCommunities = buildUnnamed1427(); | 1198 o.googlePlusCommunities = buildUnnamed325(); |
| 1199 } | 1199 } |
| 1200 buildCounterTesters--; | 1200 buildCounterTesters--; |
| 1201 return o; | 1201 return o; |
| 1202 } | 1202 } |
| 1203 | 1203 |
| 1204 checkTesters(api.Testers o) { | 1204 checkTesters(api.Testers o) { |
| 1205 buildCounterTesters++; | 1205 buildCounterTesters++; |
| 1206 if (buildCounterTesters < 3) { | 1206 if (buildCounterTesters < 3) { |
| 1207 checkUnnamed1426(o.googleGroups); | 1207 checkUnnamed324(o.googleGroups); |
| 1208 checkUnnamed1427(o.googlePlusCommunities); | 1208 checkUnnamed325(o.googlePlusCommunities); |
| 1209 } | 1209 } |
| 1210 buildCounterTesters--; | 1210 buildCounterTesters--; |
| 1211 } | 1211 } |
| 1212 | 1212 |
| 1213 core.int buildCounterTokenPagination = 0; | 1213 core.int buildCounterTokenPagination = 0; |
| 1214 buildTokenPagination() { | 1214 buildTokenPagination() { |
| 1215 var o = new api.TokenPagination(); | 1215 var o = new api.TokenPagination(); |
| 1216 buildCounterTokenPagination++; | 1216 buildCounterTokenPagination++; |
| 1217 if (buildCounterTokenPagination < 3) { | 1217 if (buildCounterTokenPagination < 3) { |
| 1218 o.nextPageToken = "foo"; | 1218 o.nextPageToken = "foo"; |
| 1219 o.previousPageToken = "foo"; | 1219 o.previousPageToken = "foo"; |
| 1220 } | 1220 } |
| 1221 buildCounterTokenPagination--; | 1221 buildCounterTokenPagination--; |
| 1222 return o; | 1222 return o; |
| 1223 } | 1223 } |
| 1224 | 1224 |
| 1225 checkTokenPagination(api.TokenPagination o) { | 1225 checkTokenPagination(api.TokenPagination o) { |
| 1226 buildCounterTokenPagination++; | 1226 buildCounterTokenPagination++; |
| 1227 if (buildCounterTokenPagination < 3) { | 1227 if (buildCounterTokenPagination < 3) { |
| 1228 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1228 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1229 unittest.expect(o.previousPageToken, unittest.equals('foo')); | 1229 unittest.expect(o.previousPageToken, unittest.equals('foo')); |
| 1230 } | 1230 } |
| 1231 buildCounterTokenPagination--; | 1231 buildCounterTokenPagination--; |
| 1232 } | 1232 } |
| 1233 | 1233 |
| 1234 buildUnnamed1428() { | 1234 buildUnnamed326() { |
| 1235 var o = new core.List<core.int>(); | 1235 var o = new core.List<core.int>(); |
| 1236 o.add(42); | 1236 o.add(42); |
| 1237 o.add(42); | 1237 o.add(42); |
| 1238 return o; | 1238 return o; |
| 1239 } | 1239 } |
| 1240 | 1240 |
| 1241 checkUnnamed1428(core.List<core.int> o) { | 1241 checkUnnamed326(core.List<core.int> o) { |
| 1242 unittest.expect(o, unittest.hasLength(2)); | 1242 unittest.expect(o, unittest.hasLength(2)); |
| 1243 unittest.expect(o[0], unittest.equals(42)); | 1243 unittest.expect(o[0], unittest.equals(42)); |
| 1244 unittest.expect(o[1], unittest.equals(42)); | 1244 unittest.expect(o[1], unittest.equals(42)); |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 core.int buildCounterTrack = 0; | 1247 core.int buildCounterTrack = 0; |
| 1248 buildTrack() { | 1248 buildTrack() { |
| 1249 var o = new api.Track(); | 1249 var o = new api.Track(); |
| 1250 buildCounterTrack++; | 1250 buildCounterTrack++; |
| 1251 if (buildCounterTrack < 3) { | 1251 if (buildCounterTrack < 3) { |
| 1252 o.track = "foo"; | 1252 o.track = "foo"; |
| 1253 o.userFraction = 42.0; | 1253 o.userFraction = 42.0; |
| 1254 o.versionCodes = buildUnnamed1428(); | 1254 o.versionCodes = buildUnnamed326(); |
| 1255 } | 1255 } |
| 1256 buildCounterTrack--; | 1256 buildCounterTrack--; |
| 1257 return o; | 1257 return o; |
| 1258 } | 1258 } |
| 1259 | 1259 |
| 1260 checkTrack(api.Track o) { | 1260 checkTrack(api.Track o) { |
| 1261 buildCounterTrack++; | 1261 buildCounterTrack++; |
| 1262 if (buildCounterTrack < 3) { | 1262 if (buildCounterTrack < 3) { |
| 1263 unittest.expect(o.track, unittest.equals('foo')); | 1263 unittest.expect(o.track, unittest.equals('foo')); |
| 1264 unittest.expect(o.userFraction, unittest.equals(42.0)); | 1264 unittest.expect(o.userFraction, unittest.equals(42.0)); |
| 1265 checkUnnamed1428(o.versionCodes); | 1265 checkUnnamed326(o.versionCodes); |
| 1266 } | 1266 } |
| 1267 buildCounterTrack--; | 1267 buildCounterTrack--; |
| 1268 } | 1268 } |
| 1269 | 1269 |
| 1270 buildUnnamed1429() { | 1270 buildUnnamed327() { |
| 1271 var o = new core.List<api.Track>(); | 1271 var o = new core.List<api.Track>(); |
| 1272 o.add(buildTrack()); | 1272 o.add(buildTrack()); |
| 1273 o.add(buildTrack()); | 1273 o.add(buildTrack()); |
| 1274 return o; | 1274 return o; |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 checkUnnamed1429(core.List<api.Track> o) { | 1277 checkUnnamed327(core.List<api.Track> o) { |
| 1278 unittest.expect(o, unittest.hasLength(2)); | 1278 unittest.expect(o, unittest.hasLength(2)); |
| 1279 checkTrack(o[0]); | 1279 checkTrack(o[0]); |
| 1280 checkTrack(o[1]); | 1280 checkTrack(o[1]); |
| 1281 } | 1281 } |
| 1282 | 1282 |
| 1283 core.int buildCounterTracksListResponse = 0; | 1283 core.int buildCounterTracksListResponse = 0; |
| 1284 buildTracksListResponse() { | 1284 buildTracksListResponse() { |
| 1285 var o = new api.TracksListResponse(); | 1285 var o = new api.TracksListResponse(); |
| 1286 buildCounterTracksListResponse++; | 1286 buildCounterTracksListResponse++; |
| 1287 if (buildCounterTracksListResponse < 3) { | 1287 if (buildCounterTracksListResponse < 3) { |
| 1288 o.kind = "foo"; | 1288 o.kind = "foo"; |
| 1289 o.tracks = buildUnnamed1429(); | 1289 o.tracks = buildUnnamed327(); |
| 1290 } | 1290 } |
| 1291 buildCounterTracksListResponse--; | 1291 buildCounterTracksListResponse--; |
| 1292 return o; | 1292 return o; |
| 1293 } | 1293 } |
| 1294 | 1294 |
| 1295 checkTracksListResponse(api.TracksListResponse o) { | 1295 checkTracksListResponse(api.TracksListResponse o) { |
| 1296 buildCounterTracksListResponse++; | 1296 buildCounterTracksListResponse++; |
| 1297 if (buildCounterTracksListResponse < 3) { | 1297 if (buildCounterTracksListResponse < 3) { |
| 1298 unittest.expect(o.kind, unittest.equals('foo')); | 1298 unittest.expect(o.kind, unittest.equals('foo')); |
| 1299 checkUnnamed1429(o.tracks); | 1299 checkUnnamed327(o.tracks); |
| 1300 } | 1300 } |
| 1301 buildCounterTracksListResponse--; | 1301 buildCounterTracksListResponse--; |
| 1302 } | 1302 } |
| 1303 | 1303 |
| 1304 | 1304 |
| 1305 main() { | 1305 main() { |
| 1306 unittest.group("obj-schema-Apk", () { | 1306 unittest.group("obj-schema-Apk", () { |
| 1307 unittest.test("to-json--from-json", () { | 1307 unittest.test("to-json--from-json", () { |
| 1308 var o = buildApk(); | 1308 var o = buildApk(); |
| 1309 var od = new api.Apk.fromJson(o.toJson()); | 1309 var od = new api.Apk.fromJson(o.toJson()); |
| (...skipping 2804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4114 return new async.Future.value(stringResponse(200, h, resp)); | 4114 return new async.Future.value(stringResponse(200, h, resp)); |
| 4115 }), true); | 4115 }), true); |
| 4116 res.revoke(arg_packageName, arg_subscriptionId, arg_token).then(unittest.e
xpectAsync((_) {})); | 4116 res.revoke(arg_packageName, arg_subscriptionId, arg_token).then(unittest.e
xpectAsync((_) {})); |
| 4117 }); | 4117 }); |
| 4118 | 4118 |
| 4119 }); | 4119 }); |
| 4120 | 4120 |
| 4121 | 4121 |
| 4122 } | 4122 } |
| 4123 | 4123 |
| OLD | NEW |