| OLD | NEW |
| 1 library googleapis.content.v2.test; | 1 library googleapis.content.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed254() { | 54 buildUnnamed275() { |
| 55 var o = new core.List<api.AccountAdwordsLink>(); | 55 var o = new core.List<api.AccountAdwordsLink>(); |
| 56 o.add(buildAccountAdwordsLink()); | 56 o.add(buildAccountAdwordsLink()); |
| 57 o.add(buildAccountAdwordsLink()); | 57 o.add(buildAccountAdwordsLink()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed254(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed275(core.List<api.AccountAdwordsLink> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkAccountAdwordsLink(o[0]); | 63 checkAccountAdwordsLink(o[0]); |
| 64 checkAccountAdwordsLink(o[1]); | 64 checkAccountAdwordsLink(o[1]); |
| 65 } | 65 } |
| 66 | 66 |
| 67 buildUnnamed255() { | 67 buildUnnamed276() { |
| 68 var o = new core.List<api.AccountUser>(); | 68 var o = new core.List<api.AccountUser>(); |
| 69 o.add(buildAccountUser()); | 69 o.add(buildAccountUser()); |
| 70 o.add(buildAccountUser()); | 70 o.add(buildAccountUser()); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed255(core.List<api.AccountUser> o) { | 74 checkUnnamed276(core.List<api.AccountUser> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 checkAccountUser(o[0]); | 76 checkAccountUser(o[0]); |
| 77 checkAccountUser(o[1]); | 77 checkAccountUser(o[1]); |
| 78 } | 78 } |
| 79 | 79 |
| 80 core.int buildCounterAccount = 0; | 80 core.int buildCounterAccount = 0; |
| 81 buildAccount() { | 81 buildAccount() { |
| 82 var o = new api.Account(); | 82 var o = new api.Account(); |
| 83 buildCounterAccount++; | 83 buildCounterAccount++; |
| 84 if (buildCounterAccount < 3) { | 84 if (buildCounterAccount < 3) { |
| 85 o.adultContent = true; | 85 o.adultContent = true; |
| 86 o.adwordsLinks = buildUnnamed254(); | 86 o.adwordsLinks = buildUnnamed275(); |
| 87 o.id = "foo"; | 87 o.id = "foo"; |
| 88 o.kind = "foo"; | 88 o.kind = "foo"; |
| 89 o.name = "foo"; | 89 o.name = "foo"; |
| 90 o.reviewsUrl = "foo"; | 90 o.reviewsUrl = "foo"; |
| 91 o.sellerId = "foo"; | 91 o.sellerId = "foo"; |
| 92 o.users = buildUnnamed255(); | 92 o.users = buildUnnamed276(); |
| 93 o.websiteUrl = "foo"; | 93 o.websiteUrl = "foo"; |
| 94 } | 94 } |
| 95 buildCounterAccount--; | 95 buildCounterAccount--; |
| 96 return o; | 96 return o; |
| 97 } | 97 } |
| 98 | 98 |
| 99 checkAccount(api.Account o) { | 99 checkAccount(api.Account o) { |
| 100 buildCounterAccount++; | 100 buildCounterAccount++; |
| 101 if (buildCounterAccount < 3) { | 101 if (buildCounterAccount < 3) { |
| 102 unittest.expect(o.adultContent, unittest.isTrue); | 102 unittest.expect(o.adultContent, unittest.isTrue); |
| 103 checkUnnamed254(o.adwordsLinks); | 103 checkUnnamed275(o.adwordsLinks); |
| 104 unittest.expect(o.id, unittest.equals('foo')); | 104 unittest.expect(o.id, unittest.equals('foo')); |
| 105 unittest.expect(o.kind, unittest.equals('foo')); | 105 unittest.expect(o.kind, unittest.equals('foo')); |
| 106 unittest.expect(o.name, unittest.equals('foo')); | 106 unittest.expect(o.name, unittest.equals('foo')); |
| 107 unittest.expect(o.reviewsUrl, unittest.equals('foo')); | 107 unittest.expect(o.reviewsUrl, unittest.equals('foo')); |
| 108 unittest.expect(o.sellerId, unittest.equals('foo')); | 108 unittest.expect(o.sellerId, unittest.equals('foo')); |
| 109 checkUnnamed255(o.users); | 109 checkUnnamed276(o.users); |
| 110 unittest.expect(o.websiteUrl, unittest.equals('foo')); | 110 unittest.expect(o.websiteUrl, unittest.equals('foo')); |
| 111 } | 111 } |
| 112 buildCounterAccount--; | 112 buildCounterAccount--; |
| 113 } | 113 } |
| 114 | 114 |
| 115 core.int buildCounterAccountAdwordsLink = 0; | 115 core.int buildCounterAccountAdwordsLink = 0; |
| 116 buildAccountAdwordsLink() { | 116 buildAccountAdwordsLink() { |
| 117 var o = new api.AccountAdwordsLink(); | 117 var o = new api.AccountAdwordsLink(); |
| 118 buildCounterAccountAdwordsLink++; | 118 buildCounterAccountAdwordsLink++; |
| 119 if (buildCounterAccountAdwordsLink < 3) { | 119 if (buildCounterAccountAdwordsLink < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 147 | 147 |
| 148 checkAccountIdentifier(api.AccountIdentifier o) { | 148 checkAccountIdentifier(api.AccountIdentifier o) { |
| 149 buildCounterAccountIdentifier++; | 149 buildCounterAccountIdentifier++; |
| 150 if (buildCounterAccountIdentifier < 3) { | 150 if (buildCounterAccountIdentifier < 3) { |
| 151 unittest.expect(o.aggregatorId, unittest.equals('foo')); | 151 unittest.expect(o.aggregatorId, unittest.equals('foo')); |
| 152 unittest.expect(o.merchantId, unittest.equals('foo')); | 152 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 153 } | 153 } |
| 154 buildCounterAccountIdentifier--; | 154 buildCounterAccountIdentifier--; |
| 155 } | 155 } |
| 156 | 156 |
| 157 buildUnnamed256() { | 157 buildUnnamed277() { |
| 158 var o = new core.List<api.AccountShippingCarrierRate>(); | 158 var o = new core.List<api.AccountShippingCarrierRate>(); |
| 159 o.add(buildAccountShippingCarrierRate()); | 159 o.add(buildAccountShippingCarrierRate()); |
| 160 o.add(buildAccountShippingCarrierRate()); | 160 o.add(buildAccountShippingCarrierRate()); |
| 161 return o; | 161 return o; |
| 162 } | 162 } |
| 163 | 163 |
| 164 checkUnnamed256(core.List<api.AccountShippingCarrierRate> o) { | 164 checkUnnamed277(core.List<api.AccountShippingCarrierRate> o) { |
| 165 unittest.expect(o, unittest.hasLength(2)); | 165 unittest.expect(o, unittest.hasLength(2)); |
| 166 checkAccountShippingCarrierRate(o[0]); | 166 checkAccountShippingCarrierRate(o[0]); |
| 167 checkAccountShippingCarrierRate(o[1]); | 167 checkAccountShippingCarrierRate(o[1]); |
| 168 } | 168 } |
| 169 | 169 |
| 170 buildUnnamed257() { | 170 buildUnnamed278() { |
| 171 var o = new core.List<api.AccountShippingLocationGroup>(); | 171 var o = new core.List<api.AccountShippingLocationGroup>(); |
| 172 o.add(buildAccountShippingLocationGroup()); | 172 o.add(buildAccountShippingLocationGroup()); |
| 173 o.add(buildAccountShippingLocationGroup()); | 173 o.add(buildAccountShippingLocationGroup()); |
| 174 return o; | 174 return o; |
| 175 } | 175 } |
| 176 | 176 |
| 177 checkUnnamed257(core.List<api.AccountShippingLocationGroup> o) { | 177 checkUnnamed278(core.List<api.AccountShippingLocationGroup> o) { |
| 178 unittest.expect(o, unittest.hasLength(2)); | 178 unittest.expect(o, unittest.hasLength(2)); |
| 179 checkAccountShippingLocationGroup(o[0]); | 179 checkAccountShippingLocationGroup(o[0]); |
| 180 checkAccountShippingLocationGroup(o[1]); | 180 checkAccountShippingLocationGroup(o[1]); |
| 181 } | 181 } |
| 182 | 182 |
| 183 buildUnnamed258() { | 183 buildUnnamed279() { |
| 184 var o = new core.List<api.AccountShippingRateTable>(); | 184 var o = new core.List<api.AccountShippingRateTable>(); |
| 185 o.add(buildAccountShippingRateTable()); | 185 o.add(buildAccountShippingRateTable()); |
| 186 o.add(buildAccountShippingRateTable()); | 186 o.add(buildAccountShippingRateTable()); |
| 187 return o; | 187 return o; |
| 188 } | 188 } |
| 189 | 189 |
| 190 checkUnnamed258(core.List<api.AccountShippingRateTable> o) { | 190 checkUnnamed279(core.List<api.AccountShippingRateTable> o) { |
| 191 unittest.expect(o, unittest.hasLength(2)); | 191 unittest.expect(o, unittest.hasLength(2)); |
| 192 checkAccountShippingRateTable(o[0]); | 192 checkAccountShippingRateTable(o[0]); |
| 193 checkAccountShippingRateTable(o[1]); | 193 checkAccountShippingRateTable(o[1]); |
| 194 } | 194 } |
| 195 | 195 |
| 196 buildUnnamed259() { | 196 buildUnnamed280() { |
| 197 var o = new core.List<api.AccountShippingShippingService>(); | 197 var o = new core.List<api.AccountShippingShippingService>(); |
| 198 o.add(buildAccountShippingShippingService()); | 198 o.add(buildAccountShippingShippingService()); |
| 199 o.add(buildAccountShippingShippingService()); | 199 o.add(buildAccountShippingShippingService()); |
| 200 return o; | 200 return o; |
| 201 } | 201 } |
| 202 | 202 |
| 203 checkUnnamed259(core.List<api.AccountShippingShippingService> o) { | 203 checkUnnamed280(core.List<api.AccountShippingShippingService> o) { |
| 204 unittest.expect(o, unittest.hasLength(2)); | 204 unittest.expect(o, unittest.hasLength(2)); |
| 205 checkAccountShippingShippingService(o[0]); | 205 checkAccountShippingShippingService(o[0]); |
| 206 checkAccountShippingShippingService(o[1]); | 206 checkAccountShippingShippingService(o[1]); |
| 207 } | 207 } |
| 208 | 208 |
| 209 core.int buildCounterAccountShipping = 0; | 209 core.int buildCounterAccountShipping = 0; |
| 210 buildAccountShipping() { | 210 buildAccountShipping() { |
| 211 var o = new api.AccountShipping(); | 211 var o = new api.AccountShipping(); |
| 212 buildCounterAccountShipping++; | 212 buildCounterAccountShipping++; |
| 213 if (buildCounterAccountShipping < 3) { | 213 if (buildCounterAccountShipping < 3) { |
| 214 o.accountId = "foo"; | 214 o.accountId = "foo"; |
| 215 o.carrierRates = buildUnnamed256(); | 215 o.carrierRates = buildUnnamed277(); |
| 216 o.kind = "foo"; | 216 o.kind = "foo"; |
| 217 o.locationGroups = buildUnnamed257(); | 217 o.locationGroups = buildUnnamed278(); |
| 218 o.rateTables = buildUnnamed258(); | 218 o.rateTables = buildUnnamed279(); |
| 219 o.services = buildUnnamed259(); | 219 o.services = buildUnnamed280(); |
| 220 } | 220 } |
| 221 buildCounterAccountShipping--; | 221 buildCounterAccountShipping--; |
| 222 return o; | 222 return o; |
| 223 } | 223 } |
| 224 | 224 |
| 225 checkAccountShipping(api.AccountShipping o) { | 225 checkAccountShipping(api.AccountShipping o) { |
| 226 buildCounterAccountShipping++; | 226 buildCounterAccountShipping++; |
| 227 if (buildCounterAccountShipping < 3) { | 227 if (buildCounterAccountShipping < 3) { |
| 228 unittest.expect(o.accountId, unittest.equals('foo')); | 228 unittest.expect(o.accountId, unittest.equals('foo')); |
| 229 checkUnnamed256(o.carrierRates); | 229 checkUnnamed277(o.carrierRates); |
| 230 unittest.expect(o.kind, unittest.equals('foo')); | 230 unittest.expect(o.kind, unittest.equals('foo')); |
| 231 checkUnnamed257(o.locationGroups); | 231 checkUnnamed278(o.locationGroups); |
| 232 checkUnnamed258(o.rateTables); | 232 checkUnnamed279(o.rateTables); |
| 233 checkUnnamed259(o.services); | 233 checkUnnamed280(o.services); |
| 234 } | 234 } |
| 235 buildCounterAccountShipping--; | 235 buildCounterAccountShipping--; |
| 236 } | 236 } |
| 237 | 237 |
| 238 core.int buildCounterAccountShippingCarrierRate = 0; | 238 core.int buildCounterAccountShippingCarrierRate = 0; |
| 239 buildAccountShippingCarrierRate() { | 239 buildAccountShippingCarrierRate() { |
| 240 var o = new api.AccountShippingCarrierRate(); | 240 var o = new api.AccountShippingCarrierRate(); |
| 241 buildCounterAccountShippingCarrierRate++; | 241 buildCounterAccountShippingCarrierRate++; |
| 242 if (buildCounterAccountShippingCarrierRate < 3) { | 242 if (buildCounterAccountShippingCarrierRate < 3) { |
| 243 o.carrier = "foo"; | 243 o.carrier = "foo"; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); | 290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); |
| 291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); | 291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); |
| 292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); | 292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); |
| 293 checkPrice(o.priceMax); | 293 checkPrice(o.priceMax); |
| 294 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 294 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
| 295 checkWeight(o.weightMax); | 295 checkWeight(o.weightMax); |
| 296 } | 296 } |
| 297 buildCounterAccountShippingCondition--; | 297 buildCounterAccountShippingCondition--; |
| 298 } | 298 } |
| 299 | 299 |
| 300 buildUnnamed260() { | 300 buildUnnamed281() { |
| 301 var o = new core.List<core.String>(); | 301 var o = new core.List<core.String>(); |
| 302 o.add("foo"); | 302 o.add("foo"); |
| 303 o.add("foo"); | 303 o.add("foo"); |
| 304 return o; | 304 return o; |
| 305 } | 305 } |
| 306 | 306 |
| 307 checkUnnamed260(core.List<core.String> o) { | 307 checkUnnamed281(core.List<core.String> o) { |
| 308 unittest.expect(o, unittest.hasLength(2)); | 308 unittest.expect(o, unittest.hasLength(2)); |
| 309 unittest.expect(o[0], unittest.equals('foo')); | 309 unittest.expect(o[0], unittest.equals('foo')); |
| 310 unittest.expect(o[1], unittest.equals('foo')); | 310 unittest.expect(o[1], unittest.equals('foo')); |
| 311 } | 311 } |
| 312 | 312 |
| 313 buildUnnamed261() { | 313 buildUnnamed282() { |
| 314 var o = new core.List<api.AccountShippingPostalCodeRange>(); | 314 var o = new core.List<api.AccountShippingPostalCodeRange>(); |
| 315 o.add(buildAccountShippingPostalCodeRange()); | 315 o.add(buildAccountShippingPostalCodeRange()); |
| 316 o.add(buildAccountShippingPostalCodeRange()); | 316 o.add(buildAccountShippingPostalCodeRange()); |
| 317 return o; | 317 return o; |
| 318 } | 318 } |
| 319 | 319 |
| 320 checkUnnamed261(core.List<api.AccountShippingPostalCodeRange> o) { | 320 checkUnnamed282(core.List<api.AccountShippingPostalCodeRange> o) { |
| 321 unittest.expect(o, unittest.hasLength(2)); | 321 unittest.expect(o, unittest.hasLength(2)); |
| 322 checkAccountShippingPostalCodeRange(o[0]); | 322 checkAccountShippingPostalCodeRange(o[0]); |
| 323 checkAccountShippingPostalCodeRange(o[1]); | 323 checkAccountShippingPostalCodeRange(o[1]); |
| 324 } | 324 } |
| 325 | 325 |
| 326 buildUnnamed262() { | 326 buildUnnamed283() { |
| 327 var o = new core.List<core.String>(); | 327 var o = new core.List<core.String>(); |
| 328 o.add("foo"); | 328 o.add("foo"); |
| 329 o.add("foo"); | 329 o.add("foo"); |
| 330 return o; | 330 return o; |
| 331 } | 331 } |
| 332 | 332 |
| 333 checkUnnamed262(core.List<core.String> o) { | 333 checkUnnamed283(core.List<core.String> o) { |
| 334 unittest.expect(o, unittest.hasLength(2)); | 334 unittest.expect(o, unittest.hasLength(2)); |
| 335 unittest.expect(o[0], unittest.equals('foo')); | 335 unittest.expect(o[0], unittest.equals('foo')); |
| 336 unittest.expect(o[1], unittest.equals('foo')); | 336 unittest.expect(o[1], unittest.equals('foo')); |
| 337 } | 337 } |
| 338 | 338 |
| 339 core.int buildCounterAccountShippingLocationGroup = 0; | 339 core.int buildCounterAccountShippingLocationGroup = 0; |
| 340 buildAccountShippingLocationGroup() { | 340 buildAccountShippingLocationGroup() { |
| 341 var o = new api.AccountShippingLocationGroup(); | 341 var o = new api.AccountShippingLocationGroup(); |
| 342 buildCounterAccountShippingLocationGroup++; | 342 buildCounterAccountShippingLocationGroup++; |
| 343 if (buildCounterAccountShippingLocationGroup < 3) { | 343 if (buildCounterAccountShippingLocationGroup < 3) { |
| 344 o.country = "foo"; | 344 o.country = "foo"; |
| 345 o.locationIds = buildUnnamed260(); | 345 o.locationIds = buildUnnamed281(); |
| 346 o.name = "foo"; | 346 o.name = "foo"; |
| 347 o.postalCodeRanges = buildUnnamed261(); | 347 o.postalCodeRanges = buildUnnamed282(); |
| 348 o.postalCodes = buildUnnamed262(); | 348 o.postalCodes = buildUnnamed283(); |
| 349 } | 349 } |
| 350 buildCounterAccountShippingLocationGroup--; | 350 buildCounterAccountShippingLocationGroup--; |
| 351 return o; | 351 return o; |
| 352 } | 352 } |
| 353 | 353 |
| 354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { | 354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { |
| 355 buildCounterAccountShippingLocationGroup++; | 355 buildCounterAccountShippingLocationGroup++; |
| 356 if (buildCounterAccountShippingLocationGroup < 3) { | 356 if (buildCounterAccountShippingLocationGroup < 3) { |
| 357 unittest.expect(o.country, unittest.equals('foo')); | 357 unittest.expect(o.country, unittest.equals('foo')); |
| 358 checkUnnamed260(o.locationIds); | 358 checkUnnamed281(o.locationIds); |
| 359 unittest.expect(o.name, unittest.equals('foo')); | 359 unittest.expect(o.name, unittest.equals('foo')); |
| 360 checkUnnamed261(o.postalCodeRanges); | 360 checkUnnamed282(o.postalCodeRanges); |
| 361 checkUnnamed262(o.postalCodes); | 361 checkUnnamed283(o.postalCodes); |
| 362 } | 362 } |
| 363 buildCounterAccountShippingLocationGroup--; | 363 buildCounterAccountShippingLocationGroup--; |
| 364 } | 364 } |
| 365 | 365 |
| 366 core.int buildCounterAccountShippingPostalCodeRange = 0; | 366 core.int buildCounterAccountShippingPostalCodeRange = 0; |
| 367 buildAccountShippingPostalCodeRange() { | 367 buildAccountShippingPostalCodeRange() { |
| 368 var o = new api.AccountShippingPostalCodeRange(); | 368 var o = new api.AccountShippingPostalCodeRange(); |
| 369 buildCounterAccountShippingPostalCodeRange++; | 369 buildCounterAccountShippingPostalCodeRange++; |
| 370 if (buildCounterAccountShippingPostalCodeRange < 3) { | 370 if (buildCounterAccountShippingPostalCodeRange < 3) { |
| 371 o.end = "foo"; | 371 o.end = "foo"; |
| 372 o.start = "foo"; | 372 o.start = "foo"; |
| 373 } | 373 } |
| 374 buildCounterAccountShippingPostalCodeRange--; | 374 buildCounterAccountShippingPostalCodeRange--; |
| 375 return o; | 375 return o; |
| 376 } | 376 } |
| 377 | 377 |
| 378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { | 378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { |
| 379 buildCounterAccountShippingPostalCodeRange++; | 379 buildCounterAccountShippingPostalCodeRange++; |
| 380 if (buildCounterAccountShippingPostalCodeRange < 3) { | 380 if (buildCounterAccountShippingPostalCodeRange < 3) { |
| 381 unittest.expect(o.end, unittest.equals('foo')); | 381 unittest.expect(o.end, unittest.equals('foo')); |
| 382 unittest.expect(o.start, unittest.equals('foo')); | 382 unittest.expect(o.start, unittest.equals('foo')); |
| 383 } | 383 } |
| 384 buildCounterAccountShippingPostalCodeRange--; | 384 buildCounterAccountShippingPostalCodeRange--; |
| 385 } | 385 } |
| 386 | 386 |
| 387 buildUnnamed263() { | 387 buildUnnamed284() { |
| 388 var o = new core.List<api.AccountShippingRateTableCell>(); | 388 var o = new core.List<api.AccountShippingRateTableCell>(); |
| 389 o.add(buildAccountShippingRateTableCell()); | 389 o.add(buildAccountShippingRateTableCell()); |
| 390 o.add(buildAccountShippingRateTableCell()); | 390 o.add(buildAccountShippingRateTableCell()); |
| 391 return o; | 391 return o; |
| 392 } | 392 } |
| 393 | 393 |
| 394 checkUnnamed263(core.List<api.AccountShippingRateTableCell> o) { | 394 checkUnnamed284(core.List<api.AccountShippingRateTableCell> o) { |
| 395 unittest.expect(o, unittest.hasLength(2)); | 395 unittest.expect(o, unittest.hasLength(2)); |
| 396 checkAccountShippingRateTableCell(o[0]); | 396 checkAccountShippingRateTableCell(o[0]); |
| 397 checkAccountShippingRateTableCell(o[1]); | 397 checkAccountShippingRateTableCell(o[1]); |
| 398 } | 398 } |
| 399 | 399 |
| 400 core.int buildCounterAccountShippingRateTable = 0; | 400 core.int buildCounterAccountShippingRateTable = 0; |
| 401 buildAccountShippingRateTable() { | 401 buildAccountShippingRateTable() { |
| 402 var o = new api.AccountShippingRateTable(); | 402 var o = new api.AccountShippingRateTable(); |
| 403 buildCounterAccountShippingRateTable++; | 403 buildCounterAccountShippingRateTable++; |
| 404 if (buildCounterAccountShippingRateTable < 3) { | 404 if (buildCounterAccountShippingRateTable < 3) { |
| 405 o.content = buildUnnamed263(); | 405 o.content = buildUnnamed284(); |
| 406 o.name = "foo"; | 406 o.name = "foo"; |
| 407 o.saleCountry = "foo"; | 407 o.saleCountry = "foo"; |
| 408 } | 408 } |
| 409 buildCounterAccountShippingRateTable--; | 409 buildCounterAccountShippingRateTable--; |
| 410 return o; | 410 return o; |
| 411 } | 411 } |
| 412 | 412 |
| 413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { | 413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { |
| 414 buildCounterAccountShippingRateTable++; | 414 buildCounterAccountShippingRateTable++; |
| 415 if (buildCounterAccountShippingRateTable < 3) { | 415 if (buildCounterAccountShippingRateTable < 3) { |
| 416 checkUnnamed263(o.content); | 416 checkUnnamed284(o.content); |
| 417 unittest.expect(o.name, unittest.equals('foo')); | 417 unittest.expect(o.name, unittest.equals('foo')); |
| 418 unittest.expect(o.saleCountry, unittest.equals('foo')); | 418 unittest.expect(o.saleCountry, unittest.equals('foo')); |
| 419 } | 419 } |
| 420 buildCounterAccountShippingRateTable--; | 420 buildCounterAccountShippingRateTable--; |
| 421 } | 421 } |
| 422 | 422 |
| 423 core.int buildCounterAccountShippingRateTableCell = 0; | 423 core.int buildCounterAccountShippingRateTableCell = 0; |
| 424 buildAccountShippingRateTableCell() { | 424 buildAccountShippingRateTableCell() { |
| 425 var o = new api.AccountShippingRateTableCell(); | 425 var o = new api.AccountShippingRateTableCell(); |
| 426 buildCounterAccountShippingRateTableCell++; | 426 buildCounterAccountShippingRateTableCell++; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | 492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { |
| 493 unittest.expect(o.carrierRate, unittest.equals('foo')); | 493 unittest.expect(o.carrierRate, unittest.equals('foo')); |
| 494 unittest.expect(o.excluded, unittest.isTrue); | 494 unittest.expect(o.excluded, unittest.isTrue); |
| 495 checkPrice(o.flatRate); | 495 checkPrice(o.flatRate); |
| 496 unittest.expect(o.percentageRate, unittest.equals('foo')); | 496 unittest.expect(o.percentageRate, unittest.equals('foo')); |
| 497 unittest.expect(o.rateTable, unittest.equals('foo')); | 497 unittest.expect(o.rateTable, unittest.equals('foo')); |
| 498 } | 498 } |
| 499 buildCounterAccountShippingShippingServiceCalculationMethod--; | 499 buildCounterAccountShippingShippingServiceCalculationMethod--; |
| 500 } | 500 } |
| 501 | 501 |
| 502 buildUnnamed264() { | 502 buildUnnamed285() { |
| 503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); | 503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); |
| 504 o.add(buildAccountShippingShippingServiceCostRule()); | 504 o.add(buildAccountShippingShippingServiceCostRule()); |
| 505 o.add(buildAccountShippingShippingServiceCostRule()); | 505 o.add(buildAccountShippingShippingServiceCostRule()); |
| 506 return o; | 506 return o; |
| 507 } | 507 } |
| 508 | 508 |
| 509 checkUnnamed264(core.List<api.AccountShippingShippingServiceCostRule> o) { | 509 checkUnnamed285(core.List<api.AccountShippingShippingServiceCostRule> o) { |
| 510 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
| 511 checkAccountShippingShippingServiceCostRule(o[0]); | 511 checkAccountShippingShippingServiceCostRule(o[0]); |
| 512 checkAccountShippingShippingServiceCostRule(o[1]); | 512 checkAccountShippingShippingServiceCostRule(o[1]); |
| 513 } | 513 } |
| 514 | 514 |
| 515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; | 515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; |
| 516 buildAccountShippingShippingServiceCostRule() { | 516 buildAccountShippingShippingServiceCostRule() { |
| 517 var o = new api.AccountShippingShippingServiceCostRule(); | 517 var o = new api.AccountShippingShippingServiceCostRule(); |
| 518 buildCounterAccountShippingShippingServiceCostRule++; | 518 buildCounterAccountShippingShippingServiceCostRule++; |
| 519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | 520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; |
| 521 o.children = buildUnnamed264(); | 521 o.children = buildUnnamed285(); |
| 522 o.condition = buildAccountShippingCondition(); | 522 o.condition = buildAccountShippingCondition(); |
| 523 } | 523 } |
| 524 buildCounterAccountShippingShippingServiceCostRule--; | 524 buildCounterAccountShippingShippingServiceCostRule--; |
| 525 return o; | 525 return o; |
| 526 } | 526 } |
| 527 | 527 |
| 528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { | 528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { |
| 529 buildCounterAccountShippingShippingServiceCostRule++; | 529 buildCounterAccountShippingShippingServiceCostRule++; |
| 530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | 531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); |
| 532 checkUnnamed264(o.children); | 532 checkUnnamed285(o.children); |
| 533 checkAccountShippingCondition(o.condition); | 533 checkAccountShippingCondition(o.condition); |
| 534 } | 534 } |
| 535 buildCounterAccountShippingShippingServiceCostRule--; | 535 buildCounterAccountShippingShippingServiceCostRule--; |
| 536 } | 536 } |
| 537 | 537 |
| 538 buildUnnamed265() { | 538 buildUnnamed286() { |
| 539 var o = new core.List<api.AccountStatusDataQualityIssue>(); | 539 var o = new core.List<api.AccountStatusDataQualityIssue>(); |
| 540 o.add(buildAccountStatusDataQualityIssue()); | 540 o.add(buildAccountStatusDataQualityIssue()); |
| 541 o.add(buildAccountStatusDataQualityIssue()); | 541 o.add(buildAccountStatusDataQualityIssue()); |
| 542 return o; | 542 return o; |
| 543 } | 543 } |
| 544 | 544 |
| 545 checkUnnamed265(core.List<api.AccountStatusDataQualityIssue> o) { | 545 checkUnnamed286(core.List<api.AccountStatusDataQualityIssue> o) { |
| 546 unittest.expect(o, unittest.hasLength(2)); | 546 unittest.expect(o, unittest.hasLength(2)); |
| 547 checkAccountStatusDataQualityIssue(o[0]); | 547 checkAccountStatusDataQualityIssue(o[0]); |
| 548 checkAccountStatusDataQualityIssue(o[1]); | 548 checkAccountStatusDataQualityIssue(o[1]); |
| 549 } | 549 } |
| 550 | 550 |
| 551 core.int buildCounterAccountStatus = 0; | 551 core.int buildCounterAccountStatus = 0; |
| 552 buildAccountStatus() { | 552 buildAccountStatus() { |
| 553 var o = new api.AccountStatus(); | 553 var o = new api.AccountStatus(); |
| 554 buildCounterAccountStatus++; | 554 buildCounterAccountStatus++; |
| 555 if (buildCounterAccountStatus < 3) { | 555 if (buildCounterAccountStatus < 3) { |
| 556 o.accountId = "foo"; | 556 o.accountId = "foo"; |
| 557 o.dataQualityIssues = buildUnnamed265(); | 557 o.dataQualityIssues = buildUnnamed286(); |
| 558 o.kind = "foo"; | 558 o.kind = "foo"; |
| 559 } | 559 } |
| 560 buildCounterAccountStatus--; | 560 buildCounterAccountStatus--; |
| 561 return o; | 561 return o; |
| 562 } | 562 } |
| 563 | 563 |
| 564 checkAccountStatus(api.AccountStatus o) { | 564 checkAccountStatus(api.AccountStatus o) { |
| 565 buildCounterAccountStatus++; | 565 buildCounterAccountStatus++; |
| 566 if (buildCounterAccountStatus < 3) { | 566 if (buildCounterAccountStatus < 3) { |
| 567 unittest.expect(o.accountId, unittest.equals('foo')); | 567 unittest.expect(o.accountId, unittest.equals('foo')); |
| 568 checkUnnamed265(o.dataQualityIssues); | 568 checkUnnamed286(o.dataQualityIssues); |
| 569 unittest.expect(o.kind, unittest.equals('foo')); | 569 unittest.expect(o.kind, unittest.equals('foo')); |
| 570 } | 570 } |
| 571 buildCounterAccountStatus--; | 571 buildCounterAccountStatus--; |
| 572 } | 572 } |
| 573 | 573 |
| 574 buildUnnamed266() { | 574 buildUnnamed287() { |
| 575 var o = new core.List<api.AccountStatusExampleItem>(); | 575 var o = new core.List<api.AccountStatusExampleItem>(); |
| 576 o.add(buildAccountStatusExampleItem()); | 576 o.add(buildAccountStatusExampleItem()); |
| 577 o.add(buildAccountStatusExampleItem()); | 577 o.add(buildAccountStatusExampleItem()); |
| 578 return o; | 578 return o; |
| 579 } | 579 } |
| 580 | 580 |
| 581 checkUnnamed266(core.List<api.AccountStatusExampleItem> o) { | 581 checkUnnamed287(core.List<api.AccountStatusExampleItem> o) { |
| 582 unittest.expect(o, unittest.hasLength(2)); | 582 unittest.expect(o, unittest.hasLength(2)); |
| 583 checkAccountStatusExampleItem(o[0]); | 583 checkAccountStatusExampleItem(o[0]); |
| 584 checkAccountStatusExampleItem(o[1]); | 584 checkAccountStatusExampleItem(o[1]); |
| 585 } | 585 } |
| 586 | 586 |
| 587 core.int buildCounterAccountStatusDataQualityIssue = 0; | 587 core.int buildCounterAccountStatusDataQualityIssue = 0; |
| 588 buildAccountStatusDataQualityIssue() { | 588 buildAccountStatusDataQualityIssue() { |
| 589 var o = new api.AccountStatusDataQualityIssue(); | 589 var o = new api.AccountStatusDataQualityIssue(); |
| 590 buildCounterAccountStatusDataQualityIssue++; | 590 buildCounterAccountStatusDataQualityIssue++; |
| 591 if (buildCounterAccountStatusDataQualityIssue < 3) { | 591 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 592 o.country = "foo"; | 592 o.country = "foo"; |
| 593 o.detail = "foo"; | 593 o.detail = "foo"; |
| 594 o.displayedValue = "foo"; | 594 o.displayedValue = "foo"; |
| 595 o.exampleItems = buildUnnamed266(); | 595 o.exampleItems = buildUnnamed287(); |
| 596 o.id = "foo"; | 596 o.id = "foo"; |
| 597 o.lastChecked = "foo"; | 597 o.lastChecked = "foo"; |
| 598 o.location = "foo"; | 598 o.location = "foo"; |
| 599 o.numItems = 42; | 599 o.numItems = 42; |
| 600 o.severity = "foo"; | 600 o.severity = "foo"; |
| 601 o.submittedValue = "foo"; | 601 o.submittedValue = "foo"; |
| 602 } | 602 } |
| 603 buildCounterAccountStatusDataQualityIssue--; | 603 buildCounterAccountStatusDataQualityIssue--; |
| 604 return o; | 604 return o; |
| 605 } | 605 } |
| 606 | 606 |
| 607 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 607 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
| 608 buildCounterAccountStatusDataQualityIssue++; | 608 buildCounterAccountStatusDataQualityIssue++; |
| 609 if (buildCounterAccountStatusDataQualityIssue < 3) { | 609 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 610 unittest.expect(o.country, unittest.equals('foo')); | 610 unittest.expect(o.country, unittest.equals('foo')); |
| 611 unittest.expect(o.detail, unittest.equals('foo')); | 611 unittest.expect(o.detail, unittest.equals('foo')); |
| 612 unittest.expect(o.displayedValue, unittest.equals('foo')); | 612 unittest.expect(o.displayedValue, unittest.equals('foo')); |
| 613 checkUnnamed266(o.exampleItems); | 613 checkUnnamed287(o.exampleItems); |
| 614 unittest.expect(o.id, unittest.equals('foo')); | 614 unittest.expect(o.id, unittest.equals('foo')); |
| 615 unittest.expect(o.lastChecked, unittest.equals('foo')); | 615 unittest.expect(o.lastChecked, unittest.equals('foo')); |
| 616 unittest.expect(o.location, unittest.equals('foo')); | 616 unittest.expect(o.location, unittest.equals('foo')); |
| 617 unittest.expect(o.numItems, unittest.equals(42)); | 617 unittest.expect(o.numItems, unittest.equals(42)); |
| 618 unittest.expect(o.severity, unittest.equals('foo')); | 618 unittest.expect(o.severity, unittest.equals('foo')); |
| 619 unittest.expect(o.submittedValue, unittest.equals('foo')); | 619 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 620 } | 620 } |
| 621 buildCounterAccountStatusDataQualityIssue--; | 621 buildCounterAccountStatusDataQualityIssue--; |
| 622 } | 622 } |
| 623 | 623 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 641 if (buildCounterAccountStatusExampleItem < 3) { | 641 if (buildCounterAccountStatusExampleItem < 3) { |
| 642 unittest.expect(o.itemId, unittest.equals('foo')); | 642 unittest.expect(o.itemId, unittest.equals('foo')); |
| 643 unittest.expect(o.link, unittest.equals('foo')); | 643 unittest.expect(o.link, unittest.equals('foo')); |
| 644 unittest.expect(o.submittedValue, unittest.equals('foo')); | 644 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 645 unittest.expect(o.title, unittest.equals('foo')); | 645 unittest.expect(o.title, unittest.equals('foo')); |
| 646 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 646 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
| 647 } | 647 } |
| 648 buildCounterAccountStatusExampleItem--; | 648 buildCounterAccountStatusExampleItem--; |
| 649 } | 649 } |
| 650 | 650 |
| 651 buildUnnamed267() { | 651 buildUnnamed288() { |
| 652 var o = new core.List<api.AccountTaxTaxRule>(); | 652 var o = new core.List<api.AccountTaxTaxRule>(); |
| 653 o.add(buildAccountTaxTaxRule()); | 653 o.add(buildAccountTaxTaxRule()); |
| 654 o.add(buildAccountTaxTaxRule()); | 654 o.add(buildAccountTaxTaxRule()); |
| 655 return o; | 655 return o; |
| 656 } | 656 } |
| 657 | 657 |
| 658 checkUnnamed267(core.List<api.AccountTaxTaxRule> o) { | 658 checkUnnamed288(core.List<api.AccountTaxTaxRule> o) { |
| 659 unittest.expect(o, unittest.hasLength(2)); | 659 unittest.expect(o, unittest.hasLength(2)); |
| 660 checkAccountTaxTaxRule(o[0]); | 660 checkAccountTaxTaxRule(o[0]); |
| 661 checkAccountTaxTaxRule(o[1]); | 661 checkAccountTaxTaxRule(o[1]); |
| 662 } | 662 } |
| 663 | 663 |
| 664 core.int buildCounterAccountTax = 0; | 664 core.int buildCounterAccountTax = 0; |
| 665 buildAccountTax() { | 665 buildAccountTax() { |
| 666 var o = new api.AccountTax(); | 666 var o = new api.AccountTax(); |
| 667 buildCounterAccountTax++; | 667 buildCounterAccountTax++; |
| 668 if (buildCounterAccountTax < 3) { | 668 if (buildCounterAccountTax < 3) { |
| 669 o.accountId = "foo"; | 669 o.accountId = "foo"; |
| 670 o.kind = "foo"; | 670 o.kind = "foo"; |
| 671 o.rules = buildUnnamed267(); | 671 o.rules = buildUnnamed288(); |
| 672 } | 672 } |
| 673 buildCounterAccountTax--; | 673 buildCounterAccountTax--; |
| 674 return o; | 674 return o; |
| 675 } | 675 } |
| 676 | 676 |
| 677 checkAccountTax(api.AccountTax o) { | 677 checkAccountTax(api.AccountTax o) { |
| 678 buildCounterAccountTax++; | 678 buildCounterAccountTax++; |
| 679 if (buildCounterAccountTax < 3) { | 679 if (buildCounterAccountTax < 3) { |
| 680 unittest.expect(o.accountId, unittest.equals('foo')); | 680 unittest.expect(o.accountId, unittest.equals('foo')); |
| 681 unittest.expect(o.kind, unittest.equals('foo')); | 681 unittest.expect(o.kind, unittest.equals('foo')); |
| 682 checkUnnamed267(o.rules); | 682 checkUnnamed288(o.rules); |
| 683 } | 683 } |
| 684 buildCounterAccountTax--; | 684 buildCounterAccountTax--; |
| 685 } | 685 } |
| 686 | 686 |
| 687 core.int buildCounterAccountTaxTaxRule = 0; | 687 core.int buildCounterAccountTaxTaxRule = 0; |
| 688 buildAccountTaxTaxRule() { | 688 buildAccountTaxTaxRule() { |
| 689 var o = new api.AccountTaxTaxRule(); | 689 var o = new api.AccountTaxTaxRule(); |
| 690 buildCounterAccountTaxTaxRule++; | 690 buildCounterAccountTaxTaxRule++; |
| 691 if (buildCounterAccountTaxTaxRule < 3) { | 691 if (buildCounterAccountTaxTaxRule < 3) { |
| 692 o.country = "foo"; | 692 o.country = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 | 725 |
| 726 checkAccountUser(api.AccountUser o) { | 726 checkAccountUser(api.AccountUser o) { |
| 727 buildCounterAccountUser++; | 727 buildCounterAccountUser++; |
| 728 if (buildCounterAccountUser < 3) { | 728 if (buildCounterAccountUser < 3) { |
| 729 unittest.expect(o.admin, unittest.isTrue); | 729 unittest.expect(o.admin, unittest.isTrue); |
| 730 unittest.expect(o.emailAddress, unittest.equals('foo')); | 730 unittest.expect(o.emailAddress, unittest.equals('foo')); |
| 731 } | 731 } |
| 732 buildCounterAccountUser--; | 732 buildCounterAccountUser--; |
| 733 } | 733 } |
| 734 | 734 |
| 735 buildUnnamed268() { | 735 buildUnnamed289() { |
| 736 var o = new core.List<api.AccountIdentifier>(); | 736 var o = new core.List<api.AccountIdentifier>(); |
| 737 o.add(buildAccountIdentifier()); | 737 o.add(buildAccountIdentifier()); |
| 738 o.add(buildAccountIdentifier()); | 738 o.add(buildAccountIdentifier()); |
| 739 return o; | 739 return o; |
| 740 } | 740 } |
| 741 | 741 |
| 742 checkUnnamed268(core.List<api.AccountIdentifier> o) { | 742 checkUnnamed289(core.List<api.AccountIdentifier> o) { |
| 743 unittest.expect(o, unittest.hasLength(2)); | 743 unittest.expect(o, unittest.hasLength(2)); |
| 744 checkAccountIdentifier(o[0]); | 744 checkAccountIdentifier(o[0]); |
| 745 checkAccountIdentifier(o[1]); | 745 checkAccountIdentifier(o[1]); |
| 746 } | 746 } |
| 747 | 747 |
| 748 core.int buildCounterAccountsAuthInfoResponse = 0; | 748 core.int buildCounterAccountsAuthInfoResponse = 0; |
| 749 buildAccountsAuthInfoResponse() { | 749 buildAccountsAuthInfoResponse() { |
| 750 var o = new api.AccountsAuthInfoResponse(); | 750 var o = new api.AccountsAuthInfoResponse(); |
| 751 buildCounterAccountsAuthInfoResponse++; | 751 buildCounterAccountsAuthInfoResponse++; |
| 752 if (buildCounterAccountsAuthInfoResponse < 3) { | 752 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 753 o.accountIdentifiers = buildUnnamed268(); | 753 o.accountIdentifiers = buildUnnamed289(); |
| 754 o.kind = "foo"; | 754 o.kind = "foo"; |
| 755 } | 755 } |
| 756 buildCounterAccountsAuthInfoResponse--; | 756 buildCounterAccountsAuthInfoResponse--; |
| 757 return o; | 757 return o; |
| 758 } | 758 } |
| 759 | 759 |
| 760 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 760 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
| 761 buildCounterAccountsAuthInfoResponse++; | 761 buildCounterAccountsAuthInfoResponse++; |
| 762 if (buildCounterAccountsAuthInfoResponse < 3) { | 762 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 763 checkUnnamed268(o.accountIdentifiers); | 763 checkUnnamed289(o.accountIdentifiers); |
| 764 unittest.expect(o.kind, unittest.equals('foo')); | 764 unittest.expect(o.kind, unittest.equals('foo')); |
| 765 } | 765 } |
| 766 buildCounterAccountsAuthInfoResponse--; | 766 buildCounterAccountsAuthInfoResponse--; |
| 767 } | 767 } |
| 768 | 768 |
| 769 buildUnnamed269() { | 769 buildUnnamed290() { |
| 770 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 770 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
| 771 o.add(buildAccountsCustomBatchRequestEntry()); | 771 o.add(buildAccountsCustomBatchRequestEntry()); |
| 772 o.add(buildAccountsCustomBatchRequestEntry()); | 772 o.add(buildAccountsCustomBatchRequestEntry()); |
| 773 return o; | 773 return o; |
| 774 } | 774 } |
| 775 | 775 |
| 776 checkUnnamed269(core.List<api.AccountsCustomBatchRequestEntry> o) { | 776 checkUnnamed290(core.List<api.AccountsCustomBatchRequestEntry> o) { |
| 777 unittest.expect(o, unittest.hasLength(2)); | 777 unittest.expect(o, unittest.hasLength(2)); |
| 778 checkAccountsCustomBatchRequestEntry(o[0]); | 778 checkAccountsCustomBatchRequestEntry(o[0]); |
| 779 checkAccountsCustomBatchRequestEntry(o[1]); | 779 checkAccountsCustomBatchRequestEntry(o[1]); |
| 780 } | 780 } |
| 781 | 781 |
| 782 core.int buildCounterAccountsCustomBatchRequest = 0; | 782 core.int buildCounterAccountsCustomBatchRequest = 0; |
| 783 buildAccountsCustomBatchRequest() { | 783 buildAccountsCustomBatchRequest() { |
| 784 var o = new api.AccountsCustomBatchRequest(); | 784 var o = new api.AccountsCustomBatchRequest(); |
| 785 buildCounterAccountsCustomBatchRequest++; | 785 buildCounterAccountsCustomBatchRequest++; |
| 786 if (buildCounterAccountsCustomBatchRequest < 3) { | 786 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 787 o.entries = buildUnnamed269(); | 787 o.entries = buildUnnamed290(); |
| 788 } | 788 } |
| 789 buildCounterAccountsCustomBatchRequest--; | 789 buildCounterAccountsCustomBatchRequest--; |
| 790 return o; | 790 return o; |
| 791 } | 791 } |
| 792 | 792 |
| 793 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 793 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
| 794 buildCounterAccountsCustomBatchRequest++; | 794 buildCounterAccountsCustomBatchRequest++; |
| 795 if (buildCounterAccountsCustomBatchRequest < 3) { | 795 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 796 checkUnnamed269(o.entries); | 796 checkUnnamed290(o.entries); |
| 797 } | 797 } |
| 798 buildCounterAccountsCustomBatchRequest--; | 798 buildCounterAccountsCustomBatchRequest--; |
| 799 } | 799 } |
| 800 | 800 |
| 801 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 801 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
| 802 buildAccountsCustomBatchRequestEntry() { | 802 buildAccountsCustomBatchRequestEntry() { |
| 803 var o = new api.AccountsCustomBatchRequestEntry(); | 803 var o = new api.AccountsCustomBatchRequestEntry(); |
| 804 buildCounterAccountsCustomBatchRequestEntry++; | 804 buildCounterAccountsCustomBatchRequestEntry++; |
| 805 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 805 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 806 o.account = buildAccount(); | 806 o.account = buildAccount(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 818 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 818 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 819 checkAccount(o.account); | 819 checkAccount(o.account); |
| 820 unittest.expect(o.accountId, unittest.equals('foo')); | 820 unittest.expect(o.accountId, unittest.equals('foo')); |
| 821 unittest.expect(o.batchId, unittest.equals(42)); | 821 unittest.expect(o.batchId, unittest.equals(42)); |
| 822 unittest.expect(o.merchantId, unittest.equals('foo')); | 822 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 823 unittest.expect(o.method, unittest.equals('foo')); | 823 unittest.expect(o.method, unittest.equals('foo')); |
| 824 } | 824 } |
| 825 buildCounterAccountsCustomBatchRequestEntry--; | 825 buildCounterAccountsCustomBatchRequestEntry--; |
| 826 } | 826 } |
| 827 | 827 |
| 828 buildUnnamed270() { | 828 buildUnnamed291() { |
| 829 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 829 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
| 830 o.add(buildAccountsCustomBatchResponseEntry()); | 830 o.add(buildAccountsCustomBatchResponseEntry()); |
| 831 o.add(buildAccountsCustomBatchResponseEntry()); | 831 o.add(buildAccountsCustomBatchResponseEntry()); |
| 832 return o; | 832 return o; |
| 833 } | 833 } |
| 834 | 834 |
| 835 checkUnnamed270(core.List<api.AccountsCustomBatchResponseEntry> o) { | 835 checkUnnamed291(core.List<api.AccountsCustomBatchResponseEntry> o) { |
| 836 unittest.expect(o, unittest.hasLength(2)); | 836 unittest.expect(o, unittest.hasLength(2)); |
| 837 checkAccountsCustomBatchResponseEntry(o[0]); | 837 checkAccountsCustomBatchResponseEntry(o[0]); |
| 838 checkAccountsCustomBatchResponseEntry(o[1]); | 838 checkAccountsCustomBatchResponseEntry(o[1]); |
| 839 } | 839 } |
| 840 | 840 |
| 841 core.int buildCounterAccountsCustomBatchResponse = 0; | 841 core.int buildCounterAccountsCustomBatchResponse = 0; |
| 842 buildAccountsCustomBatchResponse() { | 842 buildAccountsCustomBatchResponse() { |
| 843 var o = new api.AccountsCustomBatchResponse(); | 843 var o = new api.AccountsCustomBatchResponse(); |
| 844 buildCounterAccountsCustomBatchResponse++; | 844 buildCounterAccountsCustomBatchResponse++; |
| 845 if (buildCounterAccountsCustomBatchResponse < 3) { | 845 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 846 o.entries = buildUnnamed270(); | 846 o.entries = buildUnnamed291(); |
| 847 o.kind = "foo"; | 847 o.kind = "foo"; |
| 848 } | 848 } |
| 849 buildCounterAccountsCustomBatchResponse--; | 849 buildCounterAccountsCustomBatchResponse--; |
| 850 return o; | 850 return o; |
| 851 } | 851 } |
| 852 | 852 |
| 853 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 853 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
| 854 buildCounterAccountsCustomBatchResponse++; | 854 buildCounterAccountsCustomBatchResponse++; |
| 855 if (buildCounterAccountsCustomBatchResponse < 3) { | 855 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 856 checkUnnamed270(o.entries); | 856 checkUnnamed291(o.entries); |
| 857 unittest.expect(o.kind, unittest.equals('foo')); | 857 unittest.expect(o.kind, unittest.equals('foo')); |
| 858 } | 858 } |
| 859 buildCounterAccountsCustomBatchResponse--; | 859 buildCounterAccountsCustomBatchResponse--; |
| 860 } | 860 } |
| 861 | 861 |
| 862 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 862 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
| 863 buildAccountsCustomBatchResponseEntry() { | 863 buildAccountsCustomBatchResponseEntry() { |
| 864 var o = new api.AccountsCustomBatchResponseEntry(); | 864 var o = new api.AccountsCustomBatchResponseEntry(); |
| 865 buildCounterAccountsCustomBatchResponseEntry++; | 865 buildCounterAccountsCustomBatchResponseEntry++; |
| 866 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 866 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 877 buildCounterAccountsCustomBatchResponseEntry++; | 877 buildCounterAccountsCustomBatchResponseEntry++; |
| 878 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 878 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| 879 checkAccount(o.account); | 879 checkAccount(o.account); |
| 880 unittest.expect(o.batchId, unittest.equals(42)); | 880 unittest.expect(o.batchId, unittest.equals(42)); |
| 881 checkErrors(o.errors); | 881 checkErrors(o.errors); |
| 882 unittest.expect(o.kind, unittest.equals('foo')); | 882 unittest.expect(o.kind, unittest.equals('foo')); |
| 883 } | 883 } |
| 884 buildCounterAccountsCustomBatchResponseEntry--; | 884 buildCounterAccountsCustomBatchResponseEntry--; |
| 885 } | 885 } |
| 886 | 886 |
| 887 buildUnnamed271() { | 887 buildUnnamed292() { |
| 888 var o = new core.List<api.Account>(); | 888 var o = new core.List<api.Account>(); |
| 889 o.add(buildAccount()); | 889 o.add(buildAccount()); |
| 890 o.add(buildAccount()); | 890 o.add(buildAccount()); |
| 891 return o; | 891 return o; |
| 892 } | 892 } |
| 893 | 893 |
| 894 checkUnnamed271(core.List<api.Account> o) { | 894 checkUnnamed292(core.List<api.Account> o) { |
| 895 unittest.expect(o, unittest.hasLength(2)); | 895 unittest.expect(o, unittest.hasLength(2)); |
| 896 checkAccount(o[0]); | 896 checkAccount(o[0]); |
| 897 checkAccount(o[1]); | 897 checkAccount(o[1]); |
| 898 } | 898 } |
| 899 | 899 |
| 900 core.int buildCounterAccountsListResponse = 0; | 900 core.int buildCounterAccountsListResponse = 0; |
| 901 buildAccountsListResponse() { | 901 buildAccountsListResponse() { |
| 902 var o = new api.AccountsListResponse(); | 902 var o = new api.AccountsListResponse(); |
| 903 buildCounterAccountsListResponse++; | 903 buildCounterAccountsListResponse++; |
| 904 if (buildCounterAccountsListResponse < 3) { | 904 if (buildCounterAccountsListResponse < 3) { |
| 905 o.kind = "foo"; | 905 o.kind = "foo"; |
| 906 o.nextPageToken = "foo"; | 906 o.nextPageToken = "foo"; |
| 907 o.resources = buildUnnamed271(); | 907 o.resources = buildUnnamed292(); |
| 908 } | 908 } |
| 909 buildCounterAccountsListResponse--; | 909 buildCounterAccountsListResponse--; |
| 910 return o; | 910 return o; |
| 911 } | 911 } |
| 912 | 912 |
| 913 checkAccountsListResponse(api.AccountsListResponse o) { | 913 checkAccountsListResponse(api.AccountsListResponse o) { |
| 914 buildCounterAccountsListResponse++; | 914 buildCounterAccountsListResponse++; |
| 915 if (buildCounterAccountsListResponse < 3) { | 915 if (buildCounterAccountsListResponse < 3) { |
| 916 unittest.expect(o.kind, unittest.equals('foo')); | 916 unittest.expect(o.kind, unittest.equals('foo')); |
| 917 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 917 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 918 checkUnnamed271(o.resources); | 918 checkUnnamed292(o.resources); |
| 919 } | 919 } |
| 920 buildCounterAccountsListResponse--; | 920 buildCounterAccountsListResponse--; |
| 921 } | 921 } |
| 922 | 922 |
| 923 buildUnnamed272() { | 923 buildUnnamed293() { |
| 924 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | 924 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); |
| 925 o.add(buildAccountshippingCustomBatchRequestEntry()); | 925 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 926 o.add(buildAccountshippingCustomBatchRequestEntry()); | 926 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 927 return o; | 927 return o; |
| 928 } | 928 } |
| 929 | 929 |
| 930 checkUnnamed272(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | 930 checkUnnamed293(core.List<api.AccountshippingCustomBatchRequestEntry> o) { |
| 931 unittest.expect(o, unittest.hasLength(2)); | 931 unittest.expect(o, unittest.hasLength(2)); |
| 932 checkAccountshippingCustomBatchRequestEntry(o[0]); | 932 checkAccountshippingCustomBatchRequestEntry(o[0]); |
| 933 checkAccountshippingCustomBatchRequestEntry(o[1]); | 933 checkAccountshippingCustomBatchRequestEntry(o[1]); |
| 934 } | 934 } |
| 935 | 935 |
| 936 core.int buildCounterAccountshippingCustomBatchRequest = 0; | 936 core.int buildCounterAccountshippingCustomBatchRequest = 0; |
| 937 buildAccountshippingCustomBatchRequest() { | 937 buildAccountshippingCustomBatchRequest() { |
| 938 var o = new api.AccountshippingCustomBatchRequest(); | 938 var o = new api.AccountshippingCustomBatchRequest(); |
| 939 buildCounterAccountshippingCustomBatchRequest++; | 939 buildCounterAccountshippingCustomBatchRequest++; |
| 940 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 940 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 941 o.entries = buildUnnamed272(); | 941 o.entries = buildUnnamed293(); |
| 942 } | 942 } |
| 943 buildCounterAccountshippingCustomBatchRequest--; | 943 buildCounterAccountshippingCustomBatchRequest--; |
| 944 return o; | 944 return o; |
| 945 } | 945 } |
| 946 | 946 |
| 947 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | 947 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ |
| 948 buildCounterAccountshippingCustomBatchRequest++; | 948 buildCounterAccountshippingCustomBatchRequest++; |
| 949 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 949 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 950 checkUnnamed272(o.entries); | 950 checkUnnamed293(o.entries); |
| 951 } | 951 } |
| 952 buildCounterAccountshippingCustomBatchRequest--; | 952 buildCounterAccountshippingCustomBatchRequest--; |
| 953 } | 953 } |
| 954 | 954 |
| 955 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | 955 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; |
| 956 buildAccountshippingCustomBatchRequestEntry() { | 956 buildAccountshippingCustomBatchRequestEntry() { |
| 957 var o = new api.AccountshippingCustomBatchRequestEntry(); | 957 var o = new api.AccountshippingCustomBatchRequestEntry(); |
| 958 buildCounterAccountshippingCustomBatchRequestEntry++; | 958 buildCounterAccountshippingCustomBatchRequestEntry++; |
| 959 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 959 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 960 o.accountId = "foo"; | 960 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 972 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 972 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 973 unittest.expect(o.accountId, unittest.equals('foo')); | 973 unittest.expect(o.accountId, unittest.equals('foo')); |
| 974 checkAccountShipping(o.accountShipping); | 974 checkAccountShipping(o.accountShipping); |
| 975 unittest.expect(o.batchId, unittest.equals(42)); | 975 unittest.expect(o.batchId, unittest.equals(42)); |
| 976 unittest.expect(o.merchantId, unittest.equals('foo')); | 976 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 977 unittest.expect(o.method, unittest.equals('foo')); | 977 unittest.expect(o.method, unittest.equals('foo')); |
| 978 } | 978 } |
| 979 buildCounterAccountshippingCustomBatchRequestEntry--; | 979 buildCounterAccountshippingCustomBatchRequestEntry--; |
| 980 } | 980 } |
| 981 | 981 |
| 982 buildUnnamed273() { | 982 buildUnnamed294() { |
| 983 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | 983 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); |
| 984 o.add(buildAccountshippingCustomBatchResponseEntry()); | 984 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 985 o.add(buildAccountshippingCustomBatchResponseEntry()); | 985 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 986 return o; | 986 return o; |
| 987 } | 987 } |
| 988 | 988 |
| 989 checkUnnamed273(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | 989 checkUnnamed294(core.List<api.AccountshippingCustomBatchResponseEntry> o) { |
| 990 unittest.expect(o, unittest.hasLength(2)); | 990 unittest.expect(o, unittest.hasLength(2)); |
| 991 checkAccountshippingCustomBatchResponseEntry(o[0]); | 991 checkAccountshippingCustomBatchResponseEntry(o[0]); |
| 992 checkAccountshippingCustomBatchResponseEntry(o[1]); | 992 checkAccountshippingCustomBatchResponseEntry(o[1]); |
| 993 } | 993 } |
| 994 | 994 |
| 995 core.int buildCounterAccountshippingCustomBatchResponse = 0; | 995 core.int buildCounterAccountshippingCustomBatchResponse = 0; |
| 996 buildAccountshippingCustomBatchResponse() { | 996 buildAccountshippingCustomBatchResponse() { |
| 997 var o = new api.AccountshippingCustomBatchResponse(); | 997 var o = new api.AccountshippingCustomBatchResponse(); |
| 998 buildCounterAccountshippingCustomBatchResponse++; | 998 buildCounterAccountshippingCustomBatchResponse++; |
| 999 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 999 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 1000 o.entries = buildUnnamed273(); | 1000 o.entries = buildUnnamed294(); |
| 1001 o.kind = "foo"; | 1001 o.kind = "foo"; |
| 1002 } | 1002 } |
| 1003 buildCounterAccountshippingCustomBatchResponse--; | 1003 buildCounterAccountshippingCustomBatchResponse--; |
| 1004 return o; | 1004 return o; |
| 1005 } | 1005 } |
| 1006 | 1006 |
| 1007 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | 1007 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { |
| 1008 buildCounterAccountshippingCustomBatchResponse++; | 1008 buildCounterAccountshippingCustomBatchResponse++; |
| 1009 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 1009 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 1010 checkUnnamed273(o.entries); | 1010 checkUnnamed294(o.entries); |
| 1011 unittest.expect(o.kind, unittest.equals('foo')); | 1011 unittest.expect(o.kind, unittest.equals('foo')); |
| 1012 } | 1012 } |
| 1013 buildCounterAccountshippingCustomBatchResponse--; | 1013 buildCounterAccountshippingCustomBatchResponse--; |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | 1016 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; |
| 1017 buildAccountshippingCustomBatchResponseEntry() { | 1017 buildAccountshippingCustomBatchResponseEntry() { |
| 1018 var o = new api.AccountshippingCustomBatchResponseEntry(); | 1018 var o = new api.AccountshippingCustomBatchResponseEntry(); |
| 1019 buildCounterAccountshippingCustomBatchResponseEntry++; | 1019 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1020 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1020 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1031 buildCounterAccountshippingCustomBatchResponseEntry++; | 1031 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1032 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1032 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| 1033 checkAccountShipping(o.accountShipping); | 1033 checkAccountShipping(o.accountShipping); |
| 1034 unittest.expect(o.batchId, unittest.equals(42)); | 1034 unittest.expect(o.batchId, unittest.equals(42)); |
| 1035 checkErrors(o.errors); | 1035 checkErrors(o.errors); |
| 1036 unittest.expect(o.kind, unittest.equals('foo')); | 1036 unittest.expect(o.kind, unittest.equals('foo')); |
| 1037 } | 1037 } |
| 1038 buildCounterAccountshippingCustomBatchResponseEntry--; | 1038 buildCounterAccountshippingCustomBatchResponseEntry--; |
| 1039 } | 1039 } |
| 1040 | 1040 |
| 1041 buildUnnamed274() { | 1041 buildUnnamed295() { |
| 1042 var o = new core.List<api.AccountShipping>(); | 1042 var o = new core.List<api.AccountShipping>(); |
| 1043 o.add(buildAccountShipping()); | 1043 o.add(buildAccountShipping()); |
| 1044 o.add(buildAccountShipping()); | 1044 o.add(buildAccountShipping()); |
| 1045 return o; | 1045 return o; |
| 1046 } | 1046 } |
| 1047 | 1047 |
| 1048 checkUnnamed274(core.List<api.AccountShipping> o) { | 1048 checkUnnamed295(core.List<api.AccountShipping> o) { |
| 1049 unittest.expect(o, unittest.hasLength(2)); | 1049 unittest.expect(o, unittest.hasLength(2)); |
| 1050 checkAccountShipping(o[0]); | 1050 checkAccountShipping(o[0]); |
| 1051 checkAccountShipping(o[1]); | 1051 checkAccountShipping(o[1]); |
| 1052 } | 1052 } |
| 1053 | 1053 |
| 1054 core.int buildCounterAccountshippingListResponse = 0; | 1054 core.int buildCounterAccountshippingListResponse = 0; |
| 1055 buildAccountshippingListResponse() { | 1055 buildAccountshippingListResponse() { |
| 1056 var o = new api.AccountshippingListResponse(); | 1056 var o = new api.AccountshippingListResponse(); |
| 1057 buildCounterAccountshippingListResponse++; | 1057 buildCounterAccountshippingListResponse++; |
| 1058 if (buildCounterAccountshippingListResponse < 3) { | 1058 if (buildCounterAccountshippingListResponse < 3) { |
| 1059 o.kind = "foo"; | 1059 o.kind = "foo"; |
| 1060 o.nextPageToken = "foo"; | 1060 o.nextPageToken = "foo"; |
| 1061 o.resources = buildUnnamed274(); | 1061 o.resources = buildUnnamed295(); |
| 1062 } | 1062 } |
| 1063 buildCounterAccountshippingListResponse--; | 1063 buildCounterAccountshippingListResponse--; |
| 1064 return o; | 1064 return o; |
| 1065 } | 1065 } |
| 1066 | 1066 |
| 1067 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | 1067 checkAccountshippingListResponse(api.AccountshippingListResponse o) { |
| 1068 buildCounterAccountshippingListResponse++; | 1068 buildCounterAccountshippingListResponse++; |
| 1069 if (buildCounterAccountshippingListResponse < 3) { | 1069 if (buildCounterAccountshippingListResponse < 3) { |
| 1070 unittest.expect(o.kind, unittest.equals('foo')); | 1070 unittest.expect(o.kind, unittest.equals('foo')); |
| 1071 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1071 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1072 checkUnnamed274(o.resources); | 1072 checkUnnamed295(o.resources); |
| 1073 } | 1073 } |
| 1074 buildCounterAccountshippingListResponse--; | 1074 buildCounterAccountshippingListResponse--; |
| 1075 } | 1075 } |
| 1076 | 1076 |
| 1077 buildUnnamed275() { | 1077 buildUnnamed296() { |
| 1078 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 1078 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
| 1079 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1079 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1080 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1080 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1081 return o; | 1081 return o; |
| 1082 } | 1082 } |
| 1083 | 1083 |
| 1084 checkUnnamed275(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 1084 checkUnnamed296(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
| 1085 unittest.expect(o, unittest.hasLength(2)); | 1085 unittest.expect(o, unittest.hasLength(2)); |
| 1086 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 1086 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
| 1087 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 1087 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
| 1088 } | 1088 } |
| 1089 | 1089 |
| 1090 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 1090 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
| 1091 buildAccountstatusesCustomBatchRequest() { | 1091 buildAccountstatusesCustomBatchRequest() { |
| 1092 var o = new api.AccountstatusesCustomBatchRequest(); | 1092 var o = new api.AccountstatusesCustomBatchRequest(); |
| 1093 buildCounterAccountstatusesCustomBatchRequest++; | 1093 buildCounterAccountstatusesCustomBatchRequest++; |
| 1094 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1094 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1095 o.entries = buildUnnamed275(); | 1095 o.entries = buildUnnamed296(); |
| 1096 } | 1096 } |
| 1097 buildCounterAccountstatusesCustomBatchRequest--; | 1097 buildCounterAccountstatusesCustomBatchRequest--; |
| 1098 return o; | 1098 return o; |
| 1099 } | 1099 } |
| 1100 | 1100 |
| 1101 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 1101 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
| 1102 buildCounterAccountstatusesCustomBatchRequest++; | 1102 buildCounterAccountstatusesCustomBatchRequest++; |
| 1103 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1103 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1104 checkUnnamed275(o.entries); | 1104 checkUnnamed296(o.entries); |
| 1105 } | 1105 } |
| 1106 buildCounterAccountstatusesCustomBatchRequest--; | 1106 buildCounterAccountstatusesCustomBatchRequest--; |
| 1107 } | 1107 } |
| 1108 | 1108 |
| 1109 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 1109 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
| 1110 buildAccountstatusesCustomBatchRequestEntry() { | 1110 buildAccountstatusesCustomBatchRequestEntry() { |
| 1111 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 1111 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
| 1112 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1112 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1113 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1113 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1114 o.accountId = "foo"; | 1114 o.accountId = "foo"; |
| 1115 o.batchId = 42; | 1115 o.batchId = 42; |
| 1116 o.merchantId = "foo"; | 1116 o.merchantId = "foo"; |
| 1117 o.method = "foo"; | 1117 o.method = "foo"; |
| 1118 } | 1118 } |
| 1119 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1119 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1120 return o; | 1120 return o; |
| 1121 } | 1121 } |
| 1122 | 1122 |
| 1123 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 1123 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
| 1124 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1124 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1125 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1125 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1126 unittest.expect(o.accountId, unittest.equals('foo')); | 1126 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1127 unittest.expect(o.batchId, unittest.equals(42)); | 1127 unittest.expect(o.batchId, unittest.equals(42)); |
| 1128 unittest.expect(o.merchantId, unittest.equals('foo')); | 1128 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1129 unittest.expect(o.method, unittest.equals('foo')); | 1129 unittest.expect(o.method, unittest.equals('foo')); |
| 1130 } | 1130 } |
| 1131 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1131 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1132 } | 1132 } |
| 1133 | 1133 |
| 1134 buildUnnamed276() { | 1134 buildUnnamed297() { |
| 1135 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 1135 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
| 1136 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1136 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1137 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1137 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1138 return o; | 1138 return o; |
| 1139 } | 1139 } |
| 1140 | 1140 |
| 1141 checkUnnamed276(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 1141 checkUnnamed297(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
| 1142 unittest.expect(o, unittest.hasLength(2)); | 1142 unittest.expect(o, unittest.hasLength(2)); |
| 1143 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 1143 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
| 1144 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 1144 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
| 1145 } | 1145 } |
| 1146 | 1146 |
| 1147 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 1147 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
| 1148 buildAccountstatusesCustomBatchResponse() { | 1148 buildAccountstatusesCustomBatchResponse() { |
| 1149 var o = new api.AccountstatusesCustomBatchResponse(); | 1149 var o = new api.AccountstatusesCustomBatchResponse(); |
| 1150 buildCounterAccountstatusesCustomBatchResponse++; | 1150 buildCounterAccountstatusesCustomBatchResponse++; |
| 1151 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1151 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1152 o.entries = buildUnnamed276(); | 1152 o.entries = buildUnnamed297(); |
| 1153 o.kind = "foo"; | 1153 o.kind = "foo"; |
| 1154 } | 1154 } |
| 1155 buildCounterAccountstatusesCustomBatchResponse--; | 1155 buildCounterAccountstatusesCustomBatchResponse--; |
| 1156 return o; | 1156 return o; |
| 1157 } | 1157 } |
| 1158 | 1158 |
| 1159 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 1159 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
| 1160 buildCounterAccountstatusesCustomBatchResponse++; | 1160 buildCounterAccountstatusesCustomBatchResponse++; |
| 1161 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1161 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1162 checkUnnamed276(o.entries); | 1162 checkUnnamed297(o.entries); |
| 1163 unittest.expect(o.kind, unittest.equals('foo')); | 1163 unittest.expect(o.kind, unittest.equals('foo')); |
| 1164 } | 1164 } |
| 1165 buildCounterAccountstatusesCustomBatchResponse--; | 1165 buildCounterAccountstatusesCustomBatchResponse--; |
| 1166 } | 1166 } |
| 1167 | 1167 |
| 1168 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 1168 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
| 1169 buildAccountstatusesCustomBatchResponseEntry() { | 1169 buildAccountstatusesCustomBatchResponseEntry() { |
| 1170 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 1170 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
| 1171 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1171 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1172 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1172 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1173 o.accountStatus = buildAccountStatus(); | 1173 o.accountStatus = buildAccountStatus(); |
| 1174 o.batchId = 42; | 1174 o.batchId = 42; |
| 1175 o.errors = buildErrors(); | 1175 o.errors = buildErrors(); |
| 1176 } | 1176 } |
| 1177 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1177 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1178 return o; | 1178 return o; |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 1181 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
| 1182 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1182 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1183 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1183 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1184 checkAccountStatus(o.accountStatus); | 1184 checkAccountStatus(o.accountStatus); |
| 1185 unittest.expect(o.batchId, unittest.equals(42)); | 1185 unittest.expect(o.batchId, unittest.equals(42)); |
| 1186 checkErrors(o.errors); | 1186 checkErrors(o.errors); |
| 1187 } | 1187 } |
| 1188 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1188 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1189 } | 1189 } |
| 1190 | 1190 |
| 1191 buildUnnamed277() { | 1191 buildUnnamed298() { |
| 1192 var o = new core.List<api.AccountStatus>(); | 1192 var o = new core.List<api.AccountStatus>(); |
| 1193 o.add(buildAccountStatus()); | 1193 o.add(buildAccountStatus()); |
| 1194 o.add(buildAccountStatus()); | 1194 o.add(buildAccountStatus()); |
| 1195 return o; | 1195 return o; |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 checkUnnamed277(core.List<api.AccountStatus> o) { | 1198 checkUnnamed298(core.List<api.AccountStatus> o) { |
| 1199 unittest.expect(o, unittest.hasLength(2)); | 1199 unittest.expect(o, unittest.hasLength(2)); |
| 1200 checkAccountStatus(o[0]); | 1200 checkAccountStatus(o[0]); |
| 1201 checkAccountStatus(o[1]); | 1201 checkAccountStatus(o[1]); |
| 1202 } | 1202 } |
| 1203 | 1203 |
| 1204 core.int buildCounterAccountstatusesListResponse = 0; | 1204 core.int buildCounterAccountstatusesListResponse = 0; |
| 1205 buildAccountstatusesListResponse() { | 1205 buildAccountstatusesListResponse() { |
| 1206 var o = new api.AccountstatusesListResponse(); | 1206 var o = new api.AccountstatusesListResponse(); |
| 1207 buildCounterAccountstatusesListResponse++; | 1207 buildCounterAccountstatusesListResponse++; |
| 1208 if (buildCounterAccountstatusesListResponse < 3) { | 1208 if (buildCounterAccountstatusesListResponse < 3) { |
| 1209 o.kind = "foo"; | 1209 o.kind = "foo"; |
| 1210 o.nextPageToken = "foo"; | 1210 o.nextPageToken = "foo"; |
| 1211 o.resources = buildUnnamed277(); | 1211 o.resources = buildUnnamed298(); |
| 1212 } | 1212 } |
| 1213 buildCounterAccountstatusesListResponse--; | 1213 buildCounterAccountstatusesListResponse--; |
| 1214 return o; | 1214 return o; |
| 1215 } | 1215 } |
| 1216 | 1216 |
| 1217 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 1217 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
| 1218 buildCounterAccountstatusesListResponse++; | 1218 buildCounterAccountstatusesListResponse++; |
| 1219 if (buildCounterAccountstatusesListResponse < 3) { | 1219 if (buildCounterAccountstatusesListResponse < 3) { |
| 1220 unittest.expect(o.kind, unittest.equals('foo')); | 1220 unittest.expect(o.kind, unittest.equals('foo')); |
| 1221 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1221 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1222 checkUnnamed277(o.resources); | 1222 checkUnnamed298(o.resources); |
| 1223 } | 1223 } |
| 1224 buildCounterAccountstatusesListResponse--; | 1224 buildCounterAccountstatusesListResponse--; |
| 1225 } | 1225 } |
| 1226 | 1226 |
| 1227 buildUnnamed278() { | 1227 buildUnnamed299() { |
| 1228 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 1228 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
| 1229 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1229 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1230 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1230 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1231 return o; | 1231 return o; |
| 1232 } | 1232 } |
| 1233 | 1233 |
| 1234 checkUnnamed278(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 1234 checkUnnamed299(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
| 1235 unittest.expect(o, unittest.hasLength(2)); | 1235 unittest.expect(o, unittest.hasLength(2)); |
| 1236 checkAccounttaxCustomBatchRequestEntry(o[0]); | 1236 checkAccounttaxCustomBatchRequestEntry(o[0]); |
| 1237 checkAccounttaxCustomBatchRequestEntry(o[1]); | 1237 checkAccounttaxCustomBatchRequestEntry(o[1]); |
| 1238 } | 1238 } |
| 1239 | 1239 |
| 1240 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 1240 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
| 1241 buildAccounttaxCustomBatchRequest() { | 1241 buildAccounttaxCustomBatchRequest() { |
| 1242 var o = new api.AccounttaxCustomBatchRequest(); | 1242 var o = new api.AccounttaxCustomBatchRequest(); |
| 1243 buildCounterAccounttaxCustomBatchRequest++; | 1243 buildCounterAccounttaxCustomBatchRequest++; |
| 1244 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1244 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1245 o.entries = buildUnnamed278(); | 1245 o.entries = buildUnnamed299(); |
| 1246 } | 1246 } |
| 1247 buildCounterAccounttaxCustomBatchRequest--; | 1247 buildCounterAccounttaxCustomBatchRequest--; |
| 1248 return o; | 1248 return o; |
| 1249 } | 1249 } |
| 1250 | 1250 |
| 1251 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 1251 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
| 1252 buildCounterAccounttaxCustomBatchRequest++; | 1252 buildCounterAccounttaxCustomBatchRequest++; |
| 1253 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1253 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1254 checkUnnamed278(o.entries); | 1254 checkUnnamed299(o.entries); |
| 1255 } | 1255 } |
| 1256 buildCounterAccounttaxCustomBatchRequest--; | 1256 buildCounterAccounttaxCustomBatchRequest--; |
| 1257 } | 1257 } |
| 1258 | 1258 |
| 1259 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 1259 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
| 1260 buildAccounttaxCustomBatchRequestEntry() { | 1260 buildAccounttaxCustomBatchRequestEntry() { |
| 1261 var o = new api.AccounttaxCustomBatchRequestEntry(); | 1261 var o = new api.AccounttaxCustomBatchRequestEntry(); |
| 1262 buildCounterAccounttaxCustomBatchRequestEntry++; | 1262 buildCounterAccounttaxCustomBatchRequestEntry++; |
| 1263 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1263 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1264 o.accountId = "foo"; | 1264 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1276 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1276 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1277 unittest.expect(o.accountId, unittest.equals('foo')); | 1277 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1278 checkAccountTax(o.accountTax); | 1278 checkAccountTax(o.accountTax); |
| 1279 unittest.expect(o.batchId, unittest.equals(42)); | 1279 unittest.expect(o.batchId, unittest.equals(42)); |
| 1280 unittest.expect(o.merchantId, unittest.equals('foo')); | 1280 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1281 unittest.expect(o.method, unittest.equals('foo')); | 1281 unittest.expect(o.method, unittest.equals('foo')); |
| 1282 } | 1282 } |
| 1283 buildCounterAccounttaxCustomBatchRequestEntry--; | 1283 buildCounterAccounttaxCustomBatchRequestEntry--; |
| 1284 } | 1284 } |
| 1285 | 1285 |
| 1286 buildUnnamed279() { | 1286 buildUnnamed300() { |
| 1287 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 1287 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
| 1288 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1288 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1289 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1289 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1290 return o; | 1290 return o; |
| 1291 } | 1291 } |
| 1292 | 1292 |
| 1293 checkUnnamed279(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 1293 checkUnnamed300(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
| 1294 unittest.expect(o, unittest.hasLength(2)); | 1294 unittest.expect(o, unittest.hasLength(2)); |
| 1295 checkAccounttaxCustomBatchResponseEntry(o[0]); | 1295 checkAccounttaxCustomBatchResponseEntry(o[0]); |
| 1296 checkAccounttaxCustomBatchResponseEntry(o[1]); | 1296 checkAccounttaxCustomBatchResponseEntry(o[1]); |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 1299 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
| 1300 buildAccounttaxCustomBatchResponse() { | 1300 buildAccounttaxCustomBatchResponse() { |
| 1301 var o = new api.AccounttaxCustomBatchResponse(); | 1301 var o = new api.AccounttaxCustomBatchResponse(); |
| 1302 buildCounterAccounttaxCustomBatchResponse++; | 1302 buildCounterAccounttaxCustomBatchResponse++; |
| 1303 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1303 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1304 o.entries = buildUnnamed279(); | 1304 o.entries = buildUnnamed300(); |
| 1305 o.kind = "foo"; | 1305 o.kind = "foo"; |
| 1306 } | 1306 } |
| 1307 buildCounterAccounttaxCustomBatchResponse--; | 1307 buildCounterAccounttaxCustomBatchResponse--; |
| 1308 return o; | 1308 return o; |
| 1309 } | 1309 } |
| 1310 | 1310 |
| 1311 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 1311 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
| 1312 buildCounterAccounttaxCustomBatchResponse++; | 1312 buildCounterAccounttaxCustomBatchResponse++; |
| 1313 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1313 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1314 checkUnnamed279(o.entries); | 1314 checkUnnamed300(o.entries); |
| 1315 unittest.expect(o.kind, unittest.equals('foo')); | 1315 unittest.expect(o.kind, unittest.equals('foo')); |
| 1316 } | 1316 } |
| 1317 buildCounterAccounttaxCustomBatchResponse--; | 1317 buildCounterAccounttaxCustomBatchResponse--; |
| 1318 } | 1318 } |
| 1319 | 1319 |
| 1320 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 1320 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
| 1321 buildAccounttaxCustomBatchResponseEntry() { | 1321 buildAccounttaxCustomBatchResponseEntry() { |
| 1322 var o = new api.AccounttaxCustomBatchResponseEntry(); | 1322 var o = new api.AccounttaxCustomBatchResponseEntry(); |
| 1323 buildCounterAccounttaxCustomBatchResponseEntry++; | 1323 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1324 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1324 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1335 buildCounterAccounttaxCustomBatchResponseEntry++; | 1335 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1336 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1336 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| 1337 checkAccountTax(o.accountTax); | 1337 checkAccountTax(o.accountTax); |
| 1338 unittest.expect(o.batchId, unittest.equals(42)); | 1338 unittest.expect(o.batchId, unittest.equals(42)); |
| 1339 checkErrors(o.errors); | 1339 checkErrors(o.errors); |
| 1340 unittest.expect(o.kind, unittest.equals('foo')); | 1340 unittest.expect(o.kind, unittest.equals('foo')); |
| 1341 } | 1341 } |
| 1342 buildCounterAccounttaxCustomBatchResponseEntry--; | 1342 buildCounterAccounttaxCustomBatchResponseEntry--; |
| 1343 } | 1343 } |
| 1344 | 1344 |
| 1345 buildUnnamed280() { | 1345 buildUnnamed301() { |
| 1346 var o = new core.List<api.AccountTax>(); | 1346 var o = new core.List<api.AccountTax>(); |
| 1347 o.add(buildAccountTax()); | 1347 o.add(buildAccountTax()); |
| 1348 o.add(buildAccountTax()); | 1348 o.add(buildAccountTax()); |
| 1349 return o; | 1349 return o; |
| 1350 } | 1350 } |
| 1351 | 1351 |
| 1352 checkUnnamed280(core.List<api.AccountTax> o) { | 1352 checkUnnamed301(core.List<api.AccountTax> o) { |
| 1353 unittest.expect(o, unittest.hasLength(2)); | 1353 unittest.expect(o, unittest.hasLength(2)); |
| 1354 checkAccountTax(o[0]); | 1354 checkAccountTax(o[0]); |
| 1355 checkAccountTax(o[1]); | 1355 checkAccountTax(o[1]); |
| 1356 } | 1356 } |
| 1357 | 1357 |
| 1358 core.int buildCounterAccounttaxListResponse = 0; | 1358 core.int buildCounterAccounttaxListResponse = 0; |
| 1359 buildAccounttaxListResponse() { | 1359 buildAccounttaxListResponse() { |
| 1360 var o = new api.AccounttaxListResponse(); | 1360 var o = new api.AccounttaxListResponse(); |
| 1361 buildCounterAccounttaxListResponse++; | 1361 buildCounterAccounttaxListResponse++; |
| 1362 if (buildCounterAccounttaxListResponse < 3) { | 1362 if (buildCounterAccounttaxListResponse < 3) { |
| 1363 o.kind = "foo"; | 1363 o.kind = "foo"; |
| 1364 o.nextPageToken = "foo"; | 1364 o.nextPageToken = "foo"; |
| 1365 o.resources = buildUnnamed280(); | 1365 o.resources = buildUnnamed301(); |
| 1366 } | 1366 } |
| 1367 buildCounterAccounttaxListResponse--; | 1367 buildCounterAccounttaxListResponse--; |
| 1368 return o; | 1368 return o; |
| 1369 } | 1369 } |
| 1370 | 1370 |
| 1371 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 1371 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
| 1372 buildCounterAccounttaxListResponse++; | 1372 buildCounterAccounttaxListResponse++; |
| 1373 if (buildCounterAccounttaxListResponse < 3) { | 1373 if (buildCounterAccounttaxListResponse < 3) { |
| 1374 unittest.expect(o.kind, unittest.equals('foo')); | 1374 unittest.expect(o.kind, unittest.equals('foo')); |
| 1375 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1375 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1376 checkUnnamed280(o.resources); | 1376 checkUnnamed301(o.resources); |
| 1377 } | 1377 } |
| 1378 buildCounterAccounttaxListResponse--; | 1378 buildCounterAccounttaxListResponse--; |
| 1379 } | 1379 } |
| 1380 | 1380 |
| 1381 core.int buildCounterCarrierRate = 0; | 1381 core.int buildCounterCarrierRate = 0; |
| 1382 buildCarrierRate() { | 1382 buildCarrierRate() { |
| 1383 var o = new api.CarrierRate(); | 1383 var o = new api.CarrierRate(); |
| 1384 buildCounterCarrierRate++; | 1384 buildCounterCarrierRate++; |
| 1385 if (buildCounterCarrierRate < 3) { | 1385 if (buildCounterCarrierRate < 3) { |
| 1386 o.carrierName = "foo"; | 1386 o.carrierName = "foo"; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1400 unittest.expect(o.carrierName, unittest.equals('foo')); | 1400 unittest.expect(o.carrierName, unittest.equals('foo')); |
| 1401 unittest.expect(o.carrierService, unittest.equals('foo')); | 1401 unittest.expect(o.carrierService, unittest.equals('foo')); |
| 1402 checkPrice(o.flatAdjustment); | 1402 checkPrice(o.flatAdjustment); |
| 1403 unittest.expect(o.name, unittest.equals('foo')); | 1403 unittest.expect(o.name, unittest.equals('foo')); |
| 1404 unittest.expect(o.originPostalCode, unittest.equals('foo')); | 1404 unittest.expect(o.originPostalCode, unittest.equals('foo')); |
| 1405 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); | 1405 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); |
| 1406 } | 1406 } |
| 1407 buildCounterCarrierRate--; | 1407 buildCounterCarrierRate--; |
| 1408 } | 1408 } |
| 1409 | 1409 |
| 1410 buildUnnamed281() { | 1410 buildUnnamed302() { |
| 1411 var o = new core.List<core.String>(); | 1411 var o = new core.List<core.String>(); |
| 1412 o.add("foo"); | 1412 o.add("foo"); |
| 1413 o.add("foo"); | 1413 o.add("foo"); |
| 1414 return o; | 1414 return o; |
| 1415 } | 1415 } |
| 1416 | 1416 |
| 1417 checkUnnamed281(core.List<core.String> o) { | 1417 checkUnnamed302(core.List<core.String> o) { |
| 1418 unittest.expect(o, unittest.hasLength(2)); | 1418 unittest.expect(o, unittest.hasLength(2)); |
| 1419 unittest.expect(o[0], unittest.equals('foo')); | 1419 unittest.expect(o[0], unittest.equals('foo')); |
| 1420 unittest.expect(o[1], unittest.equals('foo')); | 1420 unittest.expect(o[1], unittest.equals('foo')); |
| 1421 } | 1421 } |
| 1422 | 1422 |
| 1423 core.int buildCounterCarriersCarrier = 0; | 1423 core.int buildCounterCarriersCarrier = 0; |
| 1424 buildCarriersCarrier() { | 1424 buildCarriersCarrier() { |
| 1425 var o = new api.CarriersCarrier(); | 1425 var o = new api.CarriersCarrier(); |
| 1426 buildCounterCarriersCarrier++; | 1426 buildCounterCarriersCarrier++; |
| 1427 if (buildCounterCarriersCarrier < 3) { | 1427 if (buildCounterCarriersCarrier < 3) { |
| 1428 o.country = "foo"; | 1428 o.country = "foo"; |
| 1429 o.name = "foo"; | 1429 o.name = "foo"; |
| 1430 o.services = buildUnnamed281(); | 1430 o.services = buildUnnamed302(); |
| 1431 } | 1431 } |
| 1432 buildCounterCarriersCarrier--; | 1432 buildCounterCarriersCarrier--; |
| 1433 return o; | 1433 return o; |
| 1434 } | 1434 } |
| 1435 | 1435 |
| 1436 checkCarriersCarrier(api.CarriersCarrier o) { | 1436 checkCarriersCarrier(api.CarriersCarrier o) { |
| 1437 buildCounterCarriersCarrier++; | 1437 buildCounterCarriersCarrier++; |
| 1438 if (buildCounterCarriersCarrier < 3) { | 1438 if (buildCounterCarriersCarrier < 3) { |
| 1439 unittest.expect(o.country, unittest.equals('foo')); | 1439 unittest.expect(o.country, unittest.equals('foo')); |
| 1440 unittest.expect(o.name, unittest.equals('foo')); | 1440 unittest.expect(o.name, unittest.equals('foo')); |
| 1441 checkUnnamed281(o.services); | 1441 checkUnnamed302(o.services); |
| 1442 } | 1442 } |
| 1443 buildCounterCarriersCarrier--; | 1443 buildCounterCarriersCarrier--; |
| 1444 } | 1444 } |
| 1445 | 1445 |
| 1446 buildUnnamed282() { | 1446 buildUnnamed303() { |
| 1447 var o = new core.List<core.String>(); | 1447 var o = new core.List<core.String>(); |
| 1448 o.add("foo"); | 1448 o.add("foo"); |
| 1449 o.add("foo"); | 1449 o.add("foo"); |
| 1450 return o; | 1450 return o; |
| 1451 } | 1451 } |
| 1452 | 1452 |
| 1453 checkUnnamed282(core.List<core.String> o) { | 1453 checkUnnamed303(core.List<core.String> o) { |
| 1454 unittest.expect(o, unittest.hasLength(2)); | 1454 unittest.expect(o, unittest.hasLength(2)); |
| 1455 unittest.expect(o[0], unittest.equals('foo')); | 1455 unittest.expect(o[0], unittest.equals('foo')); |
| 1456 unittest.expect(o[1], unittest.equals('foo')); | 1456 unittest.expect(o[1], unittest.equals('foo')); |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 core.int buildCounterDatafeed = 0; | 1459 core.int buildCounterDatafeed = 0; |
| 1460 buildDatafeed() { | 1460 buildDatafeed() { |
| 1461 var o = new api.Datafeed(); | 1461 var o = new api.Datafeed(); |
| 1462 buildCounterDatafeed++; | 1462 buildCounterDatafeed++; |
| 1463 if (buildCounterDatafeed < 3) { | 1463 if (buildCounterDatafeed < 3) { |
| 1464 o.attributeLanguage = "foo"; | 1464 o.attributeLanguage = "foo"; |
| 1465 o.contentLanguage = "foo"; | 1465 o.contentLanguage = "foo"; |
| 1466 o.contentType = "foo"; | 1466 o.contentType = "foo"; |
| 1467 o.fetchSchedule = buildDatafeedFetchSchedule(); | 1467 o.fetchSchedule = buildDatafeedFetchSchedule(); |
| 1468 o.fileName = "foo"; | 1468 o.fileName = "foo"; |
| 1469 o.format = buildDatafeedFormat(); | 1469 o.format = buildDatafeedFormat(); |
| 1470 o.id = "foo"; | 1470 o.id = "foo"; |
| 1471 o.intendedDestinations = buildUnnamed282(); | 1471 o.intendedDestinations = buildUnnamed303(); |
| 1472 o.kind = "foo"; | 1472 o.kind = "foo"; |
| 1473 o.name = "foo"; | 1473 o.name = "foo"; |
| 1474 o.targetCountry = "foo"; | 1474 o.targetCountry = "foo"; |
| 1475 } | 1475 } |
| 1476 buildCounterDatafeed--; | 1476 buildCounterDatafeed--; |
| 1477 return o; | 1477 return o; |
| 1478 } | 1478 } |
| 1479 | 1479 |
| 1480 checkDatafeed(api.Datafeed o) { | 1480 checkDatafeed(api.Datafeed o) { |
| 1481 buildCounterDatafeed++; | 1481 buildCounterDatafeed++; |
| 1482 if (buildCounterDatafeed < 3) { | 1482 if (buildCounterDatafeed < 3) { |
| 1483 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 1483 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
| 1484 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 1484 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 1485 unittest.expect(o.contentType, unittest.equals('foo')); | 1485 unittest.expect(o.contentType, unittest.equals('foo')); |
| 1486 checkDatafeedFetchSchedule(o.fetchSchedule); | 1486 checkDatafeedFetchSchedule(o.fetchSchedule); |
| 1487 unittest.expect(o.fileName, unittest.equals('foo')); | 1487 unittest.expect(o.fileName, unittest.equals('foo')); |
| 1488 checkDatafeedFormat(o.format); | 1488 checkDatafeedFormat(o.format); |
| 1489 unittest.expect(o.id, unittest.equals('foo')); | 1489 unittest.expect(o.id, unittest.equals('foo')); |
| 1490 checkUnnamed282(o.intendedDestinations); | 1490 checkUnnamed303(o.intendedDestinations); |
| 1491 unittest.expect(o.kind, unittest.equals('foo')); | 1491 unittest.expect(o.kind, unittest.equals('foo')); |
| 1492 unittest.expect(o.name, unittest.equals('foo')); | 1492 unittest.expect(o.name, unittest.equals('foo')); |
| 1493 unittest.expect(o.targetCountry, unittest.equals('foo')); | 1493 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 1494 } | 1494 } |
| 1495 buildCounterDatafeed--; | 1495 buildCounterDatafeed--; |
| 1496 } | 1496 } |
| 1497 | 1497 |
| 1498 core.int buildCounterDatafeedFetchSchedule = 0; | 1498 core.int buildCounterDatafeedFetchSchedule = 0; |
| 1499 buildDatafeedFetchSchedule() { | 1499 buildDatafeedFetchSchedule() { |
| 1500 var o = new api.DatafeedFetchSchedule(); | 1500 var o = new api.DatafeedFetchSchedule(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1544 checkDatafeedFormat(api.DatafeedFormat o) { | 1544 checkDatafeedFormat(api.DatafeedFormat o) { |
| 1545 buildCounterDatafeedFormat++; | 1545 buildCounterDatafeedFormat++; |
| 1546 if (buildCounterDatafeedFormat < 3) { | 1546 if (buildCounterDatafeedFormat < 3) { |
| 1547 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1547 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
| 1548 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1548 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
| 1549 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1549 unittest.expect(o.quotingMode, unittest.equals('foo')); |
| 1550 } | 1550 } |
| 1551 buildCounterDatafeedFormat--; | 1551 buildCounterDatafeedFormat--; |
| 1552 } | 1552 } |
| 1553 | 1553 |
| 1554 buildUnnamed283() { | 1554 buildUnnamed304() { |
| 1555 var o = new core.List<api.DatafeedStatusError>(); | 1555 var o = new core.List<api.DatafeedStatusError>(); |
| 1556 o.add(buildDatafeedStatusError()); | 1556 o.add(buildDatafeedStatusError()); |
| 1557 o.add(buildDatafeedStatusError()); | 1557 o.add(buildDatafeedStatusError()); |
| 1558 return o; | 1558 return o; |
| 1559 } | 1559 } |
| 1560 | 1560 |
| 1561 checkUnnamed283(core.List<api.DatafeedStatusError> o) { | 1561 checkUnnamed304(core.List<api.DatafeedStatusError> o) { |
| 1562 unittest.expect(o, unittest.hasLength(2)); | 1562 unittest.expect(o, unittest.hasLength(2)); |
| 1563 checkDatafeedStatusError(o[0]); | 1563 checkDatafeedStatusError(o[0]); |
| 1564 checkDatafeedStatusError(o[1]); | 1564 checkDatafeedStatusError(o[1]); |
| 1565 } | 1565 } |
| 1566 | 1566 |
| 1567 buildUnnamed284() { | 1567 buildUnnamed305() { |
| 1568 var o = new core.List<api.DatafeedStatusError>(); | 1568 var o = new core.List<api.DatafeedStatusError>(); |
| 1569 o.add(buildDatafeedStatusError()); | 1569 o.add(buildDatafeedStatusError()); |
| 1570 o.add(buildDatafeedStatusError()); | 1570 o.add(buildDatafeedStatusError()); |
| 1571 return o; | 1571 return o; |
| 1572 } | 1572 } |
| 1573 | 1573 |
| 1574 checkUnnamed284(core.List<api.DatafeedStatusError> o) { | 1574 checkUnnamed305(core.List<api.DatafeedStatusError> o) { |
| 1575 unittest.expect(o, unittest.hasLength(2)); | 1575 unittest.expect(o, unittest.hasLength(2)); |
| 1576 checkDatafeedStatusError(o[0]); | 1576 checkDatafeedStatusError(o[0]); |
| 1577 checkDatafeedStatusError(o[1]); | 1577 checkDatafeedStatusError(o[1]); |
| 1578 } | 1578 } |
| 1579 | 1579 |
| 1580 core.int buildCounterDatafeedStatus = 0; | 1580 core.int buildCounterDatafeedStatus = 0; |
| 1581 buildDatafeedStatus() { | 1581 buildDatafeedStatus() { |
| 1582 var o = new api.DatafeedStatus(); | 1582 var o = new api.DatafeedStatus(); |
| 1583 buildCounterDatafeedStatus++; | 1583 buildCounterDatafeedStatus++; |
| 1584 if (buildCounterDatafeedStatus < 3) { | 1584 if (buildCounterDatafeedStatus < 3) { |
| 1585 o.datafeedId = "foo"; | 1585 o.datafeedId = "foo"; |
| 1586 o.errors = buildUnnamed283(); | 1586 o.errors = buildUnnamed304(); |
| 1587 o.itemsTotal = "foo"; | 1587 o.itemsTotal = "foo"; |
| 1588 o.itemsValid = "foo"; | 1588 o.itemsValid = "foo"; |
| 1589 o.kind = "foo"; | 1589 o.kind = "foo"; |
| 1590 o.lastUploadDate = "foo"; | 1590 o.lastUploadDate = "foo"; |
| 1591 o.processingStatus = "foo"; | 1591 o.processingStatus = "foo"; |
| 1592 o.warnings = buildUnnamed284(); | 1592 o.warnings = buildUnnamed305(); |
| 1593 } | 1593 } |
| 1594 buildCounterDatafeedStatus--; | 1594 buildCounterDatafeedStatus--; |
| 1595 return o; | 1595 return o; |
| 1596 } | 1596 } |
| 1597 | 1597 |
| 1598 checkDatafeedStatus(api.DatafeedStatus o) { | 1598 checkDatafeedStatus(api.DatafeedStatus o) { |
| 1599 buildCounterDatafeedStatus++; | 1599 buildCounterDatafeedStatus++; |
| 1600 if (buildCounterDatafeedStatus < 3) { | 1600 if (buildCounterDatafeedStatus < 3) { |
| 1601 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1601 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1602 checkUnnamed283(o.errors); | 1602 checkUnnamed304(o.errors); |
| 1603 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1603 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
| 1604 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1604 unittest.expect(o.itemsValid, unittest.equals('foo')); |
| 1605 unittest.expect(o.kind, unittest.equals('foo')); | 1605 unittest.expect(o.kind, unittest.equals('foo')); |
| 1606 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1606 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
| 1607 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1607 unittest.expect(o.processingStatus, unittest.equals('foo')); |
| 1608 checkUnnamed284(o.warnings); | 1608 checkUnnamed305(o.warnings); |
| 1609 } | 1609 } |
| 1610 buildCounterDatafeedStatus--; | 1610 buildCounterDatafeedStatus--; |
| 1611 } | 1611 } |
| 1612 | 1612 |
| 1613 buildUnnamed285() { | 1613 buildUnnamed306() { |
| 1614 var o = new core.List<api.DatafeedStatusExample>(); | 1614 var o = new core.List<api.DatafeedStatusExample>(); |
| 1615 o.add(buildDatafeedStatusExample()); | 1615 o.add(buildDatafeedStatusExample()); |
| 1616 o.add(buildDatafeedStatusExample()); | 1616 o.add(buildDatafeedStatusExample()); |
| 1617 return o; | 1617 return o; |
| 1618 } | 1618 } |
| 1619 | 1619 |
| 1620 checkUnnamed285(core.List<api.DatafeedStatusExample> o) { | 1620 checkUnnamed306(core.List<api.DatafeedStatusExample> o) { |
| 1621 unittest.expect(o, unittest.hasLength(2)); | 1621 unittest.expect(o, unittest.hasLength(2)); |
| 1622 checkDatafeedStatusExample(o[0]); | 1622 checkDatafeedStatusExample(o[0]); |
| 1623 checkDatafeedStatusExample(o[1]); | 1623 checkDatafeedStatusExample(o[1]); |
| 1624 } | 1624 } |
| 1625 | 1625 |
| 1626 core.int buildCounterDatafeedStatusError = 0; | 1626 core.int buildCounterDatafeedStatusError = 0; |
| 1627 buildDatafeedStatusError() { | 1627 buildDatafeedStatusError() { |
| 1628 var o = new api.DatafeedStatusError(); | 1628 var o = new api.DatafeedStatusError(); |
| 1629 buildCounterDatafeedStatusError++; | 1629 buildCounterDatafeedStatusError++; |
| 1630 if (buildCounterDatafeedStatusError < 3) { | 1630 if (buildCounterDatafeedStatusError < 3) { |
| 1631 o.code = "foo"; | 1631 o.code = "foo"; |
| 1632 o.count = "foo"; | 1632 o.count = "foo"; |
| 1633 o.examples = buildUnnamed285(); | 1633 o.examples = buildUnnamed306(); |
| 1634 o.message = "foo"; | 1634 o.message = "foo"; |
| 1635 } | 1635 } |
| 1636 buildCounterDatafeedStatusError--; | 1636 buildCounterDatafeedStatusError--; |
| 1637 return o; | 1637 return o; |
| 1638 } | 1638 } |
| 1639 | 1639 |
| 1640 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1640 checkDatafeedStatusError(api.DatafeedStatusError o) { |
| 1641 buildCounterDatafeedStatusError++; | 1641 buildCounterDatafeedStatusError++; |
| 1642 if (buildCounterDatafeedStatusError < 3) { | 1642 if (buildCounterDatafeedStatusError < 3) { |
| 1643 unittest.expect(o.code, unittest.equals('foo')); | 1643 unittest.expect(o.code, unittest.equals('foo')); |
| 1644 unittest.expect(o.count, unittest.equals('foo')); | 1644 unittest.expect(o.count, unittest.equals('foo')); |
| 1645 checkUnnamed285(o.examples); | 1645 checkUnnamed306(o.examples); |
| 1646 unittest.expect(o.message, unittest.equals('foo')); | 1646 unittest.expect(o.message, unittest.equals('foo')); |
| 1647 } | 1647 } |
| 1648 buildCounterDatafeedStatusError--; | 1648 buildCounterDatafeedStatusError--; |
| 1649 } | 1649 } |
| 1650 | 1650 |
| 1651 core.int buildCounterDatafeedStatusExample = 0; | 1651 core.int buildCounterDatafeedStatusExample = 0; |
| 1652 buildDatafeedStatusExample() { | 1652 buildDatafeedStatusExample() { |
| 1653 var o = new api.DatafeedStatusExample(); | 1653 var o = new api.DatafeedStatusExample(); |
| 1654 buildCounterDatafeedStatusExample++; | 1654 buildCounterDatafeedStatusExample++; |
| 1655 if (buildCounterDatafeedStatusExample < 3) { | 1655 if (buildCounterDatafeedStatusExample < 3) { |
| 1656 o.itemId = "foo"; | 1656 o.itemId = "foo"; |
| 1657 o.lineNumber = "foo"; | 1657 o.lineNumber = "foo"; |
| 1658 o.value = "foo"; | 1658 o.value = "foo"; |
| 1659 } | 1659 } |
| 1660 buildCounterDatafeedStatusExample--; | 1660 buildCounterDatafeedStatusExample--; |
| 1661 return o; | 1661 return o; |
| 1662 } | 1662 } |
| 1663 | 1663 |
| 1664 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1664 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
| 1665 buildCounterDatafeedStatusExample++; | 1665 buildCounterDatafeedStatusExample++; |
| 1666 if (buildCounterDatafeedStatusExample < 3) { | 1666 if (buildCounterDatafeedStatusExample < 3) { |
| 1667 unittest.expect(o.itemId, unittest.equals('foo')); | 1667 unittest.expect(o.itemId, unittest.equals('foo')); |
| 1668 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1668 unittest.expect(o.lineNumber, unittest.equals('foo')); |
| 1669 unittest.expect(o.value, unittest.equals('foo')); | 1669 unittest.expect(o.value, unittest.equals('foo')); |
| 1670 } | 1670 } |
| 1671 buildCounterDatafeedStatusExample--; | 1671 buildCounterDatafeedStatusExample--; |
| 1672 } | 1672 } |
| 1673 | 1673 |
| 1674 buildUnnamed286() { | 1674 buildUnnamed307() { |
| 1675 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1675 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
| 1676 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1676 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1677 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1677 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1678 return o; | 1678 return o; |
| 1679 } | 1679 } |
| 1680 | 1680 |
| 1681 checkUnnamed286(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1681 checkUnnamed307(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
| 1682 unittest.expect(o, unittest.hasLength(2)); | 1682 unittest.expect(o, unittest.hasLength(2)); |
| 1683 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1683 checkDatafeedsCustomBatchRequestEntry(o[0]); |
| 1684 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1684 checkDatafeedsCustomBatchRequestEntry(o[1]); |
| 1685 } | 1685 } |
| 1686 | 1686 |
| 1687 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1687 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
| 1688 buildDatafeedsCustomBatchRequest() { | 1688 buildDatafeedsCustomBatchRequest() { |
| 1689 var o = new api.DatafeedsCustomBatchRequest(); | 1689 var o = new api.DatafeedsCustomBatchRequest(); |
| 1690 buildCounterDatafeedsCustomBatchRequest++; | 1690 buildCounterDatafeedsCustomBatchRequest++; |
| 1691 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1691 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1692 o.entries = buildUnnamed286(); | 1692 o.entries = buildUnnamed307(); |
| 1693 } | 1693 } |
| 1694 buildCounterDatafeedsCustomBatchRequest--; | 1694 buildCounterDatafeedsCustomBatchRequest--; |
| 1695 return o; | 1695 return o; |
| 1696 } | 1696 } |
| 1697 | 1697 |
| 1698 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1698 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
| 1699 buildCounterDatafeedsCustomBatchRequest++; | 1699 buildCounterDatafeedsCustomBatchRequest++; |
| 1700 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1700 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1701 checkUnnamed286(o.entries); | 1701 checkUnnamed307(o.entries); |
| 1702 } | 1702 } |
| 1703 buildCounterDatafeedsCustomBatchRequest--; | 1703 buildCounterDatafeedsCustomBatchRequest--; |
| 1704 } | 1704 } |
| 1705 | 1705 |
| 1706 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1706 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
| 1707 buildDatafeedsCustomBatchRequestEntry() { | 1707 buildDatafeedsCustomBatchRequestEntry() { |
| 1708 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1708 var o = new api.DatafeedsCustomBatchRequestEntry(); |
| 1709 buildCounterDatafeedsCustomBatchRequestEntry++; | 1709 buildCounterDatafeedsCustomBatchRequestEntry++; |
| 1710 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1710 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1711 o.batchId = 42; | 1711 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1723 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1723 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1724 unittest.expect(o.batchId, unittest.equals(42)); | 1724 unittest.expect(o.batchId, unittest.equals(42)); |
| 1725 checkDatafeed(o.datafeed); | 1725 checkDatafeed(o.datafeed); |
| 1726 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1726 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1727 unittest.expect(o.merchantId, unittest.equals('foo')); | 1727 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1728 unittest.expect(o.method, unittest.equals('foo')); | 1728 unittest.expect(o.method, unittest.equals('foo')); |
| 1729 } | 1729 } |
| 1730 buildCounterDatafeedsCustomBatchRequestEntry--; | 1730 buildCounterDatafeedsCustomBatchRequestEntry--; |
| 1731 } | 1731 } |
| 1732 | 1732 |
| 1733 buildUnnamed287() { | 1733 buildUnnamed308() { |
| 1734 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1734 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
| 1735 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1735 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1736 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1736 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1737 return o; | 1737 return o; |
| 1738 } | 1738 } |
| 1739 | 1739 |
| 1740 checkUnnamed287(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1740 checkUnnamed308(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
| 1741 unittest.expect(o, unittest.hasLength(2)); | 1741 unittest.expect(o, unittest.hasLength(2)); |
| 1742 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1742 checkDatafeedsCustomBatchResponseEntry(o[0]); |
| 1743 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1743 checkDatafeedsCustomBatchResponseEntry(o[1]); |
| 1744 } | 1744 } |
| 1745 | 1745 |
| 1746 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1746 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
| 1747 buildDatafeedsCustomBatchResponse() { | 1747 buildDatafeedsCustomBatchResponse() { |
| 1748 var o = new api.DatafeedsCustomBatchResponse(); | 1748 var o = new api.DatafeedsCustomBatchResponse(); |
| 1749 buildCounterDatafeedsCustomBatchResponse++; | 1749 buildCounterDatafeedsCustomBatchResponse++; |
| 1750 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1750 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1751 o.entries = buildUnnamed287(); | 1751 o.entries = buildUnnamed308(); |
| 1752 o.kind = "foo"; | 1752 o.kind = "foo"; |
| 1753 } | 1753 } |
| 1754 buildCounterDatafeedsCustomBatchResponse--; | 1754 buildCounterDatafeedsCustomBatchResponse--; |
| 1755 return o; | 1755 return o; |
| 1756 } | 1756 } |
| 1757 | 1757 |
| 1758 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1758 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
| 1759 buildCounterDatafeedsCustomBatchResponse++; | 1759 buildCounterDatafeedsCustomBatchResponse++; |
| 1760 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1760 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1761 checkUnnamed287(o.entries); | 1761 checkUnnamed308(o.entries); |
| 1762 unittest.expect(o.kind, unittest.equals('foo')); | 1762 unittest.expect(o.kind, unittest.equals('foo')); |
| 1763 } | 1763 } |
| 1764 buildCounterDatafeedsCustomBatchResponse--; | 1764 buildCounterDatafeedsCustomBatchResponse--; |
| 1765 } | 1765 } |
| 1766 | 1766 |
| 1767 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1767 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
| 1768 buildDatafeedsCustomBatchResponseEntry() { | 1768 buildDatafeedsCustomBatchResponseEntry() { |
| 1769 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1769 var o = new api.DatafeedsCustomBatchResponseEntry(); |
| 1770 buildCounterDatafeedsCustomBatchResponseEntry++; | 1770 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1771 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1771 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1772 o.batchId = 42; | 1772 o.batchId = 42; |
| 1773 o.datafeed = buildDatafeed(); | 1773 o.datafeed = buildDatafeed(); |
| 1774 o.errors = buildErrors(); | 1774 o.errors = buildErrors(); |
| 1775 } | 1775 } |
| 1776 buildCounterDatafeedsCustomBatchResponseEntry--; | 1776 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1777 return o; | 1777 return o; |
| 1778 } | 1778 } |
| 1779 | 1779 |
| 1780 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1780 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
| 1781 buildCounterDatafeedsCustomBatchResponseEntry++; | 1781 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1782 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1782 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1783 unittest.expect(o.batchId, unittest.equals(42)); | 1783 unittest.expect(o.batchId, unittest.equals(42)); |
| 1784 checkDatafeed(o.datafeed); | 1784 checkDatafeed(o.datafeed); |
| 1785 checkErrors(o.errors); | 1785 checkErrors(o.errors); |
| 1786 } | 1786 } |
| 1787 buildCounterDatafeedsCustomBatchResponseEntry--; | 1787 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1788 } | 1788 } |
| 1789 | 1789 |
| 1790 buildUnnamed288() { | 1790 buildUnnamed309() { |
| 1791 var o = new core.List<api.Datafeed>(); | 1791 var o = new core.List<api.Datafeed>(); |
| 1792 o.add(buildDatafeed()); | 1792 o.add(buildDatafeed()); |
| 1793 o.add(buildDatafeed()); | 1793 o.add(buildDatafeed()); |
| 1794 return o; | 1794 return o; |
| 1795 } | 1795 } |
| 1796 | 1796 |
| 1797 checkUnnamed288(core.List<api.Datafeed> o) { | 1797 checkUnnamed309(core.List<api.Datafeed> o) { |
| 1798 unittest.expect(o, unittest.hasLength(2)); | 1798 unittest.expect(o, unittest.hasLength(2)); |
| 1799 checkDatafeed(o[0]); | 1799 checkDatafeed(o[0]); |
| 1800 checkDatafeed(o[1]); | 1800 checkDatafeed(o[1]); |
| 1801 } | 1801 } |
| 1802 | 1802 |
| 1803 core.int buildCounterDatafeedsListResponse = 0; | 1803 core.int buildCounterDatafeedsListResponse = 0; |
| 1804 buildDatafeedsListResponse() { | 1804 buildDatafeedsListResponse() { |
| 1805 var o = new api.DatafeedsListResponse(); | 1805 var o = new api.DatafeedsListResponse(); |
| 1806 buildCounterDatafeedsListResponse++; | 1806 buildCounterDatafeedsListResponse++; |
| 1807 if (buildCounterDatafeedsListResponse < 3) { | 1807 if (buildCounterDatafeedsListResponse < 3) { |
| 1808 o.kind = "foo"; | 1808 o.kind = "foo"; |
| 1809 o.nextPageToken = "foo"; | 1809 o.nextPageToken = "foo"; |
| 1810 o.resources = buildUnnamed288(); | 1810 o.resources = buildUnnamed309(); |
| 1811 } | 1811 } |
| 1812 buildCounterDatafeedsListResponse--; | 1812 buildCounterDatafeedsListResponse--; |
| 1813 return o; | 1813 return o; |
| 1814 } | 1814 } |
| 1815 | 1815 |
| 1816 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1816 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
| 1817 buildCounterDatafeedsListResponse++; | 1817 buildCounterDatafeedsListResponse++; |
| 1818 if (buildCounterDatafeedsListResponse < 3) { | 1818 if (buildCounterDatafeedsListResponse < 3) { |
| 1819 unittest.expect(o.kind, unittest.equals('foo')); | 1819 unittest.expect(o.kind, unittest.equals('foo')); |
| 1820 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1820 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1821 checkUnnamed288(o.resources); | 1821 checkUnnamed309(o.resources); |
| 1822 } | 1822 } |
| 1823 buildCounterDatafeedsListResponse--; | 1823 buildCounterDatafeedsListResponse--; |
| 1824 } | 1824 } |
| 1825 | 1825 |
| 1826 buildUnnamed289() { | 1826 buildUnnamed310() { |
| 1827 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1827 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
| 1828 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1828 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1829 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1829 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1830 return o; | 1830 return o; |
| 1831 } | 1831 } |
| 1832 | 1832 |
| 1833 checkUnnamed289(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1833 checkUnnamed310(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
| 1834 unittest.expect(o, unittest.hasLength(2)); | 1834 unittest.expect(o, unittest.hasLength(2)); |
| 1835 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1835 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
| 1836 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1836 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
| 1837 } | 1837 } |
| 1838 | 1838 |
| 1839 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1839 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
| 1840 buildDatafeedstatusesCustomBatchRequest() { | 1840 buildDatafeedstatusesCustomBatchRequest() { |
| 1841 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1841 var o = new api.DatafeedstatusesCustomBatchRequest(); |
| 1842 buildCounterDatafeedstatusesCustomBatchRequest++; | 1842 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1843 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1843 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1844 o.entries = buildUnnamed289(); | 1844 o.entries = buildUnnamed310(); |
| 1845 } | 1845 } |
| 1846 buildCounterDatafeedstatusesCustomBatchRequest--; | 1846 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1847 return o; | 1847 return o; |
| 1848 } | 1848 } |
| 1849 | 1849 |
| 1850 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1850 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
| 1851 buildCounterDatafeedstatusesCustomBatchRequest++; | 1851 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1852 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1852 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1853 checkUnnamed289(o.entries); | 1853 checkUnnamed310(o.entries); |
| 1854 } | 1854 } |
| 1855 buildCounterDatafeedstatusesCustomBatchRequest--; | 1855 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1856 } | 1856 } |
| 1857 | 1857 |
| 1858 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1858 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
| 1859 buildDatafeedstatusesCustomBatchRequestEntry() { | 1859 buildDatafeedstatusesCustomBatchRequestEntry() { |
| 1860 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1860 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
| 1861 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1861 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1862 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1862 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1863 o.batchId = 42; | 1863 o.batchId = 42; |
| 1864 o.datafeedId = "foo"; | 1864 o.datafeedId = "foo"; |
| 1865 o.merchantId = "foo"; | 1865 o.merchantId = "foo"; |
| 1866 o.method = "foo"; | 1866 o.method = "foo"; |
| 1867 } | 1867 } |
| 1868 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1868 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1869 return o; | 1869 return o; |
| 1870 } | 1870 } |
| 1871 | 1871 |
| 1872 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1872 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
| 1873 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1873 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1874 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1874 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1875 unittest.expect(o.batchId, unittest.equals(42)); | 1875 unittest.expect(o.batchId, unittest.equals(42)); |
| 1876 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1876 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1877 unittest.expect(o.merchantId, unittest.equals('foo')); | 1877 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1878 unittest.expect(o.method, unittest.equals('foo')); | 1878 unittest.expect(o.method, unittest.equals('foo')); |
| 1879 } | 1879 } |
| 1880 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1880 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1881 } | 1881 } |
| 1882 | 1882 |
| 1883 buildUnnamed290() { | 1883 buildUnnamed311() { |
| 1884 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1884 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
| 1885 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1885 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1886 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1886 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1887 return o; | 1887 return o; |
| 1888 } | 1888 } |
| 1889 | 1889 |
| 1890 checkUnnamed290(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1890 checkUnnamed311(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
| 1891 unittest.expect(o, unittest.hasLength(2)); | 1891 unittest.expect(o, unittest.hasLength(2)); |
| 1892 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1892 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
| 1893 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1893 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
| 1894 } | 1894 } |
| 1895 | 1895 |
| 1896 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1896 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
| 1897 buildDatafeedstatusesCustomBatchResponse() { | 1897 buildDatafeedstatusesCustomBatchResponse() { |
| 1898 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1898 var o = new api.DatafeedstatusesCustomBatchResponse(); |
| 1899 buildCounterDatafeedstatusesCustomBatchResponse++; | 1899 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1900 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1900 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1901 o.entries = buildUnnamed290(); | 1901 o.entries = buildUnnamed311(); |
| 1902 o.kind = "foo"; | 1902 o.kind = "foo"; |
| 1903 } | 1903 } |
| 1904 buildCounterDatafeedstatusesCustomBatchResponse--; | 1904 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1905 return o; | 1905 return o; |
| 1906 } | 1906 } |
| 1907 | 1907 |
| 1908 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1908 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
| 1909 buildCounterDatafeedstatusesCustomBatchResponse++; | 1909 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1910 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1910 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1911 checkUnnamed290(o.entries); | 1911 checkUnnamed311(o.entries); |
| 1912 unittest.expect(o.kind, unittest.equals('foo')); | 1912 unittest.expect(o.kind, unittest.equals('foo')); |
| 1913 } | 1913 } |
| 1914 buildCounterDatafeedstatusesCustomBatchResponse--; | 1914 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1915 } | 1915 } |
| 1916 | 1916 |
| 1917 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1917 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
| 1918 buildDatafeedstatusesCustomBatchResponseEntry() { | 1918 buildDatafeedstatusesCustomBatchResponseEntry() { |
| 1919 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1919 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
| 1920 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1920 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1921 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1921 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1922 o.batchId = 42; | 1922 o.batchId = 42; |
| 1923 o.datafeedStatus = buildDatafeedStatus(); | 1923 o.datafeedStatus = buildDatafeedStatus(); |
| 1924 o.errors = buildErrors(); | 1924 o.errors = buildErrors(); |
| 1925 } | 1925 } |
| 1926 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1926 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1927 return o; | 1927 return o; |
| 1928 } | 1928 } |
| 1929 | 1929 |
| 1930 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1930 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
| 1931 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1931 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1932 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1932 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1933 unittest.expect(o.batchId, unittest.equals(42)); | 1933 unittest.expect(o.batchId, unittest.equals(42)); |
| 1934 checkDatafeedStatus(o.datafeedStatus); | 1934 checkDatafeedStatus(o.datafeedStatus); |
| 1935 checkErrors(o.errors); | 1935 checkErrors(o.errors); |
| 1936 } | 1936 } |
| 1937 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1937 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1938 } | 1938 } |
| 1939 | 1939 |
| 1940 buildUnnamed291() { | 1940 buildUnnamed312() { |
| 1941 var o = new core.List<api.DatafeedStatus>(); | 1941 var o = new core.List<api.DatafeedStatus>(); |
| 1942 o.add(buildDatafeedStatus()); | 1942 o.add(buildDatafeedStatus()); |
| 1943 o.add(buildDatafeedStatus()); | 1943 o.add(buildDatafeedStatus()); |
| 1944 return o; | 1944 return o; |
| 1945 } | 1945 } |
| 1946 | 1946 |
| 1947 checkUnnamed291(core.List<api.DatafeedStatus> o) { | 1947 checkUnnamed312(core.List<api.DatafeedStatus> o) { |
| 1948 unittest.expect(o, unittest.hasLength(2)); | 1948 unittest.expect(o, unittest.hasLength(2)); |
| 1949 checkDatafeedStatus(o[0]); | 1949 checkDatafeedStatus(o[0]); |
| 1950 checkDatafeedStatus(o[1]); | 1950 checkDatafeedStatus(o[1]); |
| 1951 } | 1951 } |
| 1952 | 1952 |
| 1953 core.int buildCounterDatafeedstatusesListResponse = 0; | 1953 core.int buildCounterDatafeedstatusesListResponse = 0; |
| 1954 buildDatafeedstatusesListResponse() { | 1954 buildDatafeedstatusesListResponse() { |
| 1955 var o = new api.DatafeedstatusesListResponse(); | 1955 var o = new api.DatafeedstatusesListResponse(); |
| 1956 buildCounterDatafeedstatusesListResponse++; | 1956 buildCounterDatafeedstatusesListResponse++; |
| 1957 if (buildCounterDatafeedstatusesListResponse < 3) { | 1957 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1958 o.kind = "foo"; | 1958 o.kind = "foo"; |
| 1959 o.nextPageToken = "foo"; | 1959 o.nextPageToken = "foo"; |
| 1960 o.resources = buildUnnamed291(); | 1960 o.resources = buildUnnamed312(); |
| 1961 } | 1961 } |
| 1962 buildCounterDatafeedstatusesListResponse--; | 1962 buildCounterDatafeedstatusesListResponse--; |
| 1963 return o; | 1963 return o; |
| 1964 } | 1964 } |
| 1965 | 1965 |
| 1966 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1966 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
| 1967 buildCounterDatafeedstatusesListResponse++; | 1967 buildCounterDatafeedstatusesListResponse++; |
| 1968 if (buildCounterDatafeedstatusesListResponse < 3) { | 1968 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1969 unittest.expect(o.kind, unittest.equals('foo')); | 1969 unittest.expect(o.kind, unittest.equals('foo')); |
| 1970 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1970 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1971 checkUnnamed291(o.resources); | 1971 checkUnnamed312(o.resources); |
| 1972 } | 1972 } |
| 1973 buildCounterDatafeedstatusesListResponse--; | 1973 buildCounterDatafeedstatusesListResponse--; |
| 1974 } | 1974 } |
| 1975 | 1975 |
| 1976 core.int buildCounterDeliveryTime = 0; | 1976 core.int buildCounterDeliveryTime = 0; |
| 1977 buildDeliveryTime() { | 1977 buildDeliveryTime() { |
| 1978 var o = new api.DeliveryTime(); | 1978 var o = new api.DeliveryTime(); |
| 1979 buildCounterDeliveryTime++; | 1979 buildCounterDeliveryTime++; |
| 1980 if (buildCounterDeliveryTime < 3) { | 1980 if (buildCounterDeliveryTime < 3) { |
| 1981 o.maxTransitTimeInDays = 42; | 1981 o.maxTransitTimeInDays = 42; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2010 checkError(api.Error o) { | 2010 checkError(api.Error o) { |
| 2011 buildCounterError++; | 2011 buildCounterError++; |
| 2012 if (buildCounterError < 3) { | 2012 if (buildCounterError < 3) { |
| 2013 unittest.expect(o.domain, unittest.equals('foo')); | 2013 unittest.expect(o.domain, unittest.equals('foo')); |
| 2014 unittest.expect(o.message, unittest.equals('foo')); | 2014 unittest.expect(o.message, unittest.equals('foo')); |
| 2015 unittest.expect(o.reason, unittest.equals('foo')); | 2015 unittest.expect(o.reason, unittest.equals('foo')); |
| 2016 } | 2016 } |
| 2017 buildCounterError--; | 2017 buildCounterError--; |
| 2018 } | 2018 } |
| 2019 | 2019 |
| 2020 buildUnnamed292() { | 2020 buildUnnamed313() { |
| 2021 var o = new core.List<api.Error>(); | 2021 var o = new core.List<api.Error>(); |
| 2022 o.add(buildError()); | 2022 o.add(buildError()); |
| 2023 o.add(buildError()); | 2023 o.add(buildError()); |
| 2024 return o; | 2024 return o; |
| 2025 } | 2025 } |
| 2026 | 2026 |
| 2027 checkUnnamed292(core.List<api.Error> o) { | 2027 checkUnnamed313(core.List<api.Error> o) { |
| 2028 unittest.expect(o, unittest.hasLength(2)); | 2028 unittest.expect(o, unittest.hasLength(2)); |
| 2029 checkError(o[0]); | 2029 checkError(o[0]); |
| 2030 checkError(o[1]); | 2030 checkError(o[1]); |
| 2031 } | 2031 } |
| 2032 | 2032 |
| 2033 core.int buildCounterErrors = 0; | 2033 core.int buildCounterErrors = 0; |
| 2034 buildErrors() { | 2034 buildErrors() { |
| 2035 var o = new api.Errors(); | 2035 var o = new api.Errors(); |
| 2036 buildCounterErrors++; | 2036 buildCounterErrors++; |
| 2037 if (buildCounterErrors < 3) { | 2037 if (buildCounterErrors < 3) { |
| 2038 o.code = 42; | 2038 o.code = 42; |
| 2039 o.errors = buildUnnamed292(); | 2039 o.errors = buildUnnamed313(); |
| 2040 o.message = "foo"; | 2040 o.message = "foo"; |
| 2041 } | 2041 } |
| 2042 buildCounterErrors--; | 2042 buildCounterErrors--; |
| 2043 return o; | 2043 return o; |
| 2044 } | 2044 } |
| 2045 | 2045 |
| 2046 checkErrors(api.Errors o) { | 2046 checkErrors(api.Errors o) { |
| 2047 buildCounterErrors++; | 2047 buildCounterErrors++; |
| 2048 if (buildCounterErrors < 3) { | 2048 if (buildCounterErrors < 3) { |
| 2049 unittest.expect(o.code, unittest.equals(42)); | 2049 unittest.expect(o.code, unittest.equals(42)); |
| 2050 checkUnnamed292(o.errors); | 2050 checkUnnamed313(o.errors); |
| 2051 unittest.expect(o.message, unittest.equals('foo')); | 2051 unittest.expect(o.message, unittest.equals('foo')); |
| 2052 } | 2052 } |
| 2053 buildCounterErrors--; | 2053 buildCounterErrors--; |
| 2054 } | 2054 } |
| 2055 | 2055 |
| 2056 buildUnnamed293() { | 2056 buildUnnamed314() { |
| 2057 var o = new core.List<api.LocationIdSet>(); | 2057 var o = new core.List<api.LocationIdSet>(); |
| 2058 o.add(buildLocationIdSet()); | 2058 o.add(buildLocationIdSet()); |
| 2059 o.add(buildLocationIdSet()); | 2059 o.add(buildLocationIdSet()); |
| 2060 return o; | 2060 return o; |
| 2061 } | 2061 } |
| 2062 | 2062 |
| 2063 checkUnnamed293(core.List<api.LocationIdSet> o) { | 2063 checkUnnamed314(core.List<api.LocationIdSet> o) { |
| 2064 unittest.expect(o, unittest.hasLength(2)); | 2064 unittest.expect(o, unittest.hasLength(2)); |
| 2065 checkLocationIdSet(o[0]); | 2065 checkLocationIdSet(o[0]); |
| 2066 checkLocationIdSet(o[1]); | 2066 checkLocationIdSet(o[1]); |
| 2067 } | 2067 } |
| 2068 | 2068 |
| 2069 buildUnnamed294() { | 2069 buildUnnamed315() { |
| 2070 var o = new core.List<core.String>(); | 2070 var o = new core.List<core.String>(); |
| 2071 o.add("foo"); | 2071 o.add("foo"); |
| 2072 o.add("foo"); | 2072 o.add("foo"); |
| 2073 return o; | 2073 return o; |
| 2074 } | 2074 } |
| 2075 | 2075 |
| 2076 checkUnnamed294(core.List<core.String> o) { | 2076 checkUnnamed315(core.List<core.String> o) { |
| 2077 unittest.expect(o, unittest.hasLength(2)); | 2077 unittest.expect(o, unittest.hasLength(2)); |
| 2078 unittest.expect(o[0], unittest.equals('foo')); | 2078 unittest.expect(o[0], unittest.equals('foo')); |
| 2079 unittest.expect(o[1], unittest.equals('foo')); | 2079 unittest.expect(o[1], unittest.equals('foo')); |
| 2080 } | 2080 } |
| 2081 | 2081 |
| 2082 buildUnnamed295() { | 2082 buildUnnamed316() { |
| 2083 var o = new core.List<core.String>(); | 2083 var o = new core.List<core.String>(); |
| 2084 o.add("foo"); | 2084 o.add("foo"); |
| 2085 o.add("foo"); | 2085 o.add("foo"); |
| 2086 return o; | 2086 return o; |
| 2087 } | 2087 } |
| 2088 | 2088 |
| 2089 checkUnnamed295(core.List<core.String> o) { | 2089 checkUnnamed316(core.List<core.String> o) { |
| 2090 unittest.expect(o, unittest.hasLength(2)); | 2090 unittest.expect(o, unittest.hasLength(2)); |
| 2091 unittest.expect(o[0], unittest.equals('foo')); | 2091 unittest.expect(o[0], unittest.equals('foo')); |
| 2092 unittest.expect(o[1], unittest.equals('foo')); | 2092 unittest.expect(o[1], unittest.equals('foo')); |
| 2093 } | 2093 } |
| 2094 | 2094 |
| 2095 buildUnnamed296() { | 2095 buildUnnamed317() { |
| 2096 var o = new core.List<api.Price>(); | 2096 var o = new core.List<api.Price>(); |
| 2097 o.add(buildPrice()); | 2097 o.add(buildPrice()); |
| 2098 o.add(buildPrice()); | 2098 o.add(buildPrice()); |
| 2099 return o; | 2099 return o; |
| 2100 } | 2100 } |
| 2101 | 2101 |
| 2102 checkUnnamed296(core.List<api.Price> o) { | 2102 checkUnnamed317(core.List<api.Price> o) { |
| 2103 unittest.expect(o, unittest.hasLength(2)); | 2103 unittest.expect(o, unittest.hasLength(2)); |
| 2104 checkPrice(o[0]); | 2104 checkPrice(o[0]); |
| 2105 checkPrice(o[1]); | 2105 checkPrice(o[1]); |
| 2106 } | 2106 } |
| 2107 | 2107 |
| 2108 buildUnnamed297() { | 2108 buildUnnamed318() { |
| 2109 var o = new core.List<api.Weight>(); | 2109 var o = new core.List<api.Weight>(); |
| 2110 o.add(buildWeight()); | 2110 o.add(buildWeight()); |
| 2111 o.add(buildWeight()); | 2111 o.add(buildWeight()); |
| 2112 return o; | 2112 return o; |
| 2113 } | 2113 } |
| 2114 | 2114 |
| 2115 checkUnnamed297(core.List<api.Weight> o) { | 2115 checkUnnamed318(core.List<api.Weight> o) { |
| 2116 unittest.expect(o, unittest.hasLength(2)); | 2116 unittest.expect(o, unittest.hasLength(2)); |
| 2117 checkWeight(o[0]); | 2117 checkWeight(o[0]); |
| 2118 checkWeight(o[1]); | 2118 checkWeight(o[1]); |
| 2119 } | 2119 } |
| 2120 | 2120 |
| 2121 core.int buildCounterHeaders = 0; | 2121 core.int buildCounterHeaders = 0; |
| 2122 buildHeaders() { | 2122 buildHeaders() { |
| 2123 var o = new api.Headers(); | 2123 var o = new api.Headers(); |
| 2124 buildCounterHeaders++; | 2124 buildCounterHeaders++; |
| 2125 if (buildCounterHeaders < 3) { | 2125 if (buildCounterHeaders < 3) { |
| 2126 o.locations = buildUnnamed293(); | 2126 o.locations = buildUnnamed314(); |
| 2127 o.numberOfItems = buildUnnamed294(); | 2127 o.numberOfItems = buildUnnamed315(); |
| 2128 o.postalCodeGroupNames = buildUnnamed295(); | 2128 o.postalCodeGroupNames = buildUnnamed316(); |
| 2129 o.prices = buildUnnamed296(); | 2129 o.prices = buildUnnamed317(); |
| 2130 o.weights = buildUnnamed297(); | 2130 o.weights = buildUnnamed318(); |
| 2131 } | 2131 } |
| 2132 buildCounterHeaders--; | 2132 buildCounterHeaders--; |
| 2133 return o; | 2133 return o; |
| 2134 } | 2134 } |
| 2135 | 2135 |
| 2136 checkHeaders(api.Headers o) { | 2136 checkHeaders(api.Headers o) { |
| 2137 buildCounterHeaders++; | 2137 buildCounterHeaders++; |
| 2138 if (buildCounterHeaders < 3) { | 2138 if (buildCounterHeaders < 3) { |
| 2139 checkUnnamed293(o.locations); | 2139 checkUnnamed314(o.locations); |
| 2140 checkUnnamed294(o.numberOfItems); | 2140 checkUnnamed315(o.numberOfItems); |
| 2141 checkUnnamed295(o.postalCodeGroupNames); | 2141 checkUnnamed316(o.postalCodeGroupNames); |
| 2142 checkUnnamed296(o.prices); | 2142 checkUnnamed317(o.prices); |
| 2143 checkUnnamed297(o.weights); | 2143 checkUnnamed318(o.weights); |
| 2144 } | 2144 } |
| 2145 buildCounterHeaders--; | 2145 buildCounterHeaders--; |
| 2146 } | 2146 } |
| 2147 | 2147 |
| 2148 core.int buildCounterInstallment = 0; | 2148 core.int buildCounterInstallment = 0; |
| 2149 buildInstallment() { | 2149 buildInstallment() { |
| 2150 var o = new api.Installment(); | 2150 var o = new api.Installment(); |
| 2151 buildCounterInstallment++; | 2151 buildCounterInstallment++; |
| 2152 if (buildCounterInstallment < 3) { | 2152 if (buildCounterInstallment < 3) { |
| 2153 o.amount = buildPrice(); | 2153 o.amount = buildPrice(); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2196 checkInventoryPickup(o.pickup); | 2196 checkInventoryPickup(o.pickup); |
| 2197 checkPrice(o.price); | 2197 checkPrice(o.price); |
| 2198 unittest.expect(o.quantity, unittest.equals(42)); | 2198 unittest.expect(o.quantity, unittest.equals(42)); |
| 2199 checkPrice(o.salePrice); | 2199 checkPrice(o.salePrice); |
| 2200 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2200 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 2201 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 2201 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
| 2202 } | 2202 } |
| 2203 buildCounterInventory--; | 2203 buildCounterInventory--; |
| 2204 } | 2204 } |
| 2205 | 2205 |
| 2206 buildUnnamed298() { | 2206 buildUnnamed319() { |
| 2207 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 2207 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
| 2208 o.add(buildInventoryCustomBatchRequestEntry()); | 2208 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2209 o.add(buildInventoryCustomBatchRequestEntry()); | 2209 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2210 return o; | 2210 return o; |
| 2211 } | 2211 } |
| 2212 | 2212 |
| 2213 checkUnnamed298(core.List<api.InventoryCustomBatchRequestEntry> o) { | 2213 checkUnnamed319(core.List<api.InventoryCustomBatchRequestEntry> o) { |
| 2214 unittest.expect(o, unittest.hasLength(2)); | 2214 unittest.expect(o, unittest.hasLength(2)); |
| 2215 checkInventoryCustomBatchRequestEntry(o[0]); | 2215 checkInventoryCustomBatchRequestEntry(o[0]); |
| 2216 checkInventoryCustomBatchRequestEntry(o[1]); | 2216 checkInventoryCustomBatchRequestEntry(o[1]); |
| 2217 } | 2217 } |
| 2218 | 2218 |
| 2219 core.int buildCounterInventoryCustomBatchRequest = 0; | 2219 core.int buildCounterInventoryCustomBatchRequest = 0; |
| 2220 buildInventoryCustomBatchRequest() { | 2220 buildInventoryCustomBatchRequest() { |
| 2221 var o = new api.InventoryCustomBatchRequest(); | 2221 var o = new api.InventoryCustomBatchRequest(); |
| 2222 buildCounterInventoryCustomBatchRequest++; | 2222 buildCounterInventoryCustomBatchRequest++; |
| 2223 if (buildCounterInventoryCustomBatchRequest < 3) { | 2223 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2224 o.entries = buildUnnamed298(); | 2224 o.entries = buildUnnamed319(); |
| 2225 } | 2225 } |
| 2226 buildCounterInventoryCustomBatchRequest--; | 2226 buildCounterInventoryCustomBatchRequest--; |
| 2227 return o; | 2227 return o; |
| 2228 } | 2228 } |
| 2229 | 2229 |
| 2230 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 2230 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
| 2231 buildCounterInventoryCustomBatchRequest++; | 2231 buildCounterInventoryCustomBatchRequest++; |
| 2232 if (buildCounterInventoryCustomBatchRequest < 3) { | 2232 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2233 checkUnnamed298(o.entries); | 2233 checkUnnamed319(o.entries); |
| 2234 } | 2234 } |
| 2235 buildCounterInventoryCustomBatchRequest--; | 2235 buildCounterInventoryCustomBatchRequest--; |
| 2236 } | 2236 } |
| 2237 | 2237 |
| 2238 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 2238 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
| 2239 buildInventoryCustomBatchRequestEntry() { | 2239 buildInventoryCustomBatchRequestEntry() { |
| 2240 var o = new api.InventoryCustomBatchRequestEntry(); | 2240 var o = new api.InventoryCustomBatchRequestEntry(); |
| 2241 buildCounterInventoryCustomBatchRequestEntry++; | 2241 buildCounterInventoryCustomBatchRequestEntry++; |
| 2242 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2242 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2243 o.batchId = 42; | 2243 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2255 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2255 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2256 unittest.expect(o.batchId, unittest.equals(42)); | 2256 unittest.expect(o.batchId, unittest.equals(42)); |
| 2257 checkInventory(o.inventory); | 2257 checkInventory(o.inventory); |
| 2258 unittest.expect(o.merchantId, unittest.equals('foo')); | 2258 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2259 unittest.expect(o.productId, unittest.equals('foo')); | 2259 unittest.expect(o.productId, unittest.equals('foo')); |
| 2260 unittest.expect(o.storeCode, unittest.equals('foo')); | 2260 unittest.expect(o.storeCode, unittest.equals('foo')); |
| 2261 } | 2261 } |
| 2262 buildCounterInventoryCustomBatchRequestEntry--; | 2262 buildCounterInventoryCustomBatchRequestEntry--; |
| 2263 } | 2263 } |
| 2264 | 2264 |
| 2265 buildUnnamed299() { | 2265 buildUnnamed320() { |
| 2266 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 2266 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
| 2267 o.add(buildInventoryCustomBatchResponseEntry()); | 2267 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2268 o.add(buildInventoryCustomBatchResponseEntry()); | 2268 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2269 return o; | 2269 return o; |
| 2270 } | 2270 } |
| 2271 | 2271 |
| 2272 checkUnnamed299(core.List<api.InventoryCustomBatchResponseEntry> o) { | 2272 checkUnnamed320(core.List<api.InventoryCustomBatchResponseEntry> o) { |
| 2273 unittest.expect(o, unittest.hasLength(2)); | 2273 unittest.expect(o, unittest.hasLength(2)); |
| 2274 checkInventoryCustomBatchResponseEntry(o[0]); | 2274 checkInventoryCustomBatchResponseEntry(o[0]); |
| 2275 checkInventoryCustomBatchResponseEntry(o[1]); | 2275 checkInventoryCustomBatchResponseEntry(o[1]); |
| 2276 } | 2276 } |
| 2277 | 2277 |
| 2278 core.int buildCounterInventoryCustomBatchResponse = 0; | 2278 core.int buildCounterInventoryCustomBatchResponse = 0; |
| 2279 buildInventoryCustomBatchResponse() { | 2279 buildInventoryCustomBatchResponse() { |
| 2280 var o = new api.InventoryCustomBatchResponse(); | 2280 var o = new api.InventoryCustomBatchResponse(); |
| 2281 buildCounterInventoryCustomBatchResponse++; | 2281 buildCounterInventoryCustomBatchResponse++; |
| 2282 if (buildCounterInventoryCustomBatchResponse < 3) { | 2282 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2283 o.entries = buildUnnamed299(); | 2283 o.entries = buildUnnamed320(); |
| 2284 o.kind = "foo"; | 2284 o.kind = "foo"; |
| 2285 } | 2285 } |
| 2286 buildCounterInventoryCustomBatchResponse--; | 2286 buildCounterInventoryCustomBatchResponse--; |
| 2287 return o; | 2287 return o; |
| 2288 } | 2288 } |
| 2289 | 2289 |
| 2290 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 2290 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
| 2291 buildCounterInventoryCustomBatchResponse++; | 2291 buildCounterInventoryCustomBatchResponse++; |
| 2292 if (buildCounterInventoryCustomBatchResponse < 3) { | 2292 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2293 checkUnnamed299(o.entries); | 2293 checkUnnamed320(o.entries); |
| 2294 unittest.expect(o.kind, unittest.equals('foo')); | 2294 unittest.expect(o.kind, unittest.equals('foo')); |
| 2295 } | 2295 } |
| 2296 buildCounterInventoryCustomBatchResponse--; | 2296 buildCounterInventoryCustomBatchResponse--; |
| 2297 } | 2297 } |
| 2298 | 2298 |
| 2299 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 2299 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
| 2300 buildInventoryCustomBatchResponseEntry() { | 2300 buildInventoryCustomBatchResponseEntry() { |
| 2301 var o = new api.InventoryCustomBatchResponseEntry(); | 2301 var o = new api.InventoryCustomBatchResponseEntry(); |
| 2302 buildCounterInventoryCustomBatchResponseEntry++; | 2302 buildCounterInventoryCustomBatchResponseEntry++; |
| 2303 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2303 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2387 } | 2387 } |
| 2388 | 2388 |
| 2389 checkInventorySetResponse(api.InventorySetResponse o) { | 2389 checkInventorySetResponse(api.InventorySetResponse o) { |
| 2390 buildCounterInventorySetResponse++; | 2390 buildCounterInventorySetResponse++; |
| 2391 if (buildCounterInventorySetResponse < 3) { | 2391 if (buildCounterInventorySetResponse < 3) { |
| 2392 unittest.expect(o.kind, unittest.equals('foo')); | 2392 unittest.expect(o.kind, unittest.equals('foo')); |
| 2393 } | 2393 } |
| 2394 buildCounterInventorySetResponse--; | 2394 buildCounterInventorySetResponse--; |
| 2395 } | 2395 } |
| 2396 | 2396 |
| 2397 buildUnnamed300() { | 2397 buildUnnamed321() { |
| 2398 var o = new core.List<core.String>(); | 2398 var o = new core.List<core.String>(); |
| 2399 o.add("foo"); | 2399 o.add("foo"); |
| 2400 o.add("foo"); | 2400 o.add("foo"); |
| 2401 return o; | 2401 return o; |
| 2402 } | 2402 } |
| 2403 | 2403 |
| 2404 checkUnnamed300(core.List<core.String> o) { | 2404 checkUnnamed321(core.List<core.String> o) { |
| 2405 unittest.expect(o, unittest.hasLength(2)); | 2405 unittest.expect(o, unittest.hasLength(2)); |
| 2406 unittest.expect(o[0], unittest.equals('foo')); | 2406 unittest.expect(o[0], unittest.equals('foo')); |
| 2407 unittest.expect(o[1], unittest.equals('foo')); | 2407 unittest.expect(o[1], unittest.equals('foo')); |
| 2408 } | 2408 } |
| 2409 | 2409 |
| 2410 core.int buildCounterLocationIdSet = 0; | 2410 core.int buildCounterLocationIdSet = 0; |
| 2411 buildLocationIdSet() { | 2411 buildLocationIdSet() { |
| 2412 var o = new api.LocationIdSet(); | 2412 var o = new api.LocationIdSet(); |
| 2413 buildCounterLocationIdSet++; | 2413 buildCounterLocationIdSet++; |
| 2414 if (buildCounterLocationIdSet < 3) { | 2414 if (buildCounterLocationIdSet < 3) { |
| 2415 o.locationIds = buildUnnamed300(); | 2415 o.locationIds = buildUnnamed321(); |
| 2416 } | 2416 } |
| 2417 buildCounterLocationIdSet--; | 2417 buildCounterLocationIdSet--; |
| 2418 return o; | 2418 return o; |
| 2419 } | 2419 } |
| 2420 | 2420 |
| 2421 checkLocationIdSet(api.LocationIdSet o) { | 2421 checkLocationIdSet(api.LocationIdSet o) { |
| 2422 buildCounterLocationIdSet++; | 2422 buildCounterLocationIdSet++; |
| 2423 if (buildCounterLocationIdSet < 3) { | 2423 if (buildCounterLocationIdSet < 3) { |
| 2424 checkUnnamed300(o.locationIds); | 2424 checkUnnamed321(o.locationIds); |
| 2425 } | 2425 } |
| 2426 buildCounterLocationIdSet--; | 2426 buildCounterLocationIdSet--; |
| 2427 } | 2427 } |
| 2428 | 2428 |
| 2429 core.int buildCounterLoyaltyPoints = 0; | 2429 core.int buildCounterLoyaltyPoints = 0; |
| 2430 buildLoyaltyPoints() { | 2430 buildLoyaltyPoints() { |
| 2431 var o = new api.LoyaltyPoints(); | 2431 var o = new api.LoyaltyPoints(); |
| 2432 buildCounterLoyaltyPoints++; | 2432 buildCounterLoyaltyPoints++; |
| 2433 if (buildCounterLoyaltyPoints < 3) { | 2433 if (buildCounterLoyaltyPoints < 3) { |
| 2434 o.name = "foo"; | 2434 o.name = "foo"; |
| 2435 o.pointsValue = "foo"; | 2435 o.pointsValue = "foo"; |
| 2436 o.ratio = 42.0; | 2436 o.ratio = 42.0; |
| 2437 } | 2437 } |
| 2438 buildCounterLoyaltyPoints--; | 2438 buildCounterLoyaltyPoints--; |
| 2439 return o; | 2439 return o; |
| 2440 } | 2440 } |
| 2441 | 2441 |
| 2442 checkLoyaltyPoints(api.LoyaltyPoints o) { | 2442 checkLoyaltyPoints(api.LoyaltyPoints o) { |
| 2443 buildCounterLoyaltyPoints++; | 2443 buildCounterLoyaltyPoints++; |
| 2444 if (buildCounterLoyaltyPoints < 3) { | 2444 if (buildCounterLoyaltyPoints < 3) { |
| 2445 unittest.expect(o.name, unittest.equals('foo')); | 2445 unittest.expect(o.name, unittest.equals('foo')); |
| 2446 unittest.expect(o.pointsValue, unittest.equals('foo')); | 2446 unittest.expect(o.pointsValue, unittest.equals('foo')); |
| 2447 unittest.expect(o.ratio, unittest.equals(42.0)); | 2447 unittest.expect(o.ratio, unittest.equals(42.0)); |
| 2448 } | 2448 } |
| 2449 buildCounterLoyaltyPoints--; | 2449 buildCounterLoyaltyPoints--; |
| 2450 } | 2450 } |
| 2451 | 2451 |
| 2452 buildUnnamed301() { | 2452 buildUnnamed322() { |
| 2453 var o = new core.List<api.OrderLineItem>(); | 2453 var o = new core.List<api.OrderLineItem>(); |
| 2454 o.add(buildOrderLineItem()); | 2454 o.add(buildOrderLineItem()); |
| 2455 o.add(buildOrderLineItem()); | 2455 o.add(buildOrderLineItem()); |
| 2456 return o; | 2456 return o; |
| 2457 } | 2457 } |
| 2458 | 2458 |
| 2459 checkUnnamed301(core.List<api.OrderLineItem> o) { | 2459 checkUnnamed322(core.List<api.OrderLineItem> o) { |
| 2460 unittest.expect(o, unittest.hasLength(2)); | 2460 unittest.expect(o, unittest.hasLength(2)); |
| 2461 checkOrderLineItem(o[0]); | 2461 checkOrderLineItem(o[0]); |
| 2462 checkOrderLineItem(o[1]); | 2462 checkOrderLineItem(o[1]); |
| 2463 } | 2463 } |
| 2464 | 2464 |
| 2465 buildUnnamed302() { | 2465 buildUnnamed323() { |
| 2466 var o = new core.List<api.OrderPromotion>(); | 2466 var o = new core.List<api.OrderPromotion>(); |
| 2467 o.add(buildOrderPromotion()); | 2467 o.add(buildOrderPromotion()); |
| 2468 o.add(buildOrderPromotion()); | 2468 o.add(buildOrderPromotion()); |
| 2469 return o; | 2469 return o; |
| 2470 } | 2470 } |
| 2471 | 2471 |
| 2472 checkUnnamed302(core.List<api.OrderPromotion> o) { | 2472 checkUnnamed323(core.List<api.OrderPromotion> o) { |
| 2473 unittest.expect(o, unittest.hasLength(2)); | 2473 unittest.expect(o, unittest.hasLength(2)); |
| 2474 checkOrderPromotion(o[0]); | 2474 checkOrderPromotion(o[0]); |
| 2475 checkOrderPromotion(o[1]); | 2475 checkOrderPromotion(o[1]); |
| 2476 } | 2476 } |
| 2477 | 2477 |
| 2478 buildUnnamed303() { | 2478 buildUnnamed324() { |
| 2479 var o = new core.List<api.OrderRefund>(); | 2479 var o = new core.List<api.OrderRefund>(); |
| 2480 o.add(buildOrderRefund()); | 2480 o.add(buildOrderRefund()); |
| 2481 o.add(buildOrderRefund()); | 2481 o.add(buildOrderRefund()); |
| 2482 return o; | 2482 return o; |
| 2483 } | 2483 } |
| 2484 | 2484 |
| 2485 checkUnnamed303(core.List<api.OrderRefund> o) { | 2485 checkUnnamed324(core.List<api.OrderRefund> o) { |
| 2486 unittest.expect(o, unittest.hasLength(2)); | 2486 unittest.expect(o, unittest.hasLength(2)); |
| 2487 checkOrderRefund(o[0]); | 2487 checkOrderRefund(o[0]); |
| 2488 checkOrderRefund(o[1]); | 2488 checkOrderRefund(o[1]); |
| 2489 } | 2489 } |
| 2490 | 2490 |
| 2491 buildUnnamed304() { | 2491 buildUnnamed325() { |
| 2492 var o = new core.List<api.OrderShipment>(); | 2492 var o = new core.List<api.OrderShipment>(); |
| 2493 o.add(buildOrderShipment()); | 2493 o.add(buildOrderShipment()); |
| 2494 o.add(buildOrderShipment()); | 2494 o.add(buildOrderShipment()); |
| 2495 return o; | 2495 return o; |
| 2496 } | 2496 } |
| 2497 | 2497 |
| 2498 checkUnnamed304(core.List<api.OrderShipment> o) { | 2498 checkUnnamed325(core.List<api.OrderShipment> o) { |
| 2499 unittest.expect(o, unittest.hasLength(2)); | 2499 unittest.expect(o, unittest.hasLength(2)); |
| 2500 checkOrderShipment(o[0]); | 2500 checkOrderShipment(o[0]); |
| 2501 checkOrderShipment(o[1]); | 2501 checkOrderShipment(o[1]); |
| 2502 } | 2502 } |
| 2503 | 2503 |
| 2504 core.int buildCounterOrder = 0; | 2504 core.int buildCounterOrder = 0; |
| 2505 buildOrder() { | 2505 buildOrder() { |
| 2506 var o = new api.Order(); | 2506 var o = new api.Order(); |
| 2507 buildCounterOrder++; | 2507 buildCounterOrder++; |
| 2508 if (buildCounterOrder < 3) { | 2508 if (buildCounterOrder < 3) { |
| 2509 o.acknowledged = true; | 2509 o.acknowledged = true; |
| 2510 o.channelType = "foo"; | 2510 o.channelType = "foo"; |
| 2511 o.customer = buildOrderCustomer(); | 2511 o.customer = buildOrderCustomer(); |
| 2512 o.deliveryDetails = buildOrderDeliveryDetails(); | 2512 o.deliveryDetails = buildOrderDeliveryDetails(); |
| 2513 o.id = "foo"; | 2513 o.id = "foo"; |
| 2514 o.kind = "foo"; | 2514 o.kind = "foo"; |
| 2515 o.lineItems = buildUnnamed301(); | 2515 o.lineItems = buildUnnamed322(); |
| 2516 o.merchantId = "foo"; | 2516 o.merchantId = "foo"; |
| 2517 o.merchantOrderId = "foo"; | 2517 o.merchantOrderId = "foo"; |
| 2518 o.netAmount = buildPrice(); | 2518 o.netAmount = buildPrice(); |
| 2519 o.paymentMethod = buildOrderPaymentMethod(); | 2519 o.paymentMethod = buildOrderPaymentMethod(); |
| 2520 o.paymentStatus = "foo"; | 2520 o.paymentStatus = "foo"; |
| 2521 o.placedDate = "foo"; | 2521 o.placedDate = "foo"; |
| 2522 o.promotions = buildUnnamed302(); | 2522 o.promotions = buildUnnamed323(); |
| 2523 o.refunds = buildUnnamed303(); | 2523 o.refunds = buildUnnamed324(); |
| 2524 o.shipments = buildUnnamed304(); | 2524 o.shipments = buildUnnamed325(); |
| 2525 o.shippingCost = buildPrice(); | 2525 o.shippingCost = buildPrice(); |
| 2526 o.shippingCostTax = buildPrice(); | 2526 o.shippingCostTax = buildPrice(); |
| 2527 o.shippingOption = "foo"; | 2527 o.shippingOption = "foo"; |
| 2528 o.status = "foo"; | 2528 o.status = "foo"; |
| 2529 } | 2529 } |
| 2530 buildCounterOrder--; | 2530 buildCounterOrder--; |
| 2531 return o; | 2531 return o; |
| 2532 } | 2532 } |
| 2533 | 2533 |
| 2534 checkOrder(api.Order o) { | 2534 checkOrder(api.Order o) { |
| 2535 buildCounterOrder++; | 2535 buildCounterOrder++; |
| 2536 if (buildCounterOrder < 3) { | 2536 if (buildCounterOrder < 3) { |
| 2537 unittest.expect(o.acknowledged, unittest.isTrue); | 2537 unittest.expect(o.acknowledged, unittest.isTrue); |
| 2538 unittest.expect(o.channelType, unittest.equals('foo')); | 2538 unittest.expect(o.channelType, unittest.equals('foo')); |
| 2539 checkOrderCustomer(o.customer); | 2539 checkOrderCustomer(o.customer); |
| 2540 checkOrderDeliveryDetails(o.deliveryDetails); | 2540 checkOrderDeliveryDetails(o.deliveryDetails); |
| 2541 unittest.expect(o.id, unittest.equals('foo')); | 2541 unittest.expect(o.id, unittest.equals('foo')); |
| 2542 unittest.expect(o.kind, unittest.equals('foo')); | 2542 unittest.expect(o.kind, unittest.equals('foo')); |
| 2543 checkUnnamed301(o.lineItems); | 2543 checkUnnamed322(o.lineItems); |
| 2544 unittest.expect(o.merchantId, unittest.equals('foo')); | 2544 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2545 unittest.expect(o.merchantOrderId, unittest.equals('foo')); | 2545 unittest.expect(o.merchantOrderId, unittest.equals('foo')); |
| 2546 checkPrice(o.netAmount); | 2546 checkPrice(o.netAmount); |
| 2547 checkOrderPaymentMethod(o.paymentMethod); | 2547 checkOrderPaymentMethod(o.paymentMethod); |
| 2548 unittest.expect(o.paymentStatus, unittest.equals('foo')); | 2548 unittest.expect(o.paymentStatus, unittest.equals('foo')); |
| 2549 unittest.expect(o.placedDate, unittest.equals('foo')); | 2549 unittest.expect(o.placedDate, unittest.equals('foo')); |
| 2550 checkUnnamed302(o.promotions); | 2550 checkUnnamed323(o.promotions); |
| 2551 checkUnnamed303(o.refunds); | 2551 checkUnnamed324(o.refunds); |
| 2552 checkUnnamed304(o.shipments); | 2552 checkUnnamed325(o.shipments); |
| 2553 checkPrice(o.shippingCost); | 2553 checkPrice(o.shippingCost); |
| 2554 checkPrice(o.shippingCostTax); | 2554 checkPrice(o.shippingCostTax); |
| 2555 unittest.expect(o.shippingOption, unittest.equals('foo')); | 2555 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 2556 unittest.expect(o.status, unittest.equals('foo')); | 2556 unittest.expect(o.status, unittest.equals('foo')); |
| 2557 } | 2557 } |
| 2558 buildCounterOrder--; | 2558 buildCounterOrder--; |
| 2559 } | 2559 } |
| 2560 | 2560 |
| 2561 buildUnnamed305() { | 2561 buildUnnamed326() { |
| 2562 var o = new core.List<core.String>(); | 2562 var o = new core.List<core.String>(); |
| 2563 o.add("foo"); | 2563 o.add("foo"); |
| 2564 o.add("foo"); | 2564 o.add("foo"); |
| 2565 return o; | 2565 return o; |
| 2566 } | 2566 } |
| 2567 | 2567 |
| 2568 checkUnnamed305(core.List<core.String> o) { | 2568 checkUnnamed326(core.List<core.String> o) { |
| 2569 unittest.expect(o, unittest.hasLength(2)); | 2569 unittest.expect(o, unittest.hasLength(2)); |
| 2570 unittest.expect(o[0], unittest.equals('foo')); | 2570 unittest.expect(o[0], unittest.equals('foo')); |
| 2571 unittest.expect(o[1], unittest.equals('foo')); | 2571 unittest.expect(o[1], unittest.equals('foo')); |
| 2572 } | 2572 } |
| 2573 | 2573 |
| 2574 buildUnnamed306() { | 2574 buildUnnamed327() { |
| 2575 var o = new core.List<core.String>(); | 2575 var o = new core.List<core.String>(); |
| 2576 o.add("foo"); | 2576 o.add("foo"); |
| 2577 o.add("foo"); | 2577 o.add("foo"); |
| 2578 return o; | 2578 return o; |
| 2579 } | 2579 } |
| 2580 | 2580 |
| 2581 checkUnnamed306(core.List<core.String> o) { | 2581 checkUnnamed327(core.List<core.String> o) { |
| 2582 unittest.expect(o, unittest.hasLength(2)); | 2582 unittest.expect(o, unittest.hasLength(2)); |
| 2583 unittest.expect(o[0], unittest.equals('foo')); | 2583 unittest.expect(o[0], unittest.equals('foo')); |
| 2584 unittest.expect(o[1], unittest.equals('foo')); | 2584 unittest.expect(o[1], unittest.equals('foo')); |
| 2585 } | 2585 } |
| 2586 | 2586 |
| 2587 core.int buildCounterOrderAddress = 0; | 2587 core.int buildCounterOrderAddress = 0; |
| 2588 buildOrderAddress() { | 2588 buildOrderAddress() { |
| 2589 var o = new api.OrderAddress(); | 2589 var o = new api.OrderAddress(); |
| 2590 buildCounterOrderAddress++; | 2590 buildCounterOrderAddress++; |
| 2591 if (buildCounterOrderAddress < 3) { | 2591 if (buildCounterOrderAddress < 3) { |
| 2592 o.country = "foo"; | 2592 o.country = "foo"; |
| 2593 o.fullAddress = buildUnnamed305(); | 2593 o.fullAddress = buildUnnamed326(); |
| 2594 o.isPostOfficeBox = true; | 2594 o.isPostOfficeBox = true; |
| 2595 o.locality = "foo"; | 2595 o.locality = "foo"; |
| 2596 o.postalCode = "foo"; | 2596 o.postalCode = "foo"; |
| 2597 o.recipientName = "foo"; | 2597 o.recipientName = "foo"; |
| 2598 o.region = "foo"; | 2598 o.region = "foo"; |
| 2599 o.streetAddress = buildUnnamed306(); | 2599 o.streetAddress = buildUnnamed327(); |
| 2600 } | 2600 } |
| 2601 buildCounterOrderAddress--; | 2601 buildCounterOrderAddress--; |
| 2602 return o; | 2602 return o; |
| 2603 } | 2603 } |
| 2604 | 2604 |
| 2605 checkOrderAddress(api.OrderAddress o) { | 2605 checkOrderAddress(api.OrderAddress o) { |
| 2606 buildCounterOrderAddress++; | 2606 buildCounterOrderAddress++; |
| 2607 if (buildCounterOrderAddress < 3) { | 2607 if (buildCounterOrderAddress < 3) { |
| 2608 unittest.expect(o.country, unittest.equals('foo')); | 2608 unittest.expect(o.country, unittest.equals('foo')); |
| 2609 checkUnnamed305(o.fullAddress); | 2609 checkUnnamed326(o.fullAddress); |
| 2610 unittest.expect(o.isPostOfficeBox, unittest.isTrue); | 2610 unittest.expect(o.isPostOfficeBox, unittest.isTrue); |
| 2611 unittest.expect(o.locality, unittest.equals('foo')); | 2611 unittest.expect(o.locality, unittest.equals('foo')); |
| 2612 unittest.expect(o.postalCode, unittest.equals('foo')); | 2612 unittest.expect(o.postalCode, unittest.equals('foo')); |
| 2613 unittest.expect(o.recipientName, unittest.equals('foo')); | 2613 unittest.expect(o.recipientName, unittest.equals('foo')); |
| 2614 unittest.expect(o.region, unittest.equals('foo')); | 2614 unittest.expect(o.region, unittest.equals('foo')); |
| 2615 checkUnnamed306(o.streetAddress); | 2615 checkUnnamed327(o.streetAddress); |
| 2616 } | 2616 } |
| 2617 buildCounterOrderAddress--; | 2617 buildCounterOrderAddress--; |
| 2618 } | 2618 } |
| 2619 | 2619 |
| 2620 core.int buildCounterOrderCancellation = 0; | 2620 core.int buildCounterOrderCancellation = 0; |
| 2621 buildOrderCancellation() { | 2621 buildOrderCancellation() { |
| 2622 var o = new api.OrderCancellation(); | 2622 var o = new api.OrderCancellation(); |
| 2623 buildCounterOrderCancellation++; | 2623 buildCounterOrderCancellation++; |
| 2624 if (buildCounterOrderCancellation < 3) { | 2624 if (buildCounterOrderCancellation < 3) { |
| 2625 o.actor = "foo"; | 2625 o.actor = "foo"; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2681 | 2681 |
| 2682 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { | 2682 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { |
| 2683 buildCounterOrderDeliveryDetails++; | 2683 buildCounterOrderDeliveryDetails++; |
| 2684 if (buildCounterOrderDeliveryDetails < 3) { | 2684 if (buildCounterOrderDeliveryDetails < 3) { |
| 2685 checkOrderAddress(o.address); | 2685 checkOrderAddress(o.address); |
| 2686 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2686 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2687 } | 2687 } |
| 2688 buildCounterOrderDeliveryDetails--; | 2688 buildCounterOrderDeliveryDetails--; |
| 2689 } | 2689 } |
| 2690 | 2690 |
| 2691 buildUnnamed307() { | 2691 buildUnnamed328() { |
| 2692 var o = new core.List<api.OrderCancellation>(); | 2692 var o = new core.List<api.OrderCancellation>(); |
| 2693 o.add(buildOrderCancellation()); | 2693 o.add(buildOrderCancellation()); |
| 2694 o.add(buildOrderCancellation()); | 2694 o.add(buildOrderCancellation()); |
| 2695 return o; | 2695 return o; |
| 2696 } | 2696 } |
| 2697 | 2697 |
| 2698 checkUnnamed307(core.List<api.OrderCancellation> o) { | 2698 checkUnnamed328(core.List<api.OrderCancellation> o) { |
| 2699 unittest.expect(o, unittest.hasLength(2)); | 2699 unittest.expect(o, unittest.hasLength(2)); |
| 2700 checkOrderCancellation(o[0]); | 2700 checkOrderCancellation(o[0]); |
| 2701 checkOrderCancellation(o[1]); | 2701 checkOrderCancellation(o[1]); |
| 2702 } | 2702 } |
| 2703 | 2703 |
| 2704 buildUnnamed308() { | 2704 buildUnnamed329() { |
| 2705 var o = new core.List<api.OrderReturn>(); | 2705 var o = new core.List<api.OrderReturn>(); |
| 2706 o.add(buildOrderReturn()); | 2706 o.add(buildOrderReturn()); |
| 2707 o.add(buildOrderReturn()); | 2707 o.add(buildOrderReturn()); |
| 2708 return o; | 2708 return o; |
| 2709 } | 2709 } |
| 2710 | 2710 |
| 2711 checkUnnamed308(core.List<api.OrderReturn> o) { | 2711 checkUnnamed329(core.List<api.OrderReturn> o) { |
| 2712 unittest.expect(o, unittest.hasLength(2)); | 2712 unittest.expect(o, unittest.hasLength(2)); |
| 2713 checkOrderReturn(o[0]); | 2713 checkOrderReturn(o[0]); |
| 2714 checkOrderReturn(o[1]); | 2714 checkOrderReturn(o[1]); |
| 2715 } | 2715 } |
| 2716 | 2716 |
| 2717 core.int buildCounterOrderLineItem = 0; | 2717 core.int buildCounterOrderLineItem = 0; |
| 2718 buildOrderLineItem() { | 2718 buildOrderLineItem() { |
| 2719 var o = new api.OrderLineItem(); | 2719 var o = new api.OrderLineItem(); |
| 2720 buildCounterOrderLineItem++; | 2720 buildCounterOrderLineItem++; |
| 2721 if (buildCounterOrderLineItem < 3) { | 2721 if (buildCounterOrderLineItem < 3) { |
| 2722 o.cancellations = buildUnnamed307(); | 2722 o.cancellations = buildUnnamed328(); |
| 2723 o.id = "foo"; | 2723 o.id = "foo"; |
| 2724 o.price = buildPrice(); | 2724 o.price = buildPrice(); |
| 2725 o.product = buildOrderLineItemProduct(); | 2725 o.product = buildOrderLineItemProduct(); |
| 2726 o.quantityCanceled = 42; | 2726 o.quantityCanceled = 42; |
| 2727 o.quantityDelivered = 42; | 2727 o.quantityDelivered = 42; |
| 2728 o.quantityOrdered = 42; | 2728 o.quantityOrdered = 42; |
| 2729 o.quantityPending = 42; | 2729 o.quantityPending = 42; |
| 2730 o.quantityReturned = 42; | 2730 o.quantityReturned = 42; |
| 2731 o.quantityShipped = 42; | 2731 o.quantityShipped = 42; |
| 2732 o.returnInfo = buildOrderLineItemReturnInfo(); | 2732 o.returnInfo = buildOrderLineItemReturnInfo(); |
| 2733 o.returns = buildUnnamed308(); | 2733 o.returns = buildUnnamed329(); |
| 2734 o.shippingDetails = buildOrderLineItemShippingDetails(); | 2734 o.shippingDetails = buildOrderLineItemShippingDetails(); |
| 2735 o.tax = buildPrice(); | 2735 o.tax = buildPrice(); |
| 2736 } | 2736 } |
| 2737 buildCounterOrderLineItem--; | 2737 buildCounterOrderLineItem--; |
| 2738 return o; | 2738 return o; |
| 2739 } | 2739 } |
| 2740 | 2740 |
| 2741 checkOrderLineItem(api.OrderLineItem o) { | 2741 checkOrderLineItem(api.OrderLineItem o) { |
| 2742 buildCounterOrderLineItem++; | 2742 buildCounterOrderLineItem++; |
| 2743 if (buildCounterOrderLineItem < 3) { | 2743 if (buildCounterOrderLineItem < 3) { |
| 2744 checkUnnamed307(o.cancellations); | 2744 checkUnnamed328(o.cancellations); |
| 2745 unittest.expect(o.id, unittest.equals('foo')); | 2745 unittest.expect(o.id, unittest.equals('foo')); |
| 2746 checkPrice(o.price); | 2746 checkPrice(o.price); |
| 2747 checkOrderLineItemProduct(o.product); | 2747 checkOrderLineItemProduct(o.product); |
| 2748 unittest.expect(o.quantityCanceled, unittest.equals(42)); | 2748 unittest.expect(o.quantityCanceled, unittest.equals(42)); |
| 2749 unittest.expect(o.quantityDelivered, unittest.equals(42)); | 2749 unittest.expect(o.quantityDelivered, unittest.equals(42)); |
| 2750 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 2750 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 2751 unittest.expect(o.quantityPending, unittest.equals(42)); | 2751 unittest.expect(o.quantityPending, unittest.equals(42)); |
| 2752 unittest.expect(o.quantityReturned, unittest.equals(42)); | 2752 unittest.expect(o.quantityReturned, unittest.equals(42)); |
| 2753 unittest.expect(o.quantityShipped, unittest.equals(42)); | 2753 unittest.expect(o.quantityShipped, unittest.equals(42)); |
| 2754 checkOrderLineItemReturnInfo(o.returnInfo); | 2754 checkOrderLineItemReturnInfo(o.returnInfo); |
| 2755 checkUnnamed308(o.returns); | 2755 checkUnnamed329(o.returns); |
| 2756 checkOrderLineItemShippingDetails(o.shippingDetails); | 2756 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 2757 checkPrice(o.tax); | 2757 checkPrice(o.tax); |
| 2758 } | 2758 } |
| 2759 buildCounterOrderLineItem--; | 2759 buildCounterOrderLineItem--; |
| 2760 } | 2760 } |
| 2761 | 2761 |
| 2762 buildUnnamed309() { | 2762 buildUnnamed330() { |
| 2763 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 2763 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 2764 o.add(buildOrderLineItemProductVariantAttribute()); | 2764 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2765 o.add(buildOrderLineItemProductVariantAttribute()); | 2765 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2766 return o; | 2766 return o; |
| 2767 } | 2767 } |
| 2768 | 2768 |
| 2769 checkUnnamed309(core.List<api.OrderLineItemProductVariantAttribute> o) { | 2769 checkUnnamed330(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 2770 unittest.expect(o, unittest.hasLength(2)); | 2770 unittest.expect(o, unittest.hasLength(2)); |
| 2771 checkOrderLineItemProductVariantAttribute(o[0]); | 2771 checkOrderLineItemProductVariantAttribute(o[0]); |
| 2772 checkOrderLineItemProductVariantAttribute(o[1]); | 2772 checkOrderLineItemProductVariantAttribute(o[1]); |
| 2773 } | 2773 } |
| 2774 | 2774 |
| 2775 core.int buildCounterOrderLineItemProduct = 0; | 2775 core.int buildCounterOrderLineItemProduct = 0; |
| 2776 buildOrderLineItemProduct() { | 2776 buildOrderLineItemProduct() { |
| 2777 var o = new api.OrderLineItemProduct(); | 2777 var o = new api.OrderLineItemProduct(); |
| 2778 buildCounterOrderLineItemProduct++; | 2778 buildCounterOrderLineItemProduct++; |
| 2779 if (buildCounterOrderLineItemProduct < 3) { | 2779 if (buildCounterOrderLineItemProduct < 3) { |
| 2780 o.brand = "foo"; | 2780 o.brand = "foo"; |
| 2781 o.channel = "foo"; | 2781 o.channel = "foo"; |
| 2782 o.condition = "foo"; | 2782 o.condition = "foo"; |
| 2783 o.contentLanguage = "foo"; | 2783 o.contentLanguage = "foo"; |
| 2784 o.gtin = "foo"; | 2784 o.gtin = "foo"; |
| 2785 o.id = "foo"; | 2785 o.id = "foo"; |
| 2786 o.imageLink = "foo"; | 2786 o.imageLink = "foo"; |
| 2787 o.itemGroupId = "foo"; | 2787 o.itemGroupId = "foo"; |
| 2788 o.mpn = "foo"; | 2788 o.mpn = "foo"; |
| 2789 o.offerId = "foo"; | 2789 o.offerId = "foo"; |
| 2790 o.price = buildPrice(); | 2790 o.price = buildPrice(); |
| 2791 o.shownImage = "foo"; | 2791 o.shownImage = "foo"; |
| 2792 o.targetCountry = "foo"; | 2792 o.targetCountry = "foo"; |
| 2793 o.title = "foo"; | 2793 o.title = "foo"; |
| 2794 o.variantAttributes = buildUnnamed309(); | 2794 o.variantAttributes = buildUnnamed330(); |
| 2795 } | 2795 } |
| 2796 buildCounterOrderLineItemProduct--; | 2796 buildCounterOrderLineItemProduct--; |
| 2797 return o; | 2797 return o; |
| 2798 } | 2798 } |
| 2799 | 2799 |
| 2800 checkOrderLineItemProduct(api.OrderLineItemProduct o) { | 2800 checkOrderLineItemProduct(api.OrderLineItemProduct o) { |
| 2801 buildCounterOrderLineItemProduct++; | 2801 buildCounterOrderLineItemProduct++; |
| 2802 if (buildCounterOrderLineItemProduct < 3) { | 2802 if (buildCounterOrderLineItemProduct < 3) { |
| 2803 unittest.expect(o.brand, unittest.equals('foo')); | 2803 unittest.expect(o.brand, unittest.equals('foo')); |
| 2804 unittest.expect(o.channel, unittest.equals('foo')); | 2804 unittest.expect(o.channel, unittest.equals('foo')); |
| 2805 unittest.expect(o.condition, unittest.equals('foo')); | 2805 unittest.expect(o.condition, unittest.equals('foo')); |
| 2806 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2806 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 2807 unittest.expect(o.gtin, unittest.equals('foo')); | 2807 unittest.expect(o.gtin, unittest.equals('foo')); |
| 2808 unittest.expect(o.id, unittest.equals('foo')); | 2808 unittest.expect(o.id, unittest.equals('foo')); |
| 2809 unittest.expect(o.imageLink, unittest.equals('foo')); | 2809 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 2810 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2810 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 2811 unittest.expect(o.mpn, unittest.equals('foo')); | 2811 unittest.expect(o.mpn, unittest.equals('foo')); |
| 2812 unittest.expect(o.offerId, unittest.equals('foo')); | 2812 unittest.expect(o.offerId, unittest.equals('foo')); |
| 2813 checkPrice(o.price); | 2813 checkPrice(o.price); |
| 2814 unittest.expect(o.shownImage, unittest.equals('foo')); | 2814 unittest.expect(o.shownImage, unittest.equals('foo')); |
| 2815 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2815 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 2816 unittest.expect(o.title, unittest.equals('foo')); | 2816 unittest.expect(o.title, unittest.equals('foo')); |
| 2817 checkUnnamed309(o.variantAttributes); | 2817 checkUnnamed330(o.variantAttributes); |
| 2818 } | 2818 } |
| 2819 buildCounterOrderLineItemProduct--; | 2819 buildCounterOrderLineItemProduct--; |
| 2820 } | 2820 } |
| 2821 | 2821 |
| 2822 core.int buildCounterOrderLineItemProductVariantAttribute = 0; | 2822 core.int buildCounterOrderLineItemProductVariantAttribute = 0; |
| 2823 buildOrderLineItemProductVariantAttribute() { | 2823 buildOrderLineItemProductVariantAttribute() { |
| 2824 var o = new api.OrderLineItemProductVariantAttribute(); | 2824 var o = new api.OrderLineItemProductVariantAttribute(); |
| 2825 buildCounterOrderLineItemProductVariantAttribute++; | 2825 buildCounterOrderLineItemProductVariantAttribute++; |
| 2826 if (buildCounterOrderLineItemProductVariantAttribute < 3) { | 2826 if (buildCounterOrderLineItemProductVariantAttribute < 3) { |
| 2827 o.dimension = "foo"; | 2827 o.dimension = "foo"; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2933 checkOrderAddress(o.billingAddress); | 2933 checkOrderAddress(o.billingAddress); |
| 2934 unittest.expect(o.expirationMonth, unittest.equals(42)); | 2934 unittest.expect(o.expirationMonth, unittest.equals(42)); |
| 2935 unittest.expect(o.expirationYear, unittest.equals(42)); | 2935 unittest.expect(o.expirationYear, unittest.equals(42)); |
| 2936 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 2936 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
| 2937 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2937 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2938 unittest.expect(o.type, unittest.equals('foo')); | 2938 unittest.expect(o.type, unittest.equals('foo')); |
| 2939 } | 2939 } |
| 2940 buildCounterOrderPaymentMethod--; | 2940 buildCounterOrderPaymentMethod--; |
| 2941 } | 2941 } |
| 2942 | 2942 |
| 2943 buildUnnamed310() { | 2943 buildUnnamed331() { |
| 2944 var o = new core.List<api.OrderPromotionBenefit>(); | 2944 var o = new core.List<api.OrderPromotionBenefit>(); |
| 2945 o.add(buildOrderPromotionBenefit()); | 2945 o.add(buildOrderPromotionBenefit()); |
| 2946 o.add(buildOrderPromotionBenefit()); | 2946 o.add(buildOrderPromotionBenefit()); |
| 2947 return o; | 2947 return o; |
| 2948 } | 2948 } |
| 2949 | 2949 |
| 2950 checkUnnamed310(core.List<api.OrderPromotionBenefit> o) { | 2950 checkUnnamed331(core.List<api.OrderPromotionBenefit> o) { |
| 2951 unittest.expect(o, unittest.hasLength(2)); | 2951 unittest.expect(o, unittest.hasLength(2)); |
| 2952 checkOrderPromotionBenefit(o[0]); | 2952 checkOrderPromotionBenefit(o[0]); |
| 2953 checkOrderPromotionBenefit(o[1]); | 2953 checkOrderPromotionBenefit(o[1]); |
| 2954 } | 2954 } |
| 2955 | 2955 |
| 2956 core.int buildCounterOrderPromotion = 0; | 2956 core.int buildCounterOrderPromotion = 0; |
| 2957 buildOrderPromotion() { | 2957 buildOrderPromotion() { |
| 2958 var o = new api.OrderPromotion(); | 2958 var o = new api.OrderPromotion(); |
| 2959 buildCounterOrderPromotion++; | 2959 buildCounterOrderPromotion++; |
| 2960 if (buildCounterOrderPromotion < 3) { | 2960 if (buildCounterOrderPromotion < 3) { |
| 2961 o.benefits = buildUnnamed310(); | 2961 o.benefits = buildUnnamed331(); |
| 2962 o.effectiveDates = "foo"; | 2962 o.effectiveDates = "foo"; |
| 2963 o.genericRedemptionCode = "foo"; | 2963 o.genericRedemptionCode = "foo"; |
| 2964 o.id = "foo"; | 2964 o.id = "foo"; |
| 2965 o.longTitle = "foo"; | 2965 o.longTitle = "foo"; |
| 2966 o.productApplicability = "foo"; | 2966 o.productApplicability = "foo"; |
| 2967 o.redemptionChannel = "foo"; | 2967 o.redemptionChannel = "foo"; |
| 2968 } | 2968 } |
| 2969 buildCounterOrderPromotion--; | 2969 buildCounterOrderPromotion--; |
| 2970 return o; | 2970 return o; |
| 2971 } | 2971 } |
| 2972 | 2972 |
| 2973 checkOrderPromotion(api.OrderPromotion o) { | 2973 checkOrderPromotion(api.OrderPromotion o) { |
| 2974 buildCounterOrderPromotion++; | 2974 buildCounterOrderPromotion++; |
| 2975 if (buildCounterOrderPromotion < 3) { | 2975 if (buildCounterOrderPromotion < 3) { |
| 2976 checkUnnamed310(o.benefits); | 2976 checkUnnamed331(o.benefits); |
| 2977 unittest.expect(o.effectiveDates, unittest.equals('foo')); | 2977 unittest.expect(o.effectiveDates, unittest.equals('foo')); |
| 2978 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); | 2978 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); |
| 2979 unittest.expect(o.id, unittest.equals('foo')); | 2979 unittest.expect(o.id, unittest.equals('foo')); |
| 2980 unittest.expect(o.longTitle, unittest.equals('foo')); | 2980 unittest.expect(o.longTitle, unittest.equals('foo')); |
| 2981 unittest.expect(o.productApplicability, unittest.equals('foo')); | 2981 unittest.expect(o.productApplicability, unittest.equals('foo')); |
| 2982 unittest.expect(o.redemptionChannel, unittest.equals('foo')); | 2982 unittest.expect(o.redemptionChannel, unittest.equals('foo')); |
| 2983 } | 2983 } |
| 2984 buildCounterOrderPromotion--; | 2984 buildCounterOrderPromotion--; |
| 2985 } | 2985 } |
| 2986 | 2986 |
| 2987 buildUnnamed311() { | 2987 buildUnnamed332() { |
| 2988 var o = new core.List<core.String>(); | 2988 var o = new core.List<core.String>(); |
| 2989 o.add("foo"); | 2989 o.add("foo"); |
| 2990 o.add("foo"); | 2990 o.add("foo"); |
| 2991 return o; | 2991 return o; |
| 2992 } | 2992 } |
| 2993 | 2993 |
| 2994 checkUnnamed311(core.List<core.String> o) { | 2994 checkUnnamed332(core.List<core.String> o) { |
| 2995 unittest.expect(o, unittest.hasLength(2)); | 2995 unittest.expect(o, unittest.hasLength(2)); |
| 2996 unittest.expect(o[0], unittest.equals('foo')); | 2996 unittest.expect(o[0], unittest.equals('foo')); |
| 2997 unittest.expect(o[1], unittest.equals('foo')); | 2997 unittest.expect(o[1], unittest.equals('foo')); |
| 2998 } | 2998 } |
| 2999 | 2999 |
| 3000 core.int buildCounterOrderPromotionBenefit = 0; | 3000 core.int buildCounterOrderPromotionBenefit = 0; |
| 3001 buildOrderPromotionBenefit() { | 3001 buildOrderPromotionBenefit() { |
| 3002 var o = new api.OrderPromotionBenefit(); | 3002 var o = new api.OrderPromotionBenefit(); |
| 3003 buildCounterOrderPromotionBenefit++; | 3003 buildCounterOrderPromotionBenefit++; |
| 3004 if (buildCounterOrderPromotionBenefit < 3) { | 3004 if (buildCounterOrderPromotionBenefit < 3) { |
| 3005 o.discount = buildPrice(); | 3005 o.discount = buildPrice(); |
| 3006 o.offerIds = buildUnnamed311(); | 3006 o.offerIds = buildUnnamed332(); |
| 3007 o.subType = "foo"; | 3007 o.subType = "foo"; |
| 3008 o.taxImpact = buildPrice(); | 3008 o.taxImpact = buildPrice(); |
| 3009 o.type = "foo"; | 3009 o.type = "foo"; |
| 3010 } | 3010 } |
| 3011 buildCounterOrderPromotionBenefit--; | 3011 buildCounterOrderPromotionBenefit--; |
| 3012 return o; | 3012 return o; |
| 3013 } | 3013 } |
| 3014 | 3014 |
| 3015 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { | 3015 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { |
| 3016 buildCounterOrderPromotionBenefit++; | 3016 buildCounterOrderPromotionBenefit++; |
| 3017 if (buildCounterOrderPromotionBenefit < 3) { | 3017 if (buildCounterOrderPromotionBenefit < 3) { |
| 3018 checkPrice(o.discount); | 3018 checkPrice(o.discount); |
| 3019 checkUnnamed311(o.offerIds); | 3019 checkUnnamed332(o.offerIds); |
| 3020 unittest.expect(o.subType, unittest.equals('foo')); | 3020 unittest.expect(o.subType, unittest.equals('foo')); |
| 3021 checkPrice(o.taxImpact); | 3021 checkPrice(o.taxImpact); |
| 3022 unittest.expect(o.type, unittest.equals('foo')); | 3022 unittest.expect(o.type, unittest.equals('foo')); |
| 3023 } | 3023 } |
| 3024 buildCounterOrderPromotionBenefit--; | 3024 buildCounterOrderPromotionBenefit--; |
| 3025 } | 3025 } |
| 3026 | 3026 |
| 3027 core.int buildCounterOrderRefund = 0; | 3027 core.int buildCounterOrderRefund = 0; |
| 3028 buildOrderRefund() { | 3028 buildOrderRefund() { |
| 3029 var o = new api.OrderRefund(); | 3029 var o = new api.OrderRefund(); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3071 if (buildCounterOrderReturn < 3) { | 3071 if (buildCounterOrderReturn < 3) { |
| 3072 unittest.expect(o.actor, unittest.equals('foo')); | 3072 unittest.expect(o.actor, unittest.equals('foo')); |
| 3073 unittest.expect(o.creationDate, unittest.equals('foo')); | 3073 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 3074 unittest.expect(o.quantity, unittest.equals(42)); | 3074 unittest.expect(o.quantity, unittest.equals(42)); |
| 3075 unittest.expect(o.reason, unittest.equals('foo')); | 3075 unittest.expect(o.reason, unittest.equals('foo')); |
| 3076 unittest.expect(o.reasonText, unittest.equals('foo')); | 3076 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 3077 } | 3077 } |
| 3078 buildCounterOrderReturn--; | 3078 buildCounterOrderReturn--; |
| 3079 } | 3079 } |
| 3080 | 3080 |
| 3081 buildUnnamed312() { | 3081 buildUnnamed333() { |
| 3082 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3082 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3083 o.add(buildOrderShipmentLineItemShipment()); | 3083 o.add(buildOrderShipmentLineItemShipment()); |
| 3084 o.add(buildOrderShipmentLineItemShipment()); | 3084 o.add(buildOrderShipmentLineItemShipment()); |
| 3085 return o; | 3085 return o; |
| 3086 } | 3086 } |
| 3087 | 3087 |
| 3088 checkUnnamed312(core.List<api.OrderShipmentLineItemShipment> o) { | 3088 checkUnnamed333(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3089 unittest.expect(o, unittest.hasLength(2)); | 3089 unittest.expect(o, unittest.hasLength(2)); |
| 3090 checkOrderShipmentLineItemShipment(o[0]); | 3090 checkOrderShipmentLineItemShipment(o[0]); |
| 3091 checkOrderShipmentLineItemShipment(o[1]); | 3091 checkOrderShipmentLineItemShipment(o[1]); |
| 3092 } | 3092 } |
| 3093 | 3093 |
| 3094 core.int buildCounterOrderShipment = 0; | 3094 core.int buildCounterOrderShipment = 0; |
| 3095 buildOrderShipment() { | 3095 buildOrderShipment() { |
| 3096 var o = new api.OrderShipment(); | 3096 var o = new api.OrderShipment(); |
| 3097 buildCounterOrderShipment++; | 3097 buildCounterOrderShipment++; |
| 3098 if (buildCounterOrderShipment < 3) { | 3098 if (buildCounterOrderShipment < 3) { |
| 3099 o.carrier = "foo"; | 3099 o.carrier = "foo"; |
| 3100 o.creationDate = "foo"; | 3100 o.creationDate = "foo"; |
| 3101 o.deliveryDate = "foo"; | 3101 o.deliveryDate = "foo"; |
| 3102 o.id = "foo"; | 3102 o.id = "foo"; |
| 3103 o.lineItems = buildUnnamed312(); | 3103 o.lineItems = buildUnnamed333(); |
| 3104 o.status = "foo"; | 3104 o.status = "foo"; |
| 3105 o.trackingId = "foo"; | 3105 o.trackingId = "foo"; |
| 3106 } | 3106 } |
| 3107 buildCounterOrderShipment--; | 3107 buildCounterOrderShipment--; |
| 3108 return o; | 3108 return o; |
| 3109 } | 3109 } |
| 3110 | 3110 |
| 3111 checkOrderShipment(api.OrderShipment o) { | 3111 checkOrderShipment(api.OrderShipment o) { |
| 3112 buildCounterOrderShipment++; | 3112 buildCounterOrderShipment++; |
| 3113 if (buildCounterOrderShipment < 3) { | 3113 if (buildCounterOrderShipment < 3) { |
| 3114 unittest.expect(o.carrier, unittest.equals('foo')); | 3114 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3115 unittest.expect(o.creationDate, unittest.equals('foo')); | 3115 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 3116 unittest.expect(o.deliveryDate, unittest.equals('foo')); | 3116 unittest.expect(o.deliveryDate, unittest.equals('foo')); |
| 3117 unittest.expect(o.id, unittest.equals('foo')); | 3117 unittest.expect(o.id, unittest.equals('foo')); |
| 3118 checkUnnamed312(o.lineItems); | 3118 checkUnnamed333(o.lineItems); |
| 3119 unittest.expect(o.status, unittest.equals('foo')); | 3119 unittest.expect(o.status, unittest.equals('foo')); |
| 3120 unittest.expect(o.trackingId, unittest.equals('foo')); | 3120 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3121 } | 3121 } |
| 3122 buildCounterOrderShipment--; | 3122 buildCounterOrderShipment--; |
| 3123 } | 3123 } |
| 3124 | 3124 |
| 3125 core.int buildCounterOrderShipmentLineItemShipment = 0; | 3125 core.int buildCounterOrderShipmentLineItemShipment = 0; |
| 3126 buildOrderShipmentLineItemShipment() { | 3126 buildOrderShipmentLineItemShipment() { |
| 3127 var o = new api.OrderShipmentLineItemShipment(); | 3127 var o = new api.OrderShipmentLineItemShipment(); |
| 3128 buildCounterOrderShipmentLineItemShipment++; | 3128 buildCounterOrderShipmentLineItemShipment++; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3331 | 3331 |
| 3332 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { | 3332 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { |
| 3333 buildCounterOrdersCreateTestOrderResponse++; | 3333 buildCounterOrdersCreateTestOrderResponse++; |
| 3334 if (buildCounterOrdersCreateTestOrderResponse < 3) { | 3334 if (buildCounterOrdersCreateTestOrderResponse < 3) { |
| 3335 unittest.expect(o.kind, unittest.equals('foo')); | 3335 unittest.expect(o.kind, unittest.equals('foo')); |
| 3336 unittest.expect(o.orderId, unittest.equals('foo')); | 3336 unittest.expect(o.orderId, unittest.equals('foo')); |
| 3337 } | 3337 } |
| 3338 buildCounterOrdersCreateTestOrderResponse--; | 3338 buildCounterOrdersCreateTestOrderResponse--; |
| 3339 } | 3339 } |
| 3340 | 3340 |
| 3341 buildUnnamed313() { | 3341 buildUnnamed334() { |
| 3342 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); | 3342 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); |
| 3343 o.add(buildOrdersCustomBatchRequestEntry()); | 3343 o.add(buildOrdersCustomBatchRequestEntry()); |
| 3344 o.add(buildOrdersCustomBatchRequestEntry()); | 3344 o.add(buildOrdersCustomBatchRequestEntry()); |
| 3345 return o; | 3345 return o; |
| 3346 } | 3346 } |
| 3347 | 3347 |
| 3348 checkUnnamed313(core.List<api.OrdersCustomBatchRequestEntry> o) { | 3348 checkUnnamed334(core.List<api.OrdersCustomBatchRequestEntry> o) { |
| 3349 unittest.expect(o, unittest.hasLength(2)); | 3349 unittest.expect(o, unittest.hasLength(2)); |
| 3350 checkOrdersCustomBatchRequestEntry(o[0]); | 3350 checkOrdersCustomBatchRequestEntry(o[0]); |
| 3351 checkOrdersCustomBatchRequestEntry(o[1]); | 3351 checkOrdersCustomBatchRequestEntry(o[1]); |
| 3352 } | 3352 } |
| 3353 | 3353 |
| 3354 core.int buildCounterOrdersCustomBatchRequest = 0; | 3354 core.int buildCounterOrdersCustomBatchRequest = 0; |
| 3355 buildOrdersCustomBatchRequest() { | 3355 buildOrdersCustomBatchRequest() { |
| 3356 var o = new api.OrdersCustomBatchRequest(); | 3356 var o = new api.OrdersCustomBatchRequest(); |
| 3357 buildCounterOrdersCustomBatchRequest++; | 3357 buildCounterOrdersCustomBatchRequest++; |
| 3358 if (buildCounterOrdersCustomBatchRequest < 3) { | 3358 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3359 o.entries = buildUnnamed313(); | 3359 o.entries = buildUnnamed334(); |
| 3360 } | 3360 } |
| 3361 buildCounterOrdersCustomBatchRequest--; | 3361 buildCounterOrdersCustomBatchRequest--; |
| 3362 return o; | 3362 return o; |
| 3363 } | 3363 } |
| 3364 | 3364 |
| 3365 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { | 3365 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { |
| 3366 buildCounterOrdersCustomBatchRequest++; | 3366 buildCounterOrdersCustomBatchRequest++; |
| 3367 if (buildCounterOrdersCustomBatchRequest < 3) { | 3367 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3368 checkUnnamed313(o.entries); | 3368 checkUnnamed334(o.entries); |
| 3369 } | 3369 } |
| 3370 buildCounterOrdersCustomBatchRequest--; | 3370 buildCounterOrdersCustomBatchRequest--; |
| 3371 } | 3371 } |
| 3372 | 3372 |
| 3373 core.int buildCounterOrdersCustomBatchRequestEntry = 0; | 3373 core.int buildCounterOrdersCustomBatchRequestEntry = 0; |
| 3374 buildOrdersCustomBatchRequestEntry() { | 3374 buildOrdersCustomBatchRequestEntry() { |
| 3375 var o = new api.OrdersCustomBatchRequestEntry(); | 3375 var o = new api.OrdersCustomBatchRequestEntry(); |
| 3376 buildCounterOrdersCustomBatchRequestEntry++; | 3376 buildCounterOrdersCustomBatchRequestEntry++; |
| 3377 if (buildCounterOrdersCustomBatchRequestEntry < 3) { | 3377 if (buildCounterOrdersCustomBatchRequestEntry < 3) { |
| 3378 o.batchId = 42; | 3378 o.batchId = 42; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3500 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; | 3500 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; |
| 3501 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { | 3501 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { |
| 3502 unittest.expect(o.lineItemId, unittest.equals('foo')); | 3502 unittest.expect(o.lineItemId, unittest.equals('foo')); |
| 3503 unittest.expect(o.quantity, unittest.equals(42)); | 3503 unittest.expect(o.quantity, unittest.equals(42)); |
| 3504 unittest.expect(o.reason, unittest.equals('foo')); | 3504 unittest.expect(o.reason, unittest.equals('foo')); |
| 3505 unittest.expect(o.reasonText, unittest.equals('foo')); | 3505 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 3506 } | 3506 } |
| 3507 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; | 3507 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; |
| 3508 } | 3508 } |
| 3509 | 3509 |
| 3510 buildUnnamed314() { | 3510 buildUnnamed335() { |
| 3511 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3511 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3512 o.add(buildOrderShipmentLineItemShipment()); | 3512 o.add(buildOrderShipmentLineItemShipment()); |
| 3513 o.add(buildOrderShipmentLineItemShipment()); | 3513 o.add(buildOrderShipmentLineItemShipment()); |
| 3514 return o; | 3514 return o; |
| 3515 } | 3515 } |
| 3516 | 3516 |
| 3517 checkUnnamed314(core.List<api.OrderShipmentLineItemShipment> o) { | 3517 checkUnnamed335(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3518 unittest.expect(o, unittest.hasLength(2)); | 3518 unittest.expect(o, unittest.hasLength(2)); |
| 3519 checkOrderShipmentLineItemShipment(o[0]); | 3519 checkOrderShipmentLineItemShipment(o[0]); |
| 3520 checkOrderShipmentLineItemShipment(o[1]); | 3520 checkOrderShipmentLineItemShipment(o[1]); |
| 3521 } | 3521 } |
| 3522 | 3522 |
| 3523 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; | 3523 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; |
| 3524 buildOrdersCustomBatchRequestEntryShipLineItems() { | 3524 buildOrdersCustomBatchRequestEntryShipLineItems() { |
| 3525 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); | 3525 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); |
| 3526 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3526 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3527 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3527 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3528 o.carrier = "foo"; | 3528 o.carrier = "foo"; |
| 3529 o.lineItems = buildUnnamed314(); | 3529 o.lineItems = buildUnnamed335(); |
| 3530 o.shipmentId = "foo"; | 3530 o.shipmentId = "foo"; |
| 3531 o.trackingId = "foo"; | 3531 o.trackingId = "foo"; |
| 3532 } | 3532 } |
| 3533 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3533 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3534 return o; | 3534 return o; |
| 3535 } | 3535 } |
| 3536 | 3536 |
| 3537 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { | 3537 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { |
| 3538 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3538 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3539 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3539 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3540 unittest.expect(o.carrier, unittest.equals('foo')); | 3540 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3541 checkUnnamed314(o.lineItems); | 3541 checkUnnamed335(o.lineItems); |
| 3542 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3542 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3543 unittest.expect(o.trackingId, unittest.equals('foo')); | 3543 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3544 } | 3544 } |
| 3545 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3545 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3546 } | 3546 } |
| 3547 | 3547 |
| 3548 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; | 3548 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; |
| 3549 buildOrdersCustomBatchRequestEntryUpdateShipment() { | 3549 buildOrdersCustomBatchRequestEntryUpdateShipment() { |
| 3550 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); | 3550 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); |
| 3551 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3551 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3563 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3563 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| 3564 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { | 3564 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { |
| 3565 unittest.expect(o.carrier, unittest.equals('foo')); | 3565 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3566 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3566 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3567 unittest.expect(o.status, unittest.equals('foo')); | 3567 unittest.expect(o.status, unittest.equals('foo')); |
| 3568 unittest.expect(o.trackingId, unittest.equals('foo')); | 3568 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3569 } | 3569 } |
| 3570 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; | 3570 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; |
| 3571 } | 3571 } |
| 3572 | 3572 |
| 3573 buildUnnamed315() { | 3573 buildUnnamed336() { |
| 3574 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); | 3574 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); |
| 3575 o.add(buildOrdersCustomBatchResponseEntry()); | 3575 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3576 o.add(buildOrdersCustomBatchResponseEntry()); | 3576 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3577 return o; | 3577 return o; |
| 3578 } | 3578 } |
| 3579 | 3579 |
| 3580 checkUnnamed315(core.List<api.OrdersCustomBatchResponseEntry> o) { | 3580 checkUnnamed336(core.List<api.OrdersCustomBatchResponseEntry> o) { |
| 3581 unittest.expect(o, unittest.hasLength(2)); | 3581 unittest.expect(o, unittest.hasLength(2)); |
| 3582 checkOrdersCustomBatchResponseEntry(o[0]); | 3582 checkOrdersCustomBatchResponseEntry(o[0]); |
| 3583 checkOrdersCustomBatchResponseEntry(o[1]); | 3583 checkOrdersCustomBatchResponseEntry(o[1]); |
| 3584 } | 3584 } |
| 3585 | 3585 |
| 3586 core.int buildCounterOrdersCustomBatchResponse = 0; | 3586 core.int buildCounterOrdersCustomBatchResponse = 0; |
| 3587 buildOrdersCustomBatchResponse() { | 3587 buildOrdersCustomBatchResponse() { |
| 3588 var o = new api.OrdersCustomBatchResponse(); | 3588 var o = new api.OrdersCustomBatchResponse(); |
| 3589 buildCounterOrdersCustomBatchResponse++; | 3589 buildCounterOrdersCustomBatchResponse++; |
| 3590 if (buildCounterOrdersCustomBatchResponse < 3) { | 3590 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3591 o.entries = buildUnnamed315(); | 3591 o.entries = buildUnnamed336(); |
| 3592 o.kind = "foo"; | 3592 o.kind = "foo"; |
| 3593 } | 3593 } |
| 3594 buildCounterOrdersCustomBatchResponse--; | 3594 buildCounterOrdersCustomBatchResponse--; |
| 3595 return o; | 3595 return o; |
| 3596 } | 3596 } |
| 3597 | 3597 |
| 3598 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { | 3598 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { |
| 3599 buildCounterOrdersCustomBatchResponse++; | 3599 buildCounterOrdersCustomBatchResponse++; |
| 3600 if (buildCounterOrdersCustomBatchResponse < 3) { | 3600 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3601 checkUnnamed315(o.entries); | 3601 checkUnnamed336(o.entries); |
| 3602 unittest.expect(o.kind, unittest.equals('foo')); | 3602 unittest.expect(o.kind, unittest.equals('foo')); |
| 3603 } | 3603 } |
| 3604 buildCounterOrdersCustomBatchResponse--; | 3604 buildCounterOrdersCustomBatchResponse--; |
| 3605 } | 3605 } |
| 3606 | 3606 |
| 3607 core.int buildCounterOrdersCustomBatchResponseEntry = 0; | 3607 core.int buildCounterOrdersCustomBatchResponseEntry = 0; |
| 3608 buildOrdersCustomBatchResponseEntry() { | 3608 buildOrdersCustomBatchResponseEntry() { |
| 3609 var o = new api.OrdersCustomBatchResponseEntry(); | 3609 var o = new api.OrdersCustomBatchResponseEntry(); |
| 3610 buildCounterOrdersCustomBatchResponseEntry++; | 3610 buildCounterOrdersCustomBatchResponseEntry++; |
| 3611 if (buildCounterOrdersCustomBatchResponseEntry < 3) { | 3611 if (buildCounterOrdersCustomBatchResponseEntry < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3666 | 3666 |
| 3667 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { | 3667 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { |
| 3668 buildCounterOrdersGetTestOrderTemplateResponse++; | 3668 buildCounterOrdersGetTestOrderTemplateResponse++; |
| 3669 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { | 3669 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { |
| 3670 unittest.expect(o.kind, unittest.equals('foo')); | 3670 unittest.expect(o.kind, unittest.equals('foo')); |
| 3671 checkTestOrder(o.template); | 3671 checkTestOrder(o.template); |
| 3672 } | 3672 } |
| 3673 buildCounterOrdersGetTestOrderTemplateResponse--; | 3673 buildCounterOrdersGetTestOrderTemplateResponse--; |
| 3674 } | 3674 } |
| 3675 | 3675 |
| 3676 buildUnnamed316() { | 3676 buildUnnamed337() { |
| 3677 var o = new core.List<api.Order>(); | 3677 var o = new core.List<api.Order>(); |
| 3678 o.add(buildOrder()); | 3678 o.add(buildOrder()); |
| 3679 o.add(buildOrder()); | 3679 o.add(buildOrder()); |
| 3680 return o; | 3680 return o; |
| 3681 } | 3681 } |
| 3682 | 3682 |
| 3683 checkUnnamed316(core.List<api.Order> o) { | 3683 checkUnnamed337(core.List<api.Order> o) { |
| 3684 unittest.expect(o, unittest.hasLength(2)); | 3684 unittest.expect(o, unittest.hasLength(2)); |
| 3685 checkOrder(o[0]); | 3685 checkOrder(o[0]); |
| 3686 checkOrder(o[1]); | 3686 checkOrder(o[1]); |
| 3687 } | 3687 } |
| 3688 | 3688 |
| 3689 core.int buildCounterOrdersListResponse = 0; | 3689 core.int buildCounterOrdersListResponse = 0; |
| 3690 buildOrdersListResponse() { | 3690 buildOrdersListResponse() { |
| 3691 var o = new api.OrdersListResponse(); | 3691 var o = new api.OrdersListResponse(); |
| 3692 buildCounterOrdersListResponse++; | 3692 buildCounterOrdersListResponse++; |
| 3693 if (buildCounterOrdersListResponse < 3) { | 3693 if (buildCounterOrdersListResponse < 3) { |
| 3694 o.kind = "foo"; | 3694 o.kind = "foo"; |
| 3695 o.nextPageToken = "foo"; | 3695 o.nextPageToken = "foo"; |
| 3696 o.resources = buildUnnamed316(); | 3696 o.resources = buildUnnamed337(); |
| 3697 } | 3697 } |
| 3698 buildCounterOrdersListResponse--; | 3698 buildCounterOrdersListResponse--; |
| 3699 return o; | 3699 return o; |
| 3700 } | 3700 } |
| 3701 | 3701 |
| 3702 checkOrdersListResponse(api.OrdersListResponse o) { | 3702 checkOrdersListResponse(api.OrdersListResponse o) { |
| 3703 buildCounterOrdersListResponse++; | 3703 buildCounterOrdersListResponse++; |
| 3704 if (buildCounterOrdersListResponse < 3) { | 3704 if (buildCounterOrdersListResponse < 3) { |
| 3705 unittest.expect(o.kind, unittest.equals('foo')); | 3705 unittest.expect(o.kind, unittest.equals('foo')); |
| 3706 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3706 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3707 checkUnnamed316(o.resources); | 3707 checkUnnamed337(o.resources); |
| 3708 } | 3708 } |
| 3709 buildCounterOrdersListResponse--; | 3709 buildCounterOrdersListResponse--; |
| 3710 } | 3710 } |
| 3711 | 3711 |
| 3712 core.int buildCounterOrdersRefundRequest = 0; | 3712 core.int buildCounterOrdersRefundRequest = 0; |
| 3713 buildOrdersRefundRequest() { | 3713 buildOrdersRefundRequest() { |
| 3714 var o = new api.OrdersRefundRequest(); | 3714 var o = new api.OrdersRefundRequest(); |
| 3715 buildCounterOrdersRefundRequest++; | 3715 buildCounterOrdersRefundRequest++; |
| 3716 if (buildCounterOrdersRefundRequest < 3) { | 3716 if (buildCounterOrdersRefundRequest < 3) { |
| 3717 o.amount = buildPrice(); | 3717 o.amount = buildPrice(); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3796 | 3796 |
| 3797 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { | 3797 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { |
| 3798 buildCounterOrdersReturnLineItemResponse++; | 3798 buildCounterOrdersReturnLineItemResponse++; |
| 3799 if (buildCounterOrdersReturnLineItemResponse < 3) { | 3799 if (buildCounterOrdersReturnLineItemResponse < 3) { |
| 3800 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3800 unittest.expect(o.executionStatus, unittest.equals('foo')); |
| 3801 unittest.expect(o.kind, unittest.equals('foo')); | 3801 unittest.expect(o.kind, unittest.equals('foo')); |
| 3802 } | 3802 } |
| 3803 buildCounterOrdersReturnLineItemResponse--; | 3803 buildCounterOrdersReturnLineItemResponse--; |
| 3804 } | 3804 } |
| 3805 | 3805 |
| 3806 buildUnnamed317() { | 3806 buildUnnamed338() { |
| 3807 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3807 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3808 o.add(buildOrderShipmentLineItemShipment()); | 3808 o.add(buildOrderShipmentLineItemShipment()); |
| 3809 o.add(buildOrderShipmentLineItemShipment()); | 3809 o.add(buildOrderShipmentLineItemShipment()); |
| 3810 return o; | 3810 return o; |
| 3811 } | 3811 } |
| 3812 | 3812 |
| 3813 checkUnnamed317(core.List<api.OrderShipmentLineItemShipment> o) { | 3813 checkUnnamed338(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3814 unittest.expect(o, unittest.hasLength(2)); | 3814 unittest.expect(o, unittest.hasLength(2)); |
| 3815 checkOrderShipmentLineItemShipment(o[0]); | 3815 checkOrderShipmentLineItemShipment(o[0]); |
| 3816 checkOrderShipmentLineItemShipment(o[1]); | 3816 checkOrderShipmentLineItemShipment(o[1]); |
| 3817 } | 3817 } |
| 3818 | 3818 |
| 3819 core.int buildCounterOrdersShipLineItemsRequest = 0; | 3819 core.int buildCounterOrdersShipLineItemsRequest = 0; |
| 3820 buildOrdersShipLineItemsRequest() { | 3820 buildOrdersShipLineItemsRequest() { |
| 3821 var o = new api.OrdersShipLineItemsRequest(); | 3821 var o = new api.OrdersShipLineItemsRequest(); |
| 3822 buildCounterOrdersShipLineItemsRequest++; | 3822 buildCounterOrdersShipLineItemsRequest++; |
| 3823 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3823 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3824 o.carrier = "foo"; | 3824 o.carrier = "foo"; |
| 3825 o.lineItems = buildUnnamed317(); | 3825 o.lineItems = buildUnnamed338(); |
| 3826 o.operationId = "foo"; | 3826 o.operationId = "foo"; |
| 3827 o.shipmentId = "foo"; | 3827 o.shipmentId = "foo"; |
| 3828 o.trackingId = "foo"; | 3828 o.trackingId = "foo"; |
| 3829 } | 3829 } |
| 3830 buildCounterOrdersShipLineItemsRequest--; | 3830 buildCounterOrdersShipLineItemsRequest--; |
| 3831 return o; | 3831 return o; |
| 3832 } | 3832 } |
| 3833 | 3833 |
| 3834 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { | 3834 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { |
| 3835 buildCounterOrdersShipLineItemsRequest++; | 3835 buildCounterOrdersShipLineItemsRequest++; |
| 3836 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3836 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3837 unittest.expect(o.carrier, unittest.equals('foo')); | 3837 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3838 checkUnnamed317(o.lineItems); | 3838 checkUnnamed338(o.lineItems); |
| 3839 unittest.expect(o.operationId, unittest.equals('foo')); | 3839 unittest.expect(o.operationId, unittest.equals('foo')); |
| 3840 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3840 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3841 unittest.expect(o.trackingId, unittest.equals('foo')); | 3841 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3842 } | 3842 } |
| 3843 buildCounterOrdersShipLineItemsRequest--; | 3843 buildCounterOrdersShipLineItemsRequest--; |
| 3844 } | 3844 } |
| 3845 | 3845 |
| 3846 core.int buildCounterOrdersShipLineItemsResponse = 0; | 3846 core.int buildCounterOrdersShipLineItemsResponse = 0; |
| 3847 buildOrdersShipLineItemsResponse() { | 3847 buildOrdersShipLineItemsResponse() { |
| 3848 var o = new api.OrdersShipLineItemsResponse(); | 3848 var o = new api.OrdersShipLineItemsResponse(); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3947 | 3947 |
| 3948 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { | 3948 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { |
| 3949 buildCounterOrdersUpdateShipmentResponse++; | 3949 buildCounterOrdersUpdateShipmentResponse++; |
| 3950 if (buildCounterOrdersUpdateShipmentResponse < 3) { | 3950 if (buildCounterOrdersUpdateShipmentResponse < 3) { |
| 3951 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3951 unittest.expect(o.executionStatus, unittest.equals('foo')); |
| 3952 unittest.expect(o.kind, unittest.equals('foo')); | 3952 unittest.expect(o.kind, unittest.equals('foo')); |
| 3953 } | 3953 } |
| 3954 buildCounterOrdersUpdateShipmentResponse--; | 3954 buildCounterOrdersUpdateShipmentResponse--; |
| 3955 } | 3955 } |
| 3956 | 3956 |
| 3957 buildUnnamed318() { | 3957 buildUnnamed339() { |
| 3958 var o = new core.List<api.PostalCodeRange>(); | 3958 var o = new core.List<api.PostalCodeRange>(); |
| 3959 o.add(buildPostalCodeRange()); | 3959 o.add(buildPostalCodeRange()); |
| 3960 o.add(buildPostalCodeRange()); | 3960 o.add(buildPostalCodeRange()); |
| 3961 return o; | 3961 return o; |
| 3962 } | 3962 } |
| 3963 | 3963 |
| 3964 checkUnnamed318(core.List<api.PostalCodeRange> o) { | 3964 checkUnnamed339(core.List<api.PostalCodeRange> o) { |
| 3965 unittest.expect(o, unittest.hasLength(2)); | 3965 unittest.expect(o, unittest.hasLength(2)); |
| 3966 checkPostalCodeRange(o[0]); | 3966 checkPostalCodeRange(o[0]); |
| 3967 checkPostalCodeRange(o[1]); | 3967 checkPostalCodeRange(o[1]); |
| 3968 } | 3968 } |
| 3969 | 3969 |
| 3970 core.int buildCounterPostalCodeGroup = 0; | 3970 core.int buildCounterPostalCodeGroup = 0; |
| 3971 buildPostalCodeGroup() { | 3971 buildPostalCodeGroup() { |
| 3972 var o = new api.PostalCodeGroup(); | 3972 var o = new api.PostalCodeGroup(); |
| 3973 buildCounterPostalCodeGroup++; | 3973 buildCounterPostalCodeGroup++; |
| 3974 if (buildCounterPostalCodeGroup < 3) { | 3974 if (buildCounterPostalCodeGroup < 3) { |
| 3975 o.country = "foo"; | 3975 o.country = "foo"; |
| 3976 o.name = "foo"; | 3976 o.name = "foo"; |
| 3977 o.postalCodeRanges = buildUnnamed318(); | 3977 o.postalCodeRanges = buildUnnamed339(); |
| 3978 } | 3978 } |
| 3979 buildCounterPostalCodeGroup--; | 3979 buildCounterPostalCodeGroup--; |
| 3980 return o; | 3980 return o; |
| 3981 } | 3981 } |
| 3982 | 3982 |
| 3983 checkPostalCodeGroup(api.PostalCodeGroup o) { | 3983 checkPostalCodeGroup(api.PostalCodeGroup o) { |
| 3984 buildCounterPostalCodeGroup++; | 3984 buildCounterPostalCodeGroup++; |
| 3985 if (buildCounterPostalCodeGroup < 3) { | 3985 if (buildCounterPostalCodeGroup < 3) { |
| 3986 unittest.expect(o.country, unittest.equals('foo')); | 3986 unittest.expect(o.country, unittest.equals('foo')); |
| 3987 unittest.expect(o.name, unittest.equals('foo')); | 3987 unittest.expect(o.name, unittest.equals('foo')); |
| 3988 checkUnnamed318(o.postalCodeRanges); | 3988 checkUnnamed339(o.postalCodeRanges); |
| 3989 } | 3989 } |
| 3990 buildCounterPostalCodeGroup--; | 3990 buildCounterPostalCodeGroup--; |
| 3991 } | 3991 } |
| 3992 | 3992 |
| 3993 core.int buildCounterPostalCodeRange = 0; | 3993 core.int buildCounterPostalCodeRange = 0; |
| 3994 buildPostalCodeRange() { | 3994 buildPostalCodeRange() { |
| 3995 var o = new api.PostalCodeRange(); | 3995 var o = new api.PostalCodeRange(); |
| 3996 buildCounterPostalCodeRange++; | 3996 buildCounterPostalCodeRange++; |
| 3997 if (buildCounterPostalCodeRange < 3) { | 3997 if (buildCounterPostalCodeRange < 3) { |
| 3998 o.postalCodeRangeBegin = "foo"; | 3998 o.postalCodeRangeBegin = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 4025 | 4025 |
| 4026 checkPrice(api.Price o) { | 4026 checkPrice(api.Price o) { |
| 4027 buildCounterPrice++; | 4027 buildCounterPrice++; |
| 4028 if (buildCounterPrice < 3) { | 4028 if (buildCounterPrice < 3) { |
| 4029 unittest.expect(o.currency, unittest.equals('foo')); | 4029 unittest.expect(o.currency, unittest.equals('foo')); |
| 4030 unittest.expect(o.value, unittest.equals('foo')); | 4030 unittest.expect(o.value, unittest.equals('foo')); |
| 4031 } | 4031 } |
| 4032 buildCounterPrice--; | 4032 buildCounterPrice--; |
| 4033 } | 4033 } |
| 4034 | 4034 |
| 4035 buildUnnamed319() { | 4035 buildUnnamed340() { |
| 4036 var o = new core.List<core.String>(); | 4036 var o = new core.List<core.String>(); |
| 4037 o.add("foo"); | 4037 o.add("foo"); |
| 4038 o.add("foo"); | 4038 o.add("foo"); |
| 4039 return o; | 4039 return o; |
| 4040 } | 4040 } |
| 4041 | 4041 |
| 4042 checkUnnamed319(core.List<core.String> o) { | 4042 checkUnnamed340(core.List<core.String> o) { |
| 4043 unittest.expect(o, unittest.hasLength(2)); | 4043 unittest.expect(o, unittest.hasLength(2)); |
| 4044 unittest.expect(o[0], unittest.equals('foo')); | 4044 unittest.expect(o[0], unittest.equals('foo')); |
| 4045 unittest.expect(o[1], unittest.equals('foo')); | 4045 unittest.expect(o[1], unittest.equals('foo')); |
| 4046 } | 4046 } |
| 4047 | 4047 |
| 4048 buildUnnamed320() { | 4048 buildUnnamed341() { |
| 4049 var o = new core.List<core.String>(); | 4049 var o = new core.List<core.String>(); |
| 4050 o.add("foo"); | 4050 o.add("foo"); |
| 4051 o.add("foo"); | 4051 o.add("foo"); |
| 4052 return o; | 4052 return o; |
| 4053 } | 4053 } |
| 4054 | 4054 |
| 4055 checkUnnamed320(core.List<core.String> o) { | 4055 checkUnnamed341(core.List<core.String> o) { |
| 4056 unittest.expect(o, unittest.hasLength(2)); | 4056 unittest.expect(o, unittest.hasLength(2)); |
| 4057 unittest.expect(o[0], unittest.equals('foo')); | 4057 unittest.expect(o[0], unittest.equals('foo')); |
| 4058 unittest.expect(o[1], unittest.equals('foo')); | 4058 unittest.expect(o[1], unittest.equals('foo')); |
| 4059 } | 4059 } |
| 4060 | 4060 |
| 4061 buildUnnamed321() { | 4061 buildUnnamed342() { |
| 4062 var o = new core.List<core.String>(); | 4062 var o = new core.List<core.String>(); |
| 4063 o.add("foo"); | 4063 o.add("foo"); |
| 4064 o.add("foo"); | 4064 o.add("foo"); |
| 4065 return o; | 4065 return o; |
| 4066 } | 4066 } |
| 4067 | 4067 |
| 4068 checkUnnamed321(core.List<core.String> o) { | 4068 checkUnnamed342(core.List<core.String> o) { |
| 4069 unittest.expect(o, unittest.hasLength(2)); | 4069 unittest.expect(o, unittest.hasLength(2)); |
| 4070 unittest.expect(o[0], unittest.equals('foo')); | 4070 unittest.expect(o[0], unittest.equals('foo')); |
| 4071 unittest.expect(o[1], unittest.equals('foo')); | 4071 unittest.expect(o[1], unittest.equals('foo')); |
| 4072 } | 4072 } |
| 4073 | 4073 |
| 4074 buildUnnamed322() { | 4074 buildUnnamed343() { |
| 4075 var o = new core.List<api.ProductAspect>(); | 4075 var o = new core.List<api.ProductAspect>(); |
| 4076 o.add(buildProductAspect()); | 4076 o.add(buildProductAspect()); |
| 4077 o.add(buildProductAspect()); | 4077 o.add(buildProductAspect()); |
| 4078 return o; | 4078 return o; |
| 4079 } | 4079 } |
| 4080 | 4080 |
| 4081 checkUnnamed322(core.List<api.ProductAspect> o) { | 4081 checkUnnamed343(core.List<api.ProductAspect> o) { |
| 4082 unittest.expect(o, unittest.hasLength(2)); | 4082 unittest.expect(o, unittest.hasLength(2)); |
| 4083 checkProductAspect(o[0]); | 4083 checkProductAspect(o[0]); |
| 4084 checkProductAspect(o[1]); | 4084 checkProductAspect(o[1]); |
| 4085 } | 4085 } |
| 4086 | 4086 |
| 4087 buildUnnamed323() { | 4087 buildUnnamed344() { |
| 4088 var o = new core.List<api.ProductCustomAttribute>(); | 4088 var o = new core.List<api.ProductCustomAttribute>(); |
| 4089 o.add(buildProductCustomAttribute()); | 4089 o.add(buildProductCustomAttribute()); |
| 4090 o.add(buildProductCustomAttribute()); | 4090 o.add(buildProductCustomAttribute()); |
| 4091 return o; | 4091 return o; |
| 4092 } | 4092 } |
| 4093 | 4093 |
| 4094 checkUnnamed323(core.List<api.ProductCustomAttribute> o) { | 4094 checkUnnamed344(core.List<api.ProductCustomAttribute> o) { |
| 4095 unittest.expect(o, unittest.hasLength(2)); | 4095 unittest.expect(o, unittest.hasLength(2)); |
| 4096 checkProductCustomAttribute(o[0]); | 4096 checkProductCustomAttribute(o[0]); |
| 4097 checkProductCustomAttribute(o[1]); | 4097 checkProductCustomAttribute(o[1]); |
| 4098 } | 4098 } |
| 4099 | 4099 |
| 4100 buildUnnamed324() { | 4100 buildUnnamed345() { |
| 4101 var o = new core.List<api.ProductCustomGroup>(); | 4101 var o = new core.List<api.ProductCustomGroup>(); |
| 4102 o.add(buildProductCustomGroup()); | 4102 o.add(buildProductCustomGroup()); |
| 4103 o.add(buildProductCustomGroup()); | 4103 o.add(buildProductCustomGroup()); |
| 4104 return o; | 4104 return o; |
| 4105 } | 4105 } |
| 4106 | 4106 |
| 4107 checkUnnamed324(core.List<api.ProductCustomGroup> o) { | 4107 checkUnnamed345(core.List<api.ProductCustomGroup> o) { |
| 4108 unittest.expect(o, unittest.hasLength(2)); | 4108 unittest.expect(o, unittest.hasLength(2)); |
| 4109 checkProductCustomGroup(o[0]); | 4109 checkProductCustomGroup(o[0]); |
| 4110 checkProductCustomGroup(o[1]); | 4110 checkProductCustomGroup(o[1]); |
| 4111 } | 4111 } |
| 4112 | 4112 |
| 4113 buildUnnamed325() { | 4113 buildUnnamed346() { |
| 4114 var o = new core.List<api.ProductDestination>(); | 4114 var o = new core.List<api.ProductDestination>(); |
| 4115 o.add(buildProductDestination()); | 4115 o.add(buildProductDestination()); |
| 4116 o.add(buildProductDestination()); | 4116 o.add(buildProductDestination()); |
| 4117 return o; | 4117 return o; |
| 4118 } | 4118 } |
| 4119 | 4119 |
| 4120 checkUnnamed325(core.List<api.ProductDestination> o) { | 4120 checkUnnamed346(core.List<api.ProductDestination> o) { |
| 4121 unittest.expect(o, unittest.hasLength(2)); | 4121 unittest.expect(o, unittest.hasLength(2)); |
| 4122 checkProductDestination(o[0]); | 4122 checkProductDestination(o[0]); |
| 4123 checkProductDestination(o[1]); | 4123 checkProductDestination(o[1]); |
| 4124 } | 4124 } |
| 4125 | 4125 |
| 4126 buildUnnamed326() { | 4126 buildUnnamed347() { |
| 4127 var o = new core.List<core.String>(); | 4127 var o = new core.List<core.String>(); |
| 4128 o.add("foo"); | 4128 o.add("foo"); |
| 4129 o.add("foo"); | 4129 o.add("foo"); |
| 4130 return o; | 4130 return o; |
| 4131 } | 4131 } |
| 4132 | 4132 |
| 4133 checkUnnamed326(core.List<core.String> o) { | 4133 checkUnnamed347(core.List<core.String> o) { |
| 4134 unittest.expect(o, unittest.hasLength(2)); | 4134 unittest.expect(o, unittest.hasLength(2)); |
| 4135 unittest.expect(o[0], unittest.equals('foo')); | 4135 unittest.expect(o[0], unittest.equals('foo')); |
| 4136 unittest.expect(o[1], unittest.equals('foo')); | 4136 unittest.expect(o[1], unittest.equals('foo')); |
| 4137 } | 4137 } |
| 4138 | 4138 |
| 4139 buildUnnamed327() { | 4139 buildUnnamed348() { |
| 4140 var o = new core.List<core.String>(); | 4140 var o = new core.List<core.String>(); |
| 4141 o.add("foo"); | 4141 o.add("foo"); |
| 4142 o.add("foo"); | 4142 o.add("foo"); |
| 4143 return o; | 4143 return o; |
| 4144 } | 4144 } |
| 4145 | 4145 |
| 4146 checkUnnamed327(core.List<core.String> o) { | 4146 checkUnnamed348(core.List<core.String> o) { |
| 4147 unittest.expect(o, unittest.hasLength(2)); | 4147 unittest.expect(o, unittest.hasLength(2)); |
| 4148 unittest.expect(o[0], unittest.equals('foo')); | 4148 unittest.expect(o[0], unittest.equals('foo')); |
| 4149 unittest.expect(o[1], unittest.equals('foo')); | 4149 unittest.expect(o[1], unittest.equals('foo')); |
| 4150 } | 4150 } |
| 4151 | 4151 |
| 4152 buildUnnamed328() { | 4152 buildUnnamed349() { |
| 4153 var o = new core.List<api.ProductShipping>(); | 4153 var o = new core.List<api.ProductShipping>(); |
| 4154 o.add(buildProductShipping()); | 4154 o.add(buildProductShipping()); |
| 4155 o.add(buildProductShipping()); | 4155 o.add(buildProductShipping()); |
| 4156 return o; | 4156 return o; |
| 4157 } | 4157 } |
| 4158 | 4158 |
| 4159 checkUnnamed328(core.List<api.ProductShipping> o) { | 4159 checkUnnamed349(core.List<api.ProductShipping> o) { |
| 4160 unittest.expect(o, unittest.hasLength(2)); | 4160 unittest.expect(o, unittest.hasLength(2)); |
| 4161 checkProductShipping(o[0]); | 4161 checkProductShipping(o[0]); |
| 4162 checkProductShipping(o[1]); | 4162 checkProductShipping(o[1]); |
| 4163 } | 4163 } |
| 4164 | 4164 |
| 4165 buildUnnamed329() { | 4165 buildUnnamed350() { |
| 4166 var o = new core.List<core.String>(); | 4166 var o = new core.List<core.String>(); |
| 4167 o.add("foo"); | 4167 o.add("foo"); |
| 4168 o.add("foo"); | 4168 o.add("foo"); |
| 4169 return o; | 4169 return o; |
| 4170 } | 4170 } |
| 4171 | 4171 |
| 4172 checkUnnamed329(core.List<core.String> o) { | 4172 checkUnnamed350(core.List<core.String> o) { |
| 4173 unittest.expect(o, unittest.hasLength(2)); | 4173 unittest.expect(o, unittest.hasLength(2)); |
| 4174 unittest.expect(o[0], unittest.equals('foo')); | 4174 unittest.expect(o[0], unittest.equals('foo')); |
| 4175 unittest.expect(o[1], unittest.equals('foo')); | 4175 unittest.expect(o[1], unittest.equals('foo')); |
| 4176 } | 4176 } |
| 4177 | 4177 |
| 4178 buildUnnamed330() { | 4178 buildUnnamed351() { |
| 4179 var o = new core.List<api.ProductTax>(); | 4179 var o = new core.List<api.ProductTax>(); |
| 4180 o.add(buildProductTax()); | 4180 o.add(buildProductTax()); |
| 4181 o.add(buildProductTax()); | 4181 o.add(buildProductTax()); |
| 4182 return o; | 4182 return o; |
| 4183 } | 4183 } |
| 4184 | 4184 |
| 4185 checkUnnamed330(core.List<api.ProductTax> o) { | 4185 checkUnnamed351(core.List<api.ProductTax> o) { |
| 4186 unittest.expect(o, unittest.hasLength(2)); | 4186 unittest.expect(o, unittest.hasLength(2)); |
| 4187 checkProductTax(o[0]); | 4187 checkProductTax(o[0]); |
| 4188 checkProductTax(o[1]); | 4188 checkProductTax(o[1]); |
| 4189 } | 4189 } |
| 4190 | 4190 |
| 4191 buildUnnamed331() { | 4191 buildUnnamed352() { |
| 4192 var o = new core.List<core.String>(); | 4192 var o = new core.List<core.String>(); |
| 4193 o.add("foo"); | 4193 o.add("foo"); |
| 4194 o.add("foo"); | 4194 o.add("foo"); |
| 4195 return o; | 4195 return o; |
| 4196 } | 4196 } |
| 4197 | 4197 |
| 4198 checkUnnamed331(core.List<core.String> o) { | 4198 checkUnnamed352(core.List<core.String> o) { |
| 4199 unittest.expect(o, unittest.hasLength(2)); | 4199 unittest.expect(o, unittest.hasLength(2)); |
| 4200 unittest.expect(o[0], unittest.equals('foo')); | 4200 unittest.expect(o[0], unittest.equals('foo')); |
| 4201 unittest.expect(o[1], unittest.equals('foo')); | 4201 unittest.expect(o[1], unittest.equals('foo')); |
| 4202 } | 4202 } |
| 4203 | 4203 |
| 4204 buildUnnamed332() { | 4204 buildUnnamed353() { |
| 4205 var o = new core.List<api.Error>(); | 4205 var o = new core.List<api.Error>(); |
| 4206 o.add(buildError()); | 4206 o.add(buildError()); |
| 4207 o.add(buildError()); | 4207 o.add(buildError()); |
| 4208 return o; | 4208 return o; |
| 4209 } | 4209 } |
| 4210 | 4210 |
| 4211 checkUnnamed332(core.List<api.Error> o) { | 4211 checkUnnamed353(core.List<api.Error> o) { |
| 4212 unittest.expect(o, unittest.hasLength(2)); | 4212 unittest.expect(o, unittest.hasLength(2)); |
| 4213 checkError(o[0]); | 4213 checkError(o[0]); |
| 4214 checkError(o[1]); | 4214 checkError(o[1]); |
| 4215 } | 4215 } |
| 4216 | 4216 |
| 4217 core.int buildCounterProduct = 0; | 4217 core.int buildCounterProduct = 0; |
| 4218 buildProduct() { | 4218 buildProduct() { |
| 4219 var o = new api.Product(); | 4219 var o = new api.Product(); |
| 4220 buildCounterProduct++; | 4220 buildCounterProduct++; |
| 4221 if (buildCounterProduct < 3) { | 4221 if (buildCounterProduct < 3) { |
| 4222 o.additionalImageLinks = buildUnnamed319(); | 4222 o.additionalImageLinks = buildUnnamed340(); |
| 4223 o.additionalProductTypes = buildUnnamed320(); | 4223 o.additionalProductTypes = buildUnnamed341(); |
| 4224 o.adult = true; | 4224 o.adult = true; |
| 4225 o.adwordsGrouping = "foo"; | 4225 o.adwordsGrouping = "foo"; |
| 4226 o.adwordsLabels = buildUnnamed321(); | 4226 o.adwordsLabels = buildUnnamed342(); |
| 4227 o.adwordsRedirect = "foo"; | 4227 o.adwordsRedirect = "foo"; |
| 4228 o.ageGroup = "foo"; | 4228 o.ageGroup = "foo"; |
| 4229 o.aspects = buildUnnamed322(); | 4229 o.aspects = buildUnnamed343(); |
| 4230 o.availability = "foo"; | 4230 o.availability = "foo"; |
| 4231 o.availabilityDate = "foo"; | 4231 o.availabilityDate = "foo"; |
| 4232 o.brand = "foo"; | 4232 o.brand = "foo"; |
| 4233 o.channel = "foo"; | 4233 o.channel = "foo"; |
| 4234 o.color = "foo"; | 4234 o.color = "foo"; |
| 4235 o.condition = "foo"; | 4235 o.condition = "foo"; |
| 4236 o.contentLanguage = "foo"; | 4236 o.contentLanguage = "foo"; |
| 4237 o.customAttributes = buildUnnamed323(); | 4237 o.customAttributes = buildUnnamed344(); |
| 4238 o.customGroups = buildUnnamed324(); | 4238 o.customGroups = buildUnnamed345(); |
| 4239 o.customLabel0 = "foo"; | 4239 o.customLabel0 = "foo"; |
| 4240 o.customLabel1 = "foo"; | 4240 o.customLabel1 = "foo"; |
| 4241 o.customLabel2 = "foo"; | 4241 o.customLabel2 = "foo"; |
| 4242 o.customLabel3 = "foo"; | 4242 o.customLabel3 = "foo"; |
| 4243 o.customLabel4 = "foo"; | 4243 o.customLabel4 = "foo"; |
| 4244 o.description = "foo"; | 4244 o.description = "foo"; |
| 4245 o.destinations = buildUnnamed325(); | 4245 o.destinations = buildUnnamed346(); |
| 4246 o.displayAdsId = "foo"; | 4246 o.displayAdsId = "foo"; |
| 4247 o.displayAdsLink = "foo"; | 4247 o.displayAdsLink = "foo"; |
| 4248 o.displayAdsSimilarIds = buildUnnamed326(); | 4248 o.displayAdsSimilarIds = buildUnnamed347(); |
| 4249 o.displayAdsTitle = "foo"; | 4249 o.displayAdsTitle = "foo"; |
| 4250 o.displayAdsValue = 42.0; | 4250 o.displayAdsValue = 42.0; |
| 4251 o.energyEfficiencyClass = "foo"; | 4251 o.energyEfficiencyClass = "foo"; |
| 4252 o.expirationDate = "foo"; | 4252 o.expirationDate = "foo"; |
| 4253 o.gender = "foo"; | 4253 o.gender = "foo"; |
| 4254 o.googleProductCategory = "foo"; | 4254 o.googleProductCategory = "foo"; |
| 4255 o.gtin = "foo"; | 4255 o.gtin = "foo"; |
| 4256 o.id = "foo"; | 4256 o.id = "foo"; |
| 4257 o.identifierExists = true; | 4257 o.identifierExists = true; |
| 4258 o.imageLink = "foo"; | 4258 o.imageLink = "foo"; |
| 4259 o.installment = buildInstallment(); | 4259 o.installment = buildInstallment(); |
| 4260 o.isBundle = true; | 4260 o.isBundle = true; |
| 4261 o.itemGroupId = "foo"; | 4261 o.itemGroupId = "foo"; |
| 4262 o.kind = "foo"; | 4262 o.kind = "foo"; |
| 4263 o.link = "foo"; | 4263 o.link = "foo"; |
| 4264 o.loyaltyPoints = buildLoyaltyPoints(); | 4264 o.loyaltyPoints = buildLoyaltyPoints(); |
| 4265 o.material = "foo"; | 4265 o.material = "foo"; |
| 4266 o.mobileLink = "foo"; | 4266 o.mobileLink = "foo"; |
| 4267 o.mpn = "foo"; | 4267 o.mpn = "foo"; |
| 4268 o.multipack = "foo"; | 4268 o.multipack = "foo"; |
| 4269 o.offerId = "foo"; | 4269 o.offerId = "foo"; |
| 4270 o.onlineOnly = true; | 4270 o.onlineOnly = true; |
| 4271 o.pattern = "foo"; | 4271 o.pattern = "foo"; |
| 4272 o.price = buildPrice(); | 4272 o.price = buildPrice(); |
| 4273 o.productType = "foo"; | 4273 o.productType = "foo"; |
| 4274 o.promotionIds = buildUnnamed327(); | 4274 o.promotionIds = buildUnnamed348(); |
| 4275 o.salePrice = buildPrice(); | 4275 o.salePrice = buildPrice(); |
| 4276 o.salePriceEffectiveDate = "foo"; | 4276 o.salePriceEffectiveDate = "foo"; |
| 4277 o.sellOnGoogleQuantity = "foo"; | 4277 o.sellOnGoogleQuantity = "foo"; |
| 4278 o.shipping = buildUnnamed328(); | 4278 o.shipping = buildUnnamed349(); |
| 4279 o.shippingHeight = buildProductShippingDimension(); | 4279 o.shippingHeight = buildProductShippingDimension(); |
| 4280 o.shippingLabel = "foo"; | 4280 o.shippingLabel = "foo"; |
| 4281 o.shippingLength = buildProductShippingDimension(); | 4281 o.shippingLength = buildProductShippingDimension(); |
| 4282 o.shippingWeight = buildProductShippingWeight(); | 4282 o.shippingWeight = buildProductShippingWeight(); |
| 4283 o.shippingWidth = buildProductShippingDimension(); | 4283 o.shippingWidth = buildProductShippingDimension(); |
| 4284 o.sizeSystem = "foo"; | 4284 o.sizeSystem = "foo"; |
| 4285 o.sizeType = "foo"; | 4285 o.sizeType = "foo"; |
| 4286 o.sizes = buildUnnamed329(); | 4286 o.sizes = buildUnnamed350(); |
| 4287 o.targetCountry = "foo"; | 4287 o.targetCountry = "foo"; |
| 4288 o.taxes = buildUnnamed330(); | 4288 o.taxes = buildUnnamed351(); |
| 4289 o.title = "foo"; | 4289 o.title = "foo"; |
| 4290 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 4290 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
| 4291 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 4291 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
| 4292 o.validatedDestinations = buildUnnamed331(); | 4292 o.validatedDestinations = buildUnnamed352(); |
| 4293 o.warnings = buildUnnamed332(); | 4293 o.warnings = buildUnnamed353(); |
| 4294 } | 4294 } |
| 4295 buildCounterProduct--; | 4295 buildCounterProduct--; |
| 4296 return o; | 4296 return o; |
| 4297 } | 4297 } |
| 4298 | 4298 |
| 4299 checkProduct(api.Product o) { | 4299 checkProduct(api.Product o) { |
| 4300 buildCounterProduct++; | 4300 buildCounterProduct++; |
| 4301 if (buildCounterProduct < 3) { | 4301 if (buildCounterProduct < 3) { |
| 4302 checkUnnamed319(o.additionalImageLinks); | 4302 checkUnnamed340(o.additionalImageLinks); |
| 4303 checkUnnamed320(o.additionalProductTypes); | 4303 checkUnnamed341(o.additionalProductTypes); |
| 4304 unittest.expect(o.adult, unittest.isTrue); | 4304 unittest.expect(o.adult, unittest.isTrue); |
| 4305 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 4305 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
| 4306 checkUnnamed321(o.adwordsLabels); | 4306 checkUnnamed342(o.adwordsLabels); |
| 4307 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 4307 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
| 4308 unittest.expect(o.ageGroup, unittest.equals('foo')); | 4308 unittest.expect(o.ageGroup, unittest.equals('foo')); |
| 4309 checkUnnamed322(o.aspects); | 4309 checkUnnamed343(o.aspects); |
| 4310 unittest.expect(o.availability, unittest.equals('foo')); | 4310 unittest.expect(o.availability, unittest.equals('foo')); |
| 4311 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 4311 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
| 4312 unittest.expect(o.brand, unittest.equals('foo')); | 4312 unittest.expect(o.brand, unittest.equals('foo')); |
| 4313 unittest.expect(o.channel, unittest.equals('foo')); | 4313 unittest.expect(o.channel, unittest.equals('foo')); |
| 4314 unittest.expect(o.color, unittest.equals('foo')); | 4314 unittest.expect(o.color, unittest.equals('foo')); |
| 4315 unittest.expect(o.condition, unittest.equals('foo')); | 4315 unittest.expect(o.condition, unittest.equals('foo')); |
| 4316 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 4316 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 4317 checkUnnamed323(o.customAttributes); | 4317 checkUnnamed344(o.customAttributes); |
| 4318 checkUnnamed324(o.customGroups); | 4318 checkUnnamed345(o.customGroups); |
| 4319 unittest.expect(o.customLabel0, unittest.equals('foo')); | 4319 unittest.expect(o.customLabel0, unittest.equals('foo')); |
| 4320 unittest.expect(o.customLabel1, unittest.equals('foo')); | 4320 unittest.expect(o.customLabel1, unittest.equals('foo')); |
| 4321 unittest.expect(o.customLabel2, unittest.equals('foo')); | 4321 unittest.expect(o.customLabel2, unittest.equals('foo')); |
| 4322 unittest.expect(o.customLabel3, unittest.equals('foo')); | 4322 unittest.expect(o.customLabel3, unittest.equals('foo')); |
| 4323 unittest.expect(o.customLabel4, unittest.equals('foo')); | 4323 unittest.expect(o.customLabel4, unittest.equals('foo')); |
| 4324 unittest.expect(o.description, unittest.equals('foo')); | 4324 unittest.expect(o.description, unittest.equals('foo')); |
| 4325 checkUnnamed325(o.destinations); | 4325 checkUnnamed346(o.destinations); |
| 4326 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 4326 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
| 4327 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 4327 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
| 4328 checkUnnamed326(o.displayAdsSimilarIds); | 4328 checkUnnamed347(o.displayAdsSimilarIds); |
| 4329 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 4329 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
| 4330 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 4330 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
| 4331 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 4331 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
| 4332 unittest.expect(o.expirationDate, unittest.equals('foo')); | 4332 unittest.expect(o.expirationDate, unittest.equals('foo')); |
| 4333 unittest.expect(o.gender, unittest.equals('foo')); | 4333 unittest.expect(o.gender, unittest.equals('foo')); |
| 4334 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 4334 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
| 4335 unittest.expect(o.gtin, unittest.equals('foo')); | 4335 unittest.expect(o.gtin, unittest.equals('foo')); |
| 4336 unittest.expect(o.id, unittest.equals('foo')); | 4336 unittest.expect(o.id, unittest.equals('foo')); |
| 4337 unittest.expect(o.identifierExists, unittest.isTrue); | 4337 unittest.expect(o.identifierExists, unittest.isTrue); |
| 4338 unittest.expect(o.imageLink, unittest.equals('foo')); | 4338 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 4339 checkInstallment(o.installment); | 4339 checkInstallment(o.installment); |
| 4340 unittest.expect(o.isBundle, unittest.isTrue); | 4340 unittest.expect(o.isBundle, unittest.isTrue); |
| 4341 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4341 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 4342 unittest.expect(o.kind, unittest.equals('foo')); | 4342 unittest.expect(o.kind, unittest.equals('foo')); |
| 4343 unittest.expect(o.link, unittest.equals('foo')); | 4343 unittest.expect(o.link, unittest.equals('foo')); |
| 4344 checkLoyaltyPoints(o.loyaltyPoints); | 4344 checkLoyaltyPoints(o.loyaltyPoints); |
| 4345 unittest.expect(o.material, unittest.equals('foo')); | 4345 unittest.expect(o.material, unittest.equals('foo')); |
| 4346 unittest.expect(o.mobileLink, unittest.equals('foo')); | 4346 unittest.expect(o.mobileLink, unittest.equals('foo')); |
| 4347 unittest.expect(o.mpn, unittest.equals('foo')); | 4347 unittest.expect(o.mpn, unittest.equals('foo')); |
| 4348 unittest.expect(o.multipack, unittest.equals('foo')); | 4348 unittest.expect(o.multipack, unittest.equals('foo')); |
| 4349 unittest.expect(o.offerId, unittest.equals('foo')); | 4349 unittest.expect(o.offerId, unittest.equals('foo')); |
| 4350 unittest.expect(o.onlineOnly, unittest.isTrue); | 4350 unittest.expect(o.onlineOnly, unittest.isTrue); |
| 4351 unittest.expect(o.pattern, unittest.equals('foo')); | 4351 unittest.expect(o.pattern, unittest.equals('foo')); |
| 4352 checkPrice(o.price); | 4352 checkPrice(o.price); |
| 4353 unittest.expect(o.productType, unittest.equals('foo')); | 4353 unittest.expect(o.productType, unittest.equals('foo')); |
| 4354 checkUnnamed327(o.promotionIds); | 4354 checkUnnamed348(o.promotionIds); |
| 4355 checkPrice(o.salePrice); | 4355 checkPrice(o.salePrice); |
| 4356 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 4356 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 4357 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); | 4357 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); |
| 4358 checkUnnamed328(o.shipping); | 4358 checkUnnamed349(o.shipping); |
| 4359 checkProductShippingDimension(o.shippingHeight); | 4359 checkProductShippingDimension(o.shippingHeight); |
| 4360 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 4360 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
| 4361 checkProductShippingDimension(o.shippingLength); | 4361 checkProductShippingDimension(o.shippingLength); |
| 4362 checkProductShippingWeight(o.shippingWeight); | 4362 checkProductShippingWeight(o.shippingWeight); |
| 4363 checkProductShippingDimension(o.shippingWidth); | 4363 checkProductShippingDimension(o.shippingWidth); |
| 4364 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 4364 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
| 4365 unittest.expect(o.sizeType, unittest.equals('foo')); | 4365 unittest.expect(o.sizeType, unittest.equals('foo')); |
| 4366 checkUnnamed329(o.sizes); | 4366 checkUnnamed350(o.sizes); |
| 4367 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4367 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 4368 checkUnnamed330(o.taxes); | 4368 checkUnnamed351(o.taxes); |
| 4369 unittest.expect(o.title, unittest.equals('foo')); | 4369 unittest.expect(o.title, unittest.equals('foo')); |
| 4370 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 4370 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
| 4371 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 4371 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
| 4372 checkUnnamed331(o.validatedDestinations); | 4372 checkUnnamed352(o.validatedDestinations); |
| 4373 checkUnnamed332(o.warnings); | 4373 checkUnnamed353(o.warnings); |
| 4374 } | 4374 } |
| 4375 buildCounterProduct--; | 4375 buildCounterProduct--; |
| 4376 } | 4376 } |
| 4377 | 4377 |
| 4378 core.int buildCounterProductAspect = 0; | 4378 core.int buildCounterProductAspect = 0; |
| 4379 buildProductAspect() { | 4379 buildProductAspect() { |
| 4380 var o = new api.ProductAspect(); | 4380 var o = new api.ProductAspect(); |
| 4381 buildCounterProductAspect++; | 4381 buildCounterProductAspect++; |
| 4382 if (buildCounterProductAspect < 3) { | 4382 if (buildCounterProductAspect < 3) { |
| 4383 o.aspectName = "foo"; | 4383 o.aspectName = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4416 buildCounterProductCustomAttribute++; | 4416 buildCounterProductCustomAttribute++; |
| 4417 if (buildCounterProductCustomAttribute < 3) { | 4417 if (buildCounterProductCustomAttribute < 3) { |
| 4418 unittest.expect(o.name, unittest.equals('foo')); | 4418 unittest.expect(o.name, unittest.equals('foo')); |
| 4419 unittest.expect(o.type, unittest.equals('foo')); | 4419 unittest.expect(o.type, unittest.equals('foo')); |
| 4420 unittest.expect(o.unit, unittest.equals('foo')); | 4420 unittest.expect(o.unit, unittest.equals('foo')); |
| 4421 unittest.expect(o.value, unittest.equals('foo')); | 4421 unittest.expect(o.value, unittest.equals('foo')); |
| 4422 } | 4422 } |
| 4423 buildCounterProductCustomAttribute--; | 4423 buildCounterProductCustomAttribute--; |
| 4424 } | 4424 } |
| 4425 | 4425 |
| 4426 buildUnnamed333() { | 4426 buildUnnamed354() { |
| 4427 var o = new core.List<api.ProductCustomAttribute>(); | 4427 var o = new core.List<api.ProductCustomAttribute>(); |
| 4428 o.add(buildProductCustomAttribute()); | 4428 o.add(buildProductCustomAttribute()); |
| 4429 o.add(buildProductCustomAttribute()); | 4429 o.add(buildProductCustomAttribute()); |
| 4430 return o; | 4430 return o; |
| 4431 } | 4431 } |
| 4432 | 4432 |
| 4433 checkUnnamed333(core.List<api.ProductCustomAttribute> o) { | 4433 checkUnnamed354(core.List<api.ProductCustomAttribute> o) { |
| 4434 unittest.expect(o, unittest.hasLength(2)); | 4434 unittest.expect(o, unittest.hasLength(2)); |
| 4435 checkProductCustomAttribute(o[0]); | 4435 checkProductCustomAttribute(o[0]); |
| 4436 checkProductCustomAttribute(o[1]); | 4436 checkProductCustomAttribute(o[1]); |
| 4437 } | 4437 } |
| 4438 | 4438 |
| 4439 core.int buildCounterProductCustomGroup = 0; | 4439 core.int buildCounterProductCustomGroup = 0; |
| 4440 buildProductCustomGroup() { | 4440 buildProductCustomGroup() { |
| 4441 var o = new api.ProductCustomGroup(); | 4441 var o = new api.ProductCustomGroup(); |
| 4442 buildCounterProductCustomGroup++; | 4442 buildCounterProductCustomGroup++; |
| 4443 if (buildCounterProductCustomGroup < 3) { | 4443 if (buildCounterProductCustomGroup < 3) { |
| 4444 o.attributes = buildUnnamed333(); | 4444 o.attributes = buildUnnamed354(); |
| 4445 o.name = "foo"; | 4445 o.name = "foo"; |
| 4446 } | 4446 } |
| 4447 buildCounterProductCustomGroup--; | 4447 buildCounterProductCustomGroup--; |
| 4448 return o; | 4448 return o; |
| 4449 } | 4449 } |
| 4450 | 4450 |
| 4451 checkProductCustomGroup(api.ProductCustomGroup o) { | 4451 checkProductCustomGroup(api.ProductCustomGroup o) { |
| 4452 buildCounterProductCustomGroup++; | 4452 buildCounterProductCustomGroup++; |
| 4453 if (buildCounterProductCustomGroup < 3) { | 4453 if (buildCounterProductCustomGroup < 3) { |
| 4454 checkUnnamed333(o.attributes); | 4454 checkUnnamed354(o.attributes); |
| 4455 unittest.expect(o.name, unittest.equals('foo')); | 4455 unittest.expect(o.name, unittest.equals('foo')); |
| 4456 } | 4456 } |
| 4457 buildCounterProductCustomGroup--; | 4457 buildCounterProductCustomGroup--; |
| 4458 } | 4458 } |
| 4459 | 4459 |
| 4460 core.int buildCounterProductDestination = 0; | 4460 core.int buildCounterProductDestination = 0; |
| 4461 buildProductDestination() { | 4461 buildProductDestination() { |
| 4462 var o = new api.ProductDestination(); | 4462 var o = new api.ProductDestination(); |
| 4463 buildCounterProductDestination++; | 4463 buildCounterProductDestination++; |
| 4464 if (buildCounterProductDestination < 3) { | 4464 if (buildCounterProductDestination < 3) { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4544 | 4544 |
| 4545 checkProductShippingWeight(api.ProductShippingWeight o) { | 4545 checkProductShippingWeight(api.ProductShippingWeight o) { |
| 4546 buildCounterProductShippingWeight++; | 4546 buildCounterProductShippingWeight++; |
| 4547 if (buildCounterProductShippingWeight < 3) { | 4547 if (buildCounterProductShippingWeight < 3) { |
| 4548 unittest.expect(o.unit, unittest.equals('foo')); | 4548 unittest.expect(o.unit, unittest.equals('foo')); |
| 4549 unittest.expect(o.value, unittest.equals(42.0)); | 4549 unittest.expect(o.value, unittest.equals(42.0)); |
| 4550 } | 4550 } |
| 4551 buildCounterProductShippingWeight--; | 4551 buildCounterProductShippingWeight--; |
| 4552 } | 4552 } |
| 4553 | 4553 |
| 4554 buildUnnamed334() { | 4554 buildUnnamed355() { |
| 4555 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 4555 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
| 4556 o.add(buildProductStatusDataQualityIssue()); | 4556 o.add(buildProductStatusDataQualityIssue()); |
| 4557 o.add(buildProductStatusDataQualityIssue()); | 4557 o.add(buildProductStatusDataQualityIssue()); |
| 4558 return o; | 4558 return o; |
| 4559 } | 4559 } |
| 4560 | 4560 |
| 4561 checkUnnamed334(core.List<api.ProductStatusDataQualityIssue> o) { | 4561 checkUnnamed355(core.List<api.ProductStatusDataQualityIssue> o) { |
| 4562 unittest.expect(o, unittest.hasLength(2)); | 4562 unittest.expect(o, unittest.hasLength(2)); |
| 4563 checkProductStatusDataQualityIssue(o[0]); | 4563 checkProductStatusDataQualityIssue(o[0]); |
| 4564 checkProductStatusDataQualityIssue(o[1]); | 4564 checkProductStatusDataQualityIssue(o[1]); |
| 4565 } | 4565 } |
| 4566 | 4566 |
| 4567 buildUnnamed335() { | 4567 buildUnnamed356() { |
| 4568 var o = new core.List<api.ProductStatusDestinationStatus>(); | 4568 var o = new core.List<api.ProductStatusDestinationStatus>(); |
| 4569 o.add(buildProductStatusDestinationStatus()); | 4569 o.add(buildProductStatusDestinationStatus()); |
| 4570 o.add(buildProductStatusDestinationStatus()); | 4570 o.add(buildProductStatusDestinationStatus()); |
| 4571 return o; | 4571 return o; |
| 4572 } | 4572 } |
| 4573 | 4573 |
| 4574 checkUnnamed335(core.List<api.ProductStatusDestinationStatus> o) { | 4574 checkUnnamed356(core.List<api.ProductStatusDestinationStatus> o) { |
| 4575 unittest.expect(o, unittest.hasLength(2)); | 4575 unittest.expect(o, unittest.hasLength(2)); |
| 4576 checkProductStatusDestinationStatus(o[0]); | 4576 checkProductStatusDestinationStatus(o[0]); |
| 4577 checkProductStatusDestinationStatus(o[1]); | 4577 checkProductStatusDestinationStatus(o[1]); |
| 4578 } | 4578 } |
| 4579 | 4579 |
| 4580 core.int buildCounterProductStatus = 0; | 4580 core.int buildCounterProductStatus = 0; |
| 4581 buildProductStatus() { | 4581 buildProductStatus() { |
| 4582 var o = new api.ProductStatus(); | 4582 var o = new api.ProductStatus(); |
| 4583 buildCounterProductStatus++; | 4583 buildCounterProductStatus++; |
| 4584 if (buildCounterProductStatus < 3) { | 4584 if (buildCounterProductStatus < 3) { |
| 4585 o.creationDate = "foo"; | 4585 o.creationDate = "foo"; |
| 4586 o.dataQualityIssues = buildUnnamed334(); | 4586 o.dataQualityIssues = buildUnnamed355(); |
| 4587 o.destinationStatuses = buildUnnamed335(); | 4587 o.destinationStatuses = buildUnnamed356(); |
| 4588 o.googleExpirationDate = "foo"; | 4588 o.googleExpirationDate = "foo"; |
| 4589 o.kind = "foo"; | 4589 o.kind = "foo"; |
| 4590 o.lastUpdateDate = "foo"; | 4590 o.lastUpdateDate = "foo"; |
| 4591 o.link = "foo"; | 4591 o.link = "foo"; |
| 4592 o.productId = "foo"; | 4592 o.productId = "foo"; |
| 4593 o.title = "foo"; | 4593 o.title = "foo"; |
| 4594 } | 4594 } |
| 4595 buildCounterProductStatus--; | 4595 buildCounterProductStatus--; |
| 4596 return o; | 4596 return o; |
| 4597 } | 4597 } |
| 4598 | 4598 |
| 4599 checkProductStatus(api.ProductStatus o) { | 4599 checkProductStatus(api.ProductStatus o) { |
| 4600 buildCounterProductStatus++; | 4600 buildCounterProductStatus++; |
| 4601 if (buildCounterProductStatus < 3) { | 4601 if (buildCounterProductStatus < 3) { |
| 4602 unittest.expect(o.creationDate, unittest.equals('foo')); | 4602 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 4603 checkUnnamed334(o.dataQualityIssues); | 4603 checkUnnamed355(o.dataQualityIssues); |
| 4604 checkUnnamed335(o.destinationStatuses); | 4604 checkUnnamed356(o.destinationStatuses); |
| 4605 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 4605 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
| 4606 unittest.expect(o.kind, unittest.equals('foo')); | 4606 unittest.expect(o.kind, unittest.equals('foo')); |
| 4607 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 4607 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
| 4608 unittest.expect(o.link, unittest.equals('foo')); | 4608 unittest.expect(o.link, unittest.equals('foo')); |
| 4609 unittest.expect(o.productId, unittest.equals('foo')); | 4609 unittest.expect(o.productId, unittest.equals('foo')); |
| 4610 unittest.expect(o.title, unittest.equals('foo')); | 4610 unittest.expect(o.title, unittest.equals('foo')); |
| 4611 } | 4611 } |
| 4612 buildCounterProductStatus--; | 4612 buildCounterProductStatus--; |
| 4613 } | 4613 } |
| 4614 | 4614 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4732 | 4732 |
| 4733 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 4733 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
| 4734 buildCounterProductUnitPricingMeasure++; | 4734 buildCounterProductUnitPricingMeasure++; |
| 4735 if (buildCounterProductUnitPricingMeasure < 3) { | 4735 if (buildCounterProductUnitPricingMeasure < 3) { |
| 4736 unittest.expect(o.unit, unittest.equals('foo')); | 4736 unittest.expect(o.unit, unittest.equals('foo')); |
| 4737 unittest.expect(o.value, unittest.equals(42.0)); | 4737 unittest.expect(o.value, unittest.equals(42.0)); |
| 4738 } | 4738 } |
| 4739 buildCounterProductUnitPricingMeasure--; | 4739 buildCounterProductUnitPricingMeasure--; |
| 4740 } | 4740 } |
| 4741 | 4741 |
| 4742 buildUnnamed336() { | 4742 buildUnnamed357() { |
| 4743 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 4743 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
| 4744 o.add(buildProductsCustomBatchRequestEntry()); | 4744 o.add(buildProductsCustomBatchRequestEntry()); |
| 4745 o.add(buildProductsCustomBatchRequestEntry()); | 4745 o.add(buildProductsCustomBatchRequestEntry()); |
| 4746 return o; | 4746 return o; |
| 4747 } | 4747 } |
| 4748 | 4748 |
| 4749 checkUnnamed336(core.List<api.ProductsCustomBatchRequestEntry> o) { | 4749 checkUnnamed357(core.List<api.ProductsCustomBatchRequestEntry> o) { |
| 4750 unittest.expect(o, unittest.hasLength(2)); | 4750 unittest.expect(o, unittest.hasLength(2)); |
| 4751 checkProductsCustomBatchRequestEntry(o[0]); | 4751 checkProductsCustomBatchRequestEntry(o[0]); |
| 4752 checkProductsCustomBatchRequestEntry(o[1]); | 4752 checkProductsCustomBatchRequestEntry(o[1]); |
| 4753 } | 4753 } |
| 4754 | 4754 |
| 4755 core.int buildCounterProductsCustomBatchRequest = 0; | 4755 core.int buildCounterProductsCustomBatchRequest = 0; |
| 4756 buildProductsCustomBatchRequest() { | 4756 buildProductsCustomBatchRequest() { |
| 4757 var o = new api.ProductsCustomBatchRequest(); | 4757 var o = new api.ProductsCustomBatchRequest(); |
| 4758 buildCounterProductsCustomBatchRequest++; | 4758 buildCounterProductsCustomBatchRequest++; |
| 4759 if (buildCounterProductsCustomBatchRequest < 3) { | 4759 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4760 o.entries = buildUnnamed336(); | 4760 o.entries = buildUnnamed357(); |
| 4761 } | 4761 } |
| 4762 buildCounterProductsCustomBatchRequest--; | 4762 buildCounterProductsCustomBatchRequest--; |
| 4763 return o; | 4763 return o; |
| 4764 } | 4764 } |
| 4765 | 4765 |
| 4766 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 4766 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
| 4767 buildCounterProductsCustomBatchRequest++; | 4767 buildCounterProductsCustomBatchRequest++; |
| 4768 if (buildCounterProductsCustomBatchRequest < 3) { | 4768 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4769 checkUnnamed336(o.entries); | 4769 checkUnnamed357(o.entries); |
| 4770 } | 4770 } |
| 4771 buildCounterProductsCustomBatchRequest--; | 4771 buildCounterProductsCustomBatchRequest--; |
| 4772 } | 4772 } |
| 4773 | 4773 |
| 4774 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 4774 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
| 4775 buildProductsCustomBatchRequestEntry() { | 4775 buildProductsCustomBatchRequestEntry() { |
| 4776 var o = new api.ProductsCustomBatchRequestEntry(); | 4776 var o = new api.ProductsCustomBatchRequestEntry(); |
| 4777 buildCounterProductsCustomBatchRequestEntry++; | 4777 buildCounterProductsCustomBatchRequestEntry++; |
| 4778 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4778 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4779 o.batchId = 42; | 4779 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4791 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4791 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4792 unittest.expect(o.batchId, unittest.equals(42)); | 4792 unittest.expect(o.batchId, unittest.equals(42)); |
| 4793 unittest.expect(o.merchantId, unittest.equals('foo')); | 4793 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4794 unittest.expect(o.method, unittest.equals('foo')); | 4794 unittest.expect(o.method, unittest.equals('foo')); |
| 4795 checkProduct(o.product); | 4795 checkProduct(o.product); |
| 4796 unittest.expect(o.productId, unittest.equals('foo')); | 4796 unittest.expect(o.productId, unittest.equals('foo')); |
| 4797 } | 4797 } |
| 4798 buildCounterProductsCustomBatchRequestEntry--; | 4798 buildCounterProductsCustomBatchRequestEntry--; |
| 4799 } | 4799 } |
| 4800 | 4800 |
| 4801 buildUnnamed337() { | 4801 buildUnnamed358() { |
| 4802 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 4802 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
| 4803 o.add(buildProductsCustomBatchResponseEntry()); | 4803 o.add(buildProductsCustomBatchResponseEntry()); |
| 4804 o.add(buildProductsCustomBatchResponseEntry()); | 4804 o.add(buildProductsCustomBatchResponseEntry()); |
| 4805 return o; | 4805 return o; |
| 4806 } | 4806 } |
| 4807 | 4807 |
| 4808 checkUnnamed337(core.List<api.ProductsCustomBatchResponseEntry> o) { | 4808 checkUnnamed358(core.List<api.ProductsCustomBatchResponseEntry> o) { |
| 4809 unittest.expect(o, unittest.hasLength(2)); | 4809 unittest.expect(o, unittest.hasLength(2)); |
| 4810 checkProductsCustomBatchResponseEntry(o[0]); | 4810 checkProductsCustomBatchResponseEntry(o[0]); |
| 4811 checkProductsCustomBatchResponseEntry(o[1]); | 4811 checkProductsCustomBatchResponseEntry(o[1]); |
| 4812 } | 4812 } |
| 4813 | 4813 |
| 4814 core.int buildCounterProductsCustomBatchResponse = 0; | 4814 core.int buildCounterProductsCustomBatchResponse = 0; |
| 4815 buildProductsCustomBatchResponse() { | 4815 buildProductsCustomBatchResponse() { |
| 4816 var o = new api.ProductsCustomBatchResponse(); | 4816 var o = new api.ProductsCustomBatchResponse(); |
| 4817 buildCounterProductsCustomBatchResponse++; | 4817 buildCounterProductsCustomBatchResponse++; |
| 4818 if (buildCounterProductsCustomBatchResponse < 3) { | 4818 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4819 o.entries = buildUnnamed337(); | 4819 o.entries = buildUnnamed358(); |
| 4820 o.kind = "foo"; | 4820 o.kind = "foo"; |
| 4821 } | 4821 } |
| 4822 buildCounterProductsCustomBatchResponse--; | 4822 buildCounterProductsCustomBatchResponse--; |
| 4823 return o; | 4823 return o; |
| 4824 } | 4824 } |
| 4825 | 4825 |
| 4826 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 4826 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
| 4827 buildCounterProductsCustomBatchResponse++; | 4827 buildCounterProductsCustomBatchResponse++; |
| 4828 if (buildCounterProductsCustomBatchResponse < 3) { | 4828 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4829 checkUnnamed337(o.entries); | 4829 checkUnnamed358(o.entries); |
| 4830 unittest.expect(o.kind, unittest.equals('foo')); | 4830 unittest.expect(o.kind, unittest.equals('foo')); |
| 4831 } | 4831 } |
| 4832 buildCounterProductsCustomBatchResponse--; | 4832 buildCounterProductsCustomBatchResponse--; |
| 4833 } | 4833 } |
| 4834 | 4834 |
| 4835 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 4835 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
| 4836 buildProductsCustomBatchResponseEntry() { | 4836 buildProductsCustomBatchResponseEntry() { |
| 4837 var o = new api.ProductsCustomBatchResponseEntry(); | 4837 var o = new api.ProductsCustomBatchResponseEntry(); |
| 4838 buildCounterProductsCustomBatchResponseEntry++; | 4838 buildCounterProductsCustomBatchResponseEntry++; |
| 4839 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4839 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4850 buildCounterProductsCustomBatchResponseEntry++; | 4850 buildCounterProductsCustomBatchResponseEntry++; |
| 4851 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4851 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| 4852 unittest.expect(o.batchId, unittest.equals(42)); | 4852 unittest.expect(o.batchId, unittest.equals(42)); |
| 4853 checkErrors(o.errors); | 4853 checkErrors(o.errors); |
| 4854 unittest.expect(o.kind, unittest.equals('foo')); | 4854 unittest.expect(o.kind, unittest.equals('foo')); |
| 4855 checkProduct(o.product); | 4855 checkProduct(o.product); |
| 4856 } | 4856 } |
| 4857 buildCounterProductsCustomBatchResponseEntry--; | 4857 buildCounterProductsCustomBatchResponseEntry--; |
| 4858 } | 4858 } |
| 4859 | 4859 |
| 4860 buildUnnamed338() { | 4860 buildUnnamed359() { |
| 4861 var o = new core.List<api.Product>(); | 4861 var o = new core.List<api.Product>(); |
| 4862 o.add(buildProduct()); | 4862 o.add(buildProduct()); |
| 4863 o.add(buildProduct()); | 4863 o.add(buildProduct()); |
| 4864 return o; | 4864 return o; |
| 4865 } | 4865 } |
| 4866 | 4866 |
| 4867 checkUnnamed338(core.List<api.Product> o) { | 4867 checkUnnamed359(core.List<api.Product> o) { |
| 4868 unittest.expect(o, unittest.hasLength(2)); | 4868 unittest.expect(o, unittest.hasLength(2)); |
| 4869 checkProduct(o[0]); | 4869 checkProduct(o[0]); |
| 4870 checkProduct(o[1]); | 4870 checkProduct(o[1]); |
| 4871 } | 4871 } |
| 4872 | 4872 |
| 4873 core.int buildCounterProductsListResponse = 0; | 4873 core.int buildCounterProductsListResponse = 0; |
| 4874 buildProductsListResponse() { | 4874 buildProductsListResponse() { |
| 4875 var o = new api.ProductsListResponse(); | 4875 var o = new api.ProductsListResponse(); |
| 4876 buildCounterProductsListResponse++; | 4876 buildCounterProductsListResponse++; |
| 4877 if (buildCounterProductsListResponse < 3) { | 4877 if (buildCounterProductsListResponse < 3) { |
| 4878 o.kind = "foo"; | 4878 o.kind = "foo"; |
| 4879 o.nextPageToken = "foo"; | 4879 o.nextPageToken = "foo"; |
| 4880 o.resources = buildUnnamed338(); | 4880 o.resources = buildUnnamed359(); |
| 4881 } | 4881 } |
| 4882 buildCounterProductsListResponse--; | 4882 buildCounterProductsListResponse--; |
| 4883 return o; | 4883 return o; |
| 4884 } | 4884 } |
| 4885 | 4885 |
| 4886 checkProductsListResponse(api.ProductsListResponse o) { | 4886 checkProductsListResponse(api.ProductsListResponse o) { |
| 4887 buildCounterProductsListResponse++; | 4887 buildCounterProductsListResponse++; |
| 4888 if (buildCounterProductsListResponse < 3) { | 4888 if (buildCounterProductsListResponse < 3) { |
| 4889 unittest.expect(o.kind, unittest.equals('foo')); | 4889 unittest.expect(o.kind, unittest.equals('foo')); |
| 4890 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4890 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4891 checkUnnamed338(o.resources); | 4891 checkUnnamed359(o.resources); |
| 4892 } | 4892 } |
| 4893 buildCounterProductsListResponse--; | 4893 buildCounterProductsListResponse--; |
| 4894 } | 4894 } |
| 4895 | 4895 |
| 4896 buildUnnamed339() { | 4896 buildUnnamed360() { |
| 4897 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 4897 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
| 4898 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4898 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4899 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4899 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4900 return o; | 4900 return o; |
| 4901 } | 4901 } |
| 4902 | 4902 |
| 4903 checkUnnamed339(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 4903 checkUnnamed360(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
| 4904 unittest.expect(o, unittest.hasLength(2)); | 4904 unittest.expect(o, unittest.hasLength(2)); |
| 4905 checkProductstatusesCustomBatchRequestEntry(o[0]); | 4905 checkProductstatusesCustomBatchRequestEntry(o[0]); |
| 4906 checkProductstatusesCustomBatchRequestEntry(o[1]); | 4906 checkProductstatusesCustomBatchRequestEntry(o[1]); |
| 4907 } | 4907 } |
| 4908 | 4908 |
| 4909 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 4909 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
| 4910 buildProductstatusesCustomBatchRequest() { | 4910 buildProductstatusesCustomBatchRequest() { |
| 4911 var o = new api.ProductstatusesCustomBatchRequest(); | 4911 var o = new api.ProductstatusesCustomBatchRequest(); |
| 4912 buildCounterProductstatusesCustomBatchRequest++; | 4912 buildCounterProductstatusesCustomBatchRequest++; |
| 4913 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4913 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4914 o.entries = buildUnnamed339(); | 4914 o.entries = buildUnnamed360(); |
| 4915 } | 4915 } |
| 4916 buildCounterProductstatusesCustomBatchRequest--; | 4916 buildCounterProductstatusesCustomBatchRequest--; |
| 4917 return o; | 4917 return o; |
| 4918 } | 4918 } |
| 4919 | 4919 |
| 4920 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 4920 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
| 4921 buildCounterProductstatusesCustomBatchRequest++; | 4921 buildCounterProductstatusesCustomBatchRequest++; |
| 4922 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4922 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4923 checkUnnamed339(o.entries); | 4923 checkUnnamed360(o.entries); |
| 4924 } | 4924 } |
| 4925 buildCounterProductstatusesCustomBatchRequest--; | 4925 buildCounterProductstatusesCustomBatchRequest--; |
| 4926 } | 4926 } |
| 4927 | 4927 |
| 4928 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 4928 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
| 4929 buildProductstatusesCustomBatchRequestEntry() { | 4929 buildProductstatusesCustomBatchRequestEntry() { |
| 4930 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 4930 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
| 4931 buildCounterProductstatusesCustomBatchRequestEntry++; | 4931 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4932 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4932 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4933 o.batchId = 42; | 4933 o.batchId = 42; |
| 4934 o.merchantId = "foo"; | 4934 o.merchantId = "foo"; |
| 4935 o.method = "foo"; | 4935 o.method = "foo"; |
| 4936 o.productId = "foo"; | 4936 o.productId = "foo"; |
| 4937 } | 4937 } |
| 4938 buildCounterProductstatusesCustomBatchRequestEntry--; | 4938 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4939 return o; | 4939 return o; |
| 4940 } | 4940 } |
| 4941 | 4941 |
| 4942 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 4942 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
| 4943 buildCounterProductstatusesCustomBatchRequestEntry++; | 4943 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4944 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4944 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4945 unittest.expect(o.batchId, unittest.equals(42)); | 4945 unittest.expect(o.batchId, unittest.equals(42)); |
| 4946 unittest.expect(o.merchantId, unittest.equals('foo')); | 4946 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4947 unittest.expect(o.method, unittest.equals('foo')); | 4947 unittest.expect(o.method, unittest.equals('foo')); |
| 4948 unittest.expect(o.productId, unittest.equals('foo')); | 4948 unittest.expect(o.productId, unittest.equals('foo')); |
| 4949 } | 4949 } |
| 4950 buildCounterProductstatusesCustomBatchRequestEntry--; | 4950 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4951 } | 4951 } |
| 4952 | 4952 |
| 4953 buildUnnamed340() { | 4953 buildUnnamed361() { |
| 4954 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 4954 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
| 4955 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4955 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4956 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4956 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4957 return o; | 4957 return o; |
| 4958 } | 4958 } |
| 4959 | 4959 |
| 4960 checkUnnamed340(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 4960 checkUnnamed361(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
| 4961 unittest.expect(o, unittest.hasLength(2)); | 4961 unittest.expect(o, unittest.hasLength(2)); |
| 4962 checkProductstatusesCustomBatchResponseEntry(o[0]); | 4962 checkProductstatusesCustomBatchResponseEntry(o[0]); |
| 4963 checkProductstatusesCustomBatchResponseEntry(o[1]); | 4963 checkProductstatusesCustomBatchResponseEntry(o[1]); |
| 4964 } | 4964 } |
| 4965 | 4965 |
| 4966 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 4966 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
| 4967 buildProductstatusesCustomBatchResponse() { | 4967 buildProductstatusesCustomBatchResponse() { |
| 4968 var o = new api.ProductstatusesCustomBatchResponse(); | 4968 var o = new api.ProductstatusesCustomBatchResponse(); |
| 4969 buildCounterProductstatusesCustomBatchResponse++; | 4969 buildCounterProductstatusesCustomBatchResponse++; |
| 4970 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4970 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4971 o.entries = buildUnnamed340(); | 4971 o.entries = buildUnnamed361(); |
| 4972 o.kind = "foo"; | 4972 o.kind = "foo"; |
| 4973 } | 4973 } |
| 4974 buildCounterProductstatusesCustomBatchResponse--; | 4974 buildCounterProductstatusesCustomBatchResponse--; |
| 4975 return o; | 4975 return o; |
| 4976 } | 4976 } |
| 4977 | 4977 |
| 4978 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 4978 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
| 4979 buildCounterProductstatusesCustomBatchResponse++; | 4979 buildCounterProductstatusesCustomBatchResponse++; |
| 4980 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4980 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4981 checkUnnamed340(o.entries); | 4981 checkUnnamed361(o.entries); |
| 4982 unittest.expect(o.kind, unittest.equals('foo')); | 4982 unittest.expect(o.kind, unittest.equals('foo')); |
| 4983 } | 4983 } |
| 4984 buildCounterProductstatusesCustomBatchResponse--; | 4984 buildCounterProductstatusesCustomBatchResponse--; |
| 4985 } | 4985 } |
| 4986 | 4986 |
| 4987 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 4987 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
| 4988 buildProductstatusesCustomBatchResponseEntry() { | 4988 buildProductstatusesCustomBatchResponseEntry() { |
| 4989 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 4989 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
| 4990 buildCounterProductstatusesCustomBatchResponseEntry++; | 4990 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 4991 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4991 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 5002 buildCounterProductstatusesCustomBatchResponseEntry++; | 5002 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 5003 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 5003 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| 5004 unittest.expect(o.batchId, unittest.equals(42)); | 5004 unittest.expect(o.batchId, unittest.equals(42)); |
| 5005 checkErrors(o.errors); | 5005 checkErrors(o.errors); |
| 5006 unittest.expect(o.kind, unittest.equals('foo')); | 5006 unittest.expect(o.kind, unittest.equals('foo')); |
| 5007 checkProductStatus(o.productStatus); | 5007 checkProductStatus(o.productStatus); |
| 5008 } | 5008 } |
| 5009 buildCounterProductstatusesCustomBatchResponseEntry--; | 5009 buildCounterProductstatusesCustomBatchResponseEntry--; |
| 5010 } | 5010 } |
| 5011 | 5011 |
| 5012 buildUnnamed341() { | 5012 buildUnnamed362() { |
| 5013 var o = new core.List<api.ProductStatus>(); | 5013 var o = new core.List<api.ProductStatus>(); |
| 5014 o.add(buildProductStatus()); | 5014 o.add(buildProductStatus()); |
| 5015 o.add(buildProductStatus()); | 5015 o.add(buildProductStatus()); |
| 5016 return o; | 5016 return o; |
| 5017 } | 5017 } |
| 5018 | 5018 |
| 5019 checkUnnamed341(core.List<api.ProductStatus> o) { | 5019 checkUnnamed362(core.List<api.ProductStatus> o) { |
| 5020 unittest.expect(o, unittest.hasLength(2)); | 5020 unittest.expect(o, unittest.hasLength(2)); |
| 5021 checkProductStatus(o[0]); | 5021 checkProductStatus(o[0]); |
| 5022 checkProductStatus(o[1]); | 5022 checkProductStatus(o[1]); |
| 5023 } | 5023 } |
| 5024 | 5024 |
| 5025 core.int buildCounterProductstatusesListResponse = 0; | 5025 core.int buildCounterProductstatusesListResponse = 0; |
| 5026 buildProductstatusesListResponse() { | 5026 buildProductstatusesListResponse() { |
| 5027 var o = new api.ProductstatusesListResponse(); | 5027 var o = new api.ProductstatusesListResponse(); |
| 5028 buildCounterProductstatusesListResponse++; | 5028 buildCounterProductstatusesListResponse++; |
| 5029 if (buildCounterProductstatusesListResponse < 3) { | 5029 if (buildCounterProductstatusesListResponse < 3) { |
| 5030 o.kind = "foo"; | 5030 o.kind = "foo"; |
| 5031 o.nextPageToken = "foo"; | 5031 o.nextPageToken = "foo"; |
| 5032 o.resources = buildUnnamed341(); | 5032 o.resources = buildUnnamed362(); |
| 5033 } | 5033 } |
| 5034 buildCounterProductstatusesListResponse--; | 5034 buildCounterProductstatusesListResponse--; |
| 5035 return o; | 5035 return o; |
| 5036 } | 5036 } |
| 5037 | 5037 |
| 5038 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 5038 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
| 5039 buildCounterProductstatusesListResponse++; | 5039 buildCounterProductstatusesListResponse++; |
| 5040 if (buildCounterProductstatusesListResponse < 3) { | 5040 if (buildCounterProductstatusesListResponse < 3) { |
| 5041 unittest.expect(o.kind, unittest.equals('foo')); | 5041 unittest.expect(o.kind, unittest.equals('foo')); |
| 5042 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5042 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5043 checkUnnamed341(o.resources); | 5043 checkUnnamed362(o.resources); |
| 5044 } | 5044 } |
| 5045 buildCounterProductstatusesListResponse--; | 5045 buildCounterProductstatusesListResponse--; |
| 5046 } | 5046 } |
| 5047 | 5047 |
| 5048 buildUnnamed342() { | 5048 buildUnnamed363() { |
| 5049 var o = new core.List<core.String>(); | 5049 var o = new core.List<core.String>(); |
| 5050 o.add("foo"); | 5050 o.add("foo"); |
| 5051 o.add("foo"); | 5051 o.add("foo"); |
| 5052 return o; | 5052 return o; |
| 5053 } | 5053 } |
| 5054 | 5054 |
| 5055 checkUnnamed342(core.List<core.String> o) { | 5055 checkUnnamed363(core.List<core.String> o) { |
| 5056 unittest.expect(o, unittest.hasLength(2)); | 5056 unittest.expect(o, unittest.hasLength(2)); |
| 5057 unittest.expect(o[0], unittest.equals('foo')); | 5057 unittest.expect(o[0], unittest.equals('foo')); |
| 5058 unittest.expect(o[1], unittest.equals('foo')); | 5058 unittest.expect(o[1], unittest.equals('foo')); |
| 5059 } | 5059 } |
| 5060 | 5060 |
| 5061 buildUnnamed343() { | 5061 buildUnnamed364() { |
| 5062 var o = new core.List<api.CarrierRate>(); | 5062 var o = new core.List<api.CarrierRate>(); |
| 5063 o.add(buildCarrierRate()); | 5063 o.add(buildCarrierRate()); |
| 5064 o.add(buildCarrierRate()); | 5064 o.add(buildCarrierRate()); |
| 5065 return o; | 5065 return o; |
| 5066 } | 5066 } |
| 5067 | 5067 |
| 5068 checkUnnamed343(core.List<api.CarrierRate> o) { | 5068 checkUnnamed364(core.List<api.CarrierRate> o) { |
| 5069 unittest.expect(o, unittest.hasLength(2)); | 5069 unittest.expect(o, unittest.hasLength(2)); |
| 5070 checkCarrierRate(o[0]); | 5070 checkCarrierRate(o[0]); |
| 5071 checkCarrierRate(o[1]); | 5071 checkCarrierRate(o[1]); |
| 5072 } | 5072 } |
| 5073 | 5073 |
| 5074 buildUnnamed344() { | 5074 buildUnnamed365() { |
| 5075 var o = new core.List<api.Table>(); | 5075 var o = new core.List<api.Table>(); |
| 5076 o.add(buildTable()); | 5076 o.add(buildTable()); |
| 5077 o.add(buildTable()); | 5077 o.add(buildTable()); |
| 5078 return o; | 5078 return o; |
| 5079 } | 5079 } |
| 5080 | 5080 |
| 5081 checkUnnamed344(core.List<api.Table> o) { | 5081 checkUnnamed365(core.List<api.Table> o) { |
| 5082 unittest.expect(o, unittest.hasLength(2)); | 5082 unittest.expect(o, unittest.hasLength(2)); |
| 5083 checkTable(o[0]); | 5083 checkTable(o[0]); |
| 5084 checkTable(o[1]); | 5084 checkTable(o[1]); |
| 5085 } | 5085 } |
| 5086 | 5086 |
| 5087 core.int buildCounterRateGroup = 0; | 5087 core.int buildCounterRateGroup = 0; |
| 5088 buildRateGroup() { | 5088 buildRateGroup() { |
| 5089 var o = new api.RateGroup(); | 5089 var o = new api.RateGroup(); |
| 5090 buildCounterRateGroup++; | 5090 buildCounterRateGroup++; |
| 5091 if (buildCounterRateGroup < 3) { | 5091 if (buildCounterRateGroup < 3) { |
| 5092 o.applicableShippingLabels = buildUnnamed342(); | 5092 o.applicableShippingLabels = buildUnnamed363(); |
| 5093 o.carrierRates = buildUnnamed343(); | 5093 o.carrierRates = buildUnnamed364(); |
| 5094 o.mainTable = buildTable(); | 5094 o.mainTable = buildTable(); |
| 5095 o.singleValue = buildValue(); | 5095 o.singleValue = buildValue(); |
| 5096 o.subtables = buildUnnamed344(); | 5096 o.subtables = buildUnnamed365(); |
| 5097 } | 5097 } |
| 5098 buildCounterRateGroup--; | 5098 buildCounterRateGroup--; |
| 5099 return o; | 5099 return o; |
| 5100 } | 5100 } |
| 5101 | 5101 |
| 5102 checkRateGroup(api.RateGroup o) { | 5102 checkRateGroup(api.RateGroup o) { |
| 5103 buildCounterRateGroup++; | 5103 buildCounterRateGroup++; |
| 5104 if (buildCounterRateGroup < 3) { | 5104 if (buildCounterRateGroup < 3) { |
| 5105 checkUnnamed342(o.applicableShippingLabels); | 5105 checkUnnamed363(o.applicableShippingLabels); |
| 5106 checkUnnamed343(o.carrierRates); | 5106 checkUnnamed364(o.carrierRates); |
| 5107 checkTable(o.mainTable); | 5107 checkTable(o.mainTable); |
| 5108 checkValue(o.singleValue); | 5108 checkValue(o.singleValue); |
| 5109 checkUnnamed344(o.subtables); | 5109 checkUnnamed365(o.subtables); |
| 5110 } | 5110 } |
| 5111 buildCounterRateGroup--; | 5111 buildCounterRateGroup--; |
| 5112 } | 5112 } |
| 5113 | 5113 |
| 5114 buildUnnamed345() { | 5114 buildUnnamed366() { |
| 5115 var o = new core.List<api.Value>(); | 5115 var o = new core.List<api.Value>(); |
| 5116 o.add(buildValue()); | 5116 o.add(buildValue()); |
| 5117 o.add(buildValue()); | 5117 o.add(buildValue()); |
| 5118 return o; | 5118 return o; |
| 5119 } | 5119 } |
| 5120 | 5120 |
| 5121 checkUnnamed345(core.List<api.Value> o) { | 5121 checkUnnamed366(core.List<api.Value> o) { |
| 5122 unittest.expect(o, unittest.hasLength(2)); | 5122 unittest.expect(o, unittest.hasLength(2)); |
| 5123 checkValue(o[0]); | 5123 checkValue(o[0]); |
| 5124 checkValue(o[1]); | 5124 checkValue(o[1]); |
| 5125 } | 5125 } |
| 5126 | 5126 |
| 5127 core.int buildCounterRow = 0; | 5127 core.int buildCounterRow = 0; |
| 5128 buildRow() { | 5128 buildRow() { |
| 5129 var o = new api.Row(); | 5129 var o = new api.Row(); |
| 5130 buildCounterRow++; | 5130 buildCounterRow++; |
| 5131 if (buildCounterRow < 3) { | 5131 if (buildCounterRow < 3) { |
| 5132 o.cells = buildUnnamed345(); | 5132 o.cells = buildUnnamed366(); |
| 5133 } | 5133 } |
| 5134 buildCounterRow--; | 5134 buildCounterRow--; |
| 5135 return o; | 5135 return o; |
| 5136 } | 5136 } |
| 5137 | 5137 |
| 5138 checkRow(api.Row o) { | 5138 checkRow(api.Row o) { |
| 5139 buildCounterRow++; | 5139 buildCounterRow++; |
| 5140 if (buildCounterRow < 3) { | 5140 if (buildCounterRow < 3) { |
| 5141 checkUnnamed345(o.cells); | 5141 checkUnnamed366(o.cells); |
| 5142 } | 5142 } |
| 5143 buildCounterRow--; | 5143 buildCounterRow--; |
| 5144 } | 5144 } |
| 5145 | 5145 |
| 5146 buildUnnamed346() { | 5146 buildUnnamed367() { |
| 5147 var o = new core.List<api.RateGroup>(); | 5147 var o = new core.List<api.RateGroup>(); |
| 5148 o.add(buildRateGroup()); | 5148 o.add(buildRateGroup()); |
| 5149 o.add(buildRateGroup()); | 5149 o.add(buildRateGroup()); |
| 5150 return o; | 5150 return o; |
| 5151 } | 5151 } |
| 5152 | 5152 |
| 5153 checkUnnamed346(core.List<api.RateGroup> o) { | 5153 checkUnnamed367(core.List<api.RateGroup> o) { |
| 5154 unittest.expect(o, unittest.hasLength(2)); | 5154 unittest.expect(o, unittest.hasLength(2)); |
| 5155 checkRateGroup(o[0]); | 5155 checkRateGroup(o[0]); |
| 5156 checkRateGroup(o[1]); | 5156 checkRateGroup(o[1]); |
| 5157 } | 5157 } |
| 5158 | 5158 |
| 5159 core.int buildCounterService = 0; | 5159 core.int buildCounterService = 0; |
| 5160 buildService() { | 5160 buildService() { |
| 5161 var o = new api.Service(); | 5161 var o = new api.Service(); |
| 5162 buildCounterService++; | 5162 buildCounterService++; |
| 5163 if (buildCounterService < 3) { | 5163 if (buildCounterService < 3) { |
| 5164 o.active = true; | 5164 o.active = true; |
| 5165 o.currency = "foo"; | 5165 o.currency = "foo"; |
| 5166 o.deliveryCountry = "foo"; | 5166 o.deliveryCountry = "foo"; |
| 5167 o.deliveryTime = buildDeliveryTime(); | 5167 o.deliveryTime = buildDeliveryTime(); |
| 5168 o.name = "foo"; | 5168 o.name = "foo"; |
| 5169 o.rateGroups = buildUnnamed346(); | 5169 o.rateGroups = buildUnnamed367(); |
| 5170 } | 5170 } |
| 5171 buildCounterService--; | 5171 buildCounterService--; |
| 5172 return o; | 5172 return o; |
| 5173 } | 5173 } |
| 5174 | 5174 |
| 5175 checkService(api.Service o) { | 5175 checkService(api.Service o) { |
| 5176 buildCounterService++; | 5176 buildCounterService++; |
| 5177 if (buildCounterService < 3) { | 5177 if (buildCounterService < 3) { |
| 5178 unittest.expect(o.active, unittest.isTrue); | 5178 unittest.expect(o.active, unittest.isTrue); |
| 5179 unittest.expect(o.currency, unittest.equals('foo')); | 5179 unittest.expect(o.currency, unittest.equals('foo')); |
| 5180 unittest.expect(o.deliveryCountry, unittest.equals('foo')); | 5180 unittest.expect(o.deliveryCountry, unittest.equals('foo')); |
| 5181 checkDeliveryTime(o.deliveryTime); | 5181 checkDeliveryTime(o.deliveryTime); |
| 5182 unittest.expect(o.name, unittest.equals('foo')); | 5182 unittest.expect(o.name, unittest.equals('foo')); |
| 5183 checkUnnamed346(o.rateGroups); | 5183 checkUnnamed367(o.rateGroups); |
| 5184 } | 5184 } |
| 5185 buildCounterService--; | 5185 buildCounterService--; |
| 5186 } | 5186 } |
| 5187 | 5187 |
| 5188 buildUnnamed347() { | 5188 buildUnnamed368() { |
| 5189 var o = new core.List<api.PostalCodeGroup>(); | 5189 var o = new core.List<api.PostalCodeGroup>(); |
| 5190 o.add(buildPostalCodeGroup()); | 5190 o.add(buildPostalCodeGroup()); |
| 5191 o.add(buildPostalCodeGroup()); | 5191 o.add(buildPostalCodeGroup()); |
| 5192 return o; | 5192 return o; |
| 5193 } | 5193 } |
| 5194 | 5194 |
| 5195 checkUnnamed347(core.List<api.PostalCodeGroup> o) { | 5195 checkUnnamed368(core.List<api.PostalCodeGroup> o) { |
| 5196 unittest.expect(o, unittest.hasLength(2)); | 5196 unittest.expect(o, unittest.hasLength(2)); |
| 5197 checkPostalCodeGroup(o[0]); | 5197 checkPostalCodeGroup(o[0]); |
| 5198 checkPostalCodeGroup(o[1]); | 5198 checkPostalCodeGroup(o[1]); |
| 5199 } | 5199 } |
| 5200 | 5200 |
| 5201 buildUnnamed348() { | 5201 buildUnnamed369() { |
| 5202 var o = new core.List<api.Service>(); | 5202 var o = new core.List<api.Service>(); |
| 5203 o.add(buildService()); | 5203 o.add(buildService()); |
| 5204 o.add(buildService()); | 5204 o.add(buildService()); |
| 5205 return o; | 5205 return o; |
| 5206 } | 5206 } |
| 5207 | 5207 |
| 5208 checkUnnamed348(core.List<api.Service> o) { | 5208 checkUnnamed369(core.List<api.Service> o) { |
| 5209 unittest.expect(o, unittest.hasLength(2)); | 5209 unittest.expect(o, unittest.hasLength(2)); |
| 5210 checkService(o[0]); | 5210 checkService(o[0]); |
| 5211 checkService(o[1]); | 5211 checkService(o[1]); |
| 5212 } | 5212 } |
| 5213 | 5213 |
| 5214 core.int buildCounterShippingSettings = 0; | 5214 core.int buildCounterShippingSettings = 0; |
| 5215 buildShippingSettings() { | 5215 buildShippingSettings() { |
| 5216 var o = new api.ShippingSettings(); | 5216 var o = new api.ShippingSettings(); |
| 5217 buildCounterShippingSettings++; | 5217 buildCounterShippingSettings++; |
| 5218 if (buildCounterShippingSettings < 3) { | 5218 if (buildCounterShippingSettings < 3) { |
| 5219 o.accountId = "foo"; | 5219 o.accountId = "foo"; |
| 5220 o.postalCodeGroups = buildUnnamed347(); | 5220 o.postalCodeGroups = buildUnnamed368(); |
| 5221 o.services = buildUnnamed348(); | 5221 o.services = buildUnnamed369(); |
| 5222 } | 5222 } |
| 5223 buildCounterShippingSettings--; | 5223 buildCounterShippingSettings--; |
| 5224 return o; | 5224 return o; |
| 5225 } | 5225 } |
| 5226 | 5226 |
| 5227 checkShippingSettings(api.ShippingSettings o) { | 5227 checkShippingSettings(api.ShippingSettings o) { |
| 5228 buildCounterShippingSettings++; | 5228 buildCounterShippingSettings++; |
| 5229 if (buildCounterShippingSettings < 3) { | 5229 if (buildCounterShippingSettings < 3) { |
| 5230 unittest.expect(o.accountId, unittest.equals('foo')); | 5230 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5231 checkUnnamed347(o.postalCodeGroups); | 5231 checkUnnamed368(o.postalCodeGroups); |
| 5232 checkUnnamed348(o.services); | 5232 checkUnnamed369(o.services); |
| 5233 } | 5233 } |
| 5234 buildCounterShippingSettings--; | 5234 buildCounterShippingSettings--; |
| 5235 } | 5235 } |
| 5236 | 5236 |
| 5237 buildUnnamed349() { | 5237 buildUnnamed370() { |
| 5238 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); | 5238 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); |
| 5239 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 5239 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
| 5240 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 5240 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
| 5241 return o; | 5241 return o; |
| 5242 } | 5242 } |
| 5243 | 5243 |
| 5244 checkUnnamed349(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { | 5244 checkUnnamed370(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { |
| 5245 unittest.expect(o, unittest.hasLength(2)); | 5245 unittest.expect(o, unittest.hasLength(2)); |
| 5246 checkShippingsettingsCustomBatchRequestEntry(o[0]); | 5246 checkShippingsettingsCustomBatchRequestEntry(o[0]); |
| 5247 checkShippingsettingsCustomBatchRequestEntry(o[1]); | 5247 checkShippingsettingsCustomBatchRequestEntry(o[1]); |
| 5248 } | 5248 } |
| 5249 | 5249 |
| 5250 core.int buildCounterShippingsettingsCustomBatchRequest = 0; | 5250 core.int buildCounterShippingsettingsCustomBatchRequest = 0; |
| 5251 buildShippingsettingsCustomBatchRequest() { | 5251 buildShippingsettingsCustomBatchRequest() { |
| 5252 var o = new api.ShippingsettingsCustomBatchRequest(); | 5252 var o = new api.ShippingsettingsCustomBatchRequest(); |
| 5253 buildCounterShippingsettingsCustomBatchRequest++; | 5253 buildCounterShippingsettingsCustomBatchRequest++; |
| 5254 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 5254 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
| 5255 o.entries = buildUnnamed349(); | 5255 o.entries = buildUnnamed370(); |
| 5256 } | 5256 } |
| 5257 buildCounterShippingsettingsCustomBatchRequest--; | 5257 buildCounterShippingsettingsCustomBatchRequest--; |
| 5258 return o; | 5258 return o; |
| 5259 } | 5259 } |
| 5260 | 5260 |
| 5261 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { | 5261 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { |
| 5262 buildCounterShippingsettingsCustomBatchRequest++; | 5262 buildCounterShippingsettingsCustomBatchRequest++; |
| 5263 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 5263 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
| 5264 checkUnnamed349(o.entries); | 5264 checkUnnamed370(o.entries); |
| 5265 } | 5265 } |
| 5266 buildCounterShippingsettingsCustomBatchRequest--; | 5266 buildCounterShippingsettingsCustomBatchRequest--; |
| 5267 } | 5267 } |
| 5268 | 5268 |
| 5269 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; | 5269 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; |
| 5270 buildShippingsettingsCustomBatchRequestEntry() { | 5270 buildShippingsettingsCustomBatchRequestEntry() { |
| 5271 var o = new api.ShippingsettingsCustomBatchRequestEntry(); | 5271 var o = new api.ShippingsettingsCustomBatchRequestEntry(); |
| 5272 buildCounterShippingsettingsCustomBatchRequestEntry++; | 5272 buildCounterShippingsettingsCustomBatchRequestEntry++; |
| 5273 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 5273 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
| 5274 o.accountId = "foo"; | 5274 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5286 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 5286 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
| 5287 unittest.expect(o.accountId, unittest.equals('foo')); | 5287 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5288 unittest.expect(o.batchId, unittest.equals(42)); | 5288 unittest.expect(o.batchId, unittest.equals(42)); |
| 5289 unittest.expect(o.merchantId, unittest.equals('foo')); | 5289 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 5290 unittest.expect(o.method, unittest.equals('foo')); | 5290 unittest.expect(o.method, unittest.equals('foo')); |
| 5291 checkShippingSettings(o.shippingSettings); | 5291 checkShippingSettings(o.shippingSettings); |
| 5292 } | 5292 } |
| 5293 buildCounterShippingsettingsCustomBatchRequestEntry--; | 5293 buildCounterShippingsettingsCustomBatchRequestEntry--; |
| 5294 } | 5294 } |
| 5295 | 5295 |
| 5296 buildUnnamed350() { | 5296 buildUnnamed371() { |
| 5297 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); | 5297 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); |
| 5298 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 5298 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
| 5299 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 5299 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
| 5300 return o; | 5300 return o; |
| 5301 } | 5301 } |
| 5302 | 5302 |
| 5303 checkUnnamed350(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { | 5303 checkUnnamed371(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { |
| 5304 unittest.expect(o, unittest.hasLength(2)); | 5304 unittest.expect(o, unittest.hasLength(2)); |
| 5305 checkShippingsettingsCustomBatchResponseEntry(o[0]); | 5305 checkShippingsettingsCustomBatchResponseEntry(o[0]); |
| 5306 checkShippingsettingsCustomBatchResponseEntry(o[1]); | 5306 checkShippingsettingsCustomBatchResponseEntry(o[1]); |
| 5307 } | 5307 } |
| 5308 | 5308 |
| 5309 core.int buildCounterShippingsettingsCustomBatchResponse = 0; | 5309 core.int buildCounterShippingsettingsCustomBatchResponse = 0; |
| 5310 buildShippingsettingsCustomBatchResponse() { | 5310 buildShippingsettingsCustomBatchResponse() { |
| 5311 var o = new api.ShippingsettingsCustomBatchResponse(); | 5311 var o = new api.ShippingsettingsCustomBatchResponse(); |
| 5312 buildCounterShippingsettingsCustomBatchResponse++; | 5312 buildCounterShippingsettingsCustomBatchResponse++; |
| 5313 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 5313 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
| 5314 o.entries = buildUnnamed350(); | 5314 o.entries = buildUnnamed371(); |
| 5315 o.kind = "foo"; | 5315 o.kind = "foo"; |
| 5316 } | 5316 } |
| 5317 buildCounterShippingsettingsCustomBatchResponse--; | 5317 buildCounterShippingsettingsCustomBatchResponse--; |
| 5318 return o; | 5318 return o; |
| 5319 } | 5319 } |
| 5320 | 5320 |
| 5321 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { | 5321 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { |
| 5322 buildCounterShippingsettingsCustomBatchResponse++; | 5322 buildCounterShippingsettingsCustomBatchResponse++; |
| 5323 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 5323 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
| 5324 checkUnnamed350(o.entries); | 5324 checkUnnamed371(o.entries); |
| 5325 unittest.expect(o.kind, unittest.equals('foo')); | 5325 unittest.expect(o.kind, unittest.equals('foo')); |
| 5326 } | 5326 } |
| 5327 buildCounterShippingsettingsCustomBatchResponse--; | 5327 buildCounterShippingsettingsCustomBatchResponse--; |
| 5328 } | 5328 } |
| 5329 | 5329 |
| 5330 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; | 5330 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; |
| 5331 buildShippingsettingsCustomBatchResponseEntry() { | 5331 buildShippingsettingsCustomBatchResponseEntry() { |
| 5332 var o = new api.ShippingsettingsCustomBatchResponseEntry(); | 5332 var o = new api.ShippingsettingsCustomBatchResponseEntry(); |
| 5333 buildCounterShippingsettingsCustomBatchResponseEntry++; | 5333 buildCounterShippingsettingsCustomBatchResponseEntry++; |
| 5334 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 5334 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 5345 buildCounterShippingsettingsCustomBatchResponseEntry++; | 5345 buildCounterShippingsettingsCustomBatchResponseEntry++; |
| 5346 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 5346 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
| 5347 unittest.expect(o.batchId, unittest.equals(42)); | 5347 unittest.expect(o.batchId, unittest.equals(42)); |
| 5348 checkErrors(o.errors); | 5348 checkErrors(o.errors); |
| 5349 unittest.expect(o.kind, unittest.equals('foo')); | 5349 unittest.expect(o.kind, unittest.equals('foo')); |
| 5350 checkShippingSettings(o.shippingSettings); | 5350 checkShippingSettings(o.shippingSettings); |
| 5351 } | 5351 } |
| 5352 buildCounterShippingsettingsCustomBatchResponseEntry--; | 5352 buildCounterShippingsettingsCustomBatchResponseEntry--; |
| 5353 } | 5353 } |
| 5354 | 5354 |
| 5355 buildUnnamed351() { | 5355 buildUnnamed372() { |
| 5356 var o = new core.List<api.CarriersCarrier>(); | 5356 var o = new core.List<api.CarriersCarrier>(); |
| 5357 o.add(buildCarriersCarrier()); | 5357 o.add(buildCarriersCarrier()); |
| 5358 o.add(buildCarriersCarrier()); | 5358 o.add(buildCarriersCarrier()); |
| 5359 return o; | 5359 return o; |
| 5360 } | 5360 } |
| 5361 | 5361 |
| 5362 checkUnnamed351(core.List<api.CarriersCarrier> o) { | 5362 checkUnnamed372(core.List<api.CarriersCarrier> o) { |
| 5363 unittest.expect(o, unittest.hasLength(2)); | 5363 unittest.expect(o, unittest.hasLength(2)); |
| 5364 checkCarriersCarrier(o[0]); | 5364 checkCarriersCarrier(o[0]); |
| 5365 checkCarriersCarrier(o[1]); | 5365 checkCarriersCarrier(o[1]); |
| 5366 } | 5366 } |
| 5367 | 5367 |
| 5368 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; | 5368 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; |
| 5369 buildShippingsettingsGetSupportedCarriersResponse() { | 5369 buildShippingsettingsGetSupportedCarriersResponse() { |
| 5370 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); | 5370 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); |
| 5371 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 5371 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
| 5372 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 5372 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
| 5373 o.carriers = buildUnnamed351(); | 5373 o.carriers = buildUnnamed372(); |
| 5374 o.kind = "foo"; | 5374 o.kind = "foo"; |
| 5375 } | 5375 } |
| 5376 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 5376 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
| 5377 return o; | 5377 return o; |
| 5378 } | 5378 } |
| 5379 | 5379 |
| 5380 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { | 5380 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { |
| 5381 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 5381 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
| 5382 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 5382 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
| 5383 checkUnnamed351(o.carriers); | 5383 checkUnnamed372(o.carriers); |
| 5384 unittest.expect(o.kind, unittest.equals('foo')); | 5384 unittest.expect(o.kind, unittest.equals('foo')); |
| 5385 } | 5385 } |
| 5386 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 5386 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
| 5387 } | 5387 } |
| 5388 | 5388 |
| 5389 buildUnnamed352() { | 5389 buildUnnamed373() { |
| 5390 var o = new core.List<api.ShippingSettings>(); | 5390 var o = new core.List<api.ShippingSettings>(); |
| 5391 o.add(buildShippingSettings()); | 5391 o.add(buildShippingSettings()); |
| 5392 o.add(buildShippingSettings()); | 5392 o.add(buildShippingSettings()); |
| 5393 return o; | 5393 return o; |
| 5394 } | 5394 } |
| 5395 | 5395 |
| 5396 checkUnnamed352(core.List<api.ShippingSettings> o) { | 5396 checkUnnamed373(core.List<api.ShippingSettings> o) { |
| 5397 unittest.expect(o, unittest.hasLength(2)); | 5397 unittest.expect(o, unittest.hasLength(2)); |
| 5398 checkShippingSettings(o[0]); | 5398 checkShippingSettings(o[0]); |
| 5399 checkShippingSettings(o[1]); | 5399 checkShippingSettings(o[1]); |
| 5400 } | 5400 } |
| 5401 | 5401 |
| 5402 core.int buildCounterShippingsettingsListResponse = 0; | 5402 core.int buildCounterShippingsettingsListResponse = 0; |
| 5403 buildShippingsettingsListResponse() { | 5403 buildShippingsettingsListResponse() { |
| 5404 var o = new api.ShippingsettingsListResponse(); | 5404 var o = new api.ShippingsettingsListResponse(); |
| 5405 buildCounterShippingsettingsListResponse++; | 5405 buildCounterShippingsettingsListResponse++; |
| 5406 if (buildCounterShippingsettingsListResponse < 3) { | 5406 if (buildCounterShippingsettingsListResponse < 3) { |
| 5407 o.kind = "foo"; | 5407 o.kind = "foo"; |
| 5408 o.nextPageToken = "foo"; | 5408 o.nextPageToken = "foo"; |
| 5409 o.resources = buildUnnamed352(); | 5409 o.resources = buildUnnamed373(); |
| 5410 } | 5410 } |
| 5411 buildCounterShippingsettingsListResponse--; | 5411 buildCounterShippingsettingsListResponse--; |
| 5412 return o; | 5412 return o; |
| 5413 } | 5413 } |
| 5414 | 5414 |
| 5415 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { | 5415 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { |
| 5416 buildCounterShippingsettingsListResponse++; | 5416 buildCounterShippingsettingsListResponse++; |
| 5417 if (buildCounterShippingsettingsListResponse < 3) { | 5417 if (buildCounterShippingsettingsListResponse < 3) { |
| 5418 unittest.expect(o.kind, unittest.equals('foo')); | 5418 unittest.expect(o.kind, unittest.equals('foo')); |
| 5419 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5419 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5420 checkUnnamed352(o.resources); | 5420 checkUnnamed373(o.resources); |
| 5421 } | 5421 } |
| 5422 buildCounterShippingsettingsListResponse--; | 5422 buildCounterShippingsettingsListResponse--; |
| 5423 } | 5423 } |
| 5424 | 5424 |
| 5425 buildUnnamed353() { | 5425 buildUnnamed374() { |
| 5426 var o = new core.List<api.Row>(); | 5426 var o = new core.List<api.Row>(); |
| 5427 o.add(buildRow()); | 5427 o.add(buildRow()); |
| 5428 o.add(buildRow()); | 5428 o.add(buildRow()); |
| 5429 return o; | 5429 return o; |
| 5430 } | 5430 } |
| 5431 | 5431 |
| 5432 checkUnnamed353(core.List<api.Row> o) { | 5432 checkUnnamed374(core.List<api.Row> o) { |
| 5433 unittest.expect(o, unittest.hasLength(2)); | 5433 unittest.expect(o, unittest.hasLength(2)); |
| 5434 checkRow(o[0]); | 5434 checkRow(o[0]); |
| 5435 checkRow(o[1]); | 5435 checkRow(o[1]); |
| 5436 } | 5436 } |
| 5437 | 5437 |
| 5438 core.int buildCounterTable = 0; | 5438 core.int buildCounterTable = 0; |
| 5439 buildTable() { | 5439 buildTable() { |
| 5440 var o = new api.Table(); | 5440 var o = new api.Table(); |
| 5441 buildCounterTable++; | 5441 buildCounterTable++; |
| 5442 if (buildCounterTable < 3) { | 5442 if (buildCounterTable < 3) { |
| 5443 o.columnHeaders = buildHeaders(); | 5443 o.columnHeaders = buildHeaders(); |
| 5444 o.name = "foo"; | 5444 o.name = "foo"; |
| 5445 o.rowHeaders = buildHeaders(); | 5445 o.rowHeaders = buildHeaders(); |
| 5446 o.rows = buildUnnamed353(); | 5446 o.rows = buildUnnamed374(); |
| 5447 } | 5447 } |
| 5448 buildCounterTable--; | 5448 buildCounterTable--; |
| 5449 return o; | 5449 return o; |
| 5450 } | 5450 } |
| 5451 | 5451 |
| 5452 checkTable(api.Table o) { | 5452 checkTable(api.Table o) { |
| 5453 buildCounterTable++; | 5453 buildCounterTable++; |
| 5454 if (buildCounterTable < 3) { | 5454 if (buildCounterTable < 3) { |
| 5455 checkHeaders(o.columnHeaders); | 5455 checkHeaders(o.columnHeaders); |
| 5456 unittest.expect(o.name, unittest.equals('foo')); | 5456 unittest.expect(o.name, unittest.equals('foo')); |
| 5457 checkHeaders(o.rowHeaders); | 5457 checkHeaders(o.rowHeaders); |
| 5458 checkUnnamed353(o.rows); | 5458 checkUnnamed374(o.rows); |
| 5459 } | 5459 } |
| 5460 buildCounterTable--; | 5460 buildCounterTable--; |
| 5461 } | 5461 } |
| 5462 | 5462 |
| 5463 buildUnnamed354() { | 5463 buildUnnamed375() { |
| 5464 var o = new core.List<api.TestOrderLineItem>(); | 5464 var o = new core.List<api.TestOrderLineItem>(); |
| 5465 o.add(buildTestOrderLineItem()); | 5465 o.add(buildTestOrderLineItem()); |
| 5466 o.add(buildTestOrderLineItem()); | 5466 o.add(buildTestOrderLineItem()); |
| 5467 return o; | 5467 return o; |
| 5468 } | 5468 } |
| 5469 | 5469 |
| 5470 checkUnnamed354(core.List<api.TestOrderLineItem> o) { | 5470 checkUnnamed375(core.List<api.TestOrderLineItem> o) { |
| 5471 unittest.expect(o, unittest.hasLength(2)); | 5471 unittest.expect(o, unittest.hasLength(2)); |
| 5472 checkTestOrderLineItem(o[0]); | 5472 checkTestOrderLineItem(o[0]); |
| 5473 checkTestOrderLineItem(o[1]); | 5473 checkTestOrderLineItem(o[1]); |
| 5474 } | 5474 } |
| 5475 | 5475 |
| 5476 buildUnnamed355() { | 5476 buildUnnamed376() { |
| 5477 var o = new core.List<api.OrderPromotion>(); | 5477 var o = new core.List<api.OrderPromotion>(); |
| 5478 o.add(buildOrderPromotion()); | 5478 o.add(buildOrderPromotion()); |
| 5479 o.add(buildOrderPromotion()); | 5479 o.add(buildOrderPromotion()); |
| 5480 return o; | 5480 return o; |
| 5481 } | 5481 } |
| 5482 | 5482 |
| 5483 checkUnnamed355(core.List<api.OrderPromotion> o) { | 5483 checkUnnamed376(core.List<api.OrderPromotion> o) { |
| 5484 unittest.expect(o, unittest.hasLength(2)); | 5484 unittest.expect(o, unittest.hasLength(2)); |
| 5485 checkOrderPromotion(o[0]); | 5485 checkOrderPromotion(o[0]); |
| 5486 checkOrderPromotion(o[1]); | 5486 checkOrderPromotion(o[1]); |
| 5487 } | 5487 } |
| 5488 | 5488 |
| 5489 core.int buildCounterTestOrder = 0; | 5489 core.int buildCounterTestOrder = 0; |
| 5490 buildTestOrder() { | 5490 buildTestOrder() { |
| 5491 var o = new api.TestOrder(); | 5491 var o = new api.TestOrder(); |
| 5492 buildCounterTestOrder++; | 5492 buildCounterTestOrder++; |
| 5493 if (buildCounterTestOrder < 3) { | 5493 if (buildCounterTestOrder < 3) { |
| 5494 o.customer = buildTestOrderCustomer(); | 5494 o.customer = buildTestOrderCustomer(); |
| 5495 o.kind = "foo"; | 5495 o.kind = "foo"; |
| 5496 o.lineItems = buildUnnamed354(); | 5496 o.lineItems = buildUnnamed375(); |
| 5497 o.paymentMethod = buildTestOrderPaymentMethod(); | 5497 o.paymentMethod = buildTestOrderPaymentMethod(); |
| 5498 o.predefinedDeliveryAddress = "foo"; | 5498 o.predefinedDeliveryAddress = "foo"; |
| 5499 o.promotions = buildUnnamed355(); | 5499 o.promotions = buildUnnamed376(); |
| 5500 o.shippingCost = buildPrice(); | 5500 o.shippingCost = buildPrice(); |
| 5501 o.shippingCostTax = buildPrice(); | 5501 o.shippingCostTax = buildPrice(); |
| 5502 o.shippingOption = "foo"; | 5502 o.shippingOption = "foo"; |
| 5503 } | 5503 } |
| 5504 buildCounterTestOrder--; | 5504 buildCounterTestOrder--; |
| 5505 return o; | 5505 return o; |
| 5506 } | 5506 } |
| 5507 | 5507 |
| 5508 checkTestOrder(api.TestOrder o) { | 5508 checkTestOrder(api.TestOrder o) { |
| 5509 buildCounterTestOrder++; | 5509 buildCounterTestOrder++; |
| 5510 if (buildCounterTestOrder < 3) { | 5510 if (buildCounterTestOrder < 3) { |
| 5511 checkTestOrderCustomer(o.customer); | 5511 checkTestOrderCustomer(o.customer); |
| 5512 unittest.expect(o.kind, unittest.equals('foo')); | 5512 unittest.expect(o.kind, unittest.equals('foo')); |
| 5513 checkUnnamed354(o.lineItems); | 5513 checkUnnamed375(o.lineItems); |
| 5514 checkTestOrderPaymentMethod(o.paymentMethod); | 5514 checkTestOrderPaymentMethod(o.paymentMethod); |
| 5515 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); | 5515 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); |
| 5516 checkUnnamed355(o.promotions); | 5516 checkUnnamed376(o.promotions); |
| 5517 checkPrice(o.shippingCost); | 5517 checkPrice(o.shippingCost); |
| 5518 checkPrice(o.shippingCostTax); | 5518 checkPrice(o.shippingCostTax); |
| 5519 unittest.expect(o.shippingOption, unittest.equals('foo')); | 5519 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 5520 } | 5520 } |
| 5521 buildCounterTestOrder--; | 5521 buildCounterTestOrder--; |
| 5522 } | 5522 } |
| 5523 | 5523 |
| 5524 core.int buildCounterTestOrderCustomer = 0; | 5524 core.int buildCounterTestOrderCustomer = 0; |
| 5525 buildTestOrderCustomer() { | 5525 buildTestOrderCustomer() { |
| 5526 var o = new api.TestOrderCustomer(); | 5526 var o = new api.TestOrderCustomer(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5564 if (buildCounterTestOrderLineItem < 3) { | 5564 if (buildCounterTestOrderLineItem < 3) { |
| 5565 checkTestOrderLineItemProduct(o.product); | 5565 checkTestOrderLineItemProduct(o.product); |
| 5566 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 5566 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 5567 checkOrderLineItemReturnInfo(o.returnInfo); | 5567 checkOrderLineItemReturnInfo(o.returnInfo); |
| 5568 checkOrderLineItemShippingDetails(o.shippingDetails); | 5568 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 5569 checkPrice(o.unitTax); | 5569 checkPrice(o.unitTax); |
| 5570 } | 5570 } |
| 5571 buildCounterTestOrderLineItem--; | 5571 buildCounterTestOrderLineItem--; |
| 5572 } | 5572 } |
| 5573 | 5573 |
| 5574 buildUnnamed356() { | 5574 buildUnnamed377() { |
| 5575 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 5575 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 5576 o.add(buildOrderLineItemProductVariantAttribute()); | 5576 o.add(buildOrderLineItemProductVariantAttribute()); |
| 5577 o.add(buildOrderLineItemProductVariantAttribute()); | 5577 o.add(buildOrderLineItemProductVariantAttribute()); |
| 5578 return o; | 5578 return o; |
| 5579 } | 5579 } |
| 5580 | 5580 |
| 5581 checkUnnamed356(core.List<api.OrderLineItemProductVariantAttribute> o) { | 5581 checkUnnamed377(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 5582 unittest.expect(o, unittest.hasLength(2)); | 5582 unittest.expect(o, unittest.hasLength(2)); |
| 5583 checkOrderLineItemProductVariantAttribute(o[0]); | 5583 checkOrderLineItemProductVariantAttribute(o[0]); |
| 5584 checkOrderLineItemProductVariantAttribute(o[1]); | 5584 checkOrderLineItemProductVariantAttribute(o[1]); |
| 5585 } | 5585 } |
| 5586 | 5586 |
| 5587 core.int buildCounterTestOrderLineItemProduct = 0; | 5587 core.int buildCounterTestOrderLineItemProduct = 0; |
| 5588 buildTestOrderLineItemProduct() { | 5588 buildTestOrderLineItemProduct() { |
| 5589 var o = new api.TestOrderLineItemProduct(); | 5589 var o = new api.TestOrderLineItemProduct(); |
| 5590 buildCounterTestOrderLineItemProduct++; | 5590 buildCounterTestOrderLineItemProduct++; |
| 5591 if (buildCounterTestOrderLineItemProduct < 3) { | 5591 if (buildCounterTestOrderLineItemProduct < 3) { |
| 5592 o.brand = "foo"; | 5592 o.brand = "foo"; |
| 5593 o.channel = "foo"; | 5593 o.channel = "foo"; |
| 5594 o.condition = "foo"; | 5594 o.condition = "foo"; |
| 5595 o.contentLanguage = "foo"; | 5595 o.contentLanguage = "foo"; |
| 5596 o.gtin = "foo"; | 5596 o.gtin = "foo"; |
| 5597 o.imageLink = "foo"; | 5597 o.imageLink = "foo"; |
| 5598 o.itemGroupId = "foo"; | 5598 o.itemGroupId = "foo"; |
| 5599 o.mpn = "foo"; | 5599 o.mpn = "foo"; |
| 5600 o.offerId = "foo"; | 5600 o.offerId = "foo"; |
| 5601 o.price = buildPrice(); | 5601 o.price = buildPrice(); |
| 5602 o.targetCountry = "foo"; | 5602 o.targetCountry = "foo"; |
| 5603 o.title = "foo"; | 5603 o.title = "foo"; |
| 5604 o.variantAttributes = buildUnnamed356(); | 5604 o.variantAttributes = buildUnnamed377(); |
| 5605 } | 5605 } |
| 5606 buildCounterTestOrderLineItemProduct--; | 5606 buildCounterTestOrderLineItemProduct--; |
| 5607 return o; | 5607 return o; |
| 5608 } | 5608 } |
| 5609 | 5609 |
| 5610 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { | 5610 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { |
| 5611 buildCounterTestOrderLineItemProduct++; | 5611 buildCounterTestOrderLineItemProduct++; |
| 5612 if (buildCounterTestOrderLineItemProduct < 3) { | 5612 if (buildCounterTestOrderLineItemProduct < 3) { |
| 5613 unittest.expect(o.brand, unittest.equals('foo')); | 5613 unittest.expect(o.brand, unittest.equals('foo')); |
| 5614 unittest.expect(o.channel, unittest.equals('foo')); | 5614 unittest.expect(o.channel, unittest.equals('foo')); |
| 5615 unittest.expect(o.condition, unittest.equals('foo')); | 5615 unittest.expect(o.condition, unittest.equals('foo')); |
| 5616 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 5616 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 5617 unittest.expect(o.gtin, unittest.equals('foo')); | 5617 unittest.expect(o.gtin, unittest.equals('foo')); |
| 5618 unittest.expect(o.imageLink, unittest.equals('foo')); | 5618 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 5619 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 5619 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 5620 unittest.expect(o.mpn, unittest.equals('foo')); | 5620 unittest.expect(o.mpn, unittest.equals('foo')); |
| 5621 unittest.expect(o.offerId, unittest.equals('foo')); | 5621 unittest.expect(o.offerId, unittest.equals('foo')); |
| 5622 checkPrice(o.price); | 5622 checkPrice(o.price); |
| 5623 unittest.expect(o.targetCountry, unittest.equals('foo')); | 5623 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 5624 unittest.expect(o.title, unittest.equals('foo')); | 5624 unittest.expect(o.title, unittest.equals('foo')); |
| 5625 checkUnnamed356(o.variantAttributes); | 5625 checkUnnamed377(o.variantAttributes); |
| 5626 } | 5626 } |
| 5627 buildCounterTestOrderLineItemProduct--; | 5627 buildCounterTestOrderLineItemProduct--; |
| 5628 } | 5628 } |
| 5629 | 5629 |
| 5630 core.int buildCounterTestOrderPaymentMethod = 0; | 5630 core.int buildCounterTestOrderPaymentMethod = 0; |
| 5631 buildTestOrderPaymentMethod() { | 5631 buildTestOrderPaymentMethod() { |
| 5632 var o = new api.TestOrderPaymentMethod(); | 5632 var o = new api.TestOrderPaymentMethod(); |
| 5633 buildCounterTestOrderPaymentMethod++; | 5633 buildCounterTestOrderPaymentMethod++; |
| 5634 if (buildCounterTestOrderPaymentMethod < 3) { | 5634 if (buildCounterTestOrderPaymentMethod < 3) { |
| 5635 o.expirationMonth = 42; | 5635 o.expirationMonth = 42; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5695 | 5695 |
| 5696 checkWeight(api.Weight o) { | 5696 checkWeight(api.Weight o) { |
| 5697 buildCounterWeight++; | 5697 buildCounterWeight++; |
| 5698 if (buildCounterWeight < 3) { | 5698 if (buildCounterWeight < 3) { |
| 5699 unittest.expect(o.unit, unittest.equals('foo')); | 5699 unittest.expect(o.unit, unittest.equals('foo')); |
| 5700 unittest.expect(o.value, unittest.equals('foo')); | 5700 unittest.expect(o.value, unittest.equals('foo')); |
| 5701 } | 5701 } |
| 5702 buildCounterWeight--; | 5702 buildCounterWeight--; |
| 5703 } | 5703 } |
| 5704 | 5704 |
| 5705 buildUnnamed357() { | 5705 buildUnnamed378() { |
| 5706 var o = new core.List<core.String>(); | 5706 var o = new core.List<core.String>(); |
| 5707 o.add("foo"); | 5707 o.add("foo"); |
| 5708 o.add("foo"); | 5708 o.add("foo"); |
| 5709 return o; | 5709 return o; |
| 5710 } | 5710 } |
| 5711 | 5711 |
| 5712 checkUnnamed357(core.List<core.String> o) { | 5712 checkUnnamed378(core.List<core.String> o) { |
| 5713 unittest.expect(o, unittest.hasLength(2)); | 5713 unittest.expect(o, unittest.hasLength(2)); |
| 5714 unittest.expect(o[0], unittest.equals('foo')); | 5714 unittest.expect(o[0], unittest.equals('foo')); |
| 5715 unittest.expect(o[1], unittest.equals('foo')); | 5715 unittest.expect(o[1], unittest.equals('foo')); |
| 5716 } | 5716 } |
| 5717 | 5717 |
| 5718 | 5718 |
| 5719 main() { | 5719 main() { |
| 5720 unittest.group("obj-schema-Account", () { | 5720 unittest.group("obj-schema-Account", () { |
| 5721 unittest.test("to-json--from-json", () { | 5721 unittest.test("to-json--from-json", () { |
| 5722 var o = buildAccount(); | 5722 var o = buildAccount(); |
| (...skipping 3503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9226 | 9226 |
| 9227 var mock = new HttpServerMock(); | 9227 var mock = new HttpServerMock(); |
| 9228 api.OrdersResourceApi res = new api.ContentApi(mock).orders; | 9228 api.OrdersResourceApi res = new api.ContentApi(mock).orders; |
| 9229 var arg_merchantId = "foo"; | 9229 var arg_merchantId = "foo"; |
| 9230 var arg_acknowledged = true; | 9230 var arg_acknowledged = true; |
| 9231 var arg_maxResults = 42; | 9231 var arg_maxResults = 42; |
| 9232 var arg_orderBy = "foo"; | 9232 var arg_orderBy = "foo"; |
| 9233 var arg_pageToken = "foo"; | 9233 var arg_pageToken = "foo"; |
| 9234 var arg_placedDateEnd = "foo"; | 9234 var arg_placedDateEnd = "foo"; |
| 9235 var arg_placedDateStart = "foo"; | 9235 var arg_placedDateStart = "foo"; |
| 9236 var arg_statuses = buildUnnamed357(); | 9236 var arg_statuses = buildUnnamed378(); |
| 9237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 9238 var path = (req.url).path; | 9238 var path = (req.url).path; |
| 9239 var pathOffset = 0; | 9239 var pathOffset = 0; |
| 9240 var index; | 9240 var index; |
| 9241 var subPart; | 9241 var subPart; |
| 9242 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 9242 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 9243 pathOffset += 1; | 9243 pathOffset += 1; |
| 9244 | 9244 |
| 9245 var query = (req.url).query; | 9245 var query = (req.url).query; |
| 9246 var queryOffset = 0; | 9246 var queryOffset = 0; |
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10176 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { | 10176 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { |
| 10177 checkShippingSettings(response); | 10177 checkShippingSettings(response); |
| 10178 }))); | 10178 }))); |
| 10179 }); | 10179 }); |
| 10180 | 10180 |
| 10181 }); | 10181 }); |
| 10182 | 10182 |
| 10183 | 10183 |
| 10184 } | 10184 } |
| 10185 | 10185 |
| OLD | NEW |