| 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 buildUnnamed517() { | 54 buildUnnamed728() { |
| 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 checkUnnamed517(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed728(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 buildUnnamed518() { | 67 buildUnnamed729() { |
| 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 checkUnnamed518(core.List<api.AccountUser> o) { | 74 checkUnnamed729(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 = buildUnnamed517(); | 86 o.adwordsLinks = buildUnnamed728(); |
| 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 = buildUnnamed518(); | 92 o.users = buildUnnamed729(); |
| 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 checkUnnamed517(o.adwordsLinks); | 103 checkUnnamed728(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 checkUnnamed518(o.users); | 109 checkUnnamed729(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 buildUnnamed519() { | 157 buildUnnamed730() { |
| 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 checkUnnamed519(core.List<api.AccountShippingCarrierRate> o) { | 164 checkUnnamed730(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 buildUnnamed520() { | 170 buildUnnamed731() { |
| 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 checkUnnamed520(core.List<api.AccountShippingLocationGroup> o) { | 177 checkUnnamed731(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 buildUnnamed521() { | 183 buildUnnamed732() { |
| 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 checkUnnamed521(core.List<api.AccountShippingRateTable> o) { | 190 checkUnnamed732(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 buildUnnamed522() { | 196 buildUnnamed733() { |
| 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 checkUnnamed522(core.List<api.AccountShippingShippingService> o) { | 203 checkUnnamed733(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 = buildUnnamed519(); | 215 o.carrierRates = buildUnnamed730(); |
| 216 o.kind = "foo"; | 216 o.kind = "foo"; |
| 217 o.locationGroups = buildUnnamed520(); | 217 o.locationGroups = buildUnnamed731(); |
| 218 o.rateTables = buildUnnamed521(); | 218 o.rateTables = buildUnnamed732(); |
| 219 o.services = buildUnnamed522(); | 219 o.services = buildUnnamed733(); |
| 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 checkUnnamed519(o.carrierRates); | 229 checkUnnamed730(o.carrierRates); |
| 230 unittest.expect(o.kind, unittest.equals('foo')); | 230 unittest.expect(o.kind, unittest.equals('foo')); |
| 231 checkUnnamed520(o.locationGroups); | 231 checkUnnamed731(o.locationGroups); |
| 232 checkUnnamed521(o.rateTables); | 232 checkUnnamed732(o.rateTables); |
| 233 checkUnnamed522(o.services); | 233 checkUnnamed733(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 buildUnnamed523() { | 300 buildUnnamed734() { |
| 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 checkUnnamed523(core.List<core.String> o) { | 307 checkUnnamed734(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 buildUnnamed524() { | 313 buildUnnamed735() { |
| 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 checkUnnamed524(core.List<api.AccountShippingPostalCodeRange> o) { | 320 checkUnnamed735(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 buildUnnamed525() { | 326 buildUnnamed736() { |
| 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 checkUnnamed525(core.List<core.String> o) { | 333 checkUnnamed736(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 = buildUnnamed523(); | 345 o.locationIds = buildUnnamed734(); |
| 346 o.name = "foo"; | 346 o.name = "foo"; |
| 347 o.postalCodeRanges = buildUnnamed524(); | 347 o.postalCodeRanges = buildUnnamed735(); |
| 348 o.postalCodes = buildUnnamed525(); | 348 o.postalCodes = buildUnnamed736(); |
| 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 checkUnnamed523(o.locationIds); | 358 checkUnnamed734(o.locationIds); |
| 359 unittest.expect(o.name, unittest.equals('foo')); | 359 unittest.expect(o.name, unittest.equals('foo')); |
| 360 checkUnnamed524(o.postalCodeRanges); | 360 checkUnnamed735(o.postalCodeRanges); |
| 361 checkUnnamed525(o.postalCodes); | 361 checkUnnamed736(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 buildUnnamed526() { | 387 buildUnnamed737() { |
| 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 checkUnnamed526(core.List<api.AccountShippingRateTableCell> o) { | 394 checkUnnamed737(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 = buildUnnamed526(); | 405 o.content = buildUnnamed737(); |
| 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 checkUnnamed526(o.content); | 416 checkUnnamed737(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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | 488 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { |
| 489 unittest.expect(o.carrierRate, unittest.equals('foo')); | 489 unittest.expect(o.carrierRate, unittest.equals('foo')); |
| 490 unittest.expect(o.excluded, unittest.isTrue); | 490 unittest.expect(o.excluded, unittest.isTrue); |
| 491 checkPrice(o.flatRate); | 491 checkPrice(o.flatRate); |
| 492 unittest.expect(o.percentageRate, unittest.equals('foo')); | 492 unittest.expect(o.percentageRate, unittest.equals('foo')); |
| 493 unittest.expect(o.rateTable, unittest.equals('foo')); | 493 unittest.expect(o.rateTable, unittest.equals('foo')); |
| 494 } | 494 } |
| 495 buildCounterAccountShippingShippingServiceCalculationMethod--; | 495 buildCounterAccountShippingShippingServiceCalculationMethod--; |
| 496 } | 496 } |
| 497 | 497 |
| 498 buildUnnamed527() { | 498 buildUnnamed738() { |
| 499 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); | 499 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); |
| 500 o.add(buildAccountShippingShippingServiceCostRule()); | 500 o.add(buildAccountShippingShippingServiceCostRule()); |
| 501 o.add(buildAccountShippingShippingServiceCostRule()); | 501 o.add(buildAccountShippingShippingServiceCostRule()); |
| 502 return o; | 502 return o; |
| 503 } | 503 } |
| 504 | 504 |
| 505 checkUnnamed527(core.List<api.AccountShippingShippingServiceCostRule> o) { | 505 checkUnnamed738(core.List<api.AccountShippingShippingServiceCostRule> o) { |
| 506 unittest.expect(o, unittest.hasLength(2)); | 506 unittest.expect(o, unittest.hasLength(2)); |
| 507 checkAccountShippingShippingServiceCostRule(o[0]); | 507 checkAccountShippingShippingServiceCostRule(o[0]); |
| 508 checkAccountShippingShippingServiceCostRule(o[1]); | 508 checkAccountShippingShippingServiceCostRule(o[1]); |
| 509 } | 509 } |
| 510 | 510 |
| 511 core.int buildCounterAccountShippingShippingServiceCostRule = 0; | 511 core.int buildCounterAccountShippingShippingServiceCostRule = 0; |
| 512 buildAccountShippingShippingServiceCostRule() { | 512 buildAccountShippingShippingServiceCostRule() { |
| 513 var o = new api.AccountShippingShippingServiceCostRule(); | 513 var o = new api.AccountShippingShippingServiceCostRule(); |
| 514 buildCounterAccountShippingShippingServiceCostRule++; | 514 buildCounterAccountShippingShippingServiceCostRule++; |
| 515 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 515 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 516 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | 516 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; |
| 517 o.children = buildUnnamed527(); | 517 o.children = buildUnnamed738(); |
| 518 o.condition = buildAccountShippingCondition(); | 518 o.condition = buildAccountShippingCondition(); |
| 519 } | 519 } |
| 520 buildCounterAccountShippingShippingServiceCostRule--; | 520 buildCounterAccountShippingShippingServiceCostRule--; |
| 521 return o; | 521 return o; |
| 522 } | 522 } |
| 523 | 523 |
| 524 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { | 524 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { |
| 525 buildCounterAccountShippingShippingServiceCostRule++; | 525 buildCounterAccountShippingShippingServiceCostRule++; |
| 526 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 526 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 527 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | 527 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); |
| 528 checkUnnamed527(o.children); | 528 checkUnnamed738(o.children); |
| 529 checkAccountShippingCondition(o.condition); | 529 checkAccountShippingCondition(o.condition); |
| 530 } | 530 } |
| 531 buildCounterAccountShippingShippingServiceCostRule--; | 531 buildCounterAccountShippingShippingServiceCostRule--; |
| 532 } | 532 } |
| 533 | 533 |
| 534 buildUnnamed528() { | 534 buildUnnamed739() { |
| 535 var o = new core.List<api.AccountStatusDataQualityIssue>(); | 535 var o = new core.List<api.AccountStatusDataQualityIssue>(); |
| 536 o.add(buildAccountStatusDataQualityIssue()); | 536 o.add(buildAccountStatusDataQualityIssue()); |
| 537 o.add(buildAccountStatusDataQualityIssue()); | 537 o.add(buildAccountStatusDataQualityIssue()); |
| 538 return o; | 538 return o; |
| 539 } | 539 } |
| 540 | 540 |
| 541 checkUnnamed528(core.List<api.AccountStatusDataQualityIssue> o) { | 541 checkUnnamed739(core.List<api.AccountStatusDataQualityIssue> o) { |
| 542 unittest.expect(o, unittest.hasLength(2)); | 542 unittest.expect(o, unittest.hasLength(2)); |
| 543 checkAccountStatusDataQualityIssue(o[0]); | 543 checkAccountStatusDataQualityIssue(o[0]); |
| 544 checkAccountStatusDataQualityIssue(o[1]); | 544 checkAccountStatusDataQualityIssue(o[1]); |
| 545 } | 545 } |
| 546 | 546 |
| 547 core.int buildCounterAccountStatus = 0; | 547 core.int buildCounterAccountStatus = 0; |
| 548 buildAccountStatus() { | 548 buildAccountStatus() { |
| 549 var o = new api.AccountStatus(); | 549 var o = new api.AccountStatus(); |
| 550 buildCounterAccountStatus++; | 550 buildCounterAccountStatus++; |
| 551 if (buildCounterAccountStatus < 3) { | 551 if (buildCounterAccountStatus < 3) { |
| 552 o.accountId = "foo"; | 552 o.accountId = "foo"; |
| 553 o.dataQualityIssues = buildUnnamed528(); | 553 o.dataQualityIssues = buildUnnamed739(); |
| 554 o.kind = "foo"; | 554 o.kind = "foo"; |
| 555 } | 555 } |
| 556 buildCounterAccountStatus--; | 556 buildCounterAccountStatus--; |
| 557 return o; | 557 return o; |
| 558 } | 558 } |
| 559 | 559 |
| 560 checkAccountStatus(api.AccountStatus o) { | 560 checkAccountStatus(api.AccountStatus o) { |
| 561 buildCounterAccountStatus++; | 561 buildCounterAccountStatus++; |
| 562 if (buildCounterAccountStatus < 3) { | 562 if (buildCounterAccountStatus < 3) { |
| 563 unittest.expect(o.accountId, unittest.equals('foo')); | 563 unittest.expect(o.accountId, unittest.equals('foo')); |
| 564 checkUnnamed528(o.dataQualityIssues); | 564 checkUnnamed739(o.dataQualityIssues); |
| 565 unittest.expect(o.kind, unittest.equals('foo')); | 565 unittest.expect(o.kind, unittest.equals('foo')); |
| 566 } | 566 } |
| 567 buildCounterAccountStatus--; | 567 buildCounterAccountStatus--; |
| 568 } | 568 } |
| 569 | 569 |
| 570 buildUnnamed529() { | 570 buildUnnamed740() { |
| 571 var o = new core.List<api.AccountStatusExampleItem>(); | 571 var o = new core.List<api.AccountStatusExampleItem>(); |
| 572 o.add(buildAccountStatusExampleItem()); | 572 o.add(buildAccountStatusExampleItem()); |
| 573 o.add(buildAccountStatusExampleItem()); | 573 o.add(buildAccountStatusExampleItem()); |
| 574 return o; | 574 return o; |
| 575 } | 575 } |
| 576 | 576 |
| 577 checkUnnamed529(core.List<api.AccountStatusExampleItem> o) { | 577 checkUnnamed740(core.List<api.AccountStatusExampleItem> o) { |
| 578 unittest.expect(o, unittest.hasLength(2)); | 578 unittest.expect(o, unittest.hasLength(2)); |
| 579 checkAccountStatusExampleItem(o[0]); | 579 checkAccountStatusExampleItem(o[0]); |
| 580 checkAccountStatusExampleItem(o[1]); | 580 checkAccountStatusExampleItem(o[1]); |
| 581 } | 581 } |
| 582 | 582 |
| 583 core.int buildCounterAccountStatusDataQualityIssue = 0; | 583 core.int buildCounterAccountStatusDataQualityIssue = 0; |
| 584 buildAccountStatusDataQualityIssue() { | 584 buildAccountStatusDataQualityIssue() { |
| 585 var o = new api.AccountStatusDataQualityIssue(); | 585 var o = new api.AccountStatusDataQualityIssue(); |
| 586 buildCounterAccountStatusDataQualityIssue++; | 586 buildCounterAccountStatusDataQualityIssue++; |
| 587 if (buildCounterAccountStatusDataQualityIssue < 3) { | 587 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 588 o.country = "foo"; | 588 o.country = "foo"; |
| 589 o.displayedValue = "foo"; | 589 o.displayedValue = "foo"; |
| 590 o.exampleItems = buildUnnamed529(); | 590 o.exampleItems = buildUnnamed740(); |
| 591 o.id = "foo"; | 591 o.id = "foo"; |
| 592 o.lastChecked = "foo"; | 592 o.lastChecked = "foo"; |
| 593 o.numItems = 42; | 593 o.numItems = 42; |
| 594 o.severity = "foo"; | 594 o.severity = "foo"; |
| 595 o.submittedValue = "foo"; | 595 o.submittedValue = "foo"; |
| 596 } | 596 } |
| 597 buildCounterAccountStatusDataQualityIssue--; | 597 buildCounterAccountStatusDataQualityIssue--; |
| 598 return o; | 598 return o; |
| 599 } | 599 } |
| 600 | 600 |
| 601 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 601 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
| 602 buildCounterAccountStatusDataQualityIssue++; | 602 buildCounterAccountStatusDataQualityIssue++; |
| 603 if (buildCounterAccountStatusDataQualityIssue < 3) { | 603 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 604 unittest.expect(o.country, unittest.equals('foo')); | 604 unittest.expect(o.country, unittest.equals('foo')); |
| 605 unittest.expect(o.displayedValue, unittest.equals('foo')); | 605 unittest.expect(o.displayedValue, unittest.equals('foo')); |
| 606 checkUnnamed529(o.exampleItems); | 606 checkUnnamed740(o.exampleItems); |
| 607 unittest.expect(o.id, unittest.equals('foo')); | 607 unittest.expect(o.id, unittest.equals('foo')); |
| 608 unittest.expect(o.lastChecked, unittest.equals('foo')); | 608 unittest.expect(o.lastChecked, unittest.equals('foo')); |
| 609 unittest.expect(o.numItems, unittest.equals(42)); | 609 unittest.expect(o.numItems, unittest.equals(42)); |
| 610 unittest.expect(o.severity, unittest.equals('foo')); | 610 unittest.expect(o.severity, unittest.equals('foo')); |
| 611 unittest.expect(o.submittedValue, unittest.equals('foo')); | 611 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 612 } | 612 } |
| 613 buildCounterAccountStatusDataQualityIssue--; | 613 buildCounterAccountStatusDataQualityIssue--; |
| 614 } | 614 } |
| 615 | 615 |
| 616 core.int buildCounterAccountStatusExampleItem = 0; | 616 core.int buildCounterAccountStatusExampleItem = 0; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 633 if (buildCounterAccountStatusExampleItem < 3) { | 633 if (buildCounterAccountStatusExampleItem < 3) { |
| 634 unittest.expect(o.itemId, unittest.equals('foo')); | 634 unittest.expect(o.itemId, unittest.equals('foo')); |
| 635 unittest.expect(o.link, unittest.equals('foo')); | 635 unittest.expect(o.link, unittest.equals('foo')); |
| 636 unittest.expect(o.submittedValue, unittest.equals('foo')); | 636 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 637 unittest.expect(o.title, unittest.equals('foo')); | 637 unittest.expect(o.title, unittest.equals('foo')); |
| 638 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 638 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
| 639 } | 639 } |
| 640 buildCounterAccountStatusExampleItem--; | 640 buildCounterAccountStatusExampleItem--; |
| 641 } | 641 } |
| 642 | 642 |
| 643 buildUnnamed530() { | 643 buildUnnamed741() { |
| 644 var o = new core.List<api.AccountTaxTaxRule>(); | 644 var o = new core.List<api.AccountTaxTaxRule>(); |
| 645 o.add(buildAccountTaxTaxRule()); | 645 o.add(buildAccountTaxTaxRule()); |
| 646 o.add(buildAccountTaxTaxRule()); | 646 o.add(buildAccountTaxTaxRule()); |
| 647 return o; | 647 return o; |
| 648 } | 648 } |
| 649 | 649 |
| 650 checkUnnamed530(core.List<api.AccountTaxTaxRule> o) { | 650 checkUnnamed741(core.List<api.AccountTaxTaxRule> o) { |
| 651 unittest.expect(o, unittest.hasLength(2)); | 651 unittest.expect(o, unittest.hasLength(2)); |
| 652 checkAccountTaxTaxRule(o[0]); | 652 checkAccountTaxTaxRule(o[0]); |
| 653 checkAccountTaxTaxRule(o[1]); | 653 checkAccountTaxTaxRule(o[1]); |
| 654 } | 654 } |
| 655 | 655 |
| 656 core.int buildCounterAccountTax = 0; | 656 core.int buildCounterAccountTax = 0; |
| 657 buildAccountTax() { | 657 buildAccountTax() { |
| 658 var o = new api.AccountTax(); | 658 var o = new api.AccountTax(); |
| 659 buildCounterAccountTax++; | 659 buildCounterAccountTax++; |
| 660 if (buildCounterAccountTax < 3) { | 660 if (buildCounterAccountTax < 3) { |
| 661 o.accountId = "foo"; | 661 o.accountId = "foo"; |
| 662 o.kind = "foo"; | 662 o.kind = "foo"; |
| 663 o.rules = buildUnnamed530(); | 663 o.rules = buildUnnamed741(); |
| 664 } | 664 } |
| 665 buildCounterAccountTax--; | 665 buildCounterAccountTax--; |
| 666 return o; | 666 return o; |
| 667 } | 667 } |
| 668 | 668 |
| 669 checkAccountTax(api.AccountTax o) { | 669 checkAccountTax(api.AccountTax o) { |
| 670 buildCounterAccountTax++; | 670 buildCounterAccountTax++; |
| 671 if (buildCounterAccountTax < 3) { | 671 if (buildCounterAccountTax < 3) { |
| 672 unittest.expect(o.accountId, unittest.equals('foo')); | 672 unittest.expect(o.accountId, unittest.equals('foo')); |
| 673 unittest.expect(o.kind, unittest.equals('foo')); | 673 unittest.expect(o.kind, unittest.equals('foo')); |
| 674 checkUnnamed530(o.rules); | 674 checkUnnamed741(o.rules); |
| 675 } | 675 } |
| 676 buildCounterAccountTax--; | 676 buildCounterAccountTax--; |
| 677 } | 677 } |
| 678 | 678 |
| 679 core.int buildCounterAccountTaxTaxRule = 0; | 679 core.int buildCounterAccountTaxTaxRule = 0; |
| 680 buildAccountTaxTaxRule() { | 680 buildAccountTaxTaxRule() { |
| 681 var o = new api.AccountTaxTaxRule(); | 681 var o = new api.AccountTaxTaxRule(); |
| 682 buildCounterAccountTaxTaxRule++; | 682 buildCounterAccountTaxTaxRule++; |
| 683 if (buildCounterAccountTaxTaxRule < 3) { | 683 if (buildCounterAccountTaxTaxRule < 3) { |
| 684 o.country = "foo"; | 684 o.country = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 | 717 |
| 718 checkAccountUser(api.AccountUser o) { | 718 checkAccountUser(api.AccountUser o) { |
| 719 buildCounterAccountUser++; | 719 buildCounterAccountUser++; |
| 720 if (buildCounterAccountUser < 3) { | 720 if (buildCounterAccountUser < 3) { |
| 721 unittest.expect(o.admin, unittest.isTrue); | 721 unittest.expect(o.admin, unittest.isTrue); |
| 722 unittest.expect(o.emailAddress, unittest.equals('foo')); | 722 unittest.expect(o.emailAddress, unittest.equals('foo')); |
| 723 } | 723 } |
| 724 buildCounterAccountUser--; | 724 buildCounterAccountUser--; |
| 725 } | 725 } |
| 726 | 726 |
| 727 buildUnnamed531() { | 727 buildUnnamed742() { |
| 728 var o = new core.List<api.AccountIdentifier>(); | 728 var o = new core.List<api.AccountIdentifier>(); |
| 729 o.add(buildAccountIdentifier()); | 729 o.add(buildAccountIdentifier()); |
| 730 o.add(buildAccountIdentifier()); | 730 o.add(buildAccountIdentifier()); |
| 731 return o; | 731 return o; |
| 732 } | 732 } |
| 733 | 733 |
| 734 checkUnnamed531(core.List<api.AccountIdentifier> o) { | 734 checkUnnamed742(core.List<api.AccountIdentifier> o) { |
| 735 unittest.expect(o, unittest.hasLength(2)); | 735 unittest.expect(o, unittest.hasLength(2)); |
| 736 checkAccountIdentifier(o[0]); | 736 checkAccountIdentifier(o[0]); |
| 737 checkAccountIdentifier(o[1]); | 737 checkAccountIdentifier(o[1]); |
| 738 } | 738 } |
| 739 | 739 |
| 740 core.int buildCounterAccountsAuthInfoResponse = 0; | 740 core.int buildCounterAccountsAuthInfoResponse = 0; |
| 741 buildAccountsAuthInfoResponse() { | 741 buildAccountsAuthInfoResponse() { |
| 742 var o = new api.AccountsAuthInfoResponse(); | 742 var o = new api.AccountsAuthInfoResponse(); |
| 743 buildCounterAccountsAuthInfoResponse++; | 743 buildCounterAccountsAuthInfoResponse++; |
| 744 if (buildCounterAccountsAuthInfoResponse < 3) { | 744 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 745 o.accountIdentifiers = buildUnnamed531(); | 745 o.accountIdentifiers = buildUnnamed742(); |
| 746 o.kind = "foo"; | 746 o.kind = "foo"; |
| 747 } | 747 } |
| 748 buildCounterAccountsAuthInfoResponse--; | 748 buildCounterAccountsAuthInfoResponse--; |
| 749 return o; | 749 return o; |
| 750 } | 750 } |
| 751 | 751 |
| 752 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 752 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
| 753 buildCounterAccountsAuthInfoResponse++; | 753 buildCounterAccountsAuthInfoResponse++; |
| 754 if (buildCounterAccountsAuthInfoResponse < 3) { | 754 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 755 checkUnnamed531(o.accountIdentifiers); | 755 checkUnnamed742(o.accountIdentifiers); |
| 756 unittest.expect(o.kind, unittest.equals('foo')); | 756 unittest.expect(o.kind, unittest.equals('foo')); |
| 757 } | 757 } |
| 758 buildCounterAccountsAuthInfoResponse--; | 758 buildCounterAccountsAuthInfoResponse--; |
| 759 } | 759 } |
| 760 | 760 |
| 761 buildUnnamed532() { | 761 buildUnnamed743() { |
| 762 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 762 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
| 763 o.add(buildAccountsCustomBatchRequestEntry()); | 763 o.add(buildAccountsCustomBatchRequestEntry()); |
| 764 o.add(buildAccountsCustomBatchRequestEntry()); | 764 o.add(buildAccountsCustomBatchRequestEntry()); |
| 765 return o; | 765 return o; |
| 766 } | 766 } |
| 767 | 767 |
| 768 checkUnnamed532(core.List<api.AccountsCustomBatchRequestEntry> o) { | 768 checkUnnamed743(core.List<api.AccountsCustomBatchRequestEntry> o) { |
| 769 unittest.expect(o, unittest.hasLength(2)); | 769 unittest.expect(o, unittest.hasLength(2)); |
| 770 checkAccountsCustomBatchRequestEntry(o[0]); | 770 checkAccountsCustomBatchRequestEntry(o[0]); |
| 771 checkAccountsCustomBatchRequestEntry(o[1]); | 771 checkAccountsCustomBatchRequestEntry(o[1]); |
| 772 } | 772 } |
| 773 | 773 |
| 774 core.int buildCounterAccountsCustomBatchRequest = 0; | 774 core.int buildCounterAccountsCustomBatchRequest = 0; |
| 775 buildAccountsCustomBatchRequest() { | 775 buildAccountsCustomBatchRequest() { |
| 776 var o = new api.AccountsCustomBatchRequest(); | 776 var o = new api.AccountsCustomBatchRequest(); |
| 777 buildCounterAccountsCustomBatchRequest++; | 777 buildCounterAccountsCustomBatchRequest++; |
| 778 if (buildCounterAccountsCustomBatchRequest < 3) { | 778 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 779 o.entries = buildUnnamed532(); | 779 o.entries = buildUnnamed743(); |
| 780 } | 780 } |
| 781 buildCounterAccountsCustomBatchRequest--; | 781 buildCounterAccountsCustomBatchRequest--; |
| 782 return o; | 782 return o; |
| 783 } | 783 } |
| 784 | 784 |
| 785 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 785 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
| 786 buildCounterAccountsCustomBatchRequest++; | 786 buildCounterAccountsCustomBatchRequest++; |
| 787 if (buildCounterAccountsCustomBatchRequest < 3) { | 787 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 788 checkUnnamed532(o.entries); | 788 checkUnnamed743(o.entries); |
| 789 } | 789 } |
| 790 buildCounterAccountsCustomBatchRequest--; | 790 buildCounterAccountsCustomBatchRequest--; |
| 791 } | 791 } |
| 792 | 792 |
| 793 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 793 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
| 794 buildAccountsCustomBatchRequestEntry() { | 794 buildAccountsCustomBatchRequestEntry() { |
| 795 var o = new api.AccountsCustomBatchRequestEntry(); | 795 var o = new api.AccountsCustomBatchRequestEntry(); |
| 796 buildCounterAccountsCustomBatchRequestEntry++; | 796 buildCounterAccountsCustomBatchRequestEntry++; |
| 797 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 797 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 798 o.account = buildAccount(); | 798 o.account = buildAccount(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 810 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 810 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 811 checkAccount(o.account); | 811 checkAccount(o.account); |
| 812 unittest.expect(o.accountId, unittest.equals('foo')); | 812 unittest.expect(o.accountId, unittest.equals('foo')); |
| 813 unittest.expect(o.batchId, unittest.equals(42)); | 813 unittest.expect(o.batchId, unittest.equals(42)); |
| 814 unittest.expect(o.merchantId, unittest.equals('foo')); | 814 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 815 unittest.expect(o.method, unittest.equals('foo')); | 815 unittest.expect(o.method, unittest.equals('foo')); |
| 816 } | 816 } |
| 817 buildCounterAccountsCustomBatchRequestEntry--; | 817 buildCounterAccountsCustomBatchRequestEntry--; |
| 818 } | 818 } |
| 819 | 819 |
| 820 buildUnnamed533() { | 820 buildUnnamed744() { |
| 821 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 821 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
| 822 o.add(buildAccountsCustomBatchResponseEntry()); | 822 o.add(buildAccountsCustomBatchResponseEntry()); |
| 823 o.add(buildAccountsCustomBatchResponseEntry()); | 823 o.add(buildAccountsCustomBatchResponseEntry()); |
| 824 return o; | 824 return o; |
| 825 } | 825 } |
| 826 | 826 |
| 827 checkUnnamed533(core.List<api.AccountsCustomBatchResponseEntry> o) { | 827 checkUnnamed744(core.List<api.AccountsCustomBatchResponseEntry> o) { |
| 828 unittest.expect(o, unittest.hasLength(2)); | 828 unittest.expect(o, unittest.hasLength(2)); |
| 829 checkAccountsCustomBatchResponseEntry(o[0]); | 829 checkAccountsCustomBatchResponseEntry(o[0]); |
| 830 checkAccountsCustomBatchResponseEntry(o[1]); | 830 checkAccountsCustomBatchResponseEntry(o[1]); |
| 831 } | 831 } |
| 832 | 832 |
| 833 core.int buildCounterAccountsCustomBatchResponse = 0; | 833 core.int buildCounterAccountsCustomBatchResponse = 0; |
| 834 buildAccountsCustomBatchResponse() { | 834 buildAccountsCustomBatchResponse() { |
| 835 var o = new api.AccountsCustomBatchResponse(); | 835 var o = new api.AccountsCustomBatchResponse(); |
| 836 buildCounterAccountsCustomBatchResponse++; | 836 buildCounterAccountsCustomBatchResponse++; |
| 837 if (buildCounterAccountsCustomBatchResponse < 3) { | 837 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 838 o.entries = buildUnnamed533(); | 838 o.entries = buildUnnamed744(); |
| 839 o.kind = "foo"; | 839 o.kind = "foo"; |
| 840 } | 840 } |
| 841 buildCounterAccountsCustomBatchResponse--; | 841 buildCounterAccountsCustomBatchResponse--; |
| 842 return o; | 842 return o; |
| 843 } | 843 } |
| 844 | 844 |
| 845 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 845 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
| 846 buildCounterAccountsCustomBatchResponse++; | 846 buildCounterAccountsCustomBatchResponse++; |
| 847 if (buildCounterAccountsCustomBatchResponse < 3) { | 847 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 848 checkUnnamed533(o.entries); | 848 checkUnnamed744(o.entries); |
| 849 unittest.expect(o.kind, unittest.equals('foo')); | 849 unittest.expect(o.kind, unittest.equals('foo')); |
| 850 } | 850 } |
| 851 buildCounterAccountsCustomBatchResponse--; | 851 buildCounterAccountsCustomBatchResponse--; |
| 852 } | 852 } |
| 853 | 853 |
| 854 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 854 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
| 855 buildAccountsCustomBatchResponseEntry() { | 855 buildAccountsCustomBatchResponseEntry() { |
| 856 var o = new api.AccountsCustomBatchResponseEntry(); | 856 var o = new api.AccountsCustomBatchResponseEntry(); |
| 857 buildCounterAccountsCustomBatchResponseEntry++; | 857 buildCounterAccountsCustomBatchResponseEntry++; |
| 858 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 858 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 869 buildCounterAccountsCustomBatchResponseEntry++; | 869 buildCounterAccountsCustomBatchResponseEntry++; |
| 870 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 870 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| 871 checkAccount(o.account); | 871 checkAccount(o.account); |
| 872 unittest.expect(o.batchId, unittest.equals(42)); | 872 unittest.expect(o.batchId, unittest.equals(42)); |
| 873 checkErrors(o.errors); | 873 checkErrors(o.errors); |
| 874 unittest.expect(o.kind, unittest.equals('foo')); | 874 unittest.expect(o.kind, unittest.equals('foo')); |
| 875 } | 875 } |
| 876 buildCounterAccountsCustomBatchResponseEntry--; | 876 buildCounterAccountsCustomBatchResponseEntry--; |
| 877 } | 877 } |
| 878 | 878 |
| 879 buildUnnamed534() { | 879 buildUnnamed745() { |
| 880 var o = new core.List<api.Account>(); | 880 var o = new core.List<api.Account>(); |
| 881 o.add(buildAccount()); | 881 o.add(buildAccount()); |
| 882 o.add(buildAccount()); | 882 o.add(buildAccount()); |
| 883 return o; | 883 return o; |
| 884 } | 884 } |
| 885 | 885 |
| 886 checkUnnamed534(core.List<api.Account> o) { | 886 checkUnnamed745(core.List<api.Account> o) { |
| 887 unittest.expect(o, unittest.hasLength(2)); | 887 unittest.expect(o, unittest.hasLength(2)); |
| 888 checkAccount(o[0]); | 888 checkAccount(o[0]); |
| 889 checkAccount(o[1]); | 889 checkAccount(o[1]); |
| 890 } | 890 } |
| 891 | 891 |
| 892 core.int buildCounterAccountsListResponse = 0; | 892 core.int buildCounterAccountsListResponse = 0; |
| 893 buildAccountsListResponse() { | 893 buildAccountsListResponse() { |
| 894 var o = new api.AccountsListResponse(); | 894 var o = new api.AccountsListResponse(); |
| 895 buildCounterAccountsListResponse++; | 895 buildCounterAccountsListResponse++; |
| 896 if (buildCounterAccountsListResponse < 3) { | 896 if (buildCounterAccountsListResponse < 3) { |
| 897 o.kind = "foo"; | 897 o.kind = "foo"; |
| 898 o.nextPageToken = "foo"; | 898 o.nextPageToken = "foo"; |
| 899 o.resources = buildUnnamed534(); | 899 o.resources = buildUnnamed745(); |
| 900 } | 900 } |
| 901 buildCounterAccountsListResponse--; | 901 buildCounterAccountsListResponse--; |
| 902 return o; | 902 return o; |
| 903 } | 903 } |
| 904 | 904 |
| 905 checkAccountsListResponse(api.AccountsListResponse o) { | 905 checkAccountsListResponse(api.AccountsListResponse o) { |
| 906 buildCounterAccountsListResponse++; | 906 buildCounterAccountsListResponse++; |
| 907 if (buildCounterAccountsListResponse < 3) { | 907 if (buildCounterAccountsListResponse < 3) { |
| 908 unittest.expect(o.kind, unittest.equals('foo')); | 908 unittest.expect(o.kind, unittest.equals('foo')); |
| 909 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 909 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 910 checkUnnamed534(o.resources); | 910 checkUnnamed745(o.resources); |
| 911 } | 911 } |
| 912 buildCounterAccountsListResponse--; | 912 buildCounterAccountsListResponse--; |
| 913 } | 913 } |
| 914 | 914 |
| 915 buildUnnamed535() { | 915 buildUnnamed746() { |
| 916 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | 916 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); |
| 917 o.add(buildAccountshippingCustomBatchRequestEntry()); | 917 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 918 o.add(buildAccountshippingCustomBatchRequestEntry()); | 918 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 919 return o; | 919 return o; |
| 920 } | 920 } |
| 921 | 921 |
| 922 checkUnnamed535(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | 922 checkUnnamed746(core.List<api.AccountshippingCustomBatchRequestEntry> o) { |
| 923 unittest.expect(o, unittest.hasLength(2)); | 923 unittest.expect(o, unittest.hasLength(2)); |
| 924 checkAccountshippingCustomBatchRequestEntry(o[0]); | 924 checkAccountshippingCustomBatchRequestEntry(o[0]); |
| 925 checkAccountshippingCustomBatchRequestEntry(o[1]); | 925 checkAccountshippingCustomBatchRequestEntry(o[1]); |
| 926 } | 926 } |
| 927 | 927 |
| 928 core.int buildCounterAccountshippingCustomBatchRequest = 0; | 928 core.int buildCounterAccountshippingCustomBatchRequest = 0; |
| 929 buildAccountshippingCustomBatchRequest() { | 929 buildAccountshippingCustomBatchRequest() { |
| 930 var o = new api.AccountshippingCustomBatchRequest(); | 930 var o = new api.AccountshippingCustomBatchRequest(); |
| 931 buildCounterAccountshippingCustomBatchRequest++; | 931 buildCounterAccountshippingCustomBatchRequest++; |
| 932 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 932 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 933 o.entries = buildUnnamed535(); | 933 o.entries = buildUnnamed746(); |
| 934 } | 934 } |
| 935 buildCounterAccountshippingCustomBatchRequest--; | 935 buildCounterAccountshippingCustomBatchRequest--; |
| 936 return o; | 936 return o; |
| 937 } | 937 } |
| 938 | 938 |
| 939 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | 939 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ |
| 940 buildCounterAccountshippingCustomBatchRequest++; | 940 buildCounterAccountshippingCustomBatchRequest++; |
| 941 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 941 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 942 checkUnnamed535(o.entries); | 942 checkUnnamed746(o.entries); |
| 943 } | 943 } |
| 944 buildCounterAccountshippingCustomBatchRequest--; | 944 buildCounterAccountshippingCustomBatchRequest--; |
| 945 } | 945 } |
| 946 | 946 |
| 947 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | 947 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; |
| 948 buildAccountshippingCustomBatchRequestEntry() { | 948 buildAccountshippingCustomBatchRequestEntry() { |
| 949 var o = new api.AccountshippingCustomBatchRequestEntry(); | 949 var o = new api.AccountshippingCustomBatchRequestEntry(); |
| 950 buildCounterAccountshippingCustomBatchRequestEntry++; | 950 buildCounterAccountshippingCustomBatchRequestEntry++; |
| 951 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 951 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 952 o.accountId = "foo"; | 952 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 964 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 964 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 965 unittest.expect(o.accountId, unittest.equals('foo')); | 965 unittest.expect(o.accountId, unittest.equals('foo')); |
| 966 checkAccountShipping(o.accountShipping); | 966 checkAccountShipping(o.accountShipping); |
| 967 unittest.expect(o.batchId, unittest.equals(42)); | 967 unittest.expect(o.batchId, unittest.equals(42)); |
| 968 unittest.expect(o.merchantId, unittest.equals('foo')); | 968 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 969 unittest.expect(o.method, unittest.equals('foo')); | 969 unittest.expect(o.method, unittest.equals('foo')); |
| 970 } | 970 } |
| 971 buildCounterAccountshippingCustomBatchRequestEntry--; | 971 buildCounterAccountshippingCustomBatchRequestEntry--; |
| 972 } | 972 } |
| 973 | 973 |
| 974 buildUnnamed536() { | 974 buildUnnamed747() { |
| 975 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | 975 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); |
| 976 o.add(buildAccountshippingCustomBatchResponseEntry()); | 976 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 977 o.add(buildAccountshippingCustomBatchResponseEntry()); | 977 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 978 return o; | 978 return o; |
| 979 } | 979 } |
| 980 | 980 |
| 981 checkUnnamed536(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | 981 checkUnnamed747(core.List<api.AccountshippingCustomBatchResponseEntry> o) { |
| 982 unittest.expect(o, unittest.hasLength(2)); | 982 unittest.expect(o, unittest.hasLength(2)); |
| 983 checkAccountshippingCustomBatchResponseEntry(o[0]); | 983 checkAccountshippingCustomBatchResponseEntry(o[0]); |
| 984 checkAccountshippingCustomBatchResponseEntry(o[1]); | 984 checkAccountshippingCustomBatchResponseEntry(o[1]); |
| 985 } | 985 } |
| 986 | 986 |
| 987 core.int buildCounterAccountshippingCustomBatchResponse = 0; | 987 core.int buildCounterAccountshippingCustomBatchResponse = 0; |
| 988 buildAccountshippingCustomBatchResponse() { | 988 buildAccountshippingCustomBatchResponse() { |
| 989 var o = new api.AccountshippingCustomBatchResponse(); | 989 var o = new api.AccountshippingCustomBatchResponse(); |
| 990 buildCounterAccountshippingCustomBatchResponse++; | 990 buildCounterAccountshippingCustomBatchResponse++; |
| 991 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 991 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 992 o.entries = buildUnnamed536(); | 992 o.entries = buildUnnamed747(); |
| 993 o.kind = "foo"; | 993 o.kind = "foo"; |
| 994 } | 994 } |
| 995 buildCounterAccountshippingCustomBatchResponse--; | 995 buildCounterAccountshippingCustomBatchResponse--; |
| 996 return o; | 996 return o; |
| 997 } | 997 } |
| 998 | 998 |
| 999 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | 999 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { |
| 1000 buildCounterAccountshippingCustomBatchResponse++; | 1000 buildCounterAccountshippingCustomBatchResponse++; |
| 1001 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 1001 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 1002 checkUnnamed536(o.entries); | 1002 checkUnnamed747(o.entries); |
| 1003 unittest.expect(o.kind, unittest.equals('foo')); | 1003 unittest.expect(o.kind, unittest.equals('foo')); |
| 1004 } | 1004 } |
| 1005 buildCounterAccountshippingCustomBatchResponse--; | 1005 buildCounterAccountshippingCustomBatchResponse--; |
| 1006 } | 1006 } |
| 1007 | 1007 |
| 1008 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | 1008 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; |
| 1009 buildAccountshippingCustomBatchResponseEntry() { | 1009 buildAccountshippingCustomBatchResponseEntry() { |
| 1010 var o = new api.AccountshippingCustomBatchResponseEntry(); | 1010 var o = new api.AccountshippingCustomBatchResponseEntry(); |
| 1011 buildCounterAccountshippingCustomBatchResponseEntry++; | 1011 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1012 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1012 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1023 buildCounterAccountshippingCustomBatchResponseEntry++; | 1023 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1024 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1024 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| 1025 checkAccountShipping(o.accountShipping); | 1025 checkAccountShipping(o.accountShipping); |
| 1026 unittest.expect(o.batchId, unittest.equals(42)); | 1026 unittest.expect(o.batchId, unittest.equals(42)); |
| 1027 checkErrors(o.errors); | 1027 checkErrors(o.errors); |
| 1028 unittest.expect(o.kind, unittest.equals('foo')); | 1028 unittest.expect(o.kind, unittest.equals('foo')); |
| 1029 } | 1029 } |
| 1030 buildCounterAccountshippingCustomBatchResponseEntry--; | 1030 buildCounterAccountshippingCustomBatchResponseEntry--; |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 buildUnnamed537() { | 1033 buildUnnamed748() { |
| 1034 var o = new core.List<api.AccountShipping>(); | 1034 var o = new core.List<api.AccountShipping>(); |
| 1035 o.add(buildAccountShipping()); | 1035 o.add(buildAccountShipping()); |
| 1036 o.add(buildAccountShipping()); | 1036 o.add(buildAccountShipping()); |
| 1037 return o; | 1037 return o; |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 checkUnnamed537(core.List<api.AccountShipping> o) { | 1040 checkUnnamed748(core.List<api.AccountShipping> o) { |
| 1041 unittest.expect(o, unittest.hasLength(2)); | 1041 unittest.expect(o, unittest.hasLength(2)); |
| 1042 checkAccountShipping(o[0]); | 1042 checkAccountShipping(o[0]); |
| 1043 checkAccountShipping(o[1]); | 1043 checkAccountShipping(o[1]); |
| 1044 } | 1044 } |
| 1045 | 1045 |
| 1046 core.int buildCounterAccountshippingListResponse = 0; | 1046 core.int buildCounterAccountshippingListResponse = 0; |
| 1047 buildAccountshippingListResponse() { | 1047 buildAccountshippingListResponse() { |
| 1048 var o = new api.AccountshippingListResponse(); | 1048 var o = new api.AccountshippingListResponse(); |
| 1049 buildCounterAccountshippingListResponse++; | 1049 buildCounterAccountshippingListResponse++; |
| 1050 if (buildCounterAccountshippingListResponse < 3) { | 1050 if (buildCounterAccountshippingListResponse < 3) { |
| 1051 o.kind = "foo"; | 1051 o.kind = "foo"; |
| 1052 o.nextPageToken = "foo"; | 1052 o.nextPageToken = "foo"; |
| 1053 o.resources = buildUnnamed537(); | 1053 o.resources = buildUnnamed748(); |
| 1054 } | 1054 } |
| 1055 buildCounterAccountshippingListResponse--; | 1055 buildCounterAccountshippingListResponse--; |
| 1056 return o; | 1056 return o; |
| 1057 } | 1057 } |
| 1058 | 1058 |
| 1059 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | 1059 checkAccountshippingListResponse(api.AccountshippingListResponse o) { |
| 1060 buildCounterAccountshippingListResponse++; | 1060 buildCounterAccountshippingListResponse++; |
| 1061 if (buildCounterAccountshippingListResponse < 3) { | 1061 if (buildCounterAccountshippingListResponse < 3) { |
| 1062 unittest.expect(o.kind, unittest.equals('foo')); | 1062 unittest.expect(o.kind, unittest.equals('foo')); |
| 1063 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1063 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1064 checkUnnamed537(o.resources); | 1064 checkUnnamed748(o.resources); |
| 1065 } | 1065 } |
| 1066 buildCounterAccountshippingListResponse--; | 1066 buildCounterAccountshippingListResponse--; |
| 1067 } | 1067 } |
| 1068 | 1068 |
| 1069 buildUnnamed538() { | 1069 buildUnnamed749() { |
| 1070 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 1070 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
| 1071 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1071 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1072 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1072 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1073 return o; | 1073 return o; |
| 1074 } | 1074 } |
| 1075 | 1075 |
| 1076 checkUnnamed538(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 1076 checkUnnamed749(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
| 1077 unittest.expect(o, unittest.hasLength(2)); | 1077 unittest.expect(o, unittest.hasLength(2)); |
| 1078 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 1078 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
| 1079 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 1079 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 1082 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
| 1083 buildAccountstatusesCustomBatchRequest() { | 1083 buildAccountstatusesCustomBatchRequest() { |
| 1084 var o = new api.AccountstatusesCustomBatchRequest(); | 1084 var o = new api.AccountstatusesCustomBatchRequest(); |
| 1085 buildCounterAccountstatusesCustomBatchRequest++; | 1085 buildCounterAccountstatusesCustomBatchRequest++; |
| 1086 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1086 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1087 o.entries = buildUnnamed538(); | 1087 o.entries = buildUnnamed749(); |
| 1088 } | 1088 } |
| 1089 buildCounterAccountstatusesCustomBatchRequest--; | 1089 buildCounterAccountstatusesCustomBatchRequest--; |
| 1090 return o; | 1090 return o; |
| 1091 } | 1091 } |
| 1092 | 1092 |
| 1093 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 1093 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
| 1094 buildCounterAccountstatusesCustomBatchRequest++; | 1094 buildCounterAccountstatusesCustomBatchRequest++; |
| 1095 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1095 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1096 checkUnnamed538(o.entries); | 1096 checkUnnamed749(o.entries); |
| 1097 } | 1097 } |
| 1098 buildCounterAccountstatusesCustomBatchRequest--; | 1098 buildCounterAccountstatusesCustomBatchRequest--; |
| 1099 } | 1099 } |
| 1100 | 1100 |
| 1101 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 1101 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
| 1102 buildAccountstatusesCustomBatchRequestEntry() { | 1102 buildAccountstatusesCustomBatchRequestEntry() { |
| 1103 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 1103 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
| 1104 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1104 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1105 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1105 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1106 o.accountId = "foo"; | 1106 o.accountId = "foo"; |
| 1107 o.batchId = 42; | 1107 o.batchId = 42; |
| 1108 o.merchantId = "foo"; | 1108 o.merchantId = "foo"; |
| 1109 o.method = "foo"; | 1109 o.method = "foo"; |
| 1110 } | 1110 } |
| 1111 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1111 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1112 return o; | 1112 return o; |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 1115 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
| 1116 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1116 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1117 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1117 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1118 unittest.expect(o.accountId, unittest.equals('foo')); | 1118 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1119 unittest.expect(o.batchId, unittest.equals(42)); | 1119 unittest.expect(o.batchId, unittest.equals(42)); |
| 1120 unittest.expect(o.merchantId, unittest.equals('foo')); | 1120 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1121 unittest.expect(o.method, unittest.equals('foo')); | 1121 unittest.expect(o.method, unittest.equals('foo')); |
| 1122 } | 1122 } |
| 1123 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1123 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1124 } | 1124 } |
| 1125 | 1125 |
| 1126 buildUnnamed539() { | 1126 buildUnnamed750() { |
| 1127 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 1127 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
| 1128 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1128 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1129 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1129 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1130 return o; | 1130 return o; |
| 1131 } | 1131 } |
| 1132 | 1132 |
| 1133 checkUnnamed539(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 1133 checkUnnamed750(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
| 1134 unittest.expect(o, unittest.hasLength(2)); | 1134 unittest.expect(o, unittest.hasLength(2)); |
| 1135 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 1135 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
| 1136 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 1136 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
| 1137 } | 1137 } |
| 1138 | 1138 |
| 1139 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 1139 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
| 1140 buildAccountstatusesCustomBatchResponse() { | 1140 buildAccountstatusesCustomBatchResponse() { |
| 1141 var o = new api.AccountstatusesCustomBatchResponse(); | 1141 var o = new api.AccountstatusesCustomBatchResponse(); |
| 1142 buildCounterAccountstatusesCustomBatchResponse++; | 1142 buildCounterAccountstatusesCustomBatchResponse++; |
| 1143 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1143 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1144 o.entries = buildUnnamed539(); | 1144 o.entries = buildUnnamed750(); |
| 1145 o.kind = "foo"; | 1145 o.kind = "foo"; |
| 1146 } | 1146 } |
| 1147 buildCounterAccountstatusesCustomBatchResponse--; | 1147 buildCounterAccountstatusesCustomBatchResponse--; |
| 1148 return o; | 1148 return o; |
| 1149 } | 1149 } |
| 1150 | 1150 |
| 1151 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 1151 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
| 1152 buildCounterAccountstatusesCustomBatchResponse++; | 1152 buildCounterAccountstatusesCustomBatchResponse++; |
| 1153 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1153 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1154 checkUnnamed539(o.entries); | 1154 checkUnnamed750(o.entries); |
| 1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
| 1156 } | 1156 } |
| 1157 buildCounterAccountstatusesCustomBatchResponse--; | 1157 buildCounterAccountstatusesCustomBatchResponse--; |
| 1158 } | 1158 } |
| 1159 | 1159 |
| 1160 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 1160 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
| 1161 buildAccountstatusesCustomBatchResponseEntry() { | 1161 buildAccountstatusesCustomBatchResponseEntry() { |
| 1162 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 1162 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
| 1163 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1163 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1164 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1164 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1165 o.accountStatus = buildAccountStatus(); | 1165 o.accountStatus = buildAccountStatus(); |
| 1166 o.batchId = 42; | 1166 o.batchId = 42; |
| 1167 o.errors = buildErrors(); | 1167 o.errors = buildErrors(); |
| 1168 } | 1168 } |
| 1169 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1169 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1170 return o; | 1170 return o; |
| 1171 } | 1171 } |
| 1172 | 1172 |
| 1173 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 1173 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
| 1174 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1174 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1175 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1175 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1176 checkAccountStatus(o.accountStatus); | 1176 checkAccountStatus(o.accountStatus); |
| 1177 unittest.expect(o.batchId, unittest.equals(42)); | 1177 unittest.expect(o.batchId, unittest.equals(42)); |
| 1178 checkErrors(o.errors); | 1178 checkErrors(o.errors); |
| 1179 } | 1179 } |
| 1180 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1180 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1181 } | 1181 } |
| 1182 | 1182 |
| 1183 buildUnnamed540() { | 1183 buildUnnamed751() { |
| 1184 var o = new core.List<api.AccountStatus>(); | 1184 var o = new core.List<api.AccountStatus>(); |
| 1185 o.add(buildAccountStatus()); | 1185 o.add(buildAccountStatus()); |
| 1186 o.add(buildAccountStatus()); | 1186 o.add(buildAccountStatus()); |
| 1187 return o; | 1187 return o; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 checkUnnamed540(core.List<api.AccountStatus> o) { | 1190 checkUnnamed751(core.List<api.AccountStatus> o) { |
| 1191 unittest.expect(o, unittest.hasLength(2)); | 1191 unittest.expect(o, unittest.hasLength(2)); |
| 1192 checkAccountStatus(o[0]); | 1192 checkAccountStatus(o[0]); |
| 1193 checkAccountStatus(o[1]); | 1193 checkAccountStatus(o[1]); |
| 1194 } | 1194 } |
| 1195 | 1195 |
| 1196 core.int buildCounterAccountstatusesListResponse = 0; | 1196 core.int buildCounterAccountstatusesListResponse = 0; |
| 1197 buildAccountstatusesListResponse() { | 1197 buildAccountstatusesListResponse() { |
| 1198 var o = new api.AccountstatusesListResponse(); | 1198 var o = new api.AccountstatusesListResponse(); |
| 1199 buildCounterAccountstatusesListResponse++; | 1199 buildCounterAccountstatusesListResponse++; |
| 1200 if (buildCounterAccountstatusesListResponse < 3) { | 1200 if (buildCounterAccountstatusesListResponse < 3) { |
| 1201 o.kind = "foo"; | 1201 o.kind = "foo"; |
| 1202 o.nextPageToken = "foo"; | 1202 o.nextPageToken = "foo"; |
| 1203 o.resources = buildUnnamed540(); | 1203 o.resources = buildUnnamed751(); |
| 1204 } | 1204 } |
| 1205 buildCounterAccountstatusesListResponse--; | 1205 buildCounterAccountstatusesListResponse--; |
| 1206 return o; | 1206 return o; |
| 1207 } | 1207 } |
| 1208 | 1208 |
| 1209 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 1209 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
| 1210 buildCounterAccountstatusesListResponse++; | 1210 buildCounterAccountstatusesListResponse++; |
| 1211 if (buildCounterAccountstatusesListResponse < 3) { | 1211 if (buildCounterAccountstatusesListResponse < 3) { |
| 1212 unittest.expect(o.kind, unittest.equals('foo')); | 1212 unittest.expect(o.kind, unittest.equals('foo')); |
| 1213 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1213 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1214 checkUnnamed540(o.resources); | 1214 checkUnnamed751(o.resources); |
| 1215 } | 1215 } |
| 1216 buildCounterAccountstatusesListResponse--; | 1216 buildCounterAccountstatusesListResponse--; |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 buildUnnamed541() { | 1219 buildUnnamed752() { |
| 1220 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 1220 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
| 1221 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1221 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1222 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1222 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1223 return o; | 1223 return o; |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 checkUnnamed541(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 1226 checkUnnamed752(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
| 1227 unittest.expect(o, unittest.hasLength(2)); | 1227 unittest.expect(o, unittest.hasLength(2)); |
| 1228 checkAccounttaxCustomBatchRequestEntry(o[0]); | 1228 checkAccounttaxCustomBatchRequestEntry(o[0]); |
| 1229 checkAccounttaxCustomBatchRequestEntry(o[1]); | 1229 checkAccounttaxCustomBatchRequestEntry(o[1]); |
| 1230 } | 1230 } |
| 1231 | 1231 |
| 1232 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 1232 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
| 1233 buildAccounttaxCustomBatchRequest() { | 1233 buildAccounttaxCustomBatchRequest() { |
| 1234 var o = new api.AccounttaxCustomBatchRequest(); | 1234 var o = new api.AccounttaxCustomBatchRequest(); |
| 1235 buildCounterAccounttaxCustomBatchRequest++; | 1235 buildCounterAccounttaxCustomBatchRequest++; |
| 1236 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1236 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1237 o.entries = buildUnnamed541(); | 1237 o.entries = buildUnnamed752(); |
| 1238 } | 1238 } |
| 1239 buildCounterAccounttaxCustomBatchRequest--; | 1239 buildCounterAccounttaxCustomBatchRequest--; |
| 1240 return o; | 1240 return o; |
| 1241 } | 1241 } |
| 1242 | 1242 |
| 1243 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 1243 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
| 1244 buildCounterAccounttaxCustomBatchRequest++; | 1244 buildCounterAccounttaxCustomBatchRequest++; |
| 1245 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1245 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1246 checkUnnamed541(o.entries); | 1246 checkUnnamed752(o.entries); |
| 1247 } | 1247 } |
| 1248 buildCounterAccounttaxCustomBatchRequest--; | 1248 buildCounterAccounttaxCustomBatchRequest--; |
| 1249 } | 1249 } |
| 1250 | 1250 |
| 1251 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 1251 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
| 1252 buildAccounttaxCustomBatchRequestEntry() { | 1252 buildAccounttaxCustomBatchRequestEntry() { |
| 1253 var o = new api.AccounttaxCustomBatchRequestEntry(); | 1253 var o = new api.AccounttaxCustomBatchRequestEntry(); |
| 1254 buildCounterAccounttaxCustomBatchRequestEntry++; | 1254 buildCounterAccounttaxCustomBatchRequestEntry++; |
| 1255 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1255 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1256 o.accountId = "foo"; | 1256 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1268 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1268 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1269 unittest.expect(o.accountId, unittest.equals('foo')); | 1269 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1270 checkAccountTax(o.accountTax); | 1270 checkAccountTax(o.accountTax); |
| 1271 unittest.expect(o.batchId, unittest.equals(42)); | 1271 unittest.expect(o.batchId, unittest.equals(42)); |
| 1272 unittest.expect(o.merchantId, unittest.equals('foo')); | 1272 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1273 unittest.expect(o.method, unittest.equals('foo')); | 1273 unittest.expect(o.method, unittest.equals('foo')); |
| 1274 } | 1274 } |
| 1275 buildCounterAccounttaxCustomBatchRequestEntry--; | 1275 buildCounterAccounttaxCustomBatchRequestEntry--; |
| 1276 } | 1276 } |
| 1277 | 1277 |
| 1278 buildUnnamed542() { | 1278 buildUnnamed753() { |
| 1279 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 1279 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
| 1280 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1280 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1281 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1281 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1282 return o; | 1282 return o; |
| 1283 } | 1283 } |
| 1284 | 1284 |
| 1285 checkUnnamed542(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 1285 checkUnnamed753(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
| 1286 unittest.expect(o, unittest.hasLength(2)); | 1286 unittest.expect(o, unittest.hasLength(2)); |
| 1287 checkAccounttaxCustomBatchResponseEntry(o[0]); | 1287 checkAccounttaxCustomBatchResponseEntry(o[0]); |
| 1288 checkAccounttaxCustomBatchResponseEntry(o[1]); | 1288 checkAccounttaxCustomBatchResponseEntry(o[1]); |
| 1289 } | 1289 } |
| 1290 | 1290 |
| 1291 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 1291 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
| 1292 buildAccounttaxCustomBatchResponse() { | 1292 buildAccounttaxCustomBatchResponse() { |
| 1293 var o = new api.AccounttaxCustomBatchResponse(); | 1293 var o = new api.AccounttaxCustomBatchResponse(); |
| 1294 buildCounterAccounttaxCustomBatchResponse++; | 1294 buildCounterAccounttaxCustomBatchResponse++; |
| 1295 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1295 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1296 o.entries = buildUnnamed542(); | 1296 o.entries = buildUnnamed753(); |
| 1297 o.kind = "foo"; | 1297 o.kind = "foo"; |
| 1298 } | 1298 } |
| 1299 buildCounterAccounttaxCustomBatchResponse--; | 1299 buildCounterAccounttaxCustomBatchResponse--; |
| 1300 return o; | 1300 return o; |
| 1301 } | 1301 } |
| 1302 | 1302 |
| 1303 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 1303 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
| 1304 buildCounterAccounttaxCustomBatchResponse++; | 1304 buildCounterAccounttaxCustomBatchResponse++; |
| 1305 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1305 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1306 checkUnnamed542(o.entries); | 1306 checkUnnamed753(o.entries); |
| 1307 unittest.expect(o.kind, unittest.equals('foo')); | 1307 unittest.expect(o.kind, unittest.equals('foo')); |
| 1308 } | 1308 } |
| 1309 buildCounterAccounttaxCustomBatchResponse--; | 1309 buildCounterAccounttaxCustomBatchResponse--; |
| 1310 } | 1310 } |
| 1311 | 1311 |
| 1312 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 1312 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
| 1313 buildAccounttaxCustomBatchResponseEntry() { | 1313 buildAccounttaxCustomBatchResponseEntry() { |
| 1314 var o = new api.AccounttaxCustomBatchResponseEntry(); | 1314 var o = new api.AccounttaxCustomBatchResponseEntry(); |
| 1315 buildCounterAccounttaxCustomBatchResponseEntry++; | 1315 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1316 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1316 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1327 buildCounterAccounttaxCustomBatchResponseEntry++; | 1327 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1328 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1328 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| 1329 checkAccountTax(o.accountTax); | 1329 checkAccountTax(o.accountTax); |
| 1330 unittest.expect(o.batchId, unittest.equals(42)); | 1330 unittest.expect(o.batchId, unittest.equals(42)); |
| 1331 checkErrors(o.errors); | 1331 checkErrors(o.errors); |
| 1332 unittest.expect(o.kind, unittest.equals('foo')); | 1332 unittest.expect(o.kind, unittest.equals('foo')); |
| 1333 } | 1333 } |
| 1334 buildCounterAccounttaxCustomBatchResponseEntry--; | 1334 buildCounterAccounttaxCustomBatchResponseEntry--; |
| 1335 } | 1335 } |
| 1336 | 1336 |
| 1337 buildUnnamed543() { | 1337 buildUnnamed754() { |
| 1338 var o = new core.List<api.AccountTax>(); | 1338 var o = new core.List<api.AccountTax>(); |
| 1339 o.add(buildAccountTax()); | 1339 o.add(buildAccountTax()); |
| 1340 o.add(buildAccountTax()); | 1340 o.add(buildAccountTax()); |
| 1341 return o; | 1341 return o; |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 checkUnnamed543(core.List<api.AccountTax> o) { | 1344 checkUnnamed754(core.List<api.AccountTax> o) { |
| 1345 unittest.expect(o, unittest.hasLength(2)); | 1345 unittest.expect(o, unittest.hasLength(2)); |
| 1346 checkAccountTax(o[0]); | 1346 checkAccountTax(o[0]); |
| 1347 checkAccountTax(o[1]); | 1347 checkAccountTax(o[1]); |
| 1348 } | 1348 } |
| 1349 | 1349 |
| 1350 core.int buildCounterAccounttaxListResponse = 0; | 1350 core.int buildCounterAccounttaxListResponse = 0; |
| 1351 buildAccounttaxListResponse() { | 1351 buildAccounttaxListResponse() { |
| 1352 var o = new api.AccounttaxListResponse(); | 1352 var o = new api.AccounttaxListResponse(); |
| 1353 buildCounterAccounttaxListResponse++; | 1353 buildCounterAccounttaxListResponse++; |
| 1354 if (buildCounterAccounttaxListResponse < 3) { | 1354 if (buildCounterAccounttaxListResponse < 3) { |
| 1355 o.kind = "foo"; | 1355 o.kind = "foo"; |
| 1356 o.nextPageToken = "foo"; | 1356 o.nextPageToken = "foo"; |
| 1357 o.resources = buildUnnamed543(); | 1357 o.resources = buildUnnamed754(); |
| 1358 } | 1358 } |
| 1359 buildCounterAccounttaxListResponse--; | 1359 buildCounterAccounttaxListResponse--; |
| 1360 return o; | 1360 return o; |
| 1361 } | 1361 } |
| 1362 | 1362 |
| 1363 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 1363 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
| 1364 buildCounterAccounttaxListResponse++; | 1364 buildCounterAccounttaxListResponse++; |
| 1365 if (buildCounterAccounttaxListResponse < 3) { | 1365 if (buildCounterAccounttaxListResponse < 3) { |
| 1366 unittest.expect(o.kind, unittest.equals('foo')); | 1366 unittest.expect(o.kind, unittest.equals('foo')); |
| 1367 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1367 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1368 checkUnnamed543(o.resources); | 1368 checkUnnamed754(o.resources); |
| 1369 } | 1369 } |
| 1370 buildCounterAccounttaxListResponse--; | 1370 buildCounterAccounttaxListResponse--; |
| 1371 } | 1371 } |
| 1372 | 1372 |
| 1373 buildUnnamed544() { | 1373 buildUnnamed755() { |
| 1374 var o = new core.List<core.String>(); | 1374 var o = new core.List<core.String>(); |
| 1375 o.add("foo"); | 1375 o.add("foo"); |
| 1376 o.add("foo"); | 1376 o.add("foo"); |
| 1377 return o; | 1377 return o; |
| 1378 } | 1378 } |
| 1379 | 1379 |
| 1380 checkUnnamed544(core.List<core.String> o) { | 1380 checkUnnamed755(core.List<core.String> o) { |
| 1381 unittest.expect(o, unittest.hasLength(2)); | 1381 unittest.expect(o, unittest.hasLength(2)); |
| 1382 unittest.expect(o[0], unittest.equals('foo')); | 1382 unittest.expect(o[0], unittest.equals('foo')); |
| 1383 unittest.expect(o[1], unittest.equals('foo')); | 1383 unittest.expect(o[1], unittest.equals('foo')); |
| 1384 } | 1384 } |
| 1385 | 1385 |
| 1386 core.int buildCounterDatafeed = 0; | 1386 core.int buildCounterDatafeed = 0; |
| 1387 buildDatafeed() { | 1387 buildDatafeed() { |
| 1388 var o = new api.Datafeed(); | 1388 var o = new api.Datafeed(); |
| 1389 buildCounterDatafeed++; | 1389 buildCounterDatafeed++; |
| 1390 if (buildCounterDatafeed < 3) { | 1390 if (buildCounterDatafeed < 3) { |
| 1391 o.attributeLanguage = "foo"; | 1391 o.attributeLanguage = "foo"; |
| 1392 o.contentLanguage = "foo"; | 1392 o.contentLanguage = "foo"; |
| 1393 o.contentType = "foo"; | 1393 o.contentType = "foo"; |
| 1394 o.fetchSchedule = buildDatafeedFetchSchedule(); | 1394 o.fetchSchedule = buildDatafeedFetchSchedule(); |
| 1395 o.fileName = "foo"; | 1395 o.fileName = "foo"; |
| 1396 o.format = buildDatafeedFormat(); | 1396 o.format = buildDatafeedFormat(); |
| 1397 o.id = "foo"; | 1397 o.id = "foo"; |
| 1398 o.intendedDestinations = buildUnnamed544(); | 1398 o.intendedDestinations = buildUnnamed755(); |
| 1399 o.kind = "foo"; | 1399 o.kind = "foo"; |
| 1400 o.name = "foo"; | 1400 o.name = "foo"; |
| 1401 o.targetCountry = "foo"; | 1401 o.targetCountry = "foo"; |
| 1402 } | 1402 } |
| 1403 buildCounterDatafeed--; | 1403 buildCounterDatafeed--; |
| 1404 return o; | 1404 return o; |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 checkDatafeed(api.Datafeed o) { | 1407 checkDatafeed(api.Datafeed o) { |
| 1408 buildCounterDatafeed++; | 1408 buildCounterDatafeed++; |
| 1409 if (buildCounterDatafeed < 3) { | 1409 if (buildCounterDatafeed < 3) { |
| 1410 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 1410 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
| 1411 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 1411 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 1412 unittest.expect(o.contentType, unittest.equals('foo')); | 1412 unittest.expect(o.contentType, unittest.equals('foo')); |
| 1413 checkDatafeedFetchSchedule(o.fetchSchedule); | 1413 checkDatafeedFetchSchedule(o.fetchSchedule); |
| 1414 unittest.expect(o.fileName, unittest.equals('foo')); | 1414 unittest.expect(o.fileName, unittest.equals('foo')); |
| 1415 checkDatafeedFormat(o.format); | 1415 checkDatafeedFormat(o.format); |
| 1416 unittest.expect(o.id, unittest.equals('foo')); | 1416 unittest.expect(o.id, unittest.equals('foo')); |
| 1417 checkUnnamed544(o.intendedDestinations); | 1417 checkUnnamed755(o.intendedDestinations); |
| 1418 unittest.expect(o.kind, unittest.equals('foo')); | 1418 unittest.expect(o.kind, unittest.equals('foo')); |
| 1419 unittest.expect(o.name, unittest.equals('foo')); | 1419 unittest.expect(o.name, unittest.equals('foo')); |
| 1420 unittest.expect(o.targetCountry, unittest.equals('foo')); | 1420 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 1421 } | 1421 } |
| 1422 buildCounterDatafeed--; | 1422 buildCounterDatafeed--; |
| 1423 } | 1423 } |
| 1424 | 1424 |
| 1425 core.int buildCounterDatafeedFetchSchedule = 0; | 1425 core.int buildCounterDatafeedFetchSchedule = 0; |
| 1426 buildDatafeedFetchSchedule() { | 1426 buildDatafeedFetchSchedule() { |
| 1427 var o = new api.DatafeedFetchSchedule(); | 1427 var o = new api.DatafeedFetchSchedule(); |
| 1428 buildCounterDatafeedFetchSchedule++; | 1428 buildCounterDatafeedFetchSchedule++; |
| 1429 if (buildCounterDatafeedFetchSchedule < 3) { | 1429 if (buildCounterDatafeedFetchSchedule < 3) { |
| 1430 o.dayOfMonth = 42; | 1430 o.dayOfMonth = 42; |
| 1431 o.fetchUrl = "foo"; | 1431 o.fetchUrl = "foo"; |
| 1432 o.hour = 42; | 1432 o.hour = 42; |
| 1433 o.minuteOfHour = 42; |
| 1433 o.password = "foo"; | 1434 o.password = "foo"; |
| 1434 o.timeZone = "foo"; | 1435 o.timeZone = "foo"; |
| 1435 o.username = "foo"; | 1436 o.username = "foo"; |
| 1436 o.weekday = "foo"; | 1437 o.weekday = "foo"; |
| 1437 } | 1438 } |
| 1438 buildCounterDatafeedFetchSchedule--; | 1439 buildCounterDatafeedFetchSchedule--; |
| 1439 return o; | 1440 return o; |
| 1440 } | 1441 } |
| 1441 | 1442 |
| 1442 checkDatafeedFetchSchedule(api.DatafeedFetchSchedule o) { | 1443 checkDatafeedFetchSchedule(api.DatafeedFetchSchedule o) { |
| 1443 buildCounterDatafeedFetchSchedule++; | 1444 buildCounterDatafeedFetchSchedule++; |
| 1444 if (buildCounterDatafeedFetchSchedule < 3) { | 1445 if (buildCounterDatafeedFetchSchedule < 3) { |
| 1445 unittest.expect(o.dayOfMonth, unittest.equals(42)); | 1446 unittest.expect(o.dayOfMonth, unittest.equals(42)); |
| 1446 unittest.expect(o.fetchUrl, unittest.equals('foo')); | 1447 unittest.expect(o.fetchUrl, unittest.equals('foo')); |
| 1447 unittest.expect(o.hour, unittest.equals(42)); | 1448 unittest.expect(o.hour, unittest.equals(42)); |
| 1449 unittest.expect(o.minuteOfHour, unittest.equals(42)); |
| 1448 unittest.expect(o.password, unittest.equals('foo')); | 1450 unittest.expect(o.password, unittest.equals('foo')); |
| 1449 unittest.expect(o.timeZone, unittest.equals('foo')); | 1451 unittest.expect(o.timeZone, unittest.equals('foo')); |
| 1450 unittest.expect(o.username, unittest.equals('foo')); | 1452 unittest.expect(o.username, unittest.equals('foo')); |
| 1451 unittest.expect(o.weekday, unittest.equals('foo')); | 1453 unittest.expect(o.weekday, unittest.equals('foo')); |
| 1452 } | 1454 } |
| 1453 buildCounterDatafeedFetchSchedule--; | 1455 buildCounterDatafeedFetchSchedule--; |
| 1454 } | 1456 } |
| 1455 | 1457 |
| 1456 core.int buildCounterDatafeedFormat = 0; | 1458 core.int buildCounterDatafeedFormat = 0; |
| 1457 buildDatafeedFormat() { | 1459 buildDatafeedFormat() { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1469 checkDatafeedFormat(api.DatafeedFormat o) { | 1471 checkDatafeedFormat(api.DatafeedFormat o) { |
| 1470 buildCounterDatafeedFormat++; | 1472 buildCounterDatafeedFormat++; |
| 1471 if (buildCounterDatafeedFormat < 3) { | 1473 if (buildCounterDatafeedFormat < 3) { |
| 1472 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1474 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
| 1473 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1475 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
| 1474 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1476 unittest.expect(o.quotingMode, unittest.equals('foo')); |
| 1475 } | 1477 } |
| 1476 buildCounterDatafeedFormat--; | 1478 buildCounterDatafeedFormat--; |
| 1477 } | 1479 } |
| 1478 | 1480 |
| 1479 buildUnnamed545() { | 1481 buildUnnamed756() { |
| 1480 var o = new core.List<api.DatafeedStatusError>(); | 1482 var o = new core.List<api.DatafeedStatusError>(); |
| 1481 o.add(buildDatafeedStatusError()); | 1483 o.add(buildDatafeedStatusError()); |
| 1482 o.add(buildDatafeedStatusError()); | 1484 o.add(buildDatafeedStatusError()); |
| 1483 return o; | 1485 return o; |
| 1484 } | 1486 } |
| 1485 | 1487 |
| 1486 checkUnnamed545(core.List<api.DatafeedStatusError> o) { | 1488 checkUnnamed756(core.List<api.DatafeedStatusError> o) { |
| 1487 unittest.expect(o, unittest.hasLength(2)); | 1489 unittest.expect(o, unittest.hasLength(2)); |
| 1488 checkDatafeedStatusError(o[0]); | 1490 checkDatafeedStatusError(o[0]); |
| 1489 checkDatafeedStatusError(o[1]); | 1491 checkDatafeedStatusError(o[1]); |
| 1490 } | 1492 } |
| 1491 | 1493 |
| 1492 buildUnnamed546() { | 1494 buildUnnamed757() { |
| 1493 var o = new core.List<api.DatafeedStatusError>(); | 1495 var o = new core.List<api.DatafeedStatusError>(); |
| 1494 o.add(buildDatafeedStatusError()); | 1496 o.add(buildDatafeedStatusError()); |
| 1495 o.add(buildDatafeedStatusError()); | 1497 o.add(buildDatafeedStatusError()); |
| 1496 return o; | 1498 return o; |
| 1497 } | 1499 } |
| 1498 | 1500 |
| 1499 checkUnnamed546(core.List<api.DatafeedStatusError> o) { | 1501 checkUnnamed757(core.List<api.DatafeedStatusError> o) { |
| 1500 unittest.expect(o, unittest.hasLength(2)); | 1502 unittest.expect(o, unittest.hasLength(2)); |
| 1501 checkDatafeedStatusError(o[0]); | 1503 checkDatafeedStatusError(o[0]); |
| 1502 checkDatafeedStatusError(o[1]); | 1504 checkDatafeedStatusError(o[1]); |
| 1503 } | 1505 } |
| 1504 | 1506 |
| 1505 core.int buildCounterDatafeedStatus = 0; | 1507 core.int buildCounterDatafeedStatus = 0; |
| 1506 buildDatafeedStatus() { | 1508 buildDatafeedStatus() { |
| 1507 var o = new api.DatafeedStatus(); | 1509 var o = new api.DatafeedStatus(); |
| 1508 buildCounterDatafeedStatus++; | 1510 buildCounterDatafeedStatus++; |
| 1509 if (buildCounterDatafeedStatus < 3) { | 1511 if (buildCounterDatafeedStatus < 3) { |
| 1510 o.datafeedId = "foo"; | 1512 o.datafeedId = "foo"; |
| 1511 o.errors = buildUnnamed545(); | 1513 o.errors = buildUnnamed756(); |
| 1512 o.itemsTotal = "foo"; | 1514 o.itemsTotal = "foo"; |
| 1513 o.itemsValid = "foo"; | 1515 o.itemsValid = "foo"; |
| 1514 o.kind = "foo"; | 1516 o.kind = "foo"; |
| 1515 o.lastUploadDate = "foo"; | 1517 o.lastUploadDate = "foo"; |
| 1516 o.processingStatus = "foo"; | 1518 o.processingStatus = "foo"; |
| 1517 o.warnings = buildUnnamed546(); | 1519 o.warnings = buildUnnamed757(); |
| 1518 } | 1520 } |
| 1519 buildCounterDatafeedStatus--; | 1521 buildCounterDatafeedStatus--; |
| 1520 return o; | 1522 return o; |
| 1521 } | 1523 } |
| 1522 | 1524 |
| 1523 checkDatafeedStatus(api.DatafeedStatus o) { | 1525 checkDatafeedStatus(api.DatafeedStatus o) { |
| 1524 buildCounterDatafeedStatus++; | 1526 buildCounterDatafeedStatus++; |
| 1525 if (buildCounterDatafeedStatus < 3) { | 1527 if (buildCounterDatafeedStatus < 3) { |
| 1526 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1528 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1527 checkUnnamed545(o.errors); | 1529 checkUnnamed756(o.errors); |
| 1528 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1530 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
| 1529 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1531 unittest.expect(o.itemsValid, unittest.equals('foo')); |
| 1530 unittest.expect(o.kind, unittest.equals('foo')); | 1532 unittest.expect(o.kind, unittest.equals('foo')); |
| 1531 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1533 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
| 1532 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1534 unittest.expect(o.processingStatus, unittest.equals('foo')); |
| 1533 checkUnnamed546(o.warnings); | 1535 checkUnnamed757(o.warnings); |
| 1534 } | 1536 } |
| 1535 buildCounterDatafeedStatus--; | 1537 buildCounterDatafeedStatus--; |
| 1536 } | 1538 } |
| 1537 | 1539 |
| 1538 buildUnnamed547() { | 1540 buildUnnamed758() { |
| 1539 var o = new core.List<api.DatafeedStatusExample>(); | 1541 var o = new core.List<api.DatafeedStatusExample>(); |
| 1540 o.add(buildDatafeedStatusExample()); | 1542 o.add(buildDatafeedStatusExample()); |
| 1541 o.add(buildDatafeedStatusExample()); | 1543 o.add(buildDatafeedStatusExample()); |
| 1542 return o; | 1544 return o; |
| 1543 } | 1545 } |
| 1544 | 1546 |
| 1545 checkUnnamed547(core.List<api.DatafeedStatusExample> o) { | 1547 checkUnnamed758(core.List<api.DatafeedStatusExample> o) { |
| 1546 unittest.expect(o, unittest.hasLength(2)); | 1548 unittest.expect(o, unittest.hasLength(2)); |
| 1547 checkDatafeedStatusExample(o[0]); | 1549 checkDatafeedStatusExample(o[0]); |
| 1548 checkDatafeedStatusExample(o[1]); | 1550 checkDatafeedStatusExample(o[1]); |
| 1549 } | 1551 } |
| 1550 | 1552 |
| 1551 core.int buildCounterDatafeedStatusError = 0; | 1553 core.int buildCounterDatafeedStatusError = 0; |
| 1552 buildDatafeedStatusError() { | 1554 buildDatafeedStatusError() { |
| 1553 var o = new api.DatafeedStatusError(); | 1555 var o = new api.DatafeedStatusError(); |
| 1554 buildCounterDatafeedStatusError++; | 1556 buildCounterDatafeedStatusError++; |
| 1555 if (buildCounterDatafeedStatusError < 3) { | 1557 if (buildCounterDatafeedStatusError < 3) { |
| 1556 o.code = "foo"; | 1558 o.code = "foo"; |
| 1557 o.count = "foo"; | 1559 o.count = "foo"; |
| 1558 o.examples = buildUnnamed547(); | 1560 o.examples = buildUnnamed758(); |
| 1559 o.message = "foo"; | 1561 o.message = "foo"; |
| 1560 } | 1562 } |
| 1561 buildCounterDatafeedStatusError--; | 1563 buildCounterDatafeedStatusError--; |
| 1562 return o; | 1564 return o; |
| 1563 } | 1565 } |
| 1564 | 1566 |
| 1565 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1567 checkDatafeedStatusError(api.DatafeedStatusError o) { |
| 1566 buildCounterDatafeedStatusError++; | 1568 buildCounterDatafeedStatusError++; |
| 1567 if (buildCounterDatafeedStatusError < 3) { | 1569 if (buildCounterDatafeedStatusError < 3) { |
| 1568 unittest.expect(o.code, unittest.equals('foo')); | 1570 unittest.expect(o.code, unittest.equals('foo')); |
| 1569 unittest.expect(o.count, unittest.equals('foo')); | 1571 unittest.expect(o.count, unittest.equals('foo')); |
| 1570 checkUnnamed547(o.examples); | 1572 checkUnnamed758(o.examples); |
| 1571 unittest.expect(o.message, unittest.equals('foo')); | 1573 unittest.expect(o.message, unittest.equals('foo')); |
| 1572 } | 1574 } |
| 1573 buildCounterDatafeedStatusError--; | 1575 buildCounterDatafeedStatusError--; |
| 1574 } | 1576 } |
| 1575 | 1577 |
| 1576 core.int buildCounterDatafeedStatusExample = 0; | 1578 core.int buildCounterDatafeedStatusExample = 0; |
| 1577 buildDatafeedStatusExample() { | 1579 buildDatafeedStatusExample() { |
| 1578 var o = new api.DatafeedStatusExample(); | 1580 var o = new api.DatafeedStatusExample(); |
| 1579 buildCounterDatafeedStatusExample++; | 1581 buildCounterDatafeedStatusExample++; |
| 1580 if (buildCounterDatafeedStatusExample < 3) { | 1582 if (buildCounterDatafeedStatusExample < 3) { |
| 1581 o.itemId = "foo"; | 1583 o.itemId = "foo"; |
| 1582 o.lineNumber = "foo"; | 1584 o.lineNumber = "foo"; |
| 1583 o.value = "foo"; | 1585 o.value = "foo"; |
| 1584 } | 1586 } |
| 1585 buildCounterDatafeedStatusExample--; | 1587 buildCounterDatafeedStatusExample--; |
| 1586 return o; | 1588 return o; |
| 1587 } | 1589 } |
| 1588 | 1590 |
| 1589 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1591 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
| 1590 buildCounterDatafeedStatusExample++; | 1592 buildCounterDatafeedStatusExample++; |
| 1591 if (buildCounterDatafeedStatusExample < 3) { | 1593 if (buildCounterDatafeedStatusExample < 3) { |
| 1592 unittest.expect(o.itemId, unittest.equals('foo')); | 1594 unittest.expect(o.itemId, unittest.equals('foo')); |
| 1593 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1595 unittest.expect(o.lineNumber, unittest.equals('foo')); |
| 1594 unittest.expect(o.value, unittest.equals('foo')); | 1596 unittest.expect(o.value, unittest.equals('foo')); |
| 1595 } | 1597 } |
| 1596 buildCounterDatafeedStatusExample--; | 1598 buildCounterDatafeedStatusExample--; |
| 1597 } | 1599 } |
| 1598 | 1600 |
| 1599 buildUnnamed548() { | 1601 buildUnnamed759() { |
| 1600 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1602 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
| 1601 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1603 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1602 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1604 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1603 return o; | 1605 return o; |
| 1604 } | 1606 } |
| 1605 | 1607 |
| 1606 checkUnnamed548(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1608 checkUnnamed759(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
| 1607 unittest.expect(o, unittest.hasLength(2)); | 1609 unittest.expect(o, unittest.hasLength(2)); |
| 1608 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1610 checkDatafeedsCustomBatchRequestEntry(o[0]); |
| 1609 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1611 checkDatafeedsCustomBatchRequestEntry(o[1]); |
| 1610 } | 1612 } |
| 1611 | 1613 |
| 1612 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1614 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
| 1613 buildDatafeedsCustomBatchRequest() { | 1615 buildDatafeedsCustomBatchRequest() { |
| 1614 var o = new api.DatafeedsCustomBatchRequest(); | 1616 var o = new api.DatafeedsCustomBatchRequest(); |
| 1615 buildCounterDatafeedsCustomBatchRequest++; | 1617 buildCounterDatafeedsCustomBatchRequest++; |
| 1616 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1618 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1617 o.entries = buildUnnamed548(); | 1619 o.entries = buildUnnamed759(); |
| 1618 } | 1620 } |
| 1619 buildCounterDatafeedsCustomBatchRequest--; | 1621 buildCounterDatafeedsCustomBatchRequest--; |
| 1620 return o; | 1622 return o; |
| 1621 } | 1623 } |
| 1622 | 1624 |
| 1623 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1625 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
| 1624 buildCounterDatafeedsCustomBatchRequest++; | 1626 buildCounterDatafeedsCustomBatchRequest++; |
| 1625 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1627 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1626 checkUnnamed548(o.entries); | 1628 checkUnnamed759(o.entries); |
| 1627 } | 1629 } |
| 1628 buildCounterDatafeedsCustomBatchRequest--; | 1630 buildCounterDatafeedsCustomBatchRequest--; |
| 1629 } | 1631 } |
| 1630 | 1632 |
| 1631 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1633 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
| 1632 buildDatafeedsCustomBatchRequestEntry() { | 1634 buildDatafeedsCustomBatchRequestEntry() { |
| 1633 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1635 var o = new api.DatafeedsCustomBatchRequestEntry(); |
| 1634 buildCounterDatafeedsCustomBatchRequestEntry++; | 1636 buildCounterDatafeedsCustomBatchRequestEntry++; |
| 1635 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1637 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1636 o.batchId = 42; | 1638 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1648 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1650 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1649 unittest.expect(o.batchId, unittest.equals(42)); | 1651 unittest.expect(o.batchId, unittest.equals(42)); |
| 1650 checkDatafeed(o.datafeed); | 1652 checkDatafeed(o.datafeed); |
| 1651 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1653 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1652 unittest.expect(o.merchantId, unittest.equals('foo')); | 1654 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1653 unittest.expect(o.method, unittest.equals('foo')); | 1655 unittest.expect(o.method, unittest.equals('foo')); |
| 1654 } | 1656 } |
| 1655 buildCounterDatafeedsCustomBatchRequestEntry--; | 1657 buildCounterDatafeedsCustomBatchRequestEntry--; |
| 1656 } | 1658 } |
| 1657 | 1659 |
| 1658 buildUnnamed549() { | 1660 buildUnnamed760() { |
| 1659 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1661 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
| 1660 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1662 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1661 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1663 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1662 return o; | 1664 return o; |
| 1663 } | 1665 } |
| 1664 | 1666 |
| 1665 checkUnnamed549(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1667 checkUnnamed760(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
| 1666 unittest.expect(o, unittest.hasLength(2)); | 1668 unittest.expect(o, unittest.hasLength(2)); |
| 1667 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1669 checkDatafeedsCustomBatchResponseEntry(o[0]); |
| 1668 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1670 checkDatafeedsCustomBatchResponseEntry(o[1]); |
| 1669 } | 1671 } |
| 1670 | 1672 |
| 1671 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1673 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
| 1672 buildDatafeedsCustomBatchResponse() { | 1674 buildDatafeedsCustomBatchResponse() { |
| 1673 var o = new api.DatafeedsCustomBatchResponse(); | 1675 var o = new api.DatafeedsCustomBatchResponse(); |
| 1674 buildCounterDatafeedsCustomBatchResponse++; | 1676 buildCounterDatafeedsCustomBatchResponse++; |
| 1675 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1677 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1676 o.entries = buildUnnamed549(); | 1678 o.entries = buildUnnamed760(); |
| 1677 o.kind = "foo"; | 1679 o.kind = "foo"; |
| 1678 } | 1680 } |
| 1679 buildCounterDatafeedsCustomBatchResponse--; | 1681 buildCounterDatafeedsCustomBatchResponse--; |
| 1680 return o; | 1682 return o; |
| 1681 } | 1683 } |
| 1682 | 1684 |
| 1683 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1685 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
| 1684 buildCounterDatafeedsCustomBatchResponse++; | 1686 buildCounterDatafeedsCustomBatchResponse++; |
| 1685 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1687 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1686 checkUnnamed549(o.entries); | 1688 checkUnnamed760(o.entries); |
| 1687 unittest.expect(o.kind, unittest.equals('foo')); | 1689 unittest.expect(o.kind, unittest.equals('foo')); |
| 1688 } | 1690 } |
| 1689 buildCounterDatafeedsCustomBatchResponse--; | 1691 buildCounterDatafeedsCustomBatchResponse--; |
| 1690 } | 1692 } |
| 1691 | 1693 |
| 1692 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1694 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
| 1693 buildDatafeedsCustomBatchResponseEntry() { | 1695 buildDatafeedsCustomBatchResponseEntry() { |
| 1694 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1696 var o = new api.DatafeedsCustomBatchResponseEntry(); |
| 1695 buildCounterDatafeedsCustomBatchResponseEntry++; | 1697 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1696 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1698 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1697 o.batchId = 42; | 1699 o.batchId = 42; |
| 1698 o.datafeed = buildDatafeed(); | 1700 o.datafeed = buildDatafeed(); |
| 1699 o.errors = buildErrors(); | 1701 o.errors = buildErrors(); |
| 1700 } | 1702 } |
| 1701 buildCounterDatafeedsCustomBatchResponseEntry--; | 1703 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1702 return o; | 1704 return o; |
| 1703 } | 1705 } |
| 1704 | 1706 |
| 1705 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1707 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
| 1706 buildCounterDatafeedsCustomBatchResponseEntry++; | 1708 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1707 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1709 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1708 unittest.expect(o.batchId, unittest.equals(42)); | 1710 unittest.expect(o.batchId, unittest.equals(42)); |
| 1709 checkDatafeed(o.datafeed); | 1711 checkDatafeed(o.datafeed); |
| 1710 checkErrors(o.errors); | 1712 checkErrors(o.errors); |
| 1711 } | 1713 } |
| 1712 buildCounterDatafeedsCustomBatchResponseEntry--; | 1714 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1713 } | 1715 } |
| 1714 | 1716 |
| 1715 buildUnnamed550() { | 1717 buildUnnamed761() { |
| 1716 var o = new core.List<api.Datafeed>(); | 1718 var o = new core.List<api.Datafeed>(); |
| 1717 o.add(buildDatafeed()); | 1719 o.add(buildDatafeed()); |
| 1718 o.add(buildDatafeed()); | 1720 o.add(buildDatafeed()); |
| 1719 return o; | 1721 return o; |
| 1720 } | 1722 } |
| 1721 | 1723 |
| 1722 checkUnnamed550(core.List<api.Datafeed> o) { | 1724 checkUnnamed761(core.List<api.Datafeed> o) { |
| 1723 unittest.expect(o, unittest.hasLength(2)); | 1725 unittest.expect(o, unittest.hasLength(2)); |
| 1724 checkDatafeed(o[0]); | 1726 checkDatafeed(o[0]); |
| 1725 checkDatafeed(o[1]); | 1727 checkDatafeed(o[1]); |
| 1726 } | 1728 } |
| 1727 | 1729 |
| 1728 core.int buildCounterDatafeedsListResponse = 0; | 1730 core.int buildCounterDatafeedsListResponse = 0; |
| 1729 buildDatafeedsListResponse() { | 1731 buildDatafeedsListResponse() { |
| 1730 var o = new api.DatafeedsListResponse(); | 1732 var o = new api.DatafeedsListResponse(); |
| 1731 buildCounterDatafeedsListResponse++; | 1733 buildCounterDatafeedsListResponse++; |
| 1732 if (buildCounterDatafeedsListResponse < 3) { | 1734 if (buildCounterDatafeedsListResponse < 3) { |
| 1733 o.kind = "foo"; | 1735 o.kind = "foo"; |
| 1734 o.nextPageToken = "foo"; | 1736 o.nextPageToken = "foo"; |
| 1735 o.resources = buildUnnamed550(); | 1737 o.resources = buildUnnamed761(); |
| 1736 } | 1738 } |
| 1737 buildCounterDatafeedsListResponse--; | 1739 buildCounterDatafeedsListResponse--; |
| 1738 return o; | 1740 return o; |
| 1739 } | 1741 } |
| 1740 | 1742 |
| 1741 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1743 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
| 1742 buildCounterDatafeedsListResponse++; | 1744 buildCounterDatafeedsListResponse++; |
| 1743 if (buildCounterDatafeedsListResponse < 3) { | 1745 if (buildCounterDatafeedsListResponse < 3) { |
| 1744 unittest.expect(o.kind, unittest.equals('foo')); | 1746 unittest.expect(o.kind, unittest.equals('foo')); |
| 1745 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1747 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1746 checkUnnamed550(o.resources); | 1748 checkUnnamed761(o.resources); |
| 1747 } | 1749 } |
| 1748 buildCounterDatafeedsListResponse--; | 1750 buildCounterDatafeedsListResponse--; |
| 1749 } | 1751 } |
| 1750 | 1752 |
| 1751 buildUnnamed551() { | 1753 buildUnnamed762() { |
| 1752 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1754 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
| 1753 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1755 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1754 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1756 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1755 return o; | 1757 return o; |
| 1756 } | 1758 } |
| 1757 | 1759 |
| 1758 checkUnnamed551(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1760 checkUnnamed762(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
| 1759 unittest.expect(o, unittest.hasLength(2)); | 1761 unittest.expect(o, unittest.hasLength(2)); |
| 1760 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1762 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
| 1761 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1763 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
| 1762 } | 1764 } |
| 1763 | 1765 |
| 1764 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1766 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
| 1765 buildDatafeedstatusesCustomBatchRequest() { | 1767 buildDatafeedstatusesCustomBatchRequest() { |
| 1766 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1768 var o = new api.DatafeedstatusesCustomBatchRequest(); |
| 1767 buildCounterDatafeedstatusesCustomBatchRequest++; | 1769 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1768 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1770 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1769 o.entries = buildUnnamed551(); | 1771 o.entries = buildUnnamed762(); |
| 1770 } | 1772 } |
| 1771 buildCounterDatafeedstatusesCustomBatchRequest--; | 1773 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1772 return o; | 1774 return o; |
| 1773 } | 1775 } |
| 1774 | 1776 |
| 1775 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1777 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
| 1776 buildCounterDatafeedstatusesCustomBatchRequest++; | 1778 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1777 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1779 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1778 checkUnnamed551(o.entries); | 1780 checkUnnamed762(o.entries); |
| 1779 } | 1781 } |
| 1780 buildCounterDatafeedstatusesCustomBatchRequest--; | 1782 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1781 } | 1783 } |
| 1782 | 1784 |
| 1783 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1785 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
| 1784 buildDatafeedstatusesCustomBatchRequestEntry() { | 1786 buildDatafeedstatusesCustomBatchRequestEntry() { |
| 1785 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1787 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
| 1786 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1788 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1787 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1789 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1788 o.batchId = 42; | 1790 o.batchId = 42; |
| 1789 o.datafeedId = "foo"; | 1791 o.datafeedId = "foo"; |
| 1790 o.merchantId = "foo"; | 1792 o.merchantId = "foo"; |
| 1791 o.method = "foo"; | 1793 o.method = "foo"; |
| 1792 } | 1794 } |
| 1793 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1795 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1794 return o; | 1796 return o; |
| 1795 } | 1797 } |
| 1796 | 1798 |
| 1797 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1799 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
| 1798 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1800 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1799 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1801 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1800 unittest.expect(o.batchId, unittest.equals(42)); | 1802 unittest.expect(o.batchId, unittest.equals(42)); |
| 1801 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1803 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1802 unittest.expect(o.merchantId, unittest.equals('foo')); | 1804 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1803 unittest.expect(o.method, unittest.equals('foo')); | 1805 unittest.expect(o.method, unittest.equals('foo')); |
| 1804 } | 1806 } |
| 1805 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1807 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1806 } | 1808 } |
| 1807 | 1809 |
| 1808 buildUnnamed552() { | 1810 buildUnnamed763() { |
| 1809 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1811 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
| 1810 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1812 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1811 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1813 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1812 return o; | 1814 return o; |
| 1813 } | 1815 } |
| 1814 | 1816 |
| 1815 checkUnnamed552(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1817 checkUnnamed763(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
| 1816 unittest.expect(o, unittest.hasLength(2)); | 1818 unittest.expect(o, unittest.hasLength(2)); |
| 1817 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1819 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
| 1818 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1820 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
| 1819 } | 1821 } |
| 1820 | 1822 |
| 1821 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1823 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
| 1822 buildDatafeedstatusesCustomBatchResponse() { | 1824 buildDatafeedstatusesCustomBatchResponse() { |
| 1823 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1825 var o = new api.DatafeedstatusesCustomBatchResponse(); |
| 1824 buildCounterDatafeedstatusesCustomBatchResponse++; | 1826 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1825 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1827 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1826 o.entries = buildUnnamed552(); | 1828 o.entries = buildUnnamed763(); |
| 1827 o.kind = "foo"; | 1829 o.kind = "foo"; |
| 1828 } | 1830 } |
| 1829 buildCounterDatafeedstatusesCustomBatchResponse--; | 1831 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1830 return o; | 1832 return o; |
| 1831 } | 1833 } |
| 1832 | 1834 |
| 1833 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1835 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
| 1834 buildCounterDatafeedstatusesCustomBatchResponse++; | 1836 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1835 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1837 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1836 checkUnnamed552(o.entries); | 1838 checkUnnamed763(o.entries); |
| 1837 unittest.expect(o.kind, unittest.equals('foo')); | 1839 unittest.expect(o.kind, unittest.equals('foo')); |
| 1838 } | 1840 } |
| 1839 buildCounterDatafeedstatusesCustomBatchResponse--; | 1841 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1840 } | 1842 } |
| 1841 | 1843 |
| 1842 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1844 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
| 1843 buildDatafeedstatusesCustomBatchResponseEntry() { | 1845 buildDatafeedstatusesCustomBatchResponseEntry() { |
| 1844 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1846 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
| 1845 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1847 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1846 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1848 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1847 o.batchId = 42; | 1849 o.batchId = 42; |
| 1848 o.datafeedStatus = buildDatafeedStatus(); | 1850 o.datafeedStatus = buildDatafeedStatus(); |
| 1849 o.errors = buildErrors(); | 1851 o.errors = buildErrors(); |
| 1850 } | 1852 } |
| 1851 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1853 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1852 return o; | 1854 return o; |
| 1853 } | 1855 } |
| 1854 | 1856 |
| 1855 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1857 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
| 1856 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1858 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1857 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1859 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1858 unittest.expect(o.batchId, unittest.equals(42)); | 1860 unittest.expect(o.batchId, unittest.equals(42)); |
| 1859 checkDatafeedStatus(o.datafeedStatus); | 1861 checkDatafeedStatus(o.datafeedStatus); |
| 1860 checkErrors(o.errors); | 1862 checkErrors(o.errors); |
| 1861 } | 1863 } |
| 1862 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1864 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1863 } | 1865 } |
| 1864 | 1866 |
| 1865 buildUnnamed553() { | 1867 buildUnnamed764() { |
| 1866 var o = new core.List<api.DatafeedStatus>(); | 1868 var o = new core.List<api.DatafeedStatus>(); |
| 1867 o.add(buildDatafeedStatus()); | 1869 o.add(buildDatafeedStatus()); |
| 1868 o.add(buildDatafeedStatus()); | 1870 o.add(buildDatafeedStatus()); |
| 1869 return o; | 1871 return o; |
| 1870 } | 1872 } |
| 1871 | 1873 |
| 1872 checkUnnamed553(core.List<api.DatafeedStatus> o) { | 1874 checkUnnamed764(core.List<api.DatafeedStatus> o) { |
| 1873 unittest.expect(o, unittest.hasLength(2)); | 1875 unittest.expect(o, unittest.hasLength(2)); |
| 1874 checkDatafeedStatus(o[0]); | 1876 checkDatafeedStatus(o[0]); |
| 1875 checkDatafeedStatus(o[1]); | 1877 checkDatafeedStatus(o[1]); |
| 1876 } | 1878 } |
| 1877 | 1879 |
| 1878 core.int buildCounterDatafeedstatusesListResponse = 0; | 1880 core.int buildCounterDatafeedstatusesListResponse = 0; |
| 1879 buildDatafeedstatusesListResponse() { | 1881 buildDatafeedstatusesListResponse() { |
| 1880 var o = new api.DatafeedstatusesListResponse(); | 1882 var o = new api.DatafeedstatusesListResponse(); |
| 1881 buildCounterDatafeedstatusesListResponse++; | 1883 buildCounterDatafeedstatusesListResponse++; |
| 1882 if (buildCounterDatafeedstatusesListResponse < 3) { | 1884 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1883 o.kind = "foo"; | 1885 o.kind = "foo"; |
| 1884 o.nextPageToken = "foo"; | 1886 o.nextPageToken = "foo"; |
| 1885 o.resources = buildUnnamed553(); | 1887 o.resources = buildUnnamed764(); |
| 1886 } | 1888 } |
| 1887 buildCounterDatafeedstatusesListResponse--; | 1889 buildCounterDatafeedstatusesListResponse--; |
| 1888 return o; | 1890 return o; |
| 1889 } | 1891 } |
| 1890 | 1892 |
| 1891 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1893 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
| 1892 buildCounterDatafeedstatusesListResponse++; | 1894 buildCounterDatafeedstatusesListResponse++; |
| 1893 if (buildCounterDatafeedstatusesListResponse < 3) { | 1895 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1894 unittest.expect(o.kind, unittest.equals('foo')); | 1896 unittest.expect(o.kind, unittest.equals('foo')); |
| 1895 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1897 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1896 checkUnnamed553(o.resources); | 1898 checkUnnamed764(o.resources); |
| 1897 } | 1899 } |
| 1898 buildCounterDatafeedstatusesListResponse--; | 1900 buildCounterDatafeedstatusesListResponse--; |
| 1899 } | 1901 } |
| 1900 | 1902 |
| 1901 core.int buildCounterError = 0; | 1903 core.int buildCounterError = 0; |
| 1902 buildError() { | 1904 buildError() { |
| 1903 var o = new api.Error(); | 1905 var o = new api.Error(); |
| 1904 buildCounterError++; | 1906 buildCounterError++; |
| 1905 if (buildCounterError < 3) { | 1907 if (buildCounterError < 3) { |
| 1906 o.domain = "foo"; | 1908 o.domain = "foo"; |
| 1907 o.message = "foo"; | 1909 o.message = "foo"; |
| 1908 o.reason = "foo"; | 1910 o.reason = "foo"; |
| 1909 } | 1911 } |
| 1910 buildCounterError--; | 1912 buildCounterError--; |
| 1911 return o; | 1913 return o; |
| 1912 } | 1914 } |
| 1913 | 1915 |
| 1914 checkError(api.Error o) { | 1916 checkError(api.Error o) { |
| 1915 buildCounterError++; | 1917 buildCounterError++; |
| 1916 if (buildCounterError < 3) { | 1918 if (buildCounterError < 3) { |
| 1917 unittest.expect(o.domain, unittest.equals('foo')); | 1919 unittest.expect(o.domain, unittest.equals('foo')); |
| 1918 unittest.expect(o.message, unittest.equals('foo')); | 1920 unittest.expect(o.message, unittest.equals('foo')); |
| 1919 unittest.expect(o.reason, unittest.equals('foo')); | 1921 unittest.expect(o.reason, unittest.equals('foo')); |
| 1920 } | 1922 } |
| 1921 buildCounterError--; | 1923 buildCounterError--; |
| 1922 } | 1924 } |
| 1923 | 1925 |
| 1924 buildUnnamed554() { | 1926 buildUnnamed765() { |
| 1925 var o = new core.List<api.Error>(); | 1927 var o = new core.List<api.Error>(); |
| 1926 o.add(buildError()); | 1928 o.add(buildError()); |
| 1927 o.add(buildError()); | 1929 o.add(buildError()); |
| 1928 return o; | 1930 return o; |
| 1929 } | 1931 } |
| 1930 | 1932 |
| 1931 checkUnnamed554(core.List<api.Error> o) { | 1933 checkUnnamed765(core.List<api.Error> o) { |
| 1932 unittest.expect(o, unittest.hasLength(2)); | 1934 unittest.expect(o, unittest.hasLength(2)); |
| 1933 checkError(o[0]); | 1935 checkError(o[0]); |
| 1934 checkError(o[1]); | 1936 checkError(o[1]); |
| 1935 } | 1937 } |
| 1936 | 1938 |
| 1937 core.int buildCounterErrors = 0; | 1939 core.int buildCounterErrors = 0; |
| 1938 buildErrors() { | 1940 buildErrors() { |
| 1939 var o = new api.Errors(); | 1941 var o = new api.Errors(); |
| 1940 buildCounterErrors++; | 1942 buildCounterErrors++; |
| 1941 if (buildCounterErrors < 3) { | 1943 if (buildCounterErrors < 3) { |
| 1942 o.code = 42; | 1944 o.code = 42; |
| 1943 o.errors = buildUnnamed554(); | 1945 o.errors = buildUnnamed765(); |
| 1944 o.message = "foo"; | 1946 o.message = "foo"; |
| 1945 } | 1947 } |
| 1946 buildCounterErrors--; | 1948 buildCounterErrors--; |
| 1947 return o; | 1949 return o; |
| 1948 } | 1950 } |
| 1949 | 1951 |
| 1950 checkErrors(api.Errors o) { | 1952 checkErrors(api.Errors o) { |
| 1951 buildCounterErrors++; | 1953 buildCounterErrors++; |
| 1952 if (buildCounterErrors < 3) { | 1954 if (buildCounterErrors < 3) { |
| 1953 unittest.expect(o.code, unittest.equals(42)); | 1955 unittest.expect(o.code, unittest.equals(42)); |
| 1954 checkUnnamed554(o.errors); | 1956 checkUnnamed765(o.errors); |
| 1955 unittest.expect(o.message, unittest.equals('foo')); | 1957 unittest.expect(o.message, unittest.equals('foo')); |
| 1956 } | 1958 } |
| 1957 buildCounterErrors--; | 1959 buildCounterErrors--; |
| 1958 } | 1960 } |
| 1959 | 1961 |
| 1960 core.int buildCounterInstallment = 0; | 1962 core.int buildCounterInstallment = 0; |
| 1961 buildInstallment() { | 1963 buildInstallment() { |
| 1962 var o = new api.Installment(); | 1964 var o = new api.Installment(); |
| 1963 buildCounterInstallment++; | 1965 buildCounterInstallment++; |
| 1964 if (buildCounterInstallment < 3) { | 1966 if (buildCounterInstallment < 3) { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2006 checkLoyaltyPoints(o.loyaltyPoints); | 2008 checkLoyaltyPoints(o.loyaltyPoints); |
| 2007 checkPrice(o.price); | 2009 checkPrice(o.price); |
| 2008 unittest.expect(o.quantity, unittest.equals(42)); | 2010 unittest.expect(o.quantity, unittest.equals(42)); |
| 2009 checkPrice(o.salePrice); | 2011 checkPrice(o.salePrice); |
| 2010 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2012 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 2011 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 2013 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
| 2012 } | 2014 } |
| 2013 buildCounterInventory--; | 2015 buildCounterInventory--; |
| 2014 } | 2016 } |
| 2015 | 2017 |
| 2016 buildUnnamed555() { | 2018 buildUnnamed766() { |
| 2017 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 2019 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
| 2018 o.add(buildInventoryCustomBatchRequestEntry()); | 2020 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2019 o.add(buildInventoryCustomBatchRequestEntry()); | 2021 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2020 return o; | 2022 return o; |
| 2021 } | 2023 } |
| 2022 | 2024 |
| 2023 checkUnnamed555(core.List<api.InventoryCustomBatchRequestEntry> o) { | 2025 checkUnnamed766(core.List<api.InventoryCustomBatchRequestEntry> o) { |
| 2024 unittest.expect(o, unittest.hasLength(2)); | 2026 unittest.expect(o, unittest.hasLength(2)); |
| 2025 checkInventoryCustomBatchRequestEntry(o[0]); | 2027 checkInventoryCustomBatchRequestEntry(o[0]); |
| 2026 checkInventoryCustomBatchRequestEntry(o[1]); | 2028 checkInventoryCustomBatchRequestEntry(o[1]); |
| 2027 } | 2029 } |
| 2028 | 2030 |
| 2029 core.int buildCounterInventoryCustomBatchRequest = 0; | 2031 core.int buildCounterInventoryCustomBatchRequest = 0; |
| 2030 buildInventoryCustomBatchRequest() { | 2032 buildInventoryCustomBatchRequest() { |
| 2031 var o = new api.InventoryCustomBatchRequest(); | 2033 var o = new api.InventoryCustomBatchRequest(); |
| 2032 buildCounterInventoryCustomBatchRequest++; | 2034 buildCounterInventoryCustomBatchRequest++; |
| 2033 if (buildCounterInventoryCustomBatchRequest < 3) { | 2035 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2034 o.entries = buildUnnamed555(); | 2036 o.entries = buildUnnamed766(); |
| 2035 } | 2037 } |
| 2036 buildCounterInventoryCustomBatchRequest--; | 2038 buildCounterInventoryCustomBatchRequest--; |
| 2037 return o; | 2039 return o; |
| 2038 } | 2040 } |
| 2039 | 2041 |
| 2040 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 2042 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
| 2041 buildCounterInventoryCustomBatchRequest++; | 2043 buildCounterInventoryCustomBatchRequest++; |
| 2042 if (buildCounterInventoryCustomBatchRequest < 3) { | 2044 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2043 checkUnnamed555(o.entries); | 2045 checkUnnamed766(o.entries); |
| 2044 } | 2046 } |
| 2045 buildCounterInventoryCustomBatchRequest--; | 2047 buildCounterInventoryCustomBatchRequest--; |
| 2046 } | 2048 } |
| 2047 | 2049 |
| 2048 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 2050 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
| 2049 buildInventoryCustomBatchRequestEntry() { | 2051 buildInventoryCustomBatchRequestEntry() { |
| 2050 var o = new api.InventoryCustomBatchRequestEntry(); | 2052 var o = new api.InventoryCustomBatchRequestEntry(); |
| 2051 buildCounterInventoryCustomBatchRequestEntry++; | 2053 buildCounterInventoryCustomBatchRequestEntry++; |
| 2052 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2054 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2053 o.batchId = 42; | 2055 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2065 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2067 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2066 unittest.expect(o.batchId, unittest.equals(42)); | 2068 unittest.expect(o.batchId, unittest.equals(42)); |
| 2067 checkInventory(o.inventory); | 2069 checkInventory(o.inventory); |
| 2068 unittest.expect(o.merchantId, unittest.equals('foo')); | 2070 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2069 unittest.expect(o.productId, unittest.equals('foo')); | 2071 unittest.expect(o.productId, unittest.equals('foo')); |
| 2070 unittest.expect(o.storeCode, unittest.equals('foo')); | 2072 unittest.expect(o.storeCode, unittest.equals('foo')); |
| 2071 } | 2073 } |
| 2072 buildCounterInventoryCustomBatchRequestEntry--; | 2074 buildCounterInventoryCustomBatchRequestEntry--; |
| 2073 } | 2075 } |
| 2074 | 2076 |
| 2075 buildUnnamed556() { | 2077 buildUnnamed767() { |
| 2076 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 2078 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
| 2077 o.add(buildInventoryCustomBatchResponseEntry()); | 2079 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2078 o.add(buildInventoryCustomBatchResponseEntry()); | 2080 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2079 return o; | 2081 return o; |
| 2080 } | 2082 } |
| 2081 | 2083 |
| 2082 checkUnnamed556(core.List<api.InventoryCustomBatchResponseEntry> o) { | 2084 checkUnnamed767(core.List<api.InventoryCustomBatchResponseEntry> o) { |
| 2083 unittest.expect(o, unittest.hasLength(2)); | 2085 unittest.expect(o, unittest.hasLength(2)); |
| 2084 checkInventoryCustomBatchResponseEntry(o[0]); | 2086 checkInventoryCustomBatchResponseEntry(o[0]); |
| 2085 checkInventoryCustomBatchResponseEntry(o[1]); | 2087 checkInventoryCustomBatchResponseEntry(o[1]); |
| 2086 } | 2088 } |
| 2087 | 2089 |
| 2088 core.int buildCounterInventoryCustomBatchResponse = 0; | 2090 core.int buildCounterInventoryCustomBatchResponse = 0; |
| 2089 buildInventoryCustomBatchResponse() { | 2091 buildInventoryCustomBatchResponse() { |
| 2090 var o = new api.InventoryCustomBatchResponse(); | 2092 var o = new api.InventoryCustomBatchResponse(); |
| 2091 buildCounterInventoryCustomBatchResponse++; | 2093 buildCounterInventoryCustomBatchResponse++; |
| 2092 if (buildCounterInventoryCustomBatchResponse < 3) { | 2094 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2093 o.entries = buildUnnamed556(); | 2095 o.entries = buildUnnamed767(); |
| 2094 o.kind = "foo"; | 2096 o.kind = "foo"; |
| 2095 } | 2097 } |
| 2096 buildCounterInventoryCustomBatchResponse--; | 2098 buildCounterInventoryCustomBatchResponse--; |
| 2097 return o; | 2099 return o; |
| 2098 } | 2100 } |
| 2099 | 2101 |
| 2100 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 2102 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
| 2101 buildCounterInventoryCustomBatchResponse++; | 2103 buildCounterInventoryCustomBatchResponse++; |
| 2102 if (buildCounterInventoryCustomBatchResponse < 3) { | 2104 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2103 checkUnnamed556(o.entries); | 2105 checkUnnamed767(o.entries); |
| 2104 unittest.expect(o.kind, unittest.equals('foo')); | 2106 unittest.expect(o.kind, unittest.equals('foo')); |
| 2105 } | 2107 } |
| 2106 buildCounterInventoryCustomBatchResponse--; | 2108 buildCounterInventoryCustomBatchResponse--; |
| 2107 } | 2109 } |
| 2108 | 2110 |
| 2109 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 2111 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
| 2110 buildInventoryCustomBatchResponseEntry() { | 2112 buildInventoryCustomBatchResponseEntry() { |
| 2111 var o = new api.InventoryCustomBatchResponseEntry(); | 2113 var o = new api.InventoryCustomBatchResponseEntry(); |
| 2112 buildCounterInventoryCustomBatchResponseEntry++; | 2114 buildCounterInventoryCustomBatchResponseEntry++; |
| 2113 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2115 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2197 checkLoyaltyPoints(api.LoyaltyPoints o) { | 2199 checkLoyaltyPoints(api.LoyaltyPoints o) { |
| 2198 buildCounterLoyaltyPoints++; | 2200 buildCounterLoyaltyPoints++; |
| 2199 if (buildCounterLoyaltyPoints < 3) { | 2201 if (buildCounterLoyaltyPoints < 3) { |
| 2200 unittest.expect(o.name, unittest.equals('foo')); | 2202 unittest.expect(o.name, unittest.equals('foo')); |
| 2201 unittest.expect(o.pointsValue, unittest.equals('foo')); | 2203 unittest.expect(o.pointsValue, unittest.equals('foo')); |
| 2202 unittest.expect(o.ratio, unittest.equals(42.0)); | 2204 unittest.expect(o.ratio, unittest.equals(42.0)); |
| 2203 } | 2205 } |
| 2204 buildCounterLoyaltyPoints--; | 2206 buildCounterLoyaltyPoints--; |
| 2205 } | 2207 } |
| 2206 | 2208 |
| 2207 buildUnnamed557() { | 2209 buildUnnamed768() { |
| 2208 var o = new core.List<api.OrderLineItem>(); | 2210 var o = new core.List<api.OrderLineItem>(); |
| 2209 o.add(buildOrderLineItem()); | 2211 o.add(buildOrderLineItem()); |
| 2210 o.add(buildOrderLineItem()); | 2212 o.add(buildOrderLineItem()); |
| 2211 return o; | 2213 return o; |
| 2212 } | 2214 } |
| 2213 | 2215 |
| 2214 checkUnnamed557(core.List<api.OrderLineItem> o) { | 2216 checkUnnamed768(core.List<api.OrderLineItem> o) { |
| 2215 unittest.expect(o, unittest.hasLength(2)); | 2217 unittest.expect(o, unittest.hasLength(2)); |
| 2216 checkOrderLineItem(o[0]); | 2218 checkOrderLineItem(o[0]); |
| 2217 checkOrderLineItem(o[1]); | 2219 checkOrderLineItem(o[1]); |
| 2218 } | 2220 } |
| 2219 | 2221 |
| 2220 buildUnnamed558() { | 2222 buildUnnamed769() { |
| 2223 var o = new core.List<api.OrderPromotion>(); |
| 2224 o.add(buildOrderPromotion()); |
| 2225 o.add(buildOrderPromotion()); |
| 2226 return o; |
| 2227 } |
| 2228 |
| 2229 checkUnnamed769(core.List<api.OrderPromotion> o) { |
| 2230 unittest.expect(o, unittest.hasLength(2)); |
| 2231 checkOrderPromotion(o[0]); |
| 2232 checkOrderPromotion(o[1]); |
| 2233 } |
| 2234 |
| 2235 buildUnnamed770() { |
| 2221 var o = new core.List<api.OrderRefund>(); | 2236 var o = new core.List<api.OrderRefund>(); |
| 2222 o.add(buildOrderRefund()); | 2237 o.add(buildOrderRefund()); |
| 2223 o.add(buildOrderRefund()); | 2238 o.add(buildOrderRefund()); |
| 2224 return o; | 2239 return o; |
| 2225 } | 2240 } |
| 2226 | 2241 |
| 2227 checkUnnamed558(core.List<api.OrderRefund> o) { | 2242 checkUnnamed770(core.List<api.OrderRefund> o) { |
| 2228 unittest.expect(o, unittest.hasLength(2)); | 2243 unittest.expect(o, unittest.hasLength(2)); |
| 2229 checkOrderRefund(o[0]); | 2244 checkOrderRefund(o[0]); |
| 2230 checkOrderRefund(o[1]); | 2245 checkOrderRefund(o[1]); |
| 2231 } | 2246 } |
| 2232 | 2247 |
| 2233 buildUnnamed559() { | 2248 buildUnnamed771() { |
| 2234 var o = new core.List<api.OrderShipment>(); | 2249 var o = new core.List<api.OrderShipment>(); |
| 2235 o.add(buildOrderShipment()); | 2250 o.add(buildOrderShipment()); |
| 2236 o.add(buildOrderShipment()); | 2251 o.add(buildOrderShipment()); |
| 2237 return o; | 2252 return o; |
| 2238 } | 2253 } |
| 2239 | 2254 |
| 2240 checkUnnamed559(core.List<api.OrderShipment> o) { | 2255 checkUnnamed771(core.List<api.OrderShipment> o) { |
| 2241 unittest.expect(o, unittest.hasLength(2)); | 2256 unittest.expect(o, unittest.hasLength(2)); |
| 2242 checkOrderShipment(o[0]); | 2257 checkOrderShipment(o[0]); |
| 2243 checkOrderShipment(o[1]); | 2258 checkOrderShipment(o[1]); |
| 2244 } | 2259 } |
| 2245 | 2260 |
| 2246 core.int buildCounterOrder = 0; | 2261 core.int buildCounterOrder = 0; |
| 2247 buildOrder() { | 2262 buildOrder() { |
| 2248 var o = new api.Order(); | 2263 var o = new api.Order(); |
| 2249 buildCounterOrder++; | 2264 buildCounterOrder++; |
| 2250 if (buildCounterOrder < 3) { | 2265 if (buildCounterOrder < 3) { |
| 2251 o.acknowledged = true; | 2266 o.acknowledged = true; |
| 2252 o.customer = buildOrderCustomer(); | 2267 o.customer = buildOrderCustomer(); |
| 2253 o.deliveryDetails = buildOrderDeliveryDetails(); | 2268 o.deliveryDetails = buildOrderDeliveryDetails(); |
| 2254 o.id = "foo"; | 2269 o.id = "foo"; |
| 2255 o.kind = "foo"; | 2270 o.kind = "foo"; |
| 2256 o.lineItems = buildUnnamed557(); | 2271 o.lineItems = buildUnnamed768(); |
| 2257 o.merchantId = "foo"; | 2272 o.merchantId = "foo"; |
| 2258 o.merchantOrderId = "foo"; | 2273 o.merchantOrderId = "foo"; |
| 2259 o.netAmount = buildPrice(); | 2274 o.netAmount = buildPrice(); |
| 2260 o.paymentMethod = buildOrderPaymentMethod(); | 2275 o.paymentMethod = buildOrderPaymentMethod(); |
| 2261 o.paymentStatus = "foo"; | 2276 o.paymentStatus = "foo"; |
| 2262 o.placedDate = "foo"; | 2277 o.placedDate = "foo"; |
| 2263 o.refunds = buildUnnamed558(); | 2278 o.promotions = buildUnnamed769(); |
| 2264 o.shipments = buildUnnamed559(); | 2279 o.refunds = buildUnnamed770(); |
| 2280 o.shipments = buildUnnamed771(); |
| 2265 o.shippingCost = buildPrice(); | 2281 o.shippingCost = buildPrice(); |
| 2266 o.shippingCostTax = buildPrice(); | 2282 o.shippingCostTax = buildPrice(); |
| 2267 o.shippingOption = "foo"; | 2283 o.shippingOption = "foo"; |
| 2268 o.status = "foo"; | 2284 o.status = "foo"; |
| 2269 } | 2285 } |
| 2270 buildCounterOrder--; | 2286 buildCounterOrder--; |
| 2271 return o; | 2287 return o; |
| 2272 } | 2288 } |
| 2273 | 2289 |
| 2274 checkOrder(api.Order o) { | 2290 checkOrder(api.Order o) { |
| 2275 buildCounterOrder++; | 2291 buildCounterOrder++; |
| 2276 if (buildCounterOrder < 3) { | 2292 if (buildCounterOrder < 3) { |
| 2277 unittest.expect(o.acknowledged, unittest.isTrue); | 2293 unittest.expect(o.acknowledged, unittest.isTrue); |
| 2278 checkOrderCustomer(o.customer); | 2294 checkOrderCustomer(o.customer); |
| 2279 checkOrderDeliveryDetails(o.deliveryDetails); | 2295 checkOrderDeliveryDetails(o.deliveryDetails); |
| 2280 unittest.expect(o.id, unittest.equals('foo')); | 2296 unittest.expect(o.id, unittest.equals('foo')); |
| 2281 unittest.expect(o.kind, unittest.equals('foo')); | 2297 unittest.expect(o.kind, unittest.equals('foo')); |
| 2282 checkUnnamed557(o.lineItems); | 2298 checkUnnamed768(o.lineItems); |
| 2283 unittest.expect(o.merchantId, unittest.equals('foo')); | 2299 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2284 unittest.expect(o.merchantOrderId, unittest.equals('foo')); | 2300 unittest.expect(o.merchantOrderId, unittest.equals('foo')); |
| 2285 checkPrice(o.netAmount); | 2301 checkPrice(o.netAmount); |
| 2286 checkOrderPaymentMethod(o.paymentMethod); | 2302 checkOrderPaymentMethod(o.paymentMethod); |
| 2287 unittest.expect(o.paymentStatus, unittest.equals('foo')); | 2303 unittest.expect(o.paymentStatus, unittest.equals('foo')); |
| 2288 unittest.expect(o.placedDate, unittest.equals('foo')); | 2304 unittest.expect(o.placedDate, unittest.equals('foo')); |
| 2289 checkUnnamed558(o.refunds); | 2305 checkUnnamed769(o.promotions); |
| 2290 checkUnnamed559(o.shipments); | 2306 checkUnnamed770(o.refunds); |
| 2307 checkUnnamed771(o.shipments); |
| 2291 checkPrice(o.shippingCost); | 2308 checkPrice(o.shippingCost); |
| 2292 checkPrice(o.shippingCostTax); | 2309 checkPrice(o.shippingCostTax); |
| 2293 unittest.expect(o.shippingOption, unittest.equals('foo')); | 2310 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 2294 unittest.expect(o.status, unittest.equals('foo')); | 2311 unittest.expect(o.status, unittest.equals('foo')); |
| 2295 } | 2312 } |
| 2296 buildCounterOrder--; | 2313 buildCounterOrder--; |
| 2297 } | 2314 } |
| 2298 | 2315 |
| 2299 buildUnnamed560() { | 2316 buildUnnamed772() { |
| 2300 var o = new core.List<core.String>(); | 2317 var o = new core.List<core.String>(); |
| 2301 o.add("foo"); | 2318 o.add("foo"); |
| 2302 o.add("foo"); | 2319 o.add("foo"); |
| 2303 return o; | 2320 return o; |
| 2304 } | 2321 } |
| 2305 | 2322 |
| 2306 checkUnnamed560(core.List<core.String> o) { | 2323 checkUnnamed772(core.List<core.String> o) { |
| 2307 unittest.expect(o, unittest.hasLength(2)); | 2324 unittest.expect(o, unittest.hasLength(2)); |
| 2308 unittest.expect(o[0], unittest.equals('foo')); | 2325 unittest.expect(o[0], unittest.equals('foo')); |
| 2309 unittest.expect(o[1], unittest.equals('foo')); | 2326 unittest.expect(o[1], unittest.equals('foo')); |
| 2310 } | 2327 } |
| 2311 | 2328 |
| 2312 buildUnnamed561() { | 2329 buildUnnamed773() { |
| 2313 var o = new core.List<core.String>(); | 2330 var o = new core.List<core.String>(); |
| 2314 o.add("foo"); | 2331 o.add("foo"); |
| 2315 o.add("foo"); | 2332 o.add("foo"); |
| 2316 return o; | 2333 return o; |
| 2317 } | 2334 } |
| 2318 | 2335 |
| 2319 checkUnnamed561(core.List<core.String> o) { | 2336 checkUnnamed773(core.List<core.String> o) { |
| 2320 unittest.expect(o, unittest.hasLength(2)); | 2337 unittest.expect(o, unittest.hasLength(2)); |
| 2321 unittest.expect(o[0], unittest.equals('foo')); | 2338 unittest.expect(o[0], unittest.equals('foo')); |
| 2322 unittest.expect(o[1], unittest.equals('foo')); | 2339 unittest.expect(o[1], unittest.equals('foo')); |
| 2323 } | 2340 } |
| 2324 | 2341 |
| 2325 core.int buildCounterOrderAddress = 0; | 2342 core.int buildCounterOrderAddress = 0; |
| 2326 buildOrderAddress() { | 2343 buildOrderAddress() { |
| 2327 var o = new api.OrderAddress(); | 2344 var o = new api.OrderAddress(); |
| 2328 buildCounterOrderAddress++; | 2345 buildCounterOrderAddress++; |
| 2329 if (buildCounterOrderAddress < 3) { | 2346 if (buildCounterOrderAddress < 3) { |
| 2330 o.country = "foo"; | 2347 o.country = "foo"; |
| 2331 o.fullAddress = buildUnnamed560(); | 2348 o.fullAddress = buildUnnamed772(); |
| 2332 o.isPostOfficeBox = true; | 2349 o.isPostOfficeBox = true; |
| 2333 o.locality = "foo"; | 2350 o.locality = "foo"; |
| 2334 o.postalCode = "foo"; | 2351 o.postalCode = "foo"; |
| 2335 o.recipientName = "foo"; | 2352 o.recipientName = "foo"; |
| 2336 o.region = "foo"; | 2353 o.region = "foo"; |
| 2337 o.streetAddress = buildUnnamed561(); | 2354 o.streetAddress = buildUnnamed773(); |
| 2338 } | 2355 } |
| 2339 buildCounterOrderAddress--; | 2356 buildCounterOrderAddress--; |
| 2340 return o; | 2357 return o; |
| 2341 } | 2358 } |
| 2342 | 2359 |
| 2343 checkOrderAddress(api.OrderAddress o) { | 2360 checkOrderAddress(api.OrderAddress o) { |
| 2344 buildCounterOrderAddress++; | 2361 buildCounterOrderAddress++; |
| 2345 if (buildCounterOrderAddress < 3) { | 2362 if (buildCounterOrderAddress < 3) { |
| 2346 unittest.expect(o.country, unittest.equals('foo')); | 2363 unittest.expect(o.country, unittest.equals('foo')); |
| 2347 checkUnnamed560(o.fullAddress); | 2364 checkUnnamed772(o.fullAddress); |
| 2348 unittest.expect(o.isPostOfficeBox, unittest.isTrue); | 2365 unittest.expect(o.isPostOfficeBox, unittest.isTrue); |
| 2349 unittest.expect(o.locality, unittest.equals('foo')); | 2366 unittest.expect(o.locality, unittest.equals('foo')); |
| 2350 unittest.expect(o.postalCode, unittest.equals('foo')); | 2367 unittest.expect(o.postalCode, unittest.equals('foo')); |
| 2351 unittest.expect(o.recipientName, unittest.equals('foo')); | 2368 unittest.expect(o.recipientName, unittest.equals('foo')); |
| 2352 unittest.expect(o.region, unittest.equals('foo')); | 2369 unittest.expect(o.region, unittest.equals('foo')); |
| 2353 checkUnnamed561(o.streetAddress); | 2370 checkUnnamed773(o.streetAddress); |
| 2354 } | 2371 } |
| 2355 buildCounterOrderAddress--; | 2372 buildCounterOrderAddress--; |
| 2356 } | 2373 } |
| 2357 | 2374 |
| 2358 core.int buildCounterOrderCancellation = 0; | 2375 core.int buildCounterOrderCancellation = 0; |
| 2359 buildOrderCancellation() { | 2376 buildOrderCancellation() { |
| 2360 var o = new api.OrderCancellation(); | 2377 var o = new api.OrderCancellation(); |
| 2361 buildCounterOrderCancellation++; | 2378 buildCounterOrderCancellation++; |
| 2362 if (buildCounterOrderCancellation < 3) { | 2379 if (buildCounterOrderCancellation < 3) { |
| 2363 o.actor = "foo"; | 2380 o.actor = "foo"; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2419 | 2436 |
| 2420 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { | 2437 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { |
| 2421 buildCounterOrderDeliveryDetails++; | 2438 buildCounterOrderDeliveryDetails++; |
| 2422 if (buildCounterOrderDeliveryDetails < 3) { | 2439 if (buildCounterOrderDeliveryDetails < 3) { |
| 2423 checkOrderAddress(o.address); | 2440 checkOrderAddress(o.address); |
| 2424 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2441 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2425 } | 2442 } |
| 2426 buildCounterOrderDeliveryDetails--; | 2443 buildCounterOrderDeliveryDetails--; |
| 2427 } | 2444 } |
| 2428 | 2445 |
| 2429 buildUnnamed562() { | 2446 buildUnnamed774() { |
| 2430 var o = new core.List<api.OrderCancellation>(); | 2447 var o = new core.List<api.OrderCancellation>(); |
| 2431 o.add(buildOrderCancellation()); | 2448 o.add(buildOrderCancellation()); |
| 2432 o.add(buildOrderCancellation()); | 2449 o.add(buildOrderCancellation()); |
| 2433 return o; | 2450 return o; |
| 2434 } | 2451 } |
| 2435 | 2452 |
| 2436 checkUnnamed562(core.List<api.OrderCancellation> o) { | 2453 checkUnnamed774(core.List<api.OrderCancellation> o) { |
| 2437 unittest.expect(o, unittest.hasLength(2)); | 2454 unittest.expect(o, unittest.hasLength(2)); |
| 2438 checkOrderCancellation(o[0]); | 2455 checkOrderCancellation(o[0]); |
| 2439 checkOrderCancellation(o[1]); | 2456 checkOrderCancellation(o[1]); |
| 2440 } | 2457 } |
| 2441 | 2458 |
| 2442 buildUnnamed563() { | 2459 buildUnnamed775() { |
| 2443 var o = new core.List<api.OrderReturn>(); | 2460 var o = new core.List<api.OrderReturn>(); |
| 2444 o.add(buildOrderReturn()); | 2461 o.add(buildOrderReturn()); |
| 2445 o.add(buildOrderReturn()); | 2462 o.add(buildOrderReturn()); |
| 2446 return o; | 2463 return o; |
| 2447 } | 2464 } |
| 2448 | 2465 |
| 2449 checkUnnamed563(core.List<api.OrderReturn> o) { | 2466 checkUnnamed775(core.List<api.OrderReturn> o) { |
| 2450 unittest.expect(o, unittest.hasLength(2)); | 2467 unittest.expect(o, unittest.hasLength(2)); |
| 2451 checkOrderReturn(o[0]); | 2468 checkOrderReturn(o[0]); |
| 2452 checkOrderReturn(o[1]); | 2469 checkOrderReturn(o[1]); |
| 2453 } | 2470 } |
| 2454 | 2471 |
| 2455 core.int buildCounterOrderLineItem = 0; | 2472 core.int buildCounterOrderLineItem = 0; |
| 2456 buildOrderLineItem() { | 2473 buildOrderLineItem() { |
| 2457 var o = new api.OrderLineItem(); | 2474 var o = new api.OrderLineItem(); |
| 2458 buildCounterOrderLineItem++; | 2475 buildCounterOrderLineItem++; |
| 2459 if (buildCounterOrderLineItem < 3) { | 2476 if (buildCounterOrderLineItem < 3) { |
| 2460 o.cancellations = buildUnnamed562(); | 2477 o.cancellations = buildUnnamed774(); |
| 2461 o.id = "foo"; | 2478 o.id = "foo"; |
| 2462 o.price = buildPrice(); | 2479 o.price = buildPrice(); |
| 2463 o.product = buildOrderLineItemProduct(); | 2480 o.product = buildOrderLineItemProduct(); |
| 2464 o.quantityCanceled = 42; | 2481 o.quantityCanceled = 42; |
| 2465 o.quantityDelivered = 42; | 2482 o.quantityDelivered = 42; |
| 2466 o.quantityOrdered = 42; | 2483 o.quantityOrdered = 42; |
| 2467 o.quantityPending = 42; | 2484 o.quantityPending = 42; |
| 2468 o.quantityReturned = 42; | 2485 o.quantityReturned = 42; |
| 2469 o.quantityShipped = 42; | 2486 o.quantityShipped = 42; |
| 2470 o.returnInfo = buildOrderLineItemReturnInfo(); | 2487 o.returnInfo = buildOrderLineItemReturnInfo(); |
| 2471 o.returns = buildUnnamed563(); | 2488 o.returns = buildUnnamed775(); |
| 2472 o.shippingDetails = buildOrderLineItemShippingDetails(); | 2489 o.shippingDetails = buildOrderLineItemShippingDetails(); |
| 2473 o.tax = buildPrice(); | 2490 o.tax = buildPrice(); |
| 2474 } | 2491 } |
| 2475 buildCounterOrderLineItem--; | 2492 buildCounterOrderLineItem--; |
| 2476 return o; | 2493 return o; |
| 2477 } | 2494 } |
| 2478 | 2495 |
| 2479 checkOrderLineItem(api.OrderLineItem o) { | 2496 checkOrderLineItem(api.OrderLineItem o) { |
| 2480 buildCounterOrderLineItem++; | 2497 buildCounterOrderLineItem++; |
| 2481 if (buildCounterOrderLineItem < 3) { | 2498 if (buildCounterOrderLineItem < 3) { |
| 2482 checkUnnamed562(o.cancellations); | 2499 checkUnnamed774(o.cancellations); |
| 2483 unittest.expect(o.id, unittest.equals('foo')); | 2500 unittest.expect(o.id, unittest.equals('foo')); |
| 2484 checkPrice(o.price); | 2501 checkPrice(o.price); |
| 2485 checkOrderLineItemProduct(o.product); | 2502 checkOrderLineItemProduct(o.product); |
| 2486 unittest.expect(o.quantityCanceled, unittest.equals(42)); | 2503 unittest.expect(o.quantityCanceled, unittest.equals(42)); |
| 2487 unittest.expect(o.quantityDelivered, unittest.equals(42)); | 2504 unittest.expect(o.quantityDelivered, unittest.equals(42)); |
| 2488 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 2505 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 2489 unittest.expect(o.quantityPending, unittest.equals(42)); | 2506 unittest.expect(o.quantityPending, unittest.equals(42)); |
| 2490 unittest.expect(o.quantityReturned, unittest.equals(42)); | 2507 unittest.expect(o.quantityReturned, unittest.equals(42)); |
| 2491 unittest.expect(o.quantityShipped, unittest.equals(42)); | 2508 unittest.expect(o.quantityShipped, unittest.equals(42)); |
| 2492 checkOrderLineItemReturnInfo(o.returnInfo); | 2509 checkOrderLineItemReturnInfo(o.returnInfo); |
| 2493 checkUnnamed563(o.returns); | 2510 checkUnnamed775(o.returns); |
| 2494 checkOrderLineItemShippingDetails(o.shippingDetails); | 2511 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 2495 checkPrice(o.tax); | 2512 checkPrice(o.tax); |
| 2496 } | 2513 } |
| 2497 buildCounterOrderLineItem--; | 2514 buildCounterOrderLineItem--; |
| 2498 } | 2515 } |
| 2499 | 2516 |
| 2500 buildUnnamed564() { | 2517 buildUnnamed776() { |
| 2501 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 2518 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 2502 o.add(buildOrderLineItemProductVariantAttribute()); | 2519 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2503 o.add(buildOrderLineItemProductVariantAttribute()); | 2520 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2504 return o; | 2521 return o; |
| 2505 } | 2522 } |
| 2506 | 2523 |
| 2507 checkUnnamed564(core.List<api.OrderLineItemProductVariantAttribute> o) { | 2524 checkUnnamed776(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 2508 unittest.expect(o, unittest.hasLength(2)); | 2525 unittest.expect(o, unittest.hasLength(2)); |
| 2509 checkOrderLineItemProductVariantAttribute(o[0]); | 2526 checkOrderLineItemProductVariantAttribute(o[0]); |
| 2510 checkOrderLineItemProductVariantAttribute(o[1]); | 2527 checkOrderLineItemProductVariantAttribute(o[1]); |
| 2511 } | 2528 } |
| 2512 | 2529 |
| 2513 core.int buildCounterOrderLineItemProduct = 0; | 2530 core.int buildCounterOrderLineItemProduct = 0; |
| 2514 buildOrderLineItemProduct() { | 2531 buildOrderLineItemProduct() { |
| 2515 var o = new api.OrderLineItemProduct(); | 2532 var o = new api.OrderLineItemProduct(); |
| 2516 buildCounterOrderLineItemProduct++; | 2533 buildCounterOrderLineItemProduct++; |
| 2517 if (buildCounterOrderLineItemProduct < 3) { | 2534 if (buildCounterOrderLineItemProduct < 3) { |
| 2518 o.brand = "foo"; | 2535 o.brand = "foo"; |
| 2519 o.channel = "foo"; | 2536 o.channel = "foo"; |
| 2520 o.condition = "foo"; | 2537 o.condition = "foo"; |
| 2521 o.contentLanguage = "foo"; | 2538 o.contentLanguage = "foo"; |
| 2522 o.gtin = "foo"; | 2539 o.gtin = "foo"; |
| 2523 o.id = "foo"; | 2540 o.id = "foo"; |
| 2524 o.imageLink = "foo"; | 2541 o.imageLink = "foo"; |
| 2525 o.itemGroupId = "foo"; | 2542 o.itemGroupId = "foo"; |
| 2526 o.mpn = "foo"; | 2543 o.mpn = "foo"; |
| 2527 o.offerId = "foo"; | 2544 o.offerId = "foo"; |
| 2528 o.price = buildPrice(); | 2545 o.price = buildPrice(); |
| 2529 o.shownImage = "foo"; | 2546 o.shownImage = "foo"; |
| 2530 o.targetCountry = "foo"; | 2547 o.targetCountry = "foo"; |
| 2531 o.title = "foo"; | 2548 o.title = "foo"; |
| 2532 o.variantAttributes = buildUnnamed564(); | 2549 o.variantAttributes = buildUnnamed776(); |
| 2533 } | 2550 } |
| 2534 buildCounterOrderLineItemProduct--; | 2551 buildCounterOrderLineItemProduct--; |
| 2535 return o; | 2552 return o; |
| 2536 } | 2553 } |
| 2537 | 2554 |
| 2538 checkOrderLineItemProduct(api.OrderLineItemProduct o) { | 2555 checkOrderLineItemProduct(api.OrderLineItemProduct o) { |
| 2539 buildCounterOrderLineItemProduct++; | 2556 buildCounterOrderLineItemProduct++; |
| 2540 if (buildCounterOrderLineItemProduct < 3) { | 2557 if (buildCounterOrderLineItemProduct < 3) { |
| 2541 unittest.expect(o.brand, unittest.equals('foo')); | 2558 unittest.expect(o.brand, unittest.equals('foo')); |
| 2542 unittest.expect(o.channel, unittest.equals('foo')); | 2559 unittest.expect(o.channel, unittest.equals('foo')); |
| 2543 unittest.expect(o.condition, unittest.equals('foo')); | 2560 unittest.expect(o.condition, unittest.equals('foo')); |
| 2544 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2561 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 2545 unittest.expect(o.gtin, unittest.equals('foo')); | 2562 unittest.expect(o.gtin, unittest.equals('foo')); |
| 2546 unittest.expect(o.id, unittest.equals('foo')); | 2563 unittest.expect(o.id, unittest.equals('foo')); |
| 2547 unittest.expect(o.imageLink, unittest.equals('foo')); | 2564 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 2548 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2565 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 2549 unittest.expect(o.mpn, unittest.equals('foo')); | 2566 unittest.expect(o.mpn, unittest.equals('foo')); |
| 2550 unittest.expect(o.offerId, unittest.equals('foo')); | 2567 unittest.expect(o.offerId, unittest.equals('foo')); |
| 2551 checkPrice(o.price); | 2568 checkPrice(o.price); |
| 2552 unittest.expect(o.shownImage, unittest.equals('foo')); | 2569 unittest.expect(o.shownImage, unittest.equals('foo')); |
| 2553 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2570 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 2554 unittest.expect(o.title, unittest.equals('foo')); | 2571 unittest.expect(o.title, unittest.equals('foo')); |
| 2555 checkUnnamed564(o.variantAttributes); | 2572 checkUnnamed776(o.variantAttributes); |
| 2556 } | 2573 } |
| 2557 buildCounterOrderLineItemProduct--; | 2574 buildCounterOrderLineItemProduct--; |
| 2558 } | 2575 } |
| 2559 | 2576 |
| 2560 core.int buildCounterOrderLineItemProductVariantAttribute = 0; | 2577 core.int buildCounterOrderLineItemProductVariantAttribute = 0; |
| 2561 buildOrderLineItemProductVariantAttribute() { | 2578 buildOrderLineItemProductVariantAttribute() { |
| 2562 var o = new api.OrderLineItemProductVariantAttribute(); | 2579 var o = new api.OrderLineItemProductVariantAttribute(); |
| 2563 buildCounterOrderLineItemProductVariantAttribute++; | 2580 buildCounterOrderLineItemProductVariantAttribute++; |
| 2564 if (buildCounterOrderLineItemProductVariantAttribute < 3) { | 2581 if (buildCounterOrderLineItemProductVariantAttribute < 3) { |
| 2565 o.dimension = "foo"; | 2582 o.dimension = "foo"; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2671 checkOrderAddress(o.billingAddress); | 2688 checkOrderAddress(o.billingAddress); |
| 2672 unittest.expect(o.expirationMonth, unittest.equals(42)); | 2689 unittest.expect(o.expirationMonth, unittest.equals(42)); |
| 2673 unittest.expect(o.expirationYear, unittest.equals(42)); | 2690 unittest.expect(o.expirationYear, unittest.equals(42)); |
| 2674 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 2691 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
| 2675 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2692 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2676 unittest.expect(o.type, unittest.equals('foo')); | 2693 unittest.expect(o.type, unittest.equals('foo')); |
| 2677 } | 2694 } |
| 2678 buildCounterOrderPaymentMethod--; | 2695 buildCounterOrderPaymentMethod--; |
| 2679 } | 2696 } |
| 2680 | 2697 |
| 2698 buildUnnamed777() { |
| 2699 var o = new core.List<api.OrderPromotionBenefit>(); |
| 2700 o.add(buildOrderPromotionBenefit()); |
| 2701 o.add(buildOrderPromotionBenefit()); |
| 2702 return o; |
| 2703 } |
| 2704 |
| 2705 checkUnnamed777(core.List<api.OrderPromotionBenefit> o) { |
| 2706 unittest.expect(o, unittest.hasLength(2)); |
| 2707 checkOrderPromotionBenefit(o[0]); |
| 2708 checkOrderPromotionBenefit(o[1]); |
| 2709 } |
| 2710 |
| 2711 core.int buildCounterOrderPromotion = 0; |
| 2712 buildOrderPromotion() { |
| 2713 var o = new api.OrderPromotion(); |
| 2714 buildCounterOrderPromotion++; |
| 2715 if (buildCounterOrderPromotion < 3) { |
| 2716 o.benefits = buildUnnamed777(); |
| 2717 o.effectiveDates = "foo"; |
| 2718 o.genericRedemptionCode = "foo"; |
| 2719 o.id = "foo"; |
| 2720 o.longTitle = "foo"; |
| 2721 o.productApplicability = "foo"; |
| 2722 o.redemptionChannel = "foo"; |
| 2723 } |
| 2724 buildCounterOrderPromotion--; |
| 2725 return o; |
| 2726 } |
| 2727 |
| 2728 checkOrderPromotion(api.OrderPromotion o) { |
| 2729 buildCounterOrderPromotion++; |
| 2730 if (buildCounterOrderPromotion < 3) { |
| 2731 checkUnnamed777(o.benefits); |
| 2732 unittest.expect(o.effectiveDates, unittest.equals('foo')); |
| 2733 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); |
| 2734 unittest.expect(o.id, unittest.equals('foo')); |
| 2735 unittest.expect(o.longTitle, unittest.equals('foo')); |
| 2736 unittest.expect(o.productApplicability, unittest.equals('foo')); |
| 2737 unittest.expect(o.redemptionChannel, unittest.equals('foo')); |
| 2738 } |
| 2739 buildCounterOrderPromotion--; |
| 2740 } |
| 2741 |
| 2742 buildUnnamed778() { |
| 2743 var o = new core.List<core.String>(); |
| 2744 o.add("foo"); |
| 2745 o.add("foo"); |
| 2746 return o; |
| 2747 } |
| 2748 |
| 2749 checkUnnamed778(core.List<core.String> o) { |
| 2750 unittest.expect(o, unittest.hasLength(2)); |
| 2751 unittest.expect(o[0], unittest.equals('foo')); |
| 2752 unittest.expect(o[1], unittest.equals('foo')); |
| 2753 } |
| 2754 |
| 2755 core.int buildCounterOrderPromotionBenefit = 0; |
| 2756 buildOrderPromotionBenefit() { |
| 2757 var o = new api.OrderPromotionBenefit(); |
| 2758 buildCounterOrderPromotionBenefit++; |
| 2759 if (buildCounterOrderPromotionBenefit < 3) { |
| 2760 o.discount = buildPrice(); |
| 2761 o.offerIds = buildUnnamed778(); |
| 2762 o.subType = "foo"; |
| 2763 o.taxImpact = buildPrice(); |
| 2764 o.type = "foo"; |
| 2765 } |
| 2766 buildCounterOrderPromotionBenefit--; |
| 2767 return o; |
| 2768 } |
| 2769 |
| 2770 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { |
| 2771 buildCounterOrderPromotionBenefit++; |
| 2772 if (buildCounterOrderPromotionBenefit < 3) { |
| 2773 checkPrice(o.discount); |
| 2774 checkUnnamed778(o.offerIds); |
| 2775 unittest.expect(o.subType, unittest.equals('foo')); |
| 2776 checkPrice(o.taxImpact); |
| 2777 unittest.expect(o.type, unittest.equals('foo')); |
| 2778 } |
| 2779 buildCounterOrderPromotionBenefit--; |
| 2780 } |
| 2781 |
| 2681 core.int buildCounterOrderRefund = 0; | 2782 core.int buildCounterOrderRefund = 0; |
| 2682 buildOrderRefund() { | 2783 buildOrderRefund() { |
| 2683 var o = new api.OrderRefund(); | 2784 var o = new api.OrderRefund(); |
| 2684 buildCounterOrderRefund++; | 2785 buildCounterOrderRefund++; |
| 2685 if (buildCounterOrderRefund < 3) { | 2786 if (buildCounterOrderRefund < 3) { |
| 2686 o.actor = "foo"; | 2787 o.actor = "foo"; |
| 2687 o.amount = buildPrice(); | 2788 o.amount = buildPrice(); |
| 2688 o.creationDate = "foo"; | 2789 o.creationDate = "foo"; |
| 2689 o.reason = "foo"; | 2790 o.reason = "foo"; |
| 2690 o.reasonText = "foo"; | 2791 o.reasonText = "foo"; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2725 if (buildCounterOrderReturn < 3) { | 2826 if (buildCounterOrderReturn < 3) { |
| 2726 unittest.expect(o.actor, unittest.equals('foo')); | 2827 unittest.expect(o.actor, unittest.equals('foo')); |
| 2727 unittest.expect(o.creationDate, unittest.equals('foo')); | 2828 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 2728 unittest.expect(o.quantity, unittest.equals(42)); | 2829 unittest.expect(o.quantity, unittest.equals(42)); |
| 2729 unittest.expect(o.reason, unittest.equals('foo')); | 2830 unittest.expect(o.reason, unittest.equals('foo')); |
| 2730 unittest.expect(o.reasonText, unittest.equals('foo')); | 2831 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 2731 } | 2832 } |
| 2732 buildCounterOrderReturn--; | 2833 buildCounterOrderReturn--; |
| 2733 } | 2834 } |
| 2734 | 2835 |
| 2735 buildUnnamed565() { | 2836 buildUnnamed779() { |
| 2736 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 2837 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 2737 o.add(buildOrderShipmentLineItemShipment()); | 2838 o.add(buildOrderShipmentLineItemShipment()); |
| 2738 o.add(buildOrderShipmentLineItemShipment()); | 2839 o.add(buildOrderShipmentLineItemShipment()); |
| 2739 return o; | 2840 return o; |
| 2740 } | 2841 } |
| 2741 | 2842 |
| 2742 checkUnnamed565(core.List<api.OrderShipmentLineItemShipment> o) { | 2843 checkUnnamed779(core.List<api.OrderShipmentLineItemShipment> o) { |
| 2743 unittest.expect(o, unittest.hasLength(2)); | 2844 unittest.expect(o, unittest.hasLength(2)); |
| 2744 checkOrderShipmentLineItemShipment(o[0]); | 2845 checkOrderShipmentLineItemShipment(o[0]); |
| 2745 checkOrderShipmentLineItemShipment(o[1]); | 2846 checkOrderShipmentLineItemShipment(o[1]); |
| 2746 } | 2847 } |
| 2747 | 2848 |
| 2748 core.int buildCounterOrderShipment = 0; | 2849 core.int buildCounterOrderShipment = 0; |
| 2749 buildOrderShipment() { | 2850 buildOrderShipment() { |
| 2750 var o = new api.OrderShipment(); | 2851 var o = new api.OrderShipment(); |
| 2751 buildCounterOrderShipment++; | 2852 buildCounterOrderShipment++; |
| 2752 if (buildCounterOrderShipment < 3) { | 2853 if (buildCounterOrderShipment < 3) { |
| 2753 o.carrier = "foo"; | 2854 o.carrier = "foo"; |
| 2754 o.creationDate = "foo"; | 2855 o.creationDate = "foo"; |
| 2755 o.deliveryDate = "foo"; | 2856 o.deliveryDate = "foo"; |
| 2756 o.id = "foo"; | 2857 o.id = "foo"; |
| 2757 o.lineItems = buildUnnamed565(); | 2858 o.lineItems = buildUnnamed779(); |
| 2758 o.status = "foo"; | 2859 o.status = "foo"; |
| 2759 o.trackingId = "foo"; | 2860 o.trackingId = "foo"; |
| 2760 } | 2861 } |
| 2761 buildCounterOrderShipment--; | 2862 buildCounterOrderShipment--; |
| 2762 return o; | 2863 return o; |
| 2763 } | 2864 } |
| 2764 | 2865 |
| 2765 checkOrderShipment(api.OrderShipment o) { | 2866 checkOrderShipment(api.OrderShipment o) { |
| 2766 buildCounterOrderShipment++; | 2867 buildCounterOrderShipment++; |
| 2767 if (buildCounterOrderShipment < 3) { | 2868 if (buildCounterOrderShipment < 3) { |
| 2768 unittest.expect(o.carrier, unittest.equals('foo')); | 2869 unittest.expect(o.carrier, unittest.equals('foo')); |
| 2769 unittest.expect(o.creationDate, unittest.equals('foo')); | 2870 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 2770 unittest.expect(o.deliveryDate, unittest.equals('foo')); | 2871 unittest.expect(o.deliveryDate, unittest.equals('foo')); |
| 2771 unittest.expect(o.id, unittest.equals('foo')); | 2872 unittest.expect(o.id, unittest.equals('foo')); |
| 2772 checkUnnamed565(o.lineItems); | 2873 checkUnnamed779(o.lineItems); |
| 2773 unittest.expect(o.status, unittest.equals('foo')); | 2874 unittest.expect(o.status, unittest.equals('foo')); |
| 2774 unittest.expect(o.trackingId, unittest.equals('foo')); | 2875 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 2775 } | 2876 } |
| 2776 buildCounterOrderShipment--; | 2877 buildCounterOrderShipment--; |
| 2777 } | 2878 } |
| 2778 | 2879 |
| 2779 core.int buildCounterOrderShipmentLineItemShipment = 0; | 2880 core.int buildCounterOrderShipmentLineItemShipment = 0; |
| 2780 buildOrderShipmentLineItemShipment() { | 2881 buildOrderShipmentLineItemShipment() { |
| 2781 var o = new api.OrderShipmentLineItemShipment(); | 2882 var o = new api.OrderShipmentLineItemShipment(); |
| 2782 buildCounterOrderShipmentLineItemShipment++; | 2883 buildCounterOrderShipmentLineItemShipment++; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2985 | 3086 |
| 2986 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { | 3087 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { |
| 2987 buildCounterOrdersCreateTestOrderResponse++; | 3088 buildCounterOrdersCreateTestOrderResponse++; |
| 2988 if (buildCounterOrdersCreateTestOrderResponse < 3) { | 3089 if (buildCounterOrdersCreateTestOrderResponse < 3) { |
| 2989 unittest.expect(o.kind, unittest.equals('foo')); | 3090 unittest.expect(o.kind, unittest.equals('foo')); |
| 2990 unittest.expect(o.orderId, unittest.equals('foo')); | 3091 unittest.expect(o.orderId, unittest.equals('foo')); |
| 2991 } | 3092 } |
| 2992 buildCounterOrdersCreateTestOrderResponse--; | 3093 buildCounterOrdersCreateTestOrderResponse--; |
| 2993 } | 3094 } |
| 2994 | 3095 |
| 2995 buildUnnamed566() { | 3096 buildUnnamed780() { |
| 2996 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); | 3097 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); |
| 2997 o.add(buildOrdersCustomBatchRequestEntry()); | 3098 o.add(buildOrdersCustomBatchRequestEntry()); |
| 2998 o.add(buildOrdersCustomBatchRequestEntry()); | 3099 o.add(buildOrdersCustomBatchRequestEntry()); |
| 2999 return o; | 3100 return o; |
| 3000 } | 3101 } |
| 3001 | 3102 |
| 3002 checkUnnamed566(core.List<api.OrdersCustomBatchRequestEntry> o) { | 3103 checkUnnamed780(core.List<api.OrdersCustomBatchRequestEntry> o) { |
| 3003 unittest.expect(o, unittest.hasLength(2)); | 3104 unittest.expect(o, unittest.hasLength(2)); |
| 3004 checkOrdersCustomBatchRequestEntry(o[0]); | 3105 checkOrdersCustomBatchRequestEntry(o[0]); |
| 3005 checkOrdersCustomBatchRequestEntry(o[1]); | 3106 checkOrdersCustomBatchRequestEntry(o[1]); |
| 3006 } | 3107 } |
| 3007 | 3108 |
| 3008 core.int buildCounterOrdersCustomBatchRequest = 0; | 3109 core.int buildCounterOrdersCustomBatchRequest = 0; |
| 3009 buildOrdersCustomBatchRequest() { | 3110 buildOrdersCustomBatchRequest() { |
| 3010 var o = new api.OrdersCustomBatchRequest(); | 3111 var o = new api.OrdersCustomBatchRequest(); |
| 3011 buildCounterOrdersCustomBatchRequest++; | 3112 buildCounterOrdersCustomBatchRequest++; |
| 3012 if (buildCounterOrdersCustomBatchRequest < 3) { | 3113 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3013 o.entries = buildUnnamed566(); | 3114 o.entries = buildUnnamed780(); |
| 3014 } | 3115 } |
| 3015 buildCounterOrdersCustomBatchRequest--; | 3116 buildCounterOrdersCustomBatchRequest--; |
| 3016 return o; | 3117 return o; |
| 3017 } | 3118 } |
| 3018 | 3119 |
| 3019 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { | 3120 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { |
| 3020 buildCounterOrdersCustomBatchRequest++; | 3121 buildCounterOrdersCustomBatchRequest++; |
| 3021 if (buildCounterOrdersCustomBatchRequest < 3) { | 3122 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3022 checkUnnamed566(o.entries); | 3123 checkUnnamed780(o.entries); |
| 3023 } | 3124 } |
| 3024 buildCounterOrdersCustomBatchRequest--; | 3125 buildCounterOrdersCustomBatchRequest--; |
| 3025 } | 3126 } |
| 3026 | 3127 |
| 3027 core.int buildCounterOrdersCustomBatchRequestEntry = 0; | 3128 core.int buildCounterOrdersCustomBatchRequestEntry = 0; |
| 3028 buildOrdersCustomBatchRequestEntry() { | 3129 buildOrdersCustomBatchRequestEntry() { |
| 3029 var o = new api.OrdersCustomBatchRequestEntry(); | 3130 var o = new api.OrdersCustomBatchRequestEntry(); |
| 3030 buildCounterOrdersCustomBatchRequestEntry++; | 3131 buildCounterOrdersCustomBatchRequestEntry++; |
| 3031 if (buildCounterOrdersCustomBatchRequestEntry < 3) { | 3132 if (buildCounterOrdersCustomBatchRequestEntry < 3) { |
| 3032 o.batchId = 42; | 3133 o.batchId = 42; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3154 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; | 3255 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; |
| 3155 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { | 3256 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { |
| 3156 unittest.expect(o.lineItemId, unittest.equals('foo')); | 3257 unittest.expect(o.lineItemId, unittest.equals('foo')); |
| 3157 unittest.expect(o.quantity, unittest.equals(42)); | 3258 unittest.expect(o.quantity, unittest.equals(42)); |
| 3158 unittest.expect(o.reason, unittest.equals('foo')); | 3259 unittest.expect(o.reason, unittest.equals('foo')); |
| 3159 unittest.expect(o.reasonText, unittest.equals('foo')); | 3260 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 3160 } | 3261 } |
| 3161 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; | 3262 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; |
| 3162 } | 3263 } |
| 3163 | 3264 |
| 3164 buildUnnamed567() { | 3265 buildUnnamed781() { |
| 3165 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3266 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3166 o.add(buildOrderShipmentLineItemShipment()); | 3267 o.add(buildOrderShipmentLineItemShipment()); |
| 3167 o.add(buildOrderShipmentLineItemShipment()); | 3268 o.add(buildOrderShipmentLineItemShipment()); |
| 3168 return o; | 3269 return o; |
| 3169 } | 3270 } |
| 3170 | 3271 |
| 3171 checkUnnamed567(core.List<api.OrderShipmentLineItemShipment> o) { | 3272 checkUnnamed781(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3172 unittest.expect(o, unittest.hasLength(2)); | 3273 unittest.expect(o, unittest.hasLength(2)); |
| 3173 checkOrderShipmentLineItemShipment(o[0]); | 3274 checkOrderShipmentLineItemShipment(o[0]); |
| 3174 checkOrderShipmentLineItemShipment(o[1]); | 3275 checkOrderShipmentLineItemShipment(o[1]); |
| 3175 } | 3276 } |
| 3176 | 3277 |
| 3177 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; | 3278 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; |
| 3178 buildOrdersCustomBatchRequestEntryShipLineItems() { | 3279 buildOrdersCustomBatchRequestEntryShipLineItems() { |
| 3179 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); | 3280 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); |
| 3180 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3281 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3181 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3282 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3182 o.carrier = "foo"; | 3283 o.carrier = "foo"; |
| 3183 o.lineItems = buildUnnamed567(); | 3284 o.lineItems = buildUnnamed781(); |
| 3184 o.shipmentId = "foo"; | 3285 o.shipmentId = "foo"; |
| 3185 o.trackingId = "foo"; | 3286 o.trackingId = "foo"; |
| 3186 } | 3287 } |
| 3187 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3288 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3188 return o; | 3289 return o; |
| 3189 } | 3290 } |
| 3190 | 3291 |
| 3191 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { | 3292 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { |
| 3192 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3293 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3193 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3294 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3194 unittest.expect(o.carrier, unittest.equals('foo')); | 3295 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3195 checkUnnamed567(o.lineItems); | 3296 checkUnnamed781(o.lineItems); |
| 3196 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3297 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3197 unittest.expect(o.trackingId, unittest.equals('foo')); | 3298 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3198 } | 3299 } |
| 3199 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3300 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3200 } | 3301 } |
| 3201 | 3302 |
| 3202 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; | 3303 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; |
| 3203 buildOrdersCustomBatchRequestEntryUpdateShipment() { | 3304 buildOrdersCustomBatchRequestEntryUpdateShipment() { |
| 3204 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); | 3305 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); |
| 3205 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3306 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3217 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3318 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| 3218 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { | 3319 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { |
| 3219 unittest.expect(o.carrier, unittest.equals('foo')); | 3320 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3220 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3321 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3221 unittest.expect(o.status, unittest.equals('foo')); | 3322 unittest.expect(o.status, unittest.equals('foo')); |
| 3222 unittest.expect(o.trackingId, unittest.equals('foo')); | 3323 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3223 } | 3324 } |
| 3224 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; | 3325 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; |
| 3225 } | 3326 } |
| 3226 | 3327 |
| 3227 buildUnnamed568() { | 3328 buildUnnamed782() { |
| 3228 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); | 3329 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); |
| 3229 o.add(buildOrdersCustomBatchResponseEntry()); | 3330 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3230 o.add(buildOrdersCustomBatchResponseEntry()); | 3331 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3231 return o; | 3332 return o; |
| 3232 } | 3333 } |
| 3233 | 3334 |
| 3234 checkUnnamed568(core.List<api.OrdersCustomBatchResponseEntry> o) { | 3335 checkUnnamed782(core.List<api.OrdersCustomBatchResponseEntry> o) { |
| 3235 unittest.expect(o, unittest.hasLength(2)); | 3336 unittest.expect(o, unittest.hasLength(2)); |
| 3236 checkOrdersCustomBatchResponseEntry(o[0]); | 3337 checkOrdersCustomBatchResponseEntry(o[0]); |
| 3237 checkOrdersCustomBatchResponseEntry(o[1]); | 3338 checkOrdersCustomBatchResponseEntry(o[1]); |
| 3238 } | 3339 } |
| 3239 | 3340 |
| 3240 core.int buildCounterOrdersCustomBatchResponse = 0; | 3341 core.int buildCounterOrdersCustomBatchResponse = 0; |
| 3241 buildOrdersCustomBatchResponse() { | 3342 buildOrdersCustomBatchResponse() { |
| 3242 var o = new api.OrdersCustomBatchResponse(); | 3343 var o = new api.OrdersCustomBatchResponse(); |
| 3243 buildCounterOrdersCustomBatchResponse++; | 3344 buildCounterOrdersCustomBatchResponse++; |
| 3244 if (buildCounterOrdersCustomBatchResponse < 3) { | 3345 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3245 o.entries = buildUnnamed568(); | 3346 o.entries = buildUnnamed782(); |
| 3246 o.kind = "foo"; | 3347 o.kind = "foo"; |
| 3247 } | 3348 } |
| 3248 buildCounterOrdersCustomBatchResponse--; | 3349 buildCounterOrdersCustomBatchResponse--; |
| 3249 return o; | 3350 return o; |
| 3250 } | 3351 } |
| 3251 | 3352 |
| 3252 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { | 3353 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { |
| 3253 buildCounterOrdersCustomBatchResponse++; | 3354 buildCounterOrdersCustomBatchResponse++; |
| 3254 if (buildCounterOrdersCustomBatchResponse < 3) { | 3355 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3255 checkUnnamed568(o.entries); | 3356 checkUnnamed782(o.entries); |
| 3256 unittest.expect(o.kind, unittest.equals('foo')); | 3357 unittest.expect(o.kind, unittest.equals('foo')); |
| 3257 } | 3358 } |
| 3258 buildCounterOrdersCustomBatchResponse--; | 3359 buildCounterOrdersCustomBatchResponse--; |
| 3259 } | 3360 } |
| 3260 | 3361 |
| 3261 core.int buildCounterOrdersCustomBatchResponseEntry = 0; | 3362 core.int buildCounterOrdersCustomBatchResponseEntry = 0; |
| 3262 buildOrdersCustomBatchResponseEntry() { | 3363 buildOrdersCustomBatchResponseEntry() { |
| 3263 var o = new api.OrdersCustomBatchResponseEntry(); | 3364 var o = new api.OrdersCustomBatchResponseEntry(); |
| 3264 buildCounterOrdersCustomBatchResponseEntry++; | 3365 buildCounterOrdersCustomBatchResponseEntry++; |
| 3265 if (buildCounterOrdersCustomBatchResponseEntry < 3) { | 3366 if (buildCounterOrdersCustomBatchResponseEntry < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3320 | 3421 |
| 3321 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { | 3422 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { |
| 3322 buildCounterOrdersGetTestOrderTemplateResponse++; | 3423 buildCounterOrdersGetTestOrderTemplateResponse++; |
| 3323 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { | 3424 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { |
| 3324 unittest.expect(o.kind, unittest.equals('foo')); | 3425 unittest.expect(o.kind, unittest.equals('foo')); |
| 3325 checkTestOrder(o.template); | 3426 checkTestOrder(o.template); |
| 3326 } | 3427 } |
| 3327 buildCounterOrdersGetTestOrderTemplateResponse--; | 3428 buildCounterOrdersGetTestOrderTemplateResponse--; |
| 3328 } | 3429 } |
| 3329 | 3430 |
| 3330 buildUnnamed569() { | 3431 buildUnnamed783() { |
| 3331 var o = new core.List<api.Order>(); | 3432 var o = new core.List<api.Order>(); |
| 3332 o.add(buildOrder()); | 3433 o.add(buildOrder()); |
| 3333 o.add(buildOrder()); | 3434 o.add(buildOrder()); |
| 3334 return o; | 3435 return o; |
| 3335 } | 3436 } |
| 3336 | 3437 |
| 3337 checkUnnamed569(core.List<api.Order> o) { | 3438 checkUnnamed783(core.List<api.Order> o) { |
| 3338 unittest.expect(o, unittest.hasLength(2)); | 3439 unittest.expect(o, unittest.hasLength(2)); |
| 3339 checkOrder(o[0]); | 3440 checkOrder(o[0]); |
| 3340 checkOrder(o[1]); | 3441 checkOrder(o[1]); |
| 3341 } | 3442 } |
| 3342 | 3443 |
| 3343 core.int buildCounterOrdersListResponse = 0; | 3444 core.int buildCounterOrdersListResponse = 0; |
| 3344 buildOrdersListResponse() { | 3445 buildOrdersListResponse() { |
| 3345 var o = new api.OrdersListResponse(); | 3446 var o = new api.OrdersListResponse(); |
| 3346 buildCounterOrdersListResponse++; | 3447 buildCounterOrdersListResponse++; |
| 3347 if (buildCounterOrdersListResponse < 3) { | 3448 if (buildCounterOrdersListResponse < 3) { |
| 3348 o.kind = "foo"; | 3449 o.kind = "foo"; |
| 3349 o.nextPageToken = "foo"; | 3450 o.nextPageToken = "foo"; |
| 3350 o.resources = buildUnnamed569(); | 3451 o.resources = buildUnnamed783(); |
| 3351 } | 3452 } |
| 3352 buildCounterOrdersListResponse--; | 3453 buildCounterOrdersListResponse--; |
| 3353 return o; | 3454 return o; |
| 3354 } | 3455 } |
| 3355 | 3456 |
| 3356 checkOrdersListResponse(api.OrdersListResponse o) { | 3457 checkOrdersListResponse(api.OrdersListResponse o) { |
| 3357 buildCounterOrdersListResponse++; | 3458 buildCounterOrdersListResponse++; |
| 3358 if (buildCounterOrdersListResponse < 3) { | 3459 if (buildCounterOrdersListResponse < 3) { |
| 3359 unittest.expect(o.kind, unittest.equals('foo')); | 3460 unittest.expect(o.kind, unittest.equals('foo')); |
| 3360 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3461 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3361 checkUnnamed569(o.resources); | 3462 checkUnnamed783(o.resources); |
| 3362 } | 3463 } |
| 3363 buildCounterOrdersListResponse--; | 3464 buildCounterOrdersListResponse--; |
| 3364 } | 3465 } |
| 3365 | 3466 |
| 3366 core.int buildCounterOrdersRefundRequest = 0; | 3467 core.int buildCounterOrdersRefundRequest = 0; |
| 3367 buildOrdersRefundRequest() { | 3468 buildOrdersRefundRequest() { |
| 3368 var o = new api.OrdersRefundRequest(); | 3469 var o = new api.OrdersRefundRequest(); |
| 3369 buildCounterOrdersRefundRequest++; | 3470 buildCounterOrdersRefundRequest++; |
| 3370 if (buildCounterOrdersRefundRequest < 3) { | 3471 if (buildCounterOrdersRefundRequest < 3) { |
| 3371 o.amount = buildPrice(); | 3472 o.amount = buildPrice(); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3450 | 3551 |
| 3451 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { | 3552 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { |
| 3452 buildCounterOrdersReturnLineItemResponse++; | 3553 buildCounterOrdersReturnLineItemResponse++; |
| 3453 if (buildCounterOrdersReturnLineItemResponse < 3) { | 3554 if (buildCounterOrdersReturnLineItemResponse < 3) { |
| 3454 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3555 unittest.expect(o.executionStatus, unittest.equals('foo')); |
| 3455 unittest.expect(o.kind, unittest.equals('foo')); | 3556 unittest.expect(o.kind, unittest.equals('foo')); |
| 3456 } | 3557 } |
| 3457 buildCounterOrdersReturnLineItemResponse--; | 3558 buildCounterOrdersReturnLineItemResponse--; |
| 3458 } | 3559 } |
| 3459 | 3560 |
| 3460 buildUnnamed570() { | 3561 buildUnnamed784() { |
| 3461 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3562 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3462 o.add(buildOrderShipmentLineItemShipment()); | 3563 o.add(buildOrderShipmentLineItemShipment()); |
| 3463 o.add(buildOrderShipmentLineItemShipment()); | 3564 o.add(buildOrderShipmentLineItemShipment()); |
| 3464 return o; | 3565 return o; |
| 3465 } | 3566 } |
| 3466 | 3567 |
| 3467 checkUnnamed570(core.List<api.OrderShipmentLineItemShipment> o) { | 3568 checkUnnamed784(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3468 unittest.expect(o, unittest.hasLength(2)); | 3569 unittest.expect(o, unittest.hasLength(2)); |
| 3469 checkOrderShipmentLineItemShipment(o[0]); | 3570 checkOrderShipmentLineItemShipment(o[0]); |
| 3470 checkOrderShipmentLineItemShipment(o[1]); | 3571 checkOrderShipmentLineItemShipment(o[1]); |
| 3471 } | 3572 } |
| 3472 | 3573 |
| 3473 core.int buildCounterOrdersShipLineItemsRequest = 0; | 3574 core.int buildCounterOrdersShipLineItemsRequest = 0; |
| 3474 buildOrdersShipLineItemsRequest() { | 3575 buildOrdersShipLineItemsRequest() { |
| 3475 var o = new api.OrdersShipLineItemsRequest(); | 3576 var o = new api.OrdersShipLineItemsRequest(); |
| 3476 buildCounterOrdersShipLineItemsRequest++; | 3577 buildCounterOrdersShipLineItemsRequest++; |
| 3477 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3578 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3478 o.carrier = "foo"; | 3579 o.carrier = "foo"; |
| 3479 o.lineItems = buildUnnamed570(); | 3580 o.lineItems = buildUnnamed784(); |
| 3480 o.operationId = "foo"; | 3581 o.operationId = "foo"; |
| 3481 o.shipmentId = "foo"; | 3582 o.shipmentId = "foo"; |
| 3482 o.trackingId = "foo"; | 3583 o.trackingId = "foo"; |
| 3483 } | 3584 } |
| 3484 buildCounterOrdersShipLineItemsRequest--; | 3585 buildCounterOrdersShipLineItemsRequest--; |
| 3485 return o; | 3586 return o; |
| 3486 } | 3587 } |
| 3487 | 3588 |
| 3488 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { | 3589 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { |
| 3489 buildCounterOrdersShipLineItemsRequest++; | 3590 buildCounterOrdersShipLineItemsRequest++; |
| 3490 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3591 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3491 unittest.expect(o.carrier, unittest.equals('foo')); | 3592 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3492 checkUnnamed570(o.lineItems); | 3593 checkUnnamed784(o.lineItems); |
| 3493 unittest.expect(o.operationId, unittest.equals('foo')); | 3594 unittest.expect(o.operationId, unittest.equals('foo')); |
| 3494 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3595 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3495 unittest.expect(o.trackingId, unittest.equals('foo')); | 3596 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3496 } | 3597 } |
| 3497 buildCounterOrdersShipLineItemsRequest--; | 3598 buildCounterOrdersShipLineItemsRequest--; |
| 3498 } | 3599 } |
| 3499 | 3600 |
| 3500 core.int buildCounterOrdersShipLineItemsResponse = 0; | 3601 core.int buildCounterOrdersShipLineItemsResponse = 0; |
| 3501 buildOrdersShipLineItemsResponse() { | 3602 buildOrdersShipLineItemsResponse() { |
| 3502 var o = new api.OrdersShipLineItemsResponse(); | 3603 var o = new api.OrdersShipLineItemsResponse(); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3622 | 3723 |
| 3623 checkPrice(api.Price o) { | 3724 checkPrice(api.Price o) { |
| 3624 buildCounterPrice++; | 3725 buildCounterPrice++; |
| 3625 if (buildCounterPrice < 3) { | 3726 if (buildCounterPrice < 3) { |
| 3626 unittest.expect(o.currency, unittest.equals('foo')); | 3727 unittest.expect(o.currency, unittest.equals('foo')); |
| 3627 unittest.expect(o.value, unittest.equals('foo')); | 3728 unittest.expect(o.value, unittest.equals('foo')); |
| 3628 } | 3729 } |
| 3629 buildCounterPrice--; | 3730 buildCounterPrice--; |
| 3630 } | 3731 } |
| 3631 | 3732 |
| 3632 buildUnnamed571() { | 3733 buildUnnamed785() { |
| 3633 var o = new core.List<core.String>(); | 3734 var o = new core.List<core.String>(); |
| 3634 o.add("foo"); | 3735 o.add("foo"); |
| 3635 o.add("foo"); | 3736 o.add("foo"); |
| 3636 return o; | 3737 return o; |
| 3637 } | 3738 } |
| 3638 | 3739 |
| 3639 checkUnnamed571(core.List<core.String> o) { | 3740 checkUnnamed785(core.List<core.String> o) { |
| 3640 unittest.expect(o, unittest.hasLength(2)); | 3741 unittest.expect(o, unittest.hasLength(2)); |
| 3641 unittest.expect(o[0], unittest.equals('foo')); | 3742 unittest.expect(o[0], unittest.equals('foo')); |
| 3642 unittest.expect(o[1], unittest.equals('foo')); | 3743 unittest.expect(o[1], unittest.equals('foo')); |
| 3643 } | 3744 } |
| 3644 | 3745 |
| 3645 buildUnnamed572() { | 3746 buildUnnamed786() { |
| 3646 var o = new core.List<core.String>(); | 3747 var o = new core.List<core.String>(); |
| 3647 o.add("foo"); | 3748 o.add("foo"); |
| 3648 o.add("foo"); | 3749 o.add("foo"); |
| 3649 return o; | 3750 return o; |
| 3650 } | 3751 } |
| 3651 | 3752 |
| 3652 checkUnnamed572(core.List<core.String> o) { | 3753 checkUnnamed786(core.List<core.String> o) { |
| 3653 unittest.expect(o, unittest.hasLength(2)); | 3754 unittest.expect(o, unittest.hasLength(2)); |
| 3654 unittest.expect(o[0], unittest.equals('foo')); | 3755 unittest.expect(o[0], unittest.equals('foo')); |
| 3655 unittest.expect(o[1], unittest.equals('foo')); | 3756 unittest.expect(o[1], unittest.equals('foo')); |
| 3656 } | 3757 } |
| 3657 | 3758 |
| 3658 buildUnnamed573() { | 3759 buildUnnamed787() { |
| 3659 var o = new core.List<api.ProductAspect>(); | 3760 var o = new core.List<api.ProductAspect>(); |
| 3660 o.add(buildProductAspect()); | 3761 o.add(buildProductAspect()); |
| 3661 o.add(buildProductAspect()); | 3762 o.add(buildProductAspect()); |
| 3662 return o; | 3763 return o; |
| 3663 } | 3764 } |
| 3664 | 3765 |
| 3665 checkUnnamed573(core.List<api.ProductAspect> o) { | 3766 checkUnnamed787(core.List<api.ProductAspect> o) { |
| 3666 unittest.expect(o, unittest.hasLength(2)); | 3767 unittest.expect(o, unittest.hasLength(2)); |
| 3667 checkProductAspect(o[0]); | 3768 checkProductAspect(o[0]); |
| 3668 checkProductAspect(o[1]); | 3769 checkProductAspect(o[1]); |
| 3669 } | 3770 } |
| 3670 | 3771 |
| 3671 buildUnnamed574() { | 3772 buildUnnamed788() { |
| 3672 var o = new core.List<api.ProductCustomAttribute>(); | 3773 var o = new core.List<api.ProductCustomAttribute>(); |
| 3673 o.add(buildProductCustomAttribute()); | 3774 o.add(buildProductCustomAttribute()); |
| 3674 o.add(buildProductCustomAttribute()); | 3775 o.add(buildProductCustomAttribute()); |
| 3675 return o; | 3776 return o; |
| 3676 } | 3777 } |
| 3677 | 3778 |
| 3678 checkUnnamed574(core.List<api.ProductCustomAttribute> o) { | 3779 checkUnnamed788(core.List<api.ProductCustomAttribute> o) { |
| 3679 unittest.expect(o, unittest.hasLength(2)); | 3780 unittest.expect(o, unittest.hasLength(2)); |
| 3680 checkProductCustomAttribute(o[0]); | 3781 checkProductCustomAttribute(o[0]); |
| 3681 checkProductCustomAttribute(o[1]); | 3782 checkProductCustomAttribute(o[1]); |
| 3682 } | 3783 } |
| 3683 | 3784 |
| 3684 buildUnnamed575() { | 3785 buildUnnamed789() { |
| 3685 var o = new core.List<api.ProductCustomGroup>(); | 3786 var o = new core.List<api.ProductCustomGroup>(); |
| 3686 o.add(buildProductCustomGroup()); | 3787 o.add(buildProductCustomGroup()); |
| 3687 o.add(buildProductCustomGroup()); | 3788 o.add(buildProductCustomGroup()); |
| 3688 return o; | 3789 return o; |
| 3689 } | 3790 } |
| 3690 | 3791 |
| 3691 checkUnnamed575(core.List<api.ProductCustomGroup> o) { | 3792 checkUnnamed789(core.List<api.ProductCustomGroup> o) { |
| 3692 unittest.expect(o, unittest.hasLength(2)); | 3793 unittest.expect(o, unittest.hasLength(2)); |
| 3693 checkProductCustomGroup(o[0]); | 3794 checkProductCustomGroup(o[0]); |
| 3694 checkProductCustomGroup(o[1]); | 3795 checkProductCustomGroup(o[1]); |
| 3695 } | 3796 } |
| 3696 | 3797 |
| 3697 buildUnnamed576() { | 3798 buildUnnamed790() { |
| 3698 var o = new core.List<api.ProductDestination>(); | 3799 var o = new core.List<api.ProductDestination>(); |
| 3699 o.add(buildProductDestination()); | 3800 o.add(buildProductDestination()); |
| 3700 o.add(buildProductDestination()); | 3801 o.add(buildProductDestination()); |
| 3701 return o; | 3802 return o; |
| 3702 } | 3803 } |
| 3703 | 3804 |
| 3704 checkUnnamed576(core.List<api.ProductDestination> o) { | 3805 checkUnnamed790(core.List<api.ProductDestination> o) { |
| 3705 unittest.expect(o, unittest.hasLength(2)); | 3806 unittest.expect(o, unittest.hasLength(2)); |
| 3706 checkProductDestination(o[0]); | 3807 checkProductDestination(o[0]); |
| 3707 checkProductDestination(o[1]); | 3808 checkProductDestination(o[1]); |
| 3708 } | 3809 } |
| 3709 | 3810 |
| 3710 buildUnnamed577() { | 3811 buildUnnamed791() { |
| 3711 var o = new core.List<core.String>(); | 3812 var o = new core.List<core.String>(); |
| 3712 o.add("foo"); | 3813 o.add("foo"); |
| 3713 o.add("foo"); | 3814 o.add("foo"); |
| 3714 return o; | 3815 return o; |
| 3715 } | 3816 } |
| 3716 | 3817 |
| 3717 checkUnnamed577(core.List<core.String> o) { | 3818 checkUnnamed791(core.List<core.String> o) { |
| 3718 unittest.expect(o, unittest.hasLength(2)); | 3819 unittest.expect(o, unittest.hasLength(2)); |
| 3719 unittest.expect(o[0], unittest.equals('foo')); | 3820 unittest.expect(o[0], unittest.equals('foo')); |
| 3720 unittest.expect(o[1], unittest.equals('foo')); | 3821 unittest.expect(o[1], unittest.equals('foo')); |
| 3721 } | 3822 } |
| 3722 | 3823 |
| 3723 buildUnnamed578() { | 3824 buildUnnamed792() { |
| 3825 var o = new core.List<core.String>(); |
| 3826 o.add("foo"); |
| 3827 o.add("foo"); |
| 3828 return o; |
| 3829 } |
| 3830 |
| 3831 checkUnnamed792(core.List<core.String> o) { |
| 3832 unittest.expect(o, unittest.hasLength(2)); |
| 3833 unittest.expect(o[0], unittest.equals('foo')); |
| 3834 unittest.expect(o[1], unittest.equals('foo')); |
| 3835 } |
| 3836 |
| 3837 buildUnnamed793() { |
| 3724 var o = new core.List<api.ProductShipping>(); | 3838 var o = new core.List<api.ProductShipping>(); |
| 3725 o.add(buildProductShipping()); | 3839 o.add(buildProductShipping()); |
| 3726 o.add(buildProductShipping()); | 3840 o.add(buildProductShipping()); |
| 3727 return o; | 3841 return o; |
| 3728 } | 3842 } |
| 3729 | 3843 |
| 3730 checkUnnamed578(core.List<api.ProductShipping> o) { | 3844 checkUnnamed793(core.List<api.ProductShipping> o) { |
| 3731 unittest.expect(o, unittest.hasLength(2)); | 3845 unittest.expect(o, unittest.hasLength(2)); |
| 3732 checkProductShipping(o[0]); | 3846 checkProductShipping(o[0]); |
| 3733 checkProductShipping(o[1]); | 3847 checkProductShipping(o[1]); |
| 3734 } | 3848 } |
| 3735 | 3849 |
| 3736 buildUnnamed579() { | 3850 buildUnnamed794() { |
| 3737 var o = new core.List<core.String>(); | 3851 var o = new core.List<core.String>(); |
| 3738 o.add("foo"); | 3852 o.add("foo"); |
| 3739 o.add("foo"); | 3853 o.add("foo"); |
| 3740 return o; | 3854 return o; |
| 3741 } | 3855 } |
| 3742 | 3856 |
| 3743 checkUnnamed579(core.List<core.String> o) { | 3857 checkUnnamed794(core.List<core.String> o) { |
| 3744 unittest.expect(o, unittest.hasLength(2)); | 3858 unittest.expect(o, unittest.hasLength(2)); |
| 3745 unittest.expect(o[0], unittest.equals('foo')); | 3859 unittest.expect(o[0], unittest.equals('foo')); |
| 3746 unittest.expect(o[1], unittest.equals('foo')); | 3860 unittest.expect(o[1], unittest.equals('foo')); |
| 3747 } | 3861 } |
| 3748 | 3862 |
| 3749 buildUnnamed580() { | 3863 buildUnnamed795() { |
| 3750 var o = new core.List<api.ProductTax>(); | 3864 var o = new core.List<api.ProductTax>(); |
| 3751 o.add(buildProductTax()); | 3865 o.add(buildProductTax()); |
| 3752 o.add(buildProductTax()); | 3866 o.add(buildProductTax()); |
| 3753 return o; | 3867 return o; |
| 3754 } | 3868 } |
| 3755 | 3869 |
| 3756 checkUnnamed580(core.List<api.ProductTax> o) { | 3870 checkUnnamed795(core.List<api.ProductTax> o) { |
| 3757 unittest.expect(o, unittest.hasLength(2)); | 3871 unittest.expect(o, unittest.hasLength(2)); |
| 3758 checkProductTax(o[0]); | 3872 checkProductTax(o[0]); |
| 3759 checkProductTax(o[1]); | 3873 checkProductTax(o[1]); |
| 3760 } | 3874 } |
| 3761 | 3875 |
| 3762 buildUnnamed581() { | 3876 buildUnnamed796() { |
| 3763 var o = new core.List<core.String>(); | 3877 var o = new core.List<core.String>(); |
| 3764 o.add("foo"); | 3878 o.add("foo"); |
| 3765 o.add("foo"); | 3879 o.add("foo"); |
| 3766 return o; | 3880 return o; |
| 3767 } | 3881 } |
| 3768 | 3882 |
| 3769 checkUnnamed581(core.List<core.String> o) { | 3883 checkUnnamed796(core.List<core.String> o) { |
| 3770 unittest.expect(o, unittest.hasLength(2)); | 3884 unittest.expect(o, unittest.hasLength(2)); |
| 3771 unittest.expect(o[0], unittest.equals('foo')); | 3885 unittest.expect(o[0], unittest.equals('foo')); |
| 3772 unittest.expect(o[1], unittest.equals('foo')); | 3886 unittest.expect(o[1], unittest.equals('foo')); |
| 3773 } | 3887 } |
| 3774 | 3888 |
| 3775 buildUnnamed582() { | 3889 buildUnnamed797() { |
| 3776 var o = new core.List<api.Error>(); | 3890 var o = new core.List<api.Error>(); |
| 3777 o.add(buildError()); | 3891 o.add(buildError()); |
| 3778 o.add(buildError()); | 3892 o.add(buildError()); |
| 3779 return o; | 3893 return o; |
| 3780 } | 3894 } |
| 3781 | 3895 |
| 3782 checkUnnamed582(core.List<api.Error> o) { | 3896 checkUnnamed797(core.List<api.Error> o) { |
| 3783 unittest.expect(o, unittest.hasLength(2)); | 3897 unittest.expect(o, unittest.hasLength(2)); |
| 3784 checkError(o[0]); | 3898 checkError(o[0]); |
| 3785 checkError(o[1]); | 3899 checkError(o[1]); |
| 3786 } | 3900 } |
| 3787 | 3901 |
| 3788 core.int buildCounterProduct = 0; | 3902 core.int buildCounterProduct = 0; |
| 3789 buildProduct() { | 3903 buildProduct() { |
| 3790 var o = new api.Product(); | 3904 var o = new api.Product(); |
| 3791 buildCounterProduct++; | 3905 buildCounterProduct++; |
| 3792 if (buildCounterProduct < 3) { | 3906 if (buildCounterProduct < 3) { |
| 3793 o.additionalImageLinks = buildUnnamed571(); | 3907 o.additionalImageLinks = buildUnnamed785(); |
| 3794 o.adult = true; | 3908 o.adult = true; |
| 3795 o.adwordsGrouping = "foo"; | 3909 o.adwordsGrouping = "foo"; |
| 3796 o.adwordsLabels = buildUnnamed572(); | 3910 o.adwordsLabels = buildUnnamed786(); |
| 3797 o.adwordsRedirect = "foo"; | 3911 o.adwordsRedirect = "foo"; |
| 3798 o.ageGroup = "foo"; | 3912 o.ageGroup = "foo"; |
| 3799 o.aspects = buildUnnamed573(); | 3913 o.aspects = buildUnnamed787(); |
| 3800 o.availability = "foo"; | 3914 o.availability = "foo"; |
| 3801 o.availabilityDate = "foo"; | 3915 o.availabilityDate = "foo"; |
| 3802 o.brand = "foo"; | 3916 o.brand = "foo"; |
| 3803 o.channel = "foo"; | 3917 o.channel = "foo"; |
| 3804 o.color = "foo"; | 3918 o.color = "foo"; |
| 3805 o.condition = "foo"; | 3919 o.condition = "foo"; |
| 3806 o.contentLanguage = "foo"; | 3920 o.contentLanguage = "foo"; |
| 3807 o.customAttributes = buildUnnamed574(); | 3921 o.customAttributes = buildUnnamed788(); |
| 3808 o.customGroups = buildUnnamed575(); | 3922 o.customGroups = buildUnnamed789(); |
| 3809 o.customLabel0 = "foo"; | 3923 o.customLabel0 = "foo"; |
| 3810 o.customLabel1 = "foo"; | 3924 o.customLabel1 = "foo"; |
| 3811 o.customLabel2 = "foo"; | 3925 o.customLabel2 = "foo"; |
| 3812 o.customLabel3 = "foo"; | 3926 o.customLabel3 = "foo"; |
| 3813 o.customLabel4 = "foo"; | 3927 o.customLabel4 = "foo"; |
| 3814 o.description = "foo"; | 3928 o.description = "foo"; |
| 3815 o.destinations = buildUnnamed576(); | 3929 o.destinations = buildUnnamed790(); |
| 3816 o.displayAdsId = "foo"; | 3930 o.displayAdsId = "foo"; |
| 3817 o.displayAdsLink = "foo"; | 3931 o.displayAdsLink = "foo"; |
| 3818 o.displayAdsSimilarIds = buildUnnamed577(); | 3932 o.displayAdsSimilarIds = buildUnnamed791(); |
| 3819 o.displayAdsTitle = "foo"; | 3933 o.displayAdsTitle = "foo"; |
| 3820 o.displayAdsValue = 42.0; | 3934 o.displayAdsValue = 42.0; |
| 3821 o.energyEfficiencyClass = "foo"; | 3935 o.energyEfficiencyClass = "foo"; |
| 3822 o.expirationDate = "foo"; | 3936 o.expirationDate = "foo"; |
| 3823 o.gender = "foo"; | 3937 o.gender = "foo"; |
| 3824 o.googleProductCategory = "foo"; | 3938 o.googleProductCategory = "foo"; |
| 3825 o.gtin = "foo"; | 3939 o.gtin = "foo"; |
| 3826 o.id = "foo"; | 3940 o.id = "foo"; |
| 3827 o.identifierExists = true; | 3941 o.identifierExists = true; |
| 3828 o.imageLink = "foo"; | 3942 o.imageLink = "foo"; |
| 3829 o.installment = buildInstallment(); | 3943 o.installment = buildInstallment(); |
| 3830 o.isBundle = true; | 3944 o.isBundle = true; |
| 3831 o.itemGroupId = "foo"; | 3945 o.itemGroupId = "foo"; |
| 3832 o.kind = "foo"; | 3946 o.kind = "foo"; |
| 3833 o.link = "foo"; | 3947 o.link = "foo"; |
| 3834 o.loyaltyPoints = buildLoyaltyPoints(); | 3948 o.loyaltyPoints = buildLoyaltyPoints(); |
| 3835 o.material = "foo"; | 3949 o.material = "foo"; |
| 3836 o.mobileLink = "foo"; | 3950 o.mobileLink = "foo"; |
| 3837 o.mpn = "foo"; | 3951 o.mpn = "foo"; |
| 3838 o.multipack = "foo"; | 3952 o.multipack = "foo"; |
| 3839 o.offerId = "foo"; | 3953 o.offerId = "foo"; |
| 3840 o.onlineOnly = true; | 3954 o.onlineOnly = true; |
| 3841 o.pattern = "foo"; | 3955 o.pattern = "foo"; |
| 3842 o.price = buildPrice(); | 3956 o.price = buildPrice(); |
| 3843 o.productType = "foo"; | 3957 o.productType = "foo"; |
| 3958 o.promotionIds = buildUnnamed792(); |
| 3844 o.salePrice = buildPrice(); | 3959 o.salePrice = buildPrice(); |
| 3845 o.salePriceEffectiveDate = "foo"; | 3960 o.salePriceEffectiveDate = "foo"; |
| 3846 o.sellOnGoogleQuantity = "foo"; | 3961 o.sellOnGoogleQuantity = "foo"; |
| 3847 o.shipping = buildUnnamed578(); | 3962 o.shipping = buildUnnamed793(); |
| 3848 o.shippingHeight = buildProductShippingDimension(); | 3963 o.shippingHeight = buildProductShippingDimension(); |
| 3849 o.shippingLabel = "foo"; | 3964 o.shippingLabel = "foo"; |
| 3850 o.shippingLength = buildProductShippingDimension(); | 3965 o.shippingLength = buildProductShippingDimension(); |
| 3851 o.shippingWeight = buildProductShippingWeight(); | 3966 o.shippingWeight = buildProductShippingWeight(); |
| 3852 o.shippingWidth = buildProductShippingDimension(); | 3967 o.shippingWidth = buildProductShippingDimension(); |
| 3853 o.sizeSystem = "foo"; | 3968 o.sizeSystem = "foo"; |
| 3854 o.sizeType = "foo"; | 3969 o.sizeType = "foo"; |
| 3855 o.sizes = buildUnnamed579(); | 3970 o.sizes = buildUnnamed794(); |
| 3856 o.targetCountry = "foo"; | 3971 o.targetCountry = "foo"; |
| 3857 o.taxes = buildUnnamed580(); | 3972 o.taxes = buildUnnamed795(); |
| 3858 o.title = "foo"; | 3973 o.title = "foo"; |
| 3859 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 3974 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
| 3860 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 3975 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
| 3861 o.validatedDestinations = buildUnnamed581(); | 3976 o.validatedDestinations = buildUnnamed796(); |
| 3862 o.warnings = buildUnnamed582(); | 3977 o.warnings = buildUnnamed797(); |
| 3863 } | 3978 } |
| 3864 buildCounterProduct--; | 3979 buildCounterProduct--; |
| 3865 return o; | 3980 return o; |
| 3866 } | 3981 } |
| 3867 | 3982 |
| 3868 checkProduct(api.Product o) { | 3983 checkProduct(api.Product o) { |
| 3869 buildCounterProduct++; | 3984 buildCounterProduct++; |
| 3870 if (buildCounterProduct < 3) { | 3985 if (buildCounterProduct < 3) { |
| 3871 checkUnnamed571(o.additionalImageLinks); | 3986 checkUnnamed785(o.additionalImageLinks); |
| 3872 unittest.expect(o.adult, unittest.isTrue); | 3987 unittest.expect(o.adult, unittest.isTrue); |
| 3873 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 3988 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
| 3874 checkUnnamed572(o.adwordsLabels); | 3989 checkUnnamed786(o.adwordsLabels); |
| 3875 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 3990 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
| 3876 unittest.expect(o.ageGroup, unittest.equals('foo')); | 3991 unittest.expect(o.ageGroup, unittest.equals('foo')); |
| 3877 checkUnnamed573(o.aspects); | 3992 checkUnnamed787(o.aspects); |
| 3878 unittest.expect(o.availability, unittest.equals('foo')); | 3993 unittest.expect(o.availability, unittest.equals('foo')); |
| 3879 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 3994 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
| 3880 unittest.expect(o.brand, unittest.equals('foo')); | 3995 unittest.expect(o.brand, unittest.equals('foo')); |
| 3881 unittest.expect(o.channel, unittest.equals('foo')); | 3996 unittest.expect(o.channel, unittest.equals('foo')); |
| 3882 unittest.expect(o.color, unittest.equals('foo')); | 3997 unittest.expect(o.color, unittest.equals('foo')); |
| 3883 unittest.expect(o.condition, unittest.equals('foo')); | 3998 unittest.expect(o.condition, unittest.equals('foo')); |
| 3884 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 3999 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 3885 checkUnnamed574(o.customAttributes); | 4000 checkUnnamed788(o.customAttributes); |
| 3886 checkUnnamed575(o.customGroups); | 4001 checkUnnamed789(o.customGroups); |
| 3887 unittest.expect(o.customLabel0, unittest.equals('foo')); | 4002 unittest.expect(o.customLabel0, unittest.equals('foo')); |
| 3888 unittest.expect(o.customLabel1, unittest.equals('foo')); | 4003 unittest.expect(o.customLabel1, unittest.equals('foo')); |
| 3889 unittest.expect(o.customLabel2, unittest.equals('foo')); | 4004 unittest.expect(o.customLabel2, unittest.equals('foo')); |
| 3890 unittest.expect(o.customLabel3, unittest.equals('foo')); | 4005 unittest.expect(o.customLabel3, unittest.equals('foo')); |
| 3891 unittest.expect(o.customLabel4, unittest.equals('foo')); | 4006 unittest.expect(o.customLabel4, unittest.equals('foo')); |
| 3892 unittest.expect(o.description, unittest.equals('foo')); | 4007 unittest.expect(o.description, unittest.equals('foo')); |
| 3893 checkUnnamed576(o.destinations); | 4008 checkUnnamed790(o.destinations); |
| 3894 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 4009 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
| 3895 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 4010 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
| 3896 checkUnnamed577(o.displayAdsSimilarIds); | 4011 checkUnnamed791(o.displayAdsSimilarIds); |
| 3897 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 4012 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
| 3898 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 4013 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
| 3899 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 4014 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
| 3900 unittest.expect(o.expirationDate, unittest.equals('foo')); | 4015 unittest.expect(o.expirationDate, unittest.equals('foo')); |
| 3901 unittest.expect(o.gender, unittest.equals('foo')); | 4016 unittest.expect(o.gender, unittest.equals('foo')); |
| 3902 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 4017 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
| 3903 unittest.expect(o.gtin, unittest.equals('foo')); | 4018 unittest.expect(o.gtin, unittest.equals('foo')); |
| 3904 unittest.expect(o.id, unittest.equals('foo')); | 4019 unittest.expect(o.id, unittest.equals('foo')); |
| 3905 unittest.expect(o.identifierExists, unittest.isTrue); | 4020 unittest.expect(o.identifierExists, unittest.isTrue); |
| 3906 unittest.expect(o.imageLink, unittest.equals('foo')); | 4021 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 3907 checkInstallment(o.installment); | 4022 checkInstallment(o.installment); |
| 3908 unittest.expect(o.isBundle, unittest.isTrue); | 4023 unittest.expect(o.isBundle, unittest.isTrue); |
| 3909 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4024 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 3910 unittest.expect(o.kind, unittest.equals('foo')); | 4025 unittest.expect(o.kind, unittest.equals('foo')); |
| 3911 unittest.expect(o.link, unittest.equals('foo')); | 4026 unittest.expect(o.link, unittest.equals('foo')); |
| 3912 checkLoyaltyPoints(o.loyaltyPoints); | 4027 checkLoyaltyPoints(o.loyaltyPoints); |
| 3913 unittest.expect(o.material, unittest.equals('foo')); | 4028 unittest.expect(o.material, unittest.equals('foo')); |
| 3914 unittest.expect(o.mobileLink, unittest.equals('foo')); | 4029 unittest.expect(o.mobileLink, unittest.equals('foo')); |
| 3915 unittest.expect(o.mpn, unittest.equals('foo')); | 4030 unittest.expect(o.mpn, unittest.equals('foo')); |
| 3916 unittest.expect(o.multipack, unittest.equals('foo')); | 4031 unittest.expect(o.multipack, unittest.equals('foo')); |
| 3917 unittest.expect(o.offerId, unittest.equals('foo')); | 4032 unittest.expect(o.offerId, unittest.equals('foo')); |
| 3918 unittest.expect(o.onlineOnly, unittest.isTrue); | 4033 unittest.expect(o.onlineOnly, unittest.isTrue); |
| 3919 unittest.expect(o.pattern, unittest.equals('foo')); | 4034 unittest.expect(o.pattern, unittest.equals('foo')); |
| 3920 checkPrice(o.price); | 4035 checkPrice(o.price); |
| 3921 unittest.expect(o.productType, unittest.equals('foo')); | 4036 unittest.expect(o.productType, unittest.equals('foo')); |
| 4037 checkUnnamed792(o.promotionIds); |
| 3922 checkPrice(o.salePrice); | 4038 checkPrice(o.salePrice); |
| 3923 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 4039 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 3924 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); | 4040 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); |
| 3925 checkUnnamed578(o.shipping); | 4041 checkUnnamed793(o.shipping); |
| 3926 checkProductShippingDimension(o.shippingHeight); | 4042 checkProductShippingDimension(o.shippingHeight); |
| 3927 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 4043 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
| 3928 checkProductShippingDimension(o.shippingLength); | 4044 checkProductShippingDimension(o.shippingLength); |
| 3929 checkProductShippingWeight(o.shippingWeight); | 4045 checkProductShippingWeight(o.shippingWeight); |
| 3930 checkProductShippingDimension(o.shippingWidth); | 4046 checkProductShippingDimension(o.shippingWidth); |
| 3931 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 4047 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
| 3932 unittest.expect(o.sizeType, unittest.equals('foo')); | 4048 unittest.expect(o.sizeType, unittest.equals('foo')); |
| 3933 checkUnnamed579(o.sizes); | 4049 checkUnnamed794(o.sizes); |
| 3934 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4050 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 3935 checkUnnamed580(o.taxes); | 4051 checkUnnamed795(o.taxes); |
| 3936 unittest.expect(o.title, unittest.equals('foo')); | 4052 unittest.expect(o.title, unittest.equals('foo')); |
| 3937 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 4053 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
| 3938 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 4054 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
| 3939 checkUnnamed581(o.validatedDestinations); | 4055 checkUnnamed796(o.validatedDestinations); |
| 3940 checkUnnamed582(o.warnings); | 4056 checkUnnamed797(o.warnings); |
| 3941 } | 4057 } |
| 3942 buildCounterProduct--; | 4058 buildCounterProduct--; |
| 3943 } | 4059 } |
| 3944 | 4060 |
| 3945 core.int buildCounterProductAspect = 0; | 4061 core.int buildCounterProductAspect = 0; |
| 3946 buildProductAspect() { | 4062 buildProductAspect() { |
| 3947 var o = new api.ProductAspect(); | 4063 var o = new api.ProductAspect(); |
| 3948 buildCounterProductAspect++; | 4064 buildCounterProductAspect++; |
| 3949 if (buildCounterProductAspect < 3) { | 4065 if (buildCounterProductAspect < 3) { |
| 3950 o.aspectName = "foo"; | 4066 o.aspectName = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3983 buildCounterProductCustomAttribute++; | 4099 buildCounterProductCustomAttribute++; |
| 3984 if (buildCounterProductCustomAttribute < 3) { | 4100 if (buildCounterProductCustomAttribute < 3) { |
| 3985 unittest.expect(o.name, unittest.equals('foo')); | 4101 unittest.expect(o.name, unittest.equals('foo')); |
| 3986 unittest.expect(o.type, unittest.equals('foo')); | 4102 unittest.expect(o.type, unittest.equals('foo')); |
| 3987 unittest.expect(o.unit, unittest.equals('foo')); | 4103 unittest.expect(o.unit, unittest.equals('foo')); |
| 3988 unittest.expect(o.value, unittest.equals('foo')); | 4104 unittest.expect(o.value, unittest.equals('foo')); |
| 3989 } | 4105 } |
| 3990 buildCounterProductCustomAttribute--; | 4106 buildCounterProductCustomAttribute--; |
| 3991 } | 4107 } |
| 3992 | 4108 |
| 3993 buildUnnamed583() { | 4109 buildUnnamed798() { |
| 3994 var o = new core.List<api.ProductCustomAttribute>(); | 4110 var o = new core.List<api.ProductCustomAttribute>(); |
| 3995 o.add(buildProductCustomAttribute()); | 4111 o.add(buildProductCustomAttribute()); |
| 3996 o.add(buildProductCustomAttribute()); | 4112 o.add(buildProductCustomAttribute()); |
| 3997 return o; | 4113 return o; |
| 3998 } | 4114 } |
| 3999 | 4115 |
| 4000 checkUnnamed583(core.List<api.ProductCustomAttribute> o) { | 4116 checkUnnamed798(core.List<api.ProductCustomAttribute> o) { |
| 4001 unittest.expect(o, unittest.hasLength(2)); | 4117 unittest.expect(o, unittest.hasLength(2)); |
| 4002 checkProductCustomAttribute(o[0]); | 4118 checkProductCustomAttribute(o[0]); |
| 4003 checkProductCustomAttribute(o[1]); | 4119 checkProductCustomAttribute(o[1]); |
| 4004 } | 4120 } |
| 4005 | 4121 |
| 4006 core.int buildCounterProductCustomGroup = 0; | 4122 core.int buildCounterProductCustomGroup = 0; |
| 4007 buildProductCustomGroup() { | 4123 buildProductCustomGroup() { |
| 4008 var o = new api.ProductCustomGroup(); | 4124 var o = new api.ProductCustomGroup(); |
| 4009 buildCounterProductCustomGroup++; | 4125 buildCounterProductCustomGroup++; |
| 4010 if (buildCounterProductCustomGroup < 3) { | 4126 if (buildCounterProductCustomGroup < 3) { |
| 4011 o.attributes = buildUnnamed583(); | 4127 o.attributes = buildUnnamed798(); |
| 4012 o.name = "foo"; | 4128 o.name = "foo"; |
| 4013 } | 4129 } |
| 4014 buildCounterProductCustomGroup--; | 4130 buildCounterProductCustomGroup--; |
| 4015 return o; | 4131 return o; |
| 4016 } | 4132 } |
| 4017 | 4133 |
| 4018 checkProductCustomGroup(api.ProductCustomGroup o) { | 4134 checkProductCustomGroup(api.ProductCustomGroup o) { |
| 4019 buildCounterProductCustomGroup++; | 4135 buildCounterProductCustomGroup++; |
| 4020 if (buildCounterProductCustomGroup < 3) { | 4136 if (buildCounterProductCustomGroup < 3) { |
| 4021 checkUnnamed583(o.attributes); | 4137 checkUnnamed798(o.attributes); |
| 4022 unittest.expect(o.name, unittest.equals('foo')); | 4138 unittest.expect(o.name, unittest.equals('foo')); |
| 4023 } | 4139 } |
| 4024 buildCounterProductCustomGroup--; | 4140 buildCounterProductCustomGroup--; |
| 4025 } | 4141 } |
| 4026 | 4142 |
| 4027 core.int buildCounterProductDestination = 0; | 4143 core.int buildCounterProductDestination = 0; |
| 4028 buildProductDestination() { | 4144 buildProductDestination() { |
| 4029 var o = new api.ProductDestination(); | 4145 var o = new api.ProductDestination(); |
| 4030 buildCounterProductDestination++; | 4146 buildCounterProductDestination++; |
| 4031 if (buildCounterProductDestination < 3) { | 4147 if (buildCounterProductDestination < 3) { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4111 | 4227 |
| 4112 checkProductShippingWeight(api.ProductShippingWeight o) { | 4228 checkProductShippingWeight(api.ProductShippingWeight o) { |
| 4113 buildCounterProductShippingWeight++; | 4229 buildCounterProductShippingWeight++; |
| 4114 if (buildCounterProductShippingWeight < 3) { | 4230 if (buildCounterProductShippingWeight < 3) { |
| 4115 unittest.expect(o.unit, unittest.equals('foo')); | 4231 unittest.expect(o.unit, unittest.equals('foo')); |
| 4116 unittest.expect(o.value, unittest.equals(42.0)); | 4232 unittest.expect(o.value, unittest.equals(42.0)); |
| 4117 } | 4233 } |
| 4118 buildCounterProductShippingWeight--; | 4234 buildCounterProductShippingWeight--; |
| 4119 } | 4235 } |
| 4120 | 4236 |
| 4121 buildUnnamed584() { | 4237 buildUnnamed799() { |
| 4122 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 4238 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
| 4123 o.add(buildProductStatusDataQualityIssue()); | 4239 o.add(buildProductStatusDataQualityIssue()); |
| 4124 o.add(buildProductStatusDataQualityIssue()); | 4240 o.add(buildProductStatusDataQualityIssue()); |
| 4125 return o; | 4241 return o; |
| 4126 } | 4242 } |
| 4127 | 4243 |
| 4128 checkUnnamed584(core.List<api.ProductStatusDataQualityIssue> o) { | 4244 checkUnnamed799(core.List<api.ProductStatusDataQualityIssue> o) { |
| 4129 unittest.expect(o, unittest.hasLength(2)); | 4245 unittest.expect(o, unittest.hasLength(2)); |
| 4130 checkProductStatusDataQualityIssue(o[0]); | 4246 checkProductStatusDataQualityIssue(o[0]); |
| 4131 checkProductStatusDataQualityIssue(o[1]); | 4247 checkProductStatusDataQualityIssue(o[1]); |
| 4132 } | 4248 } |
| 4133 | 4249 |
| 4134 buildUnnamed585() { | 4250 buildUnnamed800() { |
| 4135 var o = new core.List<api.ProductStatusDestinationStatus>(); | 4251 var o = new core.List<api.ProductStatusDestinationStatus>(); |
| 4136 o.add(buildProductStatusDestinationStatus()); | 4252 o.add(buildProductStatusDestinationStatus()); |
| 4137 o.add(buildProductStatusDestinationStatus()); | 4253 o.add(buildProductStatusDestinationStatus()); |
| 4138 return o; | 4254 return o; |
| 4139 } | 4255 } |
| 4140 | 4256 |
| 4141 checkUnnamed585(core.List<api.ProductStatusDestinationStatus> o) { | 4257 checkUnnamed800(core.List<api.ProductStatusDestinationStatus> o) { |
| 4142 unittest.expect(o, unittest.hasLength(2)); | 4258 unittest.expect(o, unittest.hasLength(2)); |
| 4143 checkProductStatusDestinationStatus(o[0]); | 4259 checkProductStatusDestinationStatus(o[0]); |
| 4144 checkProductStatusDestinationStatus(o[1]); | 4260 checkProductStatusDestinationStatus(o[1]); |
| 4145 } | 4261 } |
| 4146 | 4262 |
| 4147 core.int buildCounterProductStatus = 0; | 4263 core.int buildCounterProductStatus = 0; |
| 4148 buildProductStatus() { | 4264 buildProductStatus() { |
| 4149 var o = new api.ProductStatus(); | 4265 var o = new api.ProductStatus(); |
| 4150 buildCounterProductStatus++; | 4266 buildCounterProductStatus++; |
| 4151 if (buildCounterProductStatus < 3) { | 4267 if (buildCounterProductStatus < 3) { |
| 4152 o.creationDate = "foo"; | 4268 o.creationDate = "foo"; |
| 4153 o.dataQualityIssues = buildUnnamed584(); | 4269 o.dataQualityIssues = buildUnnamed799(); |
| 4154 o.destinationStatuses = buildUnnamed585(); | 4270 o.destinationStatuses = buildUnnamed800(); |
| 4155 o.googleExpirationDate = "foo"; | 4271 o.googleExpirationDate = "foo"; |
| 4156 o.kind = "foo"; | 4272 o.kind = "foo"; |
| 4157 o.lastUpdateDate = "foo"; | 4273 o.lastUpdateDate = "foo"; |
| 4158 o.link = "foo"; | 4274 o.link = "foo"; |
| 4159 o.productId = "foo"; | 4275 o.productId = "foo"; |
| 4160 o.title = "foo"; | 4276 o.title = "foo"; |
| 4161 } | 4277 } |
| 4162 buildCounterProductStatus--; | 4278 buildCounterProductStatus--; |
| 4163 return o; | 4279 return o; |
| 4164 } | 4280 } |
| 4165 | 4281 |
| 4166 checkProductStatus(api.ProductStatus o) { | 4282 checkProductStatus(api.ProductStatus o) { |
| 4167 buildCounterProductStatus++; | 4283 buildCounterProductStatus++; |
| 4168 if (buildCounterProductStatus < 3) { | 4284 if (buildCounterProductStatus < 3) { |
| 4169 unittest.expect(o.creationDate, unittest.equals('foo')); | 4285 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 4170 checkUnnamed584(o.dataQualityIssues); | 4286 checkUnnamed799(o.dataQualityIssues); |
| 4171 checkUnnamed585(o.destinationStatuses); | 4287 checkUnnamed800(o.destinationStatuses); |
| 4172 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 4288 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
| 4173 unittest.expect(o.kind, unittest.equals('foo')); | 4289 unittest.expect(o.kind, unittest.equals('foo')); |
| 4174 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 4290 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
| 4175 unittest.expect(o.link, unittest.equals('foo')); | 4291 unittest.expect(o.link, unittest.equals('foo')); |
| 4176 unittest.expect(o.productId, unittest.equals('foo')); | 4292 unittest.expect(o.productId, unittest.equals('foo')); |
| 4177 unittest.expect(o.title, unittest.equals('foo')); | 4293 unittest.expect(o.title, unittest.equals('foo')); |
| 4178 } | 4294 } |
| 4179 buildCounterProductStatus--; | 4295 buildCounterProductStatus--; |
| 4180 } | 4296 } |
| 4181 | 4297 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4299 | 4415 |
| 4300 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 4416 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
| 4301 buildCounterProductUnitPricingMeasure++; | 4417 buildCounterProductUnitPricingMeasure++; |
| 4302 if (buildCounterProductUnitPricingMeasure < 3) { | 4418 if (buildCounterProductUnitPricingMeasure < 3) { |
| 4303 unittest.expect(o.unit, unittest.equals('foo')); | 4419 unittest.expect(o.unit, unittest.equals('foo')); |
| 4304 unittest.expect(o.value, unittest.equals(42.0)); | 4420 unittest.expect(o.value, unittest.equals(42.0)); |
| 4305 } | 4421 } |
| 4306 buildCounterProductUnitPricingMeasure--; | 4422 buildCounterProductUnitPricingMeasure--; |
| 4307 } | 4423 } |
| 4308 | 4424 |
| 4309 buildUnnamed586() { | 4425 buildUnnamed801() { |
| 4310 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 4426 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
| 4311 o.add(buildProductsCustomBatchRequestEntry()); | 4427 o.add(buildProductsCustomBatchRequestEntry()); |
| 4312 o.add(buildProductsCustomBatchRequestEntry()); | 4428 o.add(buildProductsCustomBatchRequestEntry()); |
| 4313 return o; | 4429 return o; |
| 4314 } | 4430 } |
| 4315 | 4431 |
| 4316 checkUnnamed586(core.List<api.ProductsCustomBatchRequestEntry> o) { | 4432 checkUnnamed801(core.List<api.ProductsCustomBatchRequestEntry> o) { |
| 4317 unittest.expect(o, unittest.hasLength(2)); | 4433 unittest.expect(o, unittest.hasLength(2)); |
| 4318 checkProductsCustomBatchRequestEntry(o[0]); | 4434 checkProductsCustomBatchRequestEntry(o[0]); |
| 4319 checkProductsCustomBatchRequestEntry(o[1]); | 4435 checkProductsCustomBatchRequestEntry(o[1]); |
| 4320 } | 4436 } |
| 4321 | 4437 |
| 4322 core.int buildCounterProductsCustomBatchRequest = 0; | 4438 core.int buildCounterProductsCustomBatchRequest = 0; |
| 4323 buildProductsCustomBatchRequest() { | 4439 buildProductsCustomBatchRequest() { |
| 4324 var o = new api.ProductsCustomBatchRequest(); | 4440 var o = new api.ProductsCustomBatchRequest(); |
| 4325 buildCounterProductsCustomBatchRequest++; | 4441 buildCounterProductsCustomBatchRequest++; |
| 4326 if (buildCounterProductsCustomBatchRequest < 3) { | 4442 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4327 o.entries = buildUnnamed586(); | 4443 o.entries = buildUnnamed801(); |
| 4328 } | 4444 } |
| 4329 buildCounterProductsCustomBatchRequest--; | 4445 buildCounterProductsCustomBatchRequest--; |
| 4330 return o; | 4446 return o; |
| 4331 } | 4447 } |
| 4332 | 4448 |
| 4333 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 4449 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
| 4334 buildCounterProductsCustomBatchRequest++; | 4450 buildCounterProductsCustomBatchRequest++; |
| 4335 if (buildCounterProductsCustomBatchRequest < 3) { | 4451 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4336 checkUnnamed586(o.entries); | 4452 checkUnnamed801(o.entries); |
| 4337 } | 4453 } |
| 4338 buildCounterProductsCustomBatchRequest--; | 4454 buildCounterProductsCustomBatchRequest--; |
| 4339 } | 4455 } |
| 4340 | 4456 |
| 4341 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 4457 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
| 4342 buildProductsCustomBatchRequestEntry() { | 4458 buildProductsCustomBatchRequestEntry() { |
| 4343 var o = new api.ProductsCustomBatchRequestEntry(); | 4459 var o = new api.ProductsCustomBatchRequestEntry(); |
| 4344 buildCounterProductsCustomBatchRequestEntry++; | 4460 buildCounterProductsCustomBatchRequestEntry++; |
| 4345 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4461 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4346 o.batchId = 42; | 4462 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4358 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4474 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4359 unittest.expect(o.batchId, unittest.equals(42)); | 4475 unittest.expect(o.batchId, unittest.equals(42)); |
| 4360 unittest.expect(o.merchantId, unittest.equals('foo')); | 4476 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4361 unittest.expect(o.method, unittest.equals('foo')); | 4477 unittest.expect(o.method, unittest.equals('foo')); |
| 4362 checkProduct(o.product); | 4478 checkProduct(o.product); |
| 4363 unittest.expect(o.productId, unittest.equals('foo')); | 4479 unittest.expect(o.productId, unittest.equals('foo')); |
| 4364 } | 4480 } |
| 4365 buildCounterProductsCustomBatchRequestEntry--; | 4481 buildCounterProductsCustomBatchRequestEntry--; |
| 4366 } | 4482 } |
| 4367 | 4483 |
| 4368 buildUnnamed587() { | 4484 buildUnnamed802() { |
| 4369 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 4485 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
| 4370 o.add(buildProductsCustomBatchResponseEntry()); | 4486 o.add(buildProductsCustomBatchResponseEntry()); |
| 4371 o.add(buildProductsCustomBatchResponseEntry()); | 4487 o.add(buildProductsCustomBatchResponseEntry()); |
| 4372 return o; | 4488 return o; |
| 4373 } | 4489 } |
| 4374 | 4490 |
| 4375 checkUnnamed587(core.List<api.ProductsCustomBatchResponseEntry> o) { | 4491 checkUnnamed802(core.List<api.ProductsCustomBatchResponseEntry> o) { |
| 4376 unittest.expect(o, unittest.hasLength(2)); | 4492 unittest.expect(o, unittest.hasLength(2)); |
| 4377 checkProductsCustomBatchResponseEntry(o[0]); | 4493 checkProductsCustomBatchResponseEntry(o[0]); |
| 4378 checkProductsCustomBatchResponseEntry(o[1]); | 4494 checkProductsCustomBatchResponseEntry(o[1]); |
| 4379 } | 4495 } |
| 4380 | 4496 |
| 4381 core.int buildCounterProductsCustomBatchResponse = 0; | 4497 core.int buildCounterProductsCustomBatchResponse = 0; |
| 4382 buildProductsCustomBatchResponse() { | 4498 buildProductsCustomBatchResponse() { |
| 4383 var o = new api.ProductsCustomBatchResponse(); | 4499 var o = new api.ProductsCustomBatchResponse(); |
| 4384 buildCounterProductsCustomBatchResponse++; | 4500 buildCounterProductsCustomBatchResponse++; |
| 4385 if (buildCounterProductsCustomBatchResponse < 3) { | 4501 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4386 o.entries = buildUnnamed587(); | 4502 o.entries = buildUnnamed802(); |
| 4387 o.kind = "foo"; | 4503 o.kind = "foo"; |
| 4388 } | 4504 } |
| 4389 buildCounterProductsCustomBatchResponse--; | 4505 buildCounterProductsCustomBatchResponse--; |
| 4390 return o; | 4506 return o; |
| 4391 } | 4507 } |
| 4392 | 4508 |
| 4393 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 4509 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
| 4394 buildCounterProductsCustomBatchResponse++; | 4510 buildCounterProductsCustomBatchResponse++; |
| 4395 if (buildCounterProductsCustomBatchResponse < 3) { | 4511 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4396 checkUnnamed587(o.entries); | 4512 checkUnnamed802(o.entries); |
| 4397 unittest.expect(o.kind, unittest.equals('foo')); | 4513 unittest.expect(o.kind, unittest.equals('foo')); |
| 4398 } | 4514 } |
| 4399 buildCounterProductsCustomBatchResponse--; | 4515 buildCounterProductsCustomBatchResponse--; |
| 4400 } | 4516 } |
| 4401 | 4517 |
| 4402 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 4518 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
| 4403 buildProductsCustomBatchResponseEntry() { | 4519 buildProductsCustomBatchResponseEntry() { |
| 4404 var o = new api.ProductsCustomBatchResponseEntry(); | 4520 var o = new api.ProductsCustomBatchResponseEntry(); |
| 4405 buildCounterProductsCustomBatchResponseEntry++; | 4521 buildCounterProductsCustomBatchResponseEntry++; |
| 4406 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4522 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4417 buildCounterProductsCustomBatchResponseEntry++; | 4533 buildCounterProductsCustomBatchResponseEntry++; |
| 4418 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4534 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| 4419 unittest.expect(o.batchId, unittest.equals(42)); | 4535 unittest.expect(o.batchId, unittest.equals(42)); |
| 4420 checkErrors(o.errors); | 4536 checkErrors(o.errors); |
| 4421 unittest.expect(o.kind, unittest.equals('foo')); | 4537 unittest.expect(o.kind, unittest.equals('foo')); |
| 4422 checkProduct(o.product); | 4538 checkProduct(o.product); |
| 4423 } | 4539 } |
| 4424 buildCounterProductsCustomBatchResponseEntry--; | 4540 buildCounterProductsCustomBatchResponseEntry--; |
| 4425 } | 4541 } |
| 4426 | 4542 |
| 4427 buildUnnamed588() { | 4543 buildUnnamed803() { |
| 4428 var o = new core.List<api.Product>(); | 4544 var o = new core.List<api.Product>(); |
| 4429 o.add(buildProduct()); | 4545 o.add(buildProduct()); |
| 4430 o.add(buildProduct()); | 4546 o.add(buildProduct()); |
| 4431 return o; | 4547 return o; |
| 4432 } | 4548 } |
| 4433 | 4549 |
| 4434 checkUnnamed588(core.List<api.Product> o) { | 4550 checkUnnamed803(core.List<api.Product> o) { |
| 4435 unittest.expect(o, unittest.hasLength(2)); | 4551 unittest.expect(o, unittest.hasLength(2)); |
| 4436 checkProduct(o[0]); | 4552 checkProduct(o[0]); |
| 4437 checkProduct(o[1]); | 4553 checkProduct(o[1]); |
| 4438 } | 4554 } |
| 4439 | 4555 |
| 4440 core.int buildCounterProductsListResponse = 0; | 4556 core.int buildCounterProductsListResponse = 0; |
| 4441 buildProductsListResponse() { | 4557 buildProductsListResponse() { |
| 4442 var o = new api.ProductsListResponse(); | 4558 var o = new api.ProductsListResponse(); |
| 4443 buildCounterProductsListResponse++; | 4559 buildCounterProductsListResponse++; |
| 4444 if (buildCounterProductsListResponse < 3) { | 4560 if (buildCounterProductsListResponse < 3) { |
| 4445 o.kind = "foo"; | 4561 o.kind = "foo"; |
| 4446 o.nextPageToken = "foo"; | 4562 o.nextPageToken = "foo"; |
| 4447 o.resources = buildUnnamed588(); | 4563 o.resources = buildUnnamed803(); |
| 4448 } | 4564 } |
| 4449 buildCounterProductsListResponse--; | 4565 buildCounterProductsListResponse--; |
| 4450 return o; | 4566 return o; |
| 4451 } | 4567 } |
| 4452 | 4568 |
| 4453 checkProductsListResponse(api.ProductsListResponse o) { | 4569 checkProductsListResponse(api.ProductsListResponse o) { |
| 4454 buildCounterProductsListResponse++; | 4570 buildCounterProductsListResponse++; |
| 4455 if (buildCounterProductsListResponse < 3) { | 4571 if (buildCounterProductsListResponse < 3) { |
| 4456 unittest.expect(o.kind, unittest.equals('foo')); | 4572 unittest.expect(o.kind, unittest.equals('foo')); |
| 4457 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4573 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4458 checkUnnamed588(o.resources); | 4574 checkUnnamed803(o.resources); |
| 4459 } | 4575 } |
| 4460 buildCounterProductsListResponse--; | 4576 buildCounterProductsListResponse--; |
| 4461 } | 4577 } |
| 4462 | 4578 |
| 4463 buildUnnamed589() { | 4579 buildUnnamed804() { |
| 4464 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 4580 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
| 4465 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4581 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4466 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4582 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4467 return o; | 4583 return o; |
| 4468 } | 4584 } |
| 4469 | 4585 |
| 4470 checkUnnamed589(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 4586 checkUnnamed804(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
| 4471 unittest.expect(o, unittest.hasLength(2)); | 4587 unittest.expect(o, unittest.hasLength(2)); |
| 4472 checkProductstatusesCustomBatchRequestEntry(o[0]); | 4588 checkProductstatusesCustomBatchRequestEntry(o[0]); |
| 4473 checkProductstatusesCustomBatchRequestEntry(o[1]); | 4589 checkProductstatusesCustomBatchRequestEntry(o[1]); |
| 4474 } | 4590 } |
| 4475 | 4591 |
| 4476 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 4592 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
| 4477 buildProductstatusesCustomBatchRequest() { | 4593 buildProductstatusesCustomBatchRequest() { |
| 4478 var o = new api.ProductstatusesCustomBatchRequest(); | 4594 var o = new api.ProductstatusesCustomBatchRequest(); |
| 4479 buildCounterProductstatusesCustomBatchRequest++; | 4595 buildCounterProductstatusesCustomBatchRequest++; |
| 4480 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4596 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4481 o.entries = buildUnnamed589(); | 4597 o.entries = buildUnnamed804(); |
| 4482 } | 4598 } |
| 4483 buildCounterProductstatusesCustomBatchRequest--; | 4599 buildCounterProductstatusesCustomBatchRequest--; |
| 4484 return o; | 4600 return o; |
| 4485 } | 4601 } |
| 4486 | 4602 |
| 4487 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 4603 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
| 4488 buildCounterProductstatusesCustomBatchRequest++; | 4604 buildCounterProductstatusesCustomBatchRequest++; |
| 4489 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4605 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4490 checkUnnamed589(o.entries); | 4606 checkUnnamed804(o.entries); |
| 4491 } | 4607 } |
| 4492 buildCounterProductstatusesCustomBatchRequest--; | 4608 buildCounterProductstatusesCustomBatchRequest--; |
| 4493 } | 4609 } |
| 4494 | 4610 |
| 4495 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 4611 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
| 4496 buildProductstatusesCustomBatchRequestEntry() { | 4612 buildProductstatusesCustomBatchRequestEntry() { |
| 4497 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 4613 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
| 4498 buildCounterProductstatusesCustomBatchRequestEntry++; | 4614 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4499 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4615 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4500 o.batchId = 42; | 4616 o.batchId = 42; |
| 4501 o.merchantId = "foo"; | 4617 o.merchantId = "foo"; |
| 4502 o.method = "foo"; | 4618 o.method = "foo"; |
| 4503 o.productId = "foo"; | 4619 o.productId = "foo"; |
| 4504 } | 4620 } |
| 4505 buildCounterProductstatusesCustomBatchRequestEntry--; | 4621 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4506 return o; | 4622 return o; |
| 4507 } | 4623 } |
| 4508 | 4624 |
| 4509 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 4625 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
| 4510 buildCounterProductstatusesCustomBatchRequestEntry++; | 4626 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4511 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4627 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4512 unittest.expect(o.batchId, unittest.equals(42)); | 4628 unittest.expect(o.batchId, unittest.equals(42)); |
| 4513 unittest.expect(o.merchantId, unittest.equals('foo')); | 4629 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4514 unittest.expect(o.method, unittest.equals('foo')); | 4630 unittest.expect(o.method, unittest.equals('foo')); |
| 4515 unittest.expect(o.productId, unittest.equals('foo')); | 4631 unittest.expect(o.productId, unittest.equals('foo')); |
| 4516 } | 4632 } |
| 4517 buildCounterProductstatusesCustomBatchRequestEntry--; | 4633 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4518 } | 4634 } |
| 4519 | 4635 |
| 4520 buildUnnamed590() { | 4636 buildUnnamed805() { |
| 4521 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 4637 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
| 4522 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4638 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4523 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4639 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4524 return o; | 4640 return o; |
| 4525 } | 4641 } |
| 4526 | 4642 |
| 4527 checkUnnamed590(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 4643 checkUnnamed805(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
| 4528 unittest.expect(o, unittest.hasLength(2)); | 4644 unittest.expect(o, unittest.hasLength(2)); |
| 4529 checkProductstatusesCustomBatchResponseEntry(o[0]); | 4645 checkProductstatusesCustomBatchResponseEntry(o[0]); |
| 4530 checkProductstatusesCustomBatchResponseEntry(o[1]); | 4646 checkProductstatusesCustomBatchResponseEntry(o[1]); |
| 4531 } | 4647 } |
| 4532 | 4648 |
| 4533 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 4649 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
| 4534 buildProductstatusesCustomBatchResponse() { | 4650 buildProductstatusesCustomBatchResponse() { |
| 4535 var o = new api.ProductstatusesCustomBatchResponse(); | 4651 var o = new api.ProductstatusesCustomBatchResponse(); |
| 4536 buildCounterProductstatusesCustomBatchResponse++; | 4652 buildCounterProductstatusesCustomBatchResponse++; |
| 4537 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4653 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4538 o.entries = buildUnnamed590(); | 4654 o.entries = buildUnnamed805(); |
| 4539 o.kind = "foo"; | 4655 o.kind = "foo"; |
| 4540 } | 4656 } |
| 4541 buildCounterProductstatusesCustomBatchResponse--; | 4657 buildCounterProductstatusesCustomBatchResponse--; |
| 4542 return o; | 4658 return o; |
| 4543 } | 4659 } |
| 4544 | 4660 |
| 4545 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 4661 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
| 4546 buildCounterProductstatusesCustomBatchResponse++; | 4662 buildCounterProductstatusesCustomBatchResponse++; |
| 4547 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4663 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4548 checkUnnamed590(o.entries); | 4664 checkUnnamed805(o.entries); |
| 4549 unittest.expect(o.kind, unittest.equals('foo')); | 4665 unittest.expect(o.kind, unittest.equals('foo')); |
| 4550 } | 4666 } |
| 4551 buildCounterProductstatusesCustomBatchResponse--; | 4667 buildCounterProductstatusesCustomBatchResponse--; |
| 4552 } | 4668 } |
| 4553 | 4669 |
| 4554 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 4670 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
| 4555 buildProductstatusesCustomBatchResponseEntry() { | 4671 buildProductstatusesCustomBatchResponseEntry() { |
| 4556 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 4672 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
| 4557 buildCounterProductstatusesCustomBatchResponseEntry++; | 4673 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 4558 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4674 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4569 buildCounterProductstatusesCustomBatchResponseEntry++; | 4685 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 4570 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4686 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| 4571 unittest.expect(o.batchId, unittest.equals(42)); | 4687 unittest.expect(o.batchId, unittest.equals(42)); |
| 4572 checkErrors(o.errors); | 4688 checkErrors(o.errors); |
| 4573 unittest.expect(o.kind, unittest.equals('foo')); | 4689 unittest.expect(o.kind, unittest.equals('foo')); |
| 4574 checkProductStatus(o.productStatus); | 4690 checkProductStatus(o.productStatus); |
| 4575 } | 4691 } |
| 4576 buildCounterProductstatusesCustomBatchResponseEntry--; | 4692 buildCounterProductstatusesCustomBatchResponseEntry--; |
| 4577 } | 4693 } |
| 4578 | 4694 |
| 4579 buildUnnamed591() { | 4695 buildUnnamed806() { |
| 4580 var o = new core.List<api.ProductStatus>(); | 4696 var o = new core.List<api.ProductStatus>(); |
| 4581 o.add(buildProductStatus()); | 4697 o.add(buildProductStatus()); |
| 4582 o.add(buildProductStatus()); | 4698 o.add(buildProductStatus()); |
| 4583 return o; | 4699 return o; |
| 4584 } | 4700 } |
| 4585 | 4701 |
| 4586 checkUnnamed591(core.List<api.ProductStatus> o) { | 4702 checkUnnamed806(core.List<api.ProductStatus> o) { |
| 4587 unittest.expect(o, unittest.hasLength(2)); | 4703 unittest.expect(o, unittest.hasLength(2)); |
| 4588 checkProductStatus(o[0]); | 4704 checkProductStatus(o[0]); |
| 4589 checkProductStatus(o[1]); | 4705 checkProductStatus(o[1]); |
| 4590 } | 4706 } |
| 4591 | 4707 |
| 4592 core.int buildCounterProductstatusesListResponse = 0; | 4708 core.int buildCounterProductstatusesListResponse = 0; |
| 4593 buildProductstatusesListResponse() { | 4709 buildProductstatusesListResponse() { |
| 4594 var o = new api.ProductstatusesListResponse(); | 4710 var o = new api.ProductstatusesListResponse(); |
| 4595 buildCounterProductstatusesListResponse++; | 4711 buildCounterProductstatusesListResponse++; |
| 4596 if (buildCounterProductstatusesListResponse < 3) { | 4712 if (buildCounterProductstatusesListResponse < 3) { |
| 4597 o.kind = "foo"; | 4713 o.kind = "foo"; |
| 4598 o.nextPageToken = "foo"; | 4714 o.nextPageToken = "foo"; |
| 4599 o.resources = buildUnnamed591(); | 4715 o.resources = buildUnnamed806(); |
| 4600 } | 4716 } |
| 4601 buildCounterProductstatusesListResponse--; | 4717 buildCounterProductstatusesListResponse--; |
| 4602 return o; | 4718 return o; |
| 4603 } | 4719 } |
| 4604 | 4720 |
| 4605 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 4721 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
| 4606 buildCounterProductstatusesListResponse++; | 4722 buildCounterProductstatusesListResponse++; |
| 4607 if (buildCounterProductstatusesListResponse < 3) { | 4723 if (buildCounterProductstatusesListResponse < 3) { |
| 4608 unittest.expect(o.kind, unittest.equals('foo')); | 4724 unittest.expect(o.kind, unittest.equals('foo')); |
| 4609 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4725 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4610 checkUnnamed591(o.resources); | 4726 checkUnnamed806(o.resources); |
| 4611 } | 4727 } |
| 4612 buildCounterProductstatusesListResponse--; | 4728 buildCounterProductstatusesListResponse--; |
| 4613 } | 4729 } |
| 4614 | 4730 |
| 4615 buildUnnamed592() { | 4731 buildUnnamed807() { |
| 4616 var o = new core.List<api.TestOrderLineItem>(); | 4732 var o = new core.List<api.TestOrderLineItem>(); |
| 4617 o.add(buildTestOrderLineItem()); | 4733 o.add(buildTestOrderLineItem()); |
| 4618 o.add(buildTestOrderLineItem()); | 4734 o.add(buildTestOrderLineItem()); |
| 4619 return o; | 4735 return o; |
| 4620 } | 4736 } |
| 4621 | 4737 |
| 4622 checkUnnamed592(core.List<api.TestOrderLineItem> o) { | 4738 checkUnnamed807(core.List<api.TestOrderLineItem> o) { |
| 4623 unittest.expect(o, unittest.hasLength(2)); | 4739 unittest.expect(o, unittest.hasLength(2)); |
| 4624 checkTestOrderLineItem(o[0]); | 4740 checkTestOrderLineItem(o[0]); |
| 4625 checkTestOrderLineItem(o[1]); | 4741 checkTestOrderLineItem(o[1]); |
| 4626 } | 4742 } |
| 4627 | 4743 |
| 4744 buildUnnamed808() { |
| 4745 var o = new core.List<api.OrderPromotion>(); |
| 4746 o.add(buildOrderPromotion()); |
| 4747 o.add(buildOrderPromotion()); |
| 4748 return o; |
| 4749 } |
| 4750 |
| 4751 checkUnnamed808(core.List<api.OrderPromotion> o) { |
| 4752 unittest.expect(o, unittest.hasLength(2)); |
| 4753 checkOrderPromotion(o[0]); |
| 4754 checkOrderPromotion(o[1]); |
| 4755 } |
| 4756 |
| 4628 core.int buildCounterTestOrder = 0; | 4757 core.int buildCounterTestOrder = 0; |
| 4629 buildTestOrder() { | 4758 buildTestOrder() { |
| 4630 var o = new api.TestOrder(); | 4759 var o = new api.TestOrder(); |
| 4631 buildCounterTestOrder++; | 4760 buildCounterTestOrder++; |
| 4632 if (buildCounterTestOrder < 3) { | 4761 if (buildCounterTestOrder < 3) { |
| 4633 o.customer = buildTestOrderCustomer(); | 4762 o.customer = buildTestOrderCustomer(); |
| 4634 o.kind = "foo"; | 4763 o.kind = "foo"; |
| 4635 o.lineItems = buildUnnamed592(); | 4764 o.lineItems = buildUnnamed807(); |
| 4636 o.paymentMethod = buildTestOrderPaymentMethod(); | 4765 o.paymentMethod = buildTestOrderPaymentMethod(); |
| 4637 o.predefinedDeliveryAddress = "foo"; | 4766 o.predefinedDeliveryAddress = "foo"; |
| 4767 o.promotions = buildUnnamed808(); |
| 4638 o.shippingCost = buildPrice(); | 4768 o.shippingCost = buildPrice(); |
| 4639 o.shippingCostTax = buildPrice(); | 4769 o.shippingCostTax = buildPrice(); |
| 4640 o.shippingOption = "foo"; | 4770 o.shippingOption = "foo"; |
| 4641 } | 4771 } |
| 4642 buildCounterTestOrder--; | 4772 buildCounterTestOrder--; |
| 4643 return o; | 4773 return o; |
| 4644 } | 4774 } |
| 4645 | 4775 |
| 4646 checkTestOrder(api.TestOrder o) { | 4776 checkTestOrder(api.TestOrder o) { |
| 4647 buildCounterTestOrder++; | 4777 buildCounterTestOrder++; |
| 4648 if (buildCounterTestOrder < 3) { | 4778 if (buildCounterTestOrder < 3) { |
| 4649 checkTestOrderCustomer(o.customer); | 4779 checkTestOrderCustomer(o.customer); |
| 4650 unittest.expect(o.kind, unittest.equals('foo')); | 4780 unittest.expect(o.kind, unittest.equals('foo')); |
| 4651 checkUnnamed592(o.lineItems); | 4781 checkUnnamed807(o.lineItems); |
| 4652 checkTestOrderPaymentMethod(o.paymentMethod); | 4782 checkTestOrderPaymentMethod(o.paymentMethod); |
| 4653 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); | 4783 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); |
| 4784 checkUnnamed808(o.promotions); |
| 4654 checkPrice(o.shippingCost); | 4785 checkPrice(o.shippingCost); |
| 4655 checkPrice(o.shippingCostTax); | 4786 checkPrice(o.shippingCostTax); |
| 4656 unittest.expect(o.shippingOption, unittest.equals('foo')); | 4787 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 4657 } | 4788 } |
| 4658 buildCounterTestOrder--; | 4789 buildCounterTestOrder--; |
| 4659 } | 4790 } |
| 4660 | 4791 |
| 4661 core.int buildCounterTestOrderCustomer = 0; | 4792 core.int buildCounterTestOrderCustomer = 0; |
| 4662 buildTestOrderCustomer() { | 4793 buildTestOrderCustomer() { |
| 4663 var o = new api.TestOrderCustomer(); | 4794 var o = new api.TestOrderCustomer(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4701 if (buildCounterTestOrderLineItem < 3) { | 4832 if (buildCounterTestOrderLineItem < 3) { |
| 4702 checkTestOrderLineItemProduct(o.product); | 4833 checkTestOrderLineItemProduct(o.product); |
| 4703 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 4834 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 4704 checkOrderLineItemReturnInfo(o.returnInfo); | 4835 checkOrderLineItemReturnInfo(o.returnInfo); |
| 4705 checkOrderLineItemShippingDetails(o.shippingDetails); | 4836 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 4706 checkPrice(o.unitTax); | 4837 checkPrice(o.unitTax); |
| 4707 } | 4838 } |
| 4708 buildCounterTestOrderLineItem--; | 4839 buildCounterTestOrderLineItem--; |
| 4709 } | 4840 } |
| 4710 | 4841 |
| 4711 buildUnnamed593() { | 4842 buildUnnamed809() { |
| 4712 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 4843 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 4713 o.add(buildOrderLineItemProductVariantAttribute()); | 4844 o.add(buildOrderLineItemProductVariantAttribute()); |
| 4714 o.add(buildOrderLineItemProductVariantAttribute()); | 4845 o.add(buildOrderLineItemProductVariantAttribute()); |
| 4715 return o; | 4846 return o; |
| 4716 } | 4847 } |
| 4717 | 4848 |
| 4718 checkUnnamed593(core.List<api.OrderLineItemProductVariantAttribute> o) { | 4849 checkUnnamed809(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 4719 unittest.expect(o, unittest.hasLength(2)); | 4850 unittest.expect(o, unittest.hasLength(2)); |
| 4720 checkOrderLineItemProductVariantAttribute(o[0]); | 4851 checkOrderLineItemProductVariantAttribute(o[0]); |
| 4721 checkOrderLineItemProductVariantAttribute(o[1]); | 4852 checkOrderLineItemProductVariantAttribute(o[1]); |
| 4722 } | 4853 } |
| 4723 | 4854 |
| 4724 core.int buildCounterTestOrderLineItemProduct = 0; | 4855 core.int buildCounterTestOrderLineItemProduct = 0; |
| 4725 buildTestOrderLineItemProduct() { | 4856 buildTestOrderLineItemProduct() { |
| 4726 var o = new api.TestOrderLineItemProduct(); | 4857 var o = new api.TestOrderLineItemProduct(); |
| 4727 buildCounterTestOrderLineItemProduct++; | 4858 buildCounterTestOrderLineItemProduct++; |
| 4728 if (buildCounterTestOrderLineItemProduct < 3) { | 4859 if (buildCounterTestOrderLineItemProduct < 3) { |
| 4729 o.brand = "foo"; | 4860 o.brand = "foo"; |
| 4730 o.channel = "foo"; | 4861 o.channel = "foo"; |
| 4731 o.condition = "foo"; | 4862 o.condition = "foo"; |
| 4732 o.contentLanguage = "foo"; | 4863 o.contentLanguage = "foo"; |
| 4733 o.gtin = "foo"; | 4864 o.gtin = "foo"; |
| 4734 o.imageLink = "foo"; | 4865 o.imageLink = "foo"; |
| 4735 o.itemGroupId = "foo"; | 4866 o.itemGroupId = "foo"; |
| 4736 o.mpn = "foo"; | 4867 o.mpn = "foo"; |
| 4737 o.offerId = "foo"; | 4868 o.offerId = "foo"; |
| 4738 o.price = buildPrice(); | 4869 o.price = buildPrice(); |
| 4739 o.targetCountry = "foo"; | 4870 o.targetCountry = "foo"; |
| 4740 o.title = "foo"; | 4871 o.title = "foo"; |
| 4741 o.variantAttributes = buildUnnamed593(); | 4872 o.variantAttributes = buildUnnamed809(); |
| 4742 } | 4873 } |
| 4743 buildCounterTestOrderLineItemProduct--; | 4874 buildCounterTestOrderLineItemProduct--; |
| 4744 return o; | 4875 return o; |
| 4745 } | 4876 } |
| 4746 | 4877 |
| 4747 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { | 4878 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { |
| 4748 buildCounterTestOrderLineItemProduct++; | 4879 buildCounterTestOrderLineItemProduct++; |
| 4749 if (buildCounterTestOrderLineItemProduct < 3) { | 4880 if (buildCounterTestOrderLineItemProduct < 3) { |
| 4750 unittest.expect(o.brand, unittest.equals('foo')); | 4881 unittest.expect(o.brand, unittest.equals('foo')); |
| 4751 unittest.expect(o.channel, unittest.equals('foo')); | 4882 unittest.expect(o.channel, unittest.equals('foo')); |
| 4752 unittest.expect(o.condition, unittest.equals('foo')); | 4883 unittest.expect(o.condition, unittest.equals('foo')); |
| 4753 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 4884 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 4754 unittest.expect(o.gtin, unittest.equals('foo')); | 4885 unittest.expect(o.gtin, unittest.equals('foo')); |
| 4755 unittest.expect(o.imageLink, unittest.equals('foo')); | 4886 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 4756 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4887 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 4757 unittest.expect(o.mpn, unittest.equals('foo')); | 4888 unittest.expect(o.mpn, unittest.equals('foo')); |
| 4758 unittest.expect(o.offerId, unittest.equals('foo')); | 4889 unittest.expect(o.offerId, unittest.equals('foo')); |
| 4759 checkPrice(o.price); | 4890 checkPrice(o.price); |
| 4760 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4891 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 4761 unittest.expect(o.title, unittest.equals('foo')); | 4892 unittest.expect(o.title, unittest.equals('foo')); |
| 4762 checkUnnamed593(o.variantAttributes); | 4893 checkUnnamed809(o.variantAttributes); |
| 4763 } | 4894 } |
| 4764 buildCounterTestOrderLineItemProduct--; | 4895 buildCounterTestOrderLineItemProduct--; |
| 4765 } | 4896 } |
| 4766 | 4897 |
| 4767 core.int buildCounterTestOrderPaymentMethod = 0; | 4898 core.int buildCounterTestOrderPaymentMethod = 0; |
| 4768 buildTestOrderPaymentMethod() { | 4899 buildTestOrderPaymentMethod() { |
| 4769 var o = new api.TestOrderPaymentMethod(); | 4900 var o = new api.TestOrderPaymentMethod(); |
| 4770 buildCounterTestOrderPaymentMethod++; | 4901 buildCounterTestOrderPaymentMethod++; |
| 4771 if (buildCounterTestOrderPaymentMethod < 3) { | 4902 if (buildCounterTestOrderPaymentMethod < 3) { |
| 4772 o.expirationMonth = 42; | 4903 o.expirationMonth = 42; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4805 | 4936 |
| 4806 checkWeight(api.Weight o) { | 4937 checkWeight(api.Weight o) { |
| 4807 buildCounterWeight++; | 4938 buildCounterWeight++; |
| 4808 if (buildCounterWeight < 3) { | 4939 if (buildCounterWeight < 3) { |
| 4809 unittest.expect(o.unit, unittest.equals('foo')); | 4940 unittest.expect(o.unit, unittest.equals('foo')); |
| 4810 unittest.expect(o.value, unittest.equals('foo')); | 4941 unittest.expect(o.value, unittest.equals('foo')); |
| 4811 } | 4942 } |
| 4812 buildCounterWeight--; | 4943 buildCounterWeight--; |
| 4813 } | 4944 } |
| 4814 | 4945 |
| 4815 buildUnnamed594() { | 4946 buildUnnamed810() { |
| 4816 var o = new core.List<core.String>(); | 4947 var o = new core.List<core.String>(); |
| 4817 o.add("foo"); | 4948 o.add("foo"); |
| 4818 o.add("foo"); | 4949 o.add("foo"); |
| 4819 return o; | 4950 return o; |
| 4820 } | 4951 } |
| 4821 | 4952 |
| 4822 checkUnnamed594(core.List<core.String> o) { | 4953 checkUnnamed810(core.List<core.String> o) { |
| 4823 unittest.expect(o, unittest.hasLength(2)); | 4954 unittest.expect(o, unittest.hasLength(2)); |
| 4824 unittest.expect(o[0], unittest.equals('foo')); | 4955 unittest.expect(o[0], unittest.equals('foo')); |
| 4825 unittest.expect(o[1], unittest.equals('foo')); | 4956 unittest.expect(o[1], unittest.equals('foo')); |
| 4826 } | 4957 } |
| 4827 | 4958 |
| 4828 | 4959 |
| 4829 main() { | 4960 main() { |
| 4830 unittest.group("obj-schema-Account", () { | 4961 unittest.group("obj-schema-Account", () { |
| 4831 unittest.test("to-json--from-json", () { | 4962 unittest.test("to-json--from-json", () { |
| 4832 var o = buildAccount(); | 4963 var o = buildAccount(); |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5531 | 5662 |
| 5532 unittest.group("obj-schema-OrderPaymentMethod", () { | 5663 unittest.group("obj-schema-OrderPaymentMethod", () { |
| 5533 unittest.test("to-json--from-json", () { | 5664 unittest.test("to-json--from-json", () { |
| 5534 var o = buildOrderPaymentMethod(); | 5665 var o = buildOrderPaymentMethod(); |
| 5535 var od = new api.OrderPaymentMethod.fromJson(o.toJson()); | 5666 var od = new api.OrderPaymentMethod.fromJson(o.toJson()); |
| 5536 checkOrderPaymentMethod(od); | 5667 checkOrderPaymentMethod(od); |
| 5537 }); | 5668 }); |
| 5538 }); | 5669 }); |
| 5539 | 5670 |
| 5540 | 5671 |
| 5672 unittest.group("obj-schema-OrderPromotion", () { |
| 5673 unittest.test("to-json--from-json", () { |
| 5674 var o = buildOrderPromotion(); |
| 5675 var od = new api.OrderPromotion.fromJson(o.toJson()); |
| 5676 checkOrderPromotion(od); |
| 5677 }); |
| 5678 }); |
| 5679 |
| 5680 |
| 5681 unittest.group("obj-schema-OrderPromotionBenefit", () { |
| 5682 unittest.test("to-json--from-json", () { |
| 5683 var o = buildOrderPromotionBenefit(); |
| 5684 var od = new api.OrderPromotionBenefit.fromJson(o.toJson()); |
| 5685 checkOrderPromotionBenefit(od); |
| 5686 }); |
| 5687 }); |
| 5688 |
| 5689 |
| 5541 unittest.group("obj-schema-OrderRefund", () { | 5690 unittest.group("obj-schema-OrderRefund", () { |
| 5542 unittest.test("to-json--from-json", () { | 5691 unittest.test("to-json--from-json", () { |
| 5543 var o = buildOrderRefund(); | 5692 var o = buildOrderRefund(); |
| 5544 var od = new api.OrderRefund.fromJson(o.toJson()); | 5693 var od = new api.OrderRefund.fromJson(o.toJson()); |
| 5545 checkOrderRefund(od); | 5694 checkOrderRefund(od); |
| 5546 }); | 5695 }); |
| 5547 }); | 5696 }); |
| 5548 | 5697 |
| 5549 | 5698 |
| 5550 unittest.group("obj-schema-OrderReturn", () { | 5699 unittest.group("obj-schema-OrderReturn", () { |
| (...skipping 2587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8138 | 8287 |
| 8139 var mock = new HttpServerMock(); | 8288 var mock = new HttpServerMock(); |
| 8140 api.OrdersResourceApi res = new api.ContentApi(mock).orders; | 8289 api.OrdersResourceApi res = new api.ContentApi(mock).orders; |
| 8141 var arg_merchantId = "foo"; | 8290 var arg_merchantId = "foo"; |
| 8142 var arg_acknowledged = true; | 8291 var arg_acknowledged = true; |
| 8143 var arg_maxResults = 42; | 8292 var arg_maxResults = 42; |
| 8144 var arg_orderBy = "foo"; | 8293 var arg_orderBy = "foo"; |
| 8145 var arg_pageToken = "foo"; | 8294 var arg_pageToken = "foo"; |
| 8146 var arg_placedDateEnd = "foo"; | 8295 var arg_placedDateEnd = "foo"; |
| 8147 var arg_placedDateStart = "foo"; | 8296 var arg_placedDateStart = "foo"; |
| 8148 var arg_statuses = buildUnnamed594(); | 8297 var arg_statuses = buildUnnamed810(); |
| 8149 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 8298 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8150 var path = (req.url).path; | 8299 var path = (req.url).path; |
| 8151 var pathOffset = 0; | 8300 var pathOffset = 0; |
| 8152 var index; | 8301 var index; |
| 8153 var subPart; | 8302 var subPart; |
| 8154 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 8303 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8155 pathOffset += 1; | 8304 pathOffset += 1; |
| 8156 | 8305 |
| 8157 var query = (req.url).query; | 8306 var query = (req.url).query; |
| 8158 var queryOffset = 0; | 8307 var queryOffset = 0; |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8804 res.list(arg_merchantId, includeInvalidInsertedItems: arg_includeInvalidIn
sertedItems, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest
.expectAsync(((api.ProductstatusesListResponse response) { | 8953 res.list(arg_merchantId, includeInvalidInsertedItems: arg_includeInvalidIn
sertedItems, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest
.expectAsync(((api.ProductstatusesListResponse response) { |
| 8805 checkProductstatusesListResponse(response); | 8954 checkProductstatusesListResponse(response); |
| 8806 }))); | 8955 }))); |
| 8807 }); | 8956 }); |
| 8808 | 8957 |
| 8809 }); | 8958 }); |
| 8810 | 8959 |
| 8811 | 8960 |
| 8812 } | 8961 } |
| 8813 | 8962 |
| OLD | NEW |