| 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 buildUnnamed905() { | 54 buildUnnamed498() { |
| 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 checkUnnamed905(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed498(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 buildUnnamed906() { | 67 buildUnnamed499() { |
| 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 checkUnnamed906(core.List<api.AccountUser> o) { | 74 checkUnnamed499(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 = buildUnnamed905(); | 86 o.adwordsLinks = buildUnnamed498(); |
| 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 = buildUnnamed906(); | 92 o.users = buildUnnamed499(); |
| 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 checkUnnamed905(o.adwordsLinks); | 103 checkUnnamed498(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 checkUnnamed906(o.users); | 109 checkUnnamed499(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 buildUnnamed907() { | 157 buildUnnamed500() { |
| 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 checkUnnamed907(core.List<api.AccountShippingCarrierRate> o) { | 164 checkUnnamed500(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 buildUnnamed908() { | 170 buildUnnamed501() { |
| 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 checkUnnamed908(core.List<api.AccountShippingLocationGroup> o) { | 177 checkUnnamed501(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 buildUnnamed909() { | 183 buildUnnamed502() { |
| 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 checkUnnamed909(core.List<api.AccountShippingRateTable> o) { | 190 checkUnnamed502(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 buildUnnamed910() { | 196 buildUnnamed503() { |
| 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 checkUnnamed910(core.List<api.AccountShippingShippingService> o) { | 203 checkUnnamed503(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 = buildUnnamed907(); | 215 o.carrierRates = buildUnnamed500(); |
| 216 o.kind = "foo"; | 216 o.kind = "foo"; |
| 217 o.locationGroups = buildUnnamed908(); | 217 o.locationGroups = buildUnnamed501(); |
| 218 o.rateTables = buildUnnamed909(); | 218 o.rateTables = buildUnnamed502(); |
| 219 o.services = buildUnnamed910(); | 219 o.services = buildUnnamed503(); |
| 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 checkUnnamed907(o.carrierRates); | 229 checkUnnamed500(o.carrierRates); |
| 230 unittest.expect(o.kind, unittest.equals('foo')); | 230 unittest.expect(o.kind, unittest.equals('foo')); |
| 231 checkUnnamed908(o.locationGroups); | 231 checkUnnamed501(o.locationGroups); |
| 232 checkUnnamed909(o.rateTables); | 232 checkUnnamed502(o.rateTables); |
| 233 checkUnnamed910(o.services); | 233 checkUnnamed503(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 buildUnnamed911() { | 300 buildUnnamed504() { |
| 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 checkUnnamed911(core.List<core.String> o) { | 307 checkUnnamed504(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 buildUnnamed912() { | 313 buildUnnamed505() { |
| 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 checkUnnamed912(core.List<api.AccountShippingPostalCodeRange> o) { | 320 checkUnnamed505(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 buildUnnamed913() { | 326 buildUnnamed506() { |
| 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 checkUnnamed913(core.List<core.String> o) { | 333 checkUnnamed506(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 = buildUnnamed911(); | 345 o.locationIds = buildUnnamed504(); |
| 346 o.name = "foo"; | 346 o.name = "foo"; |
| 347 o.postalCodeRanges = buildUnnamed912(); | 347 o.postalCodeRanges = buildUnnamed505(); |
| 348 o.postalCodes = buildUnnamed913(); | 348 o.postalCodes = buildUnnamed506(); |
| 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 checkUnnamed911(o.locationIds); | 358 checkUnnamed504(o.locationIds); |
| 359 unittest.expect(o.name, unittest.equals('foo')); | 359 unittest.expect(o.name, unittest.equals('foo')); |
| 360 checkUnnamed912(o.postalCodeRanges); | 360 checkUnnamed505(o.postalCodeRanges); |
| 361 checkUnnamed913(o.postalCodes); | 361 checkUnnamed506(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 buildUnnamed914() { | 387 buildUnnamed507() { |
| 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 checkUnnamed914(core.List<api.AccountShippingRateTableCell> o) { | 394 checkUnnamed507(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 = buildUnnamed914(); | 405 o.content = buildUnnamed507(); |
| 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 checkUnnamed914(o.content); | 416 checkUnnamed507(o.content); |
| 417 unittest.expect(o.name, unittest.equals('foo')); | 417 unittest.expect(o.name, unittest.equals('foo')); |
| 418 unittest.expect(o.saleCountry, unittest.equals('foo')); | 418 unittest.expect(o.saleCountry, unittest.equals('foo')); |
| 419 } | 419 } |
| 420 buildCounterAccountShippingRateTable--; | 420 buildCounterAccountShippingRateTable--; |
| 421 } | 421 } |
| 422 | 422 |
| 423 core.int buildCounterAccountShippingRateTableCell = 0; | 423 core.int buildCounterAccountShippingRateTableCell = 0; |
| 424 buildAccountShippingRateTableCell() { | 424 buildAccountShippingRateTableCell() { |
| 425 var o = new api.AccountShippingRateTableCell(); | 425 var o = new api.AccountShippingRateTableCell(); |
| 426 buildCounterAccountShippingRateTableCell++; | 426 buildCounterAccountShippingRateTableCell++; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | 492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { |
| 493 unittest.expect(o.carrierRate, unittest.equals('foo')); | 493 unittest.expect(o.carrierRate, unittest.equals('foo')); |
| 494 unittest.expect(o.excluded, unittest.isTrue); | 494 unittest.expect(o.excluded, unittest.isTrue); |
| 495 checkPrice(o.flatRate); | 495 checkPrice(o.flatRate); |
| 496 unittest.expect(o.percentageRate, unittest.equals('foo')); | 496 unittest.expect(o.percentageRate, unittest.equals('foo')); |
| 497 unittest.expect(o.rateTable, unittest.equals('foo')); | 497 unittest.expect(o.rateTable, unittest.equals('foo')); |
| 498 } | 498 } |
| 499 buildCounterAccountShippingShippingServiceCalculationMethod--; | 499 buildCounterAccountShippingShippingServiceCalculationMethod--; |
| 500 } | 500 } |
| 501 | 501 |
| 502 buildUnnamed915() { | 502 buildUnnamed508() { |
| 503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); | 503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); |
| 504 o.add(buildAccountShippingShippingServiceCostRule()); | 504 o.add(buildAccountShippingShippingServiceCostRule()); |
| 505 o.add(buildAccountShippingShippingServiceCostRule()); | 505 o.add(buildAccountShippingShippingServiceCostRule()); |
| 506 return o; | 506 return o; |
| 507 } | 507 } |
| 508 | 508 |
| 509 checkUnnamed915(core.List<api.AccountShippingShippingServiceCostRule> o) { | 509 checkUnnamed508(core.List<api.AccountShippingShippingServiceCostRule> o) { |
| 510 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
| 511 checkAccountShippingShippingServiceCostRule(o[0]); | 511 checkAccountShippingShippingServiceCostRule(o[0]); |
| 512 checkAccountShippingShippingServiceCostRule(o[1]); | 512 checkAccountShippingShippingServiceCostRule(o[1]); |
| 513 } | 513 } |
| 514 | 514 |
| 515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; | 515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; |
| 516 buildAccountShippingShippingServiceCostRule() { | 516 buildAccountShippingShippingServiceCostRule() { |
| 517 var o = new api.AccountShippingShippingServiceCostRule(); | 517 var o = new api.AccountShippingShippingServiceCostRule(); |
| 518 buildCounterAccountShippingShippingServiceCostRule++; | 518 buildCounterAccountShippingShippingServiceCostRule++; |
| 519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | 520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; |
| 521 o.children = buildUnnamed915(); | 521 o.children = buildUnnamed508(); |
| 522 o.condition = buildAccountShippingCondition(); | 522 o.condition = buildAccountShippingCondition(); |
| 523 } | 523 } |
| 524 buildCounterAccountShippingShippingServiceCostRule--; | 524 buildCounterAccountShippingShippingServiceCostRule--; |
| 525 return o; | 525 return o; |
| 526 } | 526 } |
| 527 | 527 |
| 528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { | 528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { |
| 529 buildCounterAccountShippingShippingServiceCostRule++; | 529 buildCounterAccountShippingShippingServiceCostRule++; |
| 530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | 531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); |
| 532 checkUnnamed915(o.children); | 532 checkUnnamed508(o.children); |
| 533 checkAccountShippingCondition(o.condition); | 533 checkAccountShippingCondition(o.condition); |
| 534 } | 534 } |
| 535 buildCounterAccountShippingShippingServiceCostRule--; | 535 buildCounterAccountShippingShippingServiceCostRule--; |
| 536 } | 536 } |
| 537 | 537 |
| 538 buildUnnamed916() { | 538 buildUnnamed509() { |
| 539 var o = new core.List<api.AccountStatusDataQualityIssue>(); | 539 var o = new core.List<api.AccountStatusDataQualityIssue>(); |
| 540 o.add(buildAccountStatusDataQualityIssue()); | 540 o.add(buildAccountStatusDataQualityIssue()); |
| 541 o.add(buildAccountStatusDataQualityIssue()); | 541 o.add(buildAccountStatusDataQualityIssue()); |
| 542 return o; | 542 return o; |
| 543 } | 543 } |
| 544 | 544 |
| 545 checkUnnamed916(core.List<api.AccountStatusDataQualityIssue> o) { | 545 checkUnnamed509(core.List<api.AccountStatusDataQualityIssue> o) { |
| 546 unittest.expect(o, unittest.hasLength(2)); | 546 unittest.expect(o, unittest.hasLength(2)); |
| 547 checkAccountStatusDataQualityIssue(o[0]); | 547 checkAccountStatusDataQualityIssue(o[0]); |
| 548 checkAccountStatusDataQualityIssue(o[1]); | 548 checkAccountStatusDataQualityIssue(o[1]); |
| 549 } | 549 } |
| 550 | 550 |
| 551 core.int buildCounterAccountStatus = 0; | 551 core.int buildCounterAccountStatus = 0; |
| 552 buildAccountStatus() { | 552 buildAccountStatus() { |
| 553 var o = new api.AccountStatus(); | 553 var o = new api.AccountStatus(); |
| 554 buildCounterAccountStatus++; | 554 buildCounterAccountStatus++; |
| 555 if (buildCounterAccountStatus < 3) { | 555 if (buildCounterAccountStatus < 3) { |
| 556 o.accountId = "foo"; | 556 o.accountId = "foo"; |
| 557 o.dataQualityIssues = buildUnnamed916(); | 557 o.dataQualityIssues = buildUnnamed509(); |
| 558 o.kind = "foo"; | 558 o.kind = "foo"; |
| 559 } | 559 } |
| 560 buildCounterAccountStatus--; | 560 buildCounterAccountStatus--; |
| 561 return o; | 561 return o; |
| 562 } | 562 } |
| 563 | 563 |
| 564 checkAccountStatus(api.AccountStatus o) { | 564 checkAccountStatus(api.AccountStatus o) { |
| 565 buildCounterAccountStatus++; | 565 buildCounterAccountStatus++; |
| 566 if (buildCounterAccountStatus < 3) { | 566 if (buildCounterAccountStatus < 3) { |
| 567 unittest.expect(o.accountId, unittest.equals('foo')); | 567 unittest.expect(o.accountId, unittest.equals('foo')); |
| 568 checkUnnamed916(o.dataQualityIssues); | 568 checkUnnamed509(o.dataQualityIssues); |
| 569 unittest.expect(o.kind, unittest.equals('foo')); | 569 unittest.expect(o.kind, unittest.equals('foo')); |
| 570 } | 570 } |
| 571 buildCounterAccountStatus--; | 571 buildCounterAccountStatus--; |
| 572 } | 572 } |
| 573 | 573 |
| 574 buildUnnamed917() { | 574 buildUnnamed510() { |
| 575 var o = new core.List<api.AccountStatusExampleItem>(); | 575 var o = new core.List<api.AccountStatusExampleItem>(); |
| 576 o.add(buildAccountStatusExampleItem()); | 576 o.add(buildAccountStatusExampleItem()); |
| 577 o.add(buildAccountStatusExampleItem()); | 577 o.add(buildAccountStatusExampleItem()); |
| 578 return o; | 578 return o; |
| 579 } | 579 } |
| 580 | 580 |
| 581 checkUnnamed917(core.List<api.AccountStatusExampleItem> o) { | 581 checkUnnamed510(core.List<api.AccountStatusExampleItem> o) { |
| 582 unittest.expect(o, unittest.hasLength(2)); | 582 unittest.expect(o, unittest.hasLength(2)); |
| 583 checkAccountStatusExampleItem(o[0]); | 583 checkAccountStatusExampleItem(o[0]); |
| 584 checkAccountStatusExampleItem(o[1]); | 584 checkAccountStatusExampleItem(o[1]); |
| 585 } | 585 } |
| 586 | 586 |
| 587 core.int buildCounterAccountStatusDataQualityIssue = 0; | 587 core.int buildCounterAccountStatusDataQualityIssue = 0; |
| 588 buildAccountStatusDataQualityIssue() { | 588 buildAccountStatusDataQualityIssue() { |
| 589 var o = new api.AccountStatusDataQualityIssue(); | 589 var o = new api.AccountStatusDataQualityIssue(); |
| 590 buildCounterAccountStatusDataQualityIssue++; | 590 buildCounterAccountStatusDataQualityIssue++; |
| 591 if (buildCounterAccountStatusDataQualityIssue < 3) { | 591 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 592 o.country = "foo"; | 592 o.country = "foo"; |
| 593 o.displayedValue = "foo"; | 593 o.displayedValue = "foo"; |
| 594 o.exampleItems = buildUnnamed917(); | 594 o.exampleItems = buildUnnamed510(); |
| 595 o.id = "foo"; | 595 o.id = "foo"; |
| 596 o.lastChecked = "foo"; | 596 o.lastChecked = "foo"; |
| 597 o.numItems = 42; | 597 o.numItems = 42; |
| 598 o.severity = "foo"; | 598 o.severity = "foo"; |
| 599 o.submittedValue = "foo"; | 599 o.submittedValue = "foo"; |
| 600 } | 600 } |
| 601 buildCounterAccountStatusDataQualityIssue--; | 601 buildCounterAccountStatusDataQualityIssue--; |
| 602 return o; | 602 return o; |
| 603 } | 603 } |
| 604 | 604 |
| 605 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 605 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
| 606 buildCounterAccountStatusDataQualityIssue++; | 606 buildCounterAccountStatusDataQualityIssue++; |
| 607 if (buildCounterAccountStatusDataQualityIssue < 3) { | 607 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 608 unittest.expect(o.country, unittest.equals('foo')); | 608 unittest.expect(o.country, unittest.equals('foo')); |
| 609 unittest.expect(o.displayedValue, unittest.equals('foo')); | 609 unittest.expect(o.displayedValue, unittest.equals('foo')); |
| 610 checkUnnamed917(o.exampleItems); | 610 checkUnnamed510(o.exampleItems); |
| 611 unittest.expect(o.id, unittest.equals('foo')); | 611 unittest.expect(o.id, unittest.equals('foo')); |
| 612 unittest.expect(o.lastChecked, unittest.equals('foo')); | 612 unittest.expect(o.lastChecked, unittest.equals('foo')); |
| 613 unittest.expect(o.numItems, unittest.equals(42)); | 613 unittest.expect(o.numItems, unittest.equals(42)); |
| 614 unittest.expect(o.severity, unittest.equals('foo')); | 614 unittest.expect(o.severity, unittest.equals('foo')); |
| 615 unittest.expect(o.submittedValue, unittest.equals('foo')); | 615 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 616 } | 616 } |
| 617 buildCounterAccountStatusDataQualityIssue--; | 617 buildCounterAccountStatusDataQualityIssue--; |
| 618 } | 618 } |
| 619 | 619 |
| 620 core.int buildCounterAccountStatusExampleItem = 0; | 620 core.int buildCounterAccountStatusExampleItem = 0; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 637 if (buildCounterAccountStatusExampleItem < 3) { | 637 if (buildCounterAccountStatusExampleItem < 3) { |
| 638 unittest.expect(o.itemId, unittest.equals('foo')); | 638 unittest.expect(o.itemId, unittest.equals('foo')); |
| 639 unittest.expect(o.link, unittest.equals('foo')); | 639 unittest.expect(o.link, unittest.equals('foo')); |
| 640 unittest.expect(o.submittedValue, unittest.equals('foo')); | 640 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 641 unittest.expect(o.title, unittest.equals('foo')); | 641 unittest.expect(o.title, unittest.equals('foo')); |
| 642 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 642 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
| 643 } | 643 } |
| 644 buildCounterAccountStatusExampleItem--; | 644 buildCounterAccountStatusExampleItem--; |
| 645 } | 645 } |
| 646 | 646 |
| 647 buildUnnamed918() { | 647 buildUnnamed511() { |
| 648 var o = new core.List<api.AccountTaxTaxRule>(); | 648 var o = new core.List<api.AccountTaxTaxRule>(); |
| 649 o.add(buildAccountTaxTaxRule()); | 649 o.add(buildAccountTaxTaxRule()); |
| 650 o.add(buildAccountTaxTaxRule()); | 650 o.add(buildAccountTaxTaxRule()); |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkUnnamed918(core.List<api.AccountTaxTaxRule> o) { | 654 checkUnnamed511(core.List<api.AccountTaxTaxRule> o) { |
| 655 unittest.expect(o, unittest.hasLength(2)); | 655 unittest.expect(o, unittest.hasLength(2)); |
| 656 checkAccountTaxTaxRule(o[0]); | 656 checkAccountTaxTaxRule(o[0]); |
| 657 checkAccountTaxTaxRule(o[1]); | 657 checkAccountTaxTaxRule(o[1]); |
| 658 } | 658 } |
| 659 | 659 |
| 660 core.int buildCounterAccountTax = 0; | 660 core.int buildCounterAccountTax = 0; |
| 661 buildAccountTax() { | 661 buildAccountTax() { |
| 662 var o = new api.AccountTax(); | 662 var o = new api.AccountTax(); |
| 663 buildCounterAccountTax++; | 663 buildCounterAccountTax++; |
| 664 if (buildCounterAccountTax < 3) { | 664 if (buildCounterAccountTax < 3) { |
| 665 o.accountId = "foo"; | 665 o.accountId = "foo"; |
| 666 o.kind = "foo"; | 666 o.kind = "foo"; |
| 667 o.rules = buildUnnamed918(); | 667 o.rules = buildUnnamed511(); |
| 668 } | 668 } |
| 669 buildCounterAccountTax--; | 669 buildCounterAccountTax--; |
| 670 return o; | 670 return o; |
| 671 } | 671 } |
| 672 | 672 |
| 673 checkAccountTax(api.AccountTax o) { | 673 checkAccountTax(api.AccountTax o) { |
| 674 buildCounterAccountTax++; | 674 buildCounterAccountTax++; |
| 675 if (buildCounterAccountTax < 3) { | 675 if (buildCounterAccountTax < 3) { |
| 676 unittest.expect(o.accountId, unittest.equals('foo')); | 676 unittest.expect(o.accountId, unittest.equals('foo')); |
| 677 unittest.expect(o.kind, unittest.equals('foo')); | 677 unittest.expect(o.kind, unittest.equals('foo')); |
| 678 checkUnnamed918(o.rules); | 678 checkUnnamed511(o.rules); |
| 679 } | 679 } |
| 680 buildCounterAccountTax--; | 680 buildCounterAccountTax--; |
| 681 } | 681 } |
| 682 | 682 |
| 683 core.int buildCounterAccountTaxTaxRule = 0; | 683 core.int buildCounterAccountTaxTaxRule = 0; |
| 684 buildAccountTaxTaxRule() { | 684 buildAccountTaxTaxRule() { |
| 685 var o = new api.AccountTaxTaxRule(); | 685 var o = new api.AccountTaxTaxRule(); |
| 686 buildCounterAccountTaxTaxRule++; | 686 buildCounterAccountTaxTaxRule++; |
| 687 if (buildCounterAccountTaxTaxRule < 3) { | 687 if (buildCounterAccountTaxTaxRule < 3) { |
| 688 o.country = "foo"; | 688 o.country = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 | 721 |
| 722 checkAccountUser(api.AccountUser o) { | 722 checkAccountUser(api.AccountUser o) { |
| 723 buildCounterAccountUser++; | 723 buildCounterAccountUser++; |
| 724 if (buildCounterAccountUser < 3) { | 724 if (buildCounterAccountUser < 3) { |
| 725 unittest.expect(o.admin, unittest.isTrue); | 725 unittest.expect(o.admin, unittest.isTrue); |
| 726 unittest.expect(o.emailAddress, unittest.equals('foo')); | 726 unittest.expect(o.emailAddress, unittest.equals('foo')); |
| 727 } | 727 } |
| 728 buildCounterAccountUser--; | 728 buildCounterAccountUser--; |
| 729 } | 729 } |
| 730 | 730 |
| 731 buildUnnamed919() { | 731 buildUnnamed512() { |
| 732 var o = new core.List<api.AccountIdentifier>(); | 732 var o = new core.List<api.AccountIdentifier>(); |
| 733 o.add(buildAccountIdentifier()); | 733 o.add(buildAccountIdentifier()); |
| 734 o.add(buildAccountIdentifier()); | 734 o.add(buildAccountIdentifier()); |
| 735 return o; | 735 return o; |
| 736 } | 736 } |
| 737 | 737 |
| 738 checkUnnamed919(core.List<api.AccountIdentifier> o) { | 738 checkUnnamed512(core.List<api.AccountIdentifier> o) { |
| 739 unittest.expect(o, unittest.hasLength(2)); | 739 unittest.expect(o, unittest.hasLength(2)); |
| 740 checkAccountIdentifier(o[0]); | 740 checkAccountIdentifier(o[0]); |
| 741 checkAccountIdentifier(o[1]); | 741 checkAccountIdentifier(o[1]); |
| 742 } | 742 } |
| 743 | 743 |
| 744 core.int buildCounterAccountsAuthInfoResponse = 0; | 744 core.int buildCounterAccountsAuthInfoResponse = 0; |
| 745 buildAccountsAuthInfoResponse() { | 745 buildAccountsAuthInfoResponse() { |
| 746 var o = new api.AccountsAuthInfoResponse(); | 746 var o = new api.AccountsAuthInfoResponse(); |
| 747 buildCounterAccountsAuthInfoResponse++; | 747 buildCounterAccountsAuthInfoResponse++; |
| 748 if (buildCounterAccountsAuthInfoResponse < 3) { | 748 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 749 o.accountIdentifiers = buildUnnamed919(); | 749 o.accountIdentifiers = buildUnnamed512(); |
| 750 o.kind = "foo"; | 750 o.kind = "foo"; |
| 751 } | 751 } |
| 752 buildCounterAccountsAuthInfoResponse--; | 752 buildCounterAccountsAuthInfoResponse--; |
| 753 return o; | 753 return o; |
| 754 } | 754 } |
| 755 | 755 |
| 756 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 756 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
| 757 buildCounterAccountsAuthInfoResponse++; | 757 buildCounterAccountsAuthInfoResponse++; |
| 758 if (buildCounterAccountsAuthInfoResponse < 3) { | 758 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 759 checkUnnamed919(o.accountIdentifiers); | 759 checkUnnamed512(o.accountIdentifiers); |
| 760 unittest.expect(o.kind, unittest.equals('foo')); | 760 unittest.expect(o.kind, unittest.equals('foo')); |
| 761 } | 761 } |
| 762 buildCounterAccountsAuthInfoResponse--; | 762 buildCounterAccountsAuthInfoResponse--; |
| 763 } | 763 } |
| 764 | 764 |
| 765 buildUnnamed920() { | 765 buildUnnamed513() { |
| 766 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 766 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
| 767 o.add(buildAccountsCustomBatchRequestEntry()); | 767 o.add(buildAccountsCustomBatchRequestEntry()); |
| 768 o.add(buildAccountsCustomBatchRequestEntry()); | 768 o.add(buildAccountsCustomBatchRequestEntry()); |
| 769 return o; | 769 return o; |
| 770 } | 770 } |
| 771 | 771 |
| 772 checkUnnamed920(core.List<api.AccountsCustomBatchRequestEntry> o) { | 772 checkUnnamed513(core.List<api.AccountsCustomBatchRequestEntry> o) { |
| 773 unittest.expect(o, unittest.hasLength(2)); | 773 unittest.expect(o, unittest.hasLength(2)); |
| 774 checkAccountsCustomBatchRequestEntry(o[0]); | 774 checkAccountsCustomBatchRequestEntry(o[0]); |
| 775 checkAccountsCustomBatchRequestEntry(o[1]); | 775 checkAccountsCustomBatchRequestEntry(o[1]); |
| 776 } | 776 } |
| 777 | 777 |
| 778 core.int buildCounterAccountsCustomBatchRequest = 0; | 778 core.int buildCounterAccountsCustomBatchRequest = 0; |
| 779 buildAccountsCustomBatchRequest() { | 779 buildAccountsCustomBatchRequest() { |
| 780 var o = new api.AccountsCustomBatchRequest(); | 780 var o = new api.AccountsCustomBatchRequest(); |
| 781 buildCounterAccountsCustomBatchRequest++; | 781 buildCounterAccountsCustomBatchRequest++; |
| 782 if (buildCounterAccountsCustomBatchRequest < 3) { | 782 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 783 o.entries = buildUnnamed920(); | 783 o.entries = buildUnnamed513(); |
| 784 } | 784 } |
| 785 buildCounterAccountsCustomBatchRequest--; | 785 buildCounterAccountsCustomBatchRequest--; |
| 786 return o; | 786 return o; |
| 787 } | 787 } |
| 788 | 788 |
| 789 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 789 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
| 790 buildCounterAccountsCustomBatchRequest++; | 790 buildCounterAccountsCustomBatchRequest++; |
| 791 if (buildCounterAccountsCustomBatchRequest < 3) { | 791 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 792 checkUnnamed920(o.entries); | 792 checkUnnamed513(o.entries); |
| 793 } | 793 } |
| 794 buildCounterAccountsCustomBatchRequest--; | 794 buildCounterAccountsCustomBatchRequest--; |
| 795 } | 795 } |
| 796 | 796 |
| 797 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 797 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
| 798 buildAccountsCustomBatchRequestEntry() { | 798 buildAccountsCustomBatchRequestEntry() { |
| 799 var o = new api.AccountsCustomBatchRequestEntry(); | 799 var o = new api.AccountsCustomBatchRequestEntry(); |
| 800 buildCounterAccountsCustomBatchRequestEntry++; | 800 buildCounterAccountsCustomBatchRequestEntry++; |
| 801 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 801 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 802 o.account = buildAccount(); | 802 o.account = buildAccount(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 814 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 814 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 815 checkAccount(o.account); | 815 checkAccount(o.account); |
| 816 unittest.expect(o.accountId, unittest.equals('foo')); | 816 unittest.expect(o.accountId, unittest.equals('foo')); |
| 817 unittest.expect(o.batchId, unittest.equals(42)); | 817 unittest.expect(o.batchId, unittest.equals(42)); |
| 818 unittest.expect(o.merchantId, unittest.equals('foo')); | 818 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 819 unittest.expect(o.method, unittest.equals('foo')); | 819 unittest.expect(o.method, unittest.equals('foo')); |
| 820 } | 820 } |
| 821 buildCounterAccountsCustomBatchRequestEntry--; | 821 buildCounterAccountsCustomBatchRequestEntry--; |
| 822 } | 822 } |
| 823 | 823 |
| 824 buildUnnamed921() { | 824 buildUnnamed514() { |
| 825 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 825 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
| 826 o.add(buildAccountsCustomBatchResponseEntry()); | 826 o.add(buildAccountsCustomBatchResponseEntry()); |
| 827 o.add(buildAccountsCustomBatchResponseEntry()); | 827 o.add(buildAccountsCustomBatchResponseEntry()); |
| 828 return o; | 828 return o; |
| 829 } | 829 } |
| 830 | 830 |
| 831 checkUnnamed921(core.List<api.AccountsCustomBatchResponseEntry> o) { | 831 checkUnnamed514(core.List<api.AccountsCustomBatchResponseEntry> o) { |
| 832 unittest.expect(o, unittest.hasLength(2)); | 832 unittest.expect(o, unittest.hasLength(2)); |
| 833 checkAccountsCustomBatchResponseEntry(o[0]); | 833 checkAccountsCustomBatchResponseEntry(o[0]); |
| 834 checkAccountsCustomBatchResponseEntry(o[1]); | 834 checkAccountsCustomBatchResponseEntry(o[1]); |
| 835 } | 835 } |
| 836 | 836 |
| 837 core.int buildCounterAccountsCustomBatchResponse = 0; | 837 core.int buildCounterAccountsCustomBatchResponse = 0; |
| 838 buildAccountsCustomBatchResponse() { | 838 buildAccountsCustomBatchResponse() { |
| 839 var o = new api.AccountsCustomBatchResponse(); | 839 var o = new api.AccountsCustomBatchResponse(); |
| 840 buildCounterAccountsCustomBatchResponse++; | 840 buildCounterAccountsCustomBatchResponse++; |
| 841 if (buildCounterAccountsCustomBatchResponse < 3) { | 841 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 842 o.entries = buildUnnamed921(); | 842 o.entries = buildUnnamed514(); |
| 843 o.kind = "foo"; | 843 o.kind = "foo"; |
| 844 } | 844 } |
| 845 buildCounterAccountsCustomBatchResponse--; | 845 buildCounterAccountsCustomBatchResponse--; |
| 846 return o; | 846 return o; |
| 847 } | 847 } |
| 848 | 848 |
| 849 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 849 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
| 850 buildCounterAccountsCustomBatchResponse++; | 850 buildCounterAccountsCustomBatchResponse++; |
| 851 if (buildCounterAccountsCustomBatchResponse < 3) { | 851 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 852 checkUnnamed921(o.entries); | 852 checkUnnamed514(o.entries); |
| 853 unittest.expect(o.kind, unittest.equals('foo')); | 853 unittest.expect(o.kind, unittest.equals('foo')); |
| 854 } | 854 } |
| 855 buildCounterAccountsCustomBatchResponse--; | 855 buildCounterAccountsCustomBatchResponse--; |
| 856 } | 856 } |
| 857 | 857 |
| 858 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 858 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
| 859 buildAccountsCustomBatchResponseEntry() { | 859 buildAccountsCustomBatchResponseEntry() { |
| 860 var o = new api.AccountsCustomBatchResponseEntry(); | 860 var o = new api.AccountsCustomBatchResponseEntry(); |
| 861 buildCounterAccountsCustomBatchResponseEntry++; | 861 buildCounterAccountsCustomBatchResponseEntry++; |
| 862 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 862 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 873 buildCounterAccountsCustomBatchResponseEntry++; | 873 buildCounterAccountsCustomBatchResponseEntry++; |
| 874 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 874 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| 875 checkAccount(o.account); | 875 checkAccount(o.account); |
| 876 unittest.expect(o.batchId, unittest.equals(42)); | 876 unittest.expect(o.batchId, unittest.equals(42)); |
| 877 checkErrors(o.errors); | 877 checkErrors(o.errors); |
| 878 unittest.expect(o.kind, unittest.equals('foo')); | 878 unittest.expect(o.kind, unittest.equals('foo')); |
| 879 } | 879 } |
| 880 buildCounterAccountsCustomBatchResponseEntry--; | 880 buildCounterAccountsCustomBatchResponseEntry--; |
| 881 } | 881 } |
| 882 | 882 |
| 883 buildUnnamed922() { | 883 buildUnnamed515() { |
| 884 var o = new core.List<api.Account>(); | 884 var o = new core.List<api.Account>(); |
| 885 o.add(buildAccount()); | 885 o.add(buildAccount()); |
| 886 o.add(buildAccount()); | 886 o.add(buildAccount()); |
| 887 return o; | 887 return o; |
| 888 } | 888 } |
| 889 | 889 |
| 890 checkUnnamed922(core.List<api.Account> o) { | 890 checkUnnamed515(core.List<api.Account> o) { |
| 891 unittest.expect(o, unittest.hasLength(2)); | 891 unittest.expect(o, unittest.hasLength(2)); |
| 892 checkAccount(o[0]); | 892 checkAccount(o[0]); |
| 893 checkAccount(o[1]); | 893 checkAccount(o[1]); |
| 894 } | 894 } |
| 895 | 895 |
| 896 core.int buildCounterAccountsListResponse = 0; | 896 core.int buildCounterAccountsListResponse = 0; |
| 897 buildAccountsListResponse() { | 897 buildAccountsListResponse() { |
| 898 var o = new api.AccountsListResponse(); | 898 var o = new api.AccountsListResponse(); |
| 899 buildCounterAccountsListResponse++; | 899 buildCounterAccountsListResponse++; |
| 900 if (buildCounterAccountsListResponse < 3) { | 900 if (buildCounterAccountsListResponse < 3) { |
| 901 o.kind = "foo"; | 901 o.kind = "foo"; |
| 902 o.nextPageToken = "foo"; | 902 o.nextPageToken = "foo"; |
| 903 o.resources = buildUnnamed922(); | 903 o.resources = buildUnnamed515(); |
| 904 } | 904 } |
| 905 buildCounterAccountsListResponse--; | 905 buildCounterAccountsListResponse--; |
| 906 return o; | 906 return o; |
| 907 } | 907 } |
| 908 | 908 |
| 909 checkAccountsListResponse(api.AccountsListResponse o) { | 909 checkAccountsListResponse(api.AccountsListResponse o) { |
| 910 buildCounterAccountsListResponse++; | 910 buildCounterAccountsListResponse++; |
| 911 if (buildCounterAccountsListResponse < 3) { | 911 if (buildCounterAccountsListResponse < 3) { |
| 912 unittest.expect(o.kind, unittest.equals('foo')); | 912 unittest.expect(o.kind, unittest.equals('foo')); |
| 913 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 913 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 914 checkUnnamed922(o.resources); | 914 checkUnnamed515(o.resources); |
| 915 } | 915 } |
| 916 buildCounterAccountsListResponse--; | 916 buildCounterAccountsListResponse--; |
| 917 } | 917 } |
| 918 | 918 |
| 919 buildUnnamed923() { | 919 buildUnnamed516() { |
| 920 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | 920 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); |
| 921 o.add(buildAccountshippingCustomBatchRequestEntry()); | 921 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 922 o.add(buildAccountshippingCustomBatchRequestEntry()); | 922 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 923 return o; | 923 return o; |
| 924 } | 924 } |
| 925 | 925 |
| 926 checkUnnamed923(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | 926 checkUnnamed516(core.List<api.AccountshippingCustomBatchRequestEntry> o) { |
| 927 unittest.expect(o, unittest.hasLength(2)); | 927 unittest.expect(o, unittest.hasLength(2)); |
| 928 checkAccountshippingCustomBatchRequestEntry(o[0]); | 928 checkAccountshippingCustomBatchRequestEntry(o[0]); |
| 929 checkAccountshippingCustomBatchRequestEntry(o[1]); | 929 checkAccountshippingCustomBatchRequestEntry(o[1]); |
| 930 } | 930 } |
| 931 | 931 |
| 932 core.int buildCounterAccountshippingCustomBatchRequest = 0; | 932 core.int buildCounterAccountshippingCustomBatchRequest = 0; |
| 933 buildAccountshippingCustomBatchRequest() { | 933 buildAccountshippingCustomBatchRequest() { |
| 934 var o = new api.AccountshippingCustomBatchRequest(); | 934 var o = new api.AccountshippingCustomBatchRequest(); |
| 935 buildCounterAccountshippingCustomBatchRequest++; | 935 buildCounterAccountshippingCustomBatchRequest++; |
| 936 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 936 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 937 o.entries = buildUnnamed923(); | 937 o.entries = buildUnnamed516(); |
| 938 } | 938 } |
| 939 buildCounterAccountshippingCustomBatchRequest--; | 939 buildCounterAccountshippingCustomBatchRequest--; |
| 940 return o; | 940 return o; |
| 941 } | 941 } |
| 942 | 942 |
| 943 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | 943 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ |
| 944 buildCounterAccountshippingCustomBatchRequest++; | 944 buildCounterAccountshippingCustomBatchRequest++; |
| 945 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 945 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 946 checkUnnamed923(o.entries); | 946 checkUnnamed516(o.entries); |
| 947 } | 947 } |
| 948 buildCounterAccountshippingCustomBatchRequest--; | 948 buildCounterAccountshippingCustomBatchRequest--; |
| 949 } | 949 } |
| 950 | 950 |
| 951 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | 951 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; |
| 952 buildAccountshippingCustomBatchRequestEntry() { | 952 buildAccountshippingCustomBatchRequestEntry() { |
| 953 var o = new api.AccountshippingCustomBatchRequestEntry(); | 953 var o = new api.AccountshippingCustomBatchRequestEntry(); |
| 954 buildCounterAccountshippingCustomBatchRequestEntry++; | 954 buildCounterAccountshippingCustomBatchRequestEntry++; |
| 955 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 955 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 956 o.accountId = "foo"; | 956 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 968 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 968 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 969 unittest.expect(o.accountId, unittest.equals('foo')); | 969 unittest.expect(o.accountId, unittest.equals('foo')); |
| 970 checkAccountShipping(o.accountShipping); | 970 checkAccountShipping(o.accountShipping); |
| 971 unittest.expect(o.batchId, unittest.equals(42)); | 971 unittest.expect(o.batchId, unittest.equals(42)); |
| 972 unittest.expect(o.merchantId, unittest.equals('foo')); | 972 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 973 unittest.expect(o.method, unittest.equals('foo')); | 973 unittest.expect(o.method, unittest.equals('foo')); |
| 974 } | 974 } |
| 975 buildCounterAccountshippingCustomBatchRequestEntry--; | 975 buildCounterAccountshippingCustomBatchRequestEntry--; |
| 976 } | 976 } |
| 977 | 977 |
| 978 buildUnnamed924() { | 978 buildUnnamed517() { |
| 979 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | 979 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); |
| 980 o.add(buildAccountshippingCustomBatchResponseEntry()); | 980 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 981 o.add(buildAccountshippingCustomBatchResponseEntry()); | 981 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 982 return o; | 982 return o; |
| 983 } | 983 } |
| 984 | 984 |
| 985 checkUnnamed924(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | 985 checkUnnamed517(core.List<api.AccountshippingCustomBatchResponseEntry> o) { |
| 986 unittest.expect(o, unittest.hasLength(2)); | 986 unittest.expect(o, unittest.hasLength(2)); |
| 987 checkAccountshippingCustomBatchResponseEntry(o[0]); | 987 checkAccountshippingCustomBatchResponseEntry(o[0]); |
| 988 checkAccountshippingCustomBatchResponseEntry(o[1]); | 988 checkAccountshippingCustomBatchResponseEntry(o[1]); |
| 989 } | 989 } |
| 990 | 990 |
| 991 core.int buildCounterAccountshippingCustomBatchResponse = 0; | 991 core.int buildCounterAccountshippingCustomBatchResponse = 0; |
| 992 buildAccountshippingCustomBatchResponse() { | 992 buildAccountshippingCustomBatchResponse() { |
| 993 var o = new api.AccountshippingCustomBatchResponse(); | 993 var o = new api.AccountshippingCustomBatchResponse(); |
| 994 buildCounterAccountshippingCustomBatchResponse++; | 994 buildCounterAccountshippingCustomBatchResponse++; |
| 995 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 995 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 996 o.entries = buildUnnamed924(); | 996 o.entries = buildUnnamed517(); |
| 997 o.kind = "foo"; | 997 o.kind = "foo"; |
| 998 } | 998 } |
| 999 buildCounterAccountshippingCustomBatchResponse--; | 999 buildCounterAccountshippingCustomBatchResponse--; |
| 1000 return o; | 1000 return o; |
| 1001 } | 1001 } |
| 1002 | 1002 |
| 1003 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | 1003 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { |
| 1004 buildCounterAccountshippingCustomBatchResponse++; | 1004 buildCounterAccountshippingCustomBatchResponse++; |
| 1005 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 1005 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 1006 checkUnnamed924(o.entries); | 1006 checkUnnamed517(o.entries); |
| 1007 unittest.expect(o.kind, unittest.equals('foo')); | 1007 unittest.expect(o.kind, unittest.equals('foo')); |
| 1008 } | 1008 } |
| 1009 buildCounterAccountshippingCustomBatchResponse--; | 1009 buildCounterAccountshippingCustomBatchResponse--; |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | 1012 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; |
| 1013 buildAccountshippingCustomBatchResponseEntry() { | 1013 buildAccountshippingCustomBatchResponseEntry() { |
| 1014 var o = new api.AccountshippingCustomBatchResponseEntry(); | 1014 var o = new api.AccountshippingCustomBatchResponseEntry(); |
| 1015 buildCounterAccountshippingCustomBatchResponseEntry++; | 1015 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1016 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1016 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1027 buildCounterAccountshippingCustomBatchResponseEntry++; | 1027 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1028 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1028 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| 1029 checkAccountShipping(o.accountShipping); | 1029 checkAccountShipping(o.accountShipping); |
| 1030 unittest.expect(o.batchId, unittest.equals(42)); | 1030 unittest.expect(o.batchId, unittest.equals(42)); |
| 1031 checkErrors(o.errors); | 1031 checkErrors(o.errors); |
| 1032 unittest.expect(o.kind, unittest.equals('foo')); | 1032 unittest.expect(o.kind, unittest.equals('foo')); |
| 1033 } | 1033 } |
| 1034 buildCounterAccountshippingCustomBatchResponseEntry--; | 1034 buildCounterAccountshippingCustomBatchResponseEntry--; |
| 1035 } | 1035 } |
| 1036 | 1036 |
| 1037 buildUnnamed925() { | 1037 buildUnnamed518() { |
| 1038 var o = new core.List<api.AccountShipping>(); | 1038 var o = new core.List<api.AccountShipping>(); |
| 1039 o.add(buildAccountShipping()); | 1039 o.add(buildAccountShipping()); |
| 1040 o.add(buildAccountShipping()); | 1040 o.add(buildAccountShipping()); |
| 1041 return o; | 1041 return o; |
| 1042 } | 1042 } |
| 1043 | 1043 |
| 1044 checkUnnamed925(core.List<api.AccountShipping> o) { | 1044 checkUnnamed518(core.List<api.AccountShipping> o) { |
| 1045 unittest.expect(o, unittest.hasLength(2)); | 1045 unittest.expect(o, unittest.hasLength(2)); |
| 1046 checkAccountShipping(o[0]); | 1046 checkAccountShipping(o[0]); |
| 1047 checkAccountShipping(o[1]); | 1047 checkAccountShipping(o[1]); |
| 1048 } | 1048 } |
| 1049 | 1049 |
| 1050 core.int buildCounterAccountshippingListResponse = 0; | 1050 core.int buildCounterAccountshippingListResponse = 0; |
| 1051 buildAccountshippingListResponse() { | 1051 buildAccountshippingListResponse() { |
| 1052 var o = new api.AccountshippingListResponse(); | 1052 var o = new api.AccountshippingListResponse(); |
| 1053 buildCounterAccountshippingListResponse++; | 1053 buildCounterAccountshippingListResponse++; |
| 1054 if (buildCounterAccountshippingListResponse < 3) { | 1054 if (buildCounterAccountshippingListResponse < 3) { |
| 1055 o.kind = "foo"; | 1055 o.kind = "foo"; |
| 1056 o.nextPageToken = "foo"; | 1056 o.nextPageToken = "foo"; |
| 1057 o.resources = buildUnnamed925(); | 1057 o.resources = buildUnnamed518(); |
| 1058 } | 1058 } |
| 1059 buildCounterAccountshippingListResponse--; | 1059 buildCounterAccountshippingListResponse--; |
| 1060 return o; | 1060 return o; |
| 1061 } | 1061 } |
| 1062 | 1062 |
| 1063 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | 1063 checkAccountshippingListResponse(api.AccountshippingListResponse o) { |
| 1064 buildCounterAccountshippingListResponse++; | 1064 buildCounterAccountshippingListResponse++; |
| 1065 if (buildCounterAccountshippingListResponse < 3) { | 1065 if (buildCounterAccountshippingListResponse < 3) { |
| 1066 unittest.expect(o.kind, unittest.equals('foo')); | 1066 unittest.expect(o.kind, unittest.equals('foo')); |
| 1067 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1067 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1068 checkUnnamed925(o.resources); | 1068 checkUnnamed518(o.resources); |
| 1069 } | 1069 } |
| 1070 buildCounterAccountshippingListResponse--; | 1070 buildCounterAccountshippingListResponse--; |
| 1071 } | 1071 } |
| 1072 | 1072 |
| 1073 buildUnnamed926() { | 1073 buildUnnamed519() { |
| 1074 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 1074 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
| 1075 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1075 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1076 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1076 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1077 return o; | 1077 return o; |
| 1078 } | 1078 } |
| 1079 | 1079 |
| 1080 checkUnnamed926(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 1080 checkUnnamed519(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
| 1081 unittest.expect(o, unittest.hasLength(2)); | 1081 unittest.expect(o, unittest.hasLength(2)); |
| 1082 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 1082 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
| 1083 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 1083 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
| 1084 } | 1084 } |
| 1085 | 1085 |
| 1086 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 1086 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
| 1087 buildAccountstatusesCustomBatchRequest() { | 1087 buildAccountstatusesCustomBatchRequest() { |
| 1088 var o = new api.AccountstatusesCustomBatchRequest(); | 1088 var o = new api.AccountstatusesCustomBatchRequest(); |
| 1089 buildCounterAccountstatusesCustomBatchRequest++; | 1089 buildCounterAccountstatusesCustomBatchRequest++; |
| 1090 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1090 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1091 o.entries = buildUnnamed926(); | 1091 o.entries = buildUnnamed519(); |
| 1092 } | 1092 } |
| 1093 buildCounterAccountstatusesCustomBatchRequest--; | 1093 buildCounterAccountstatusesCustomBatchRequest--; |
| 1094 return o; | 1094 return o; |
| 1095 } | 1095 } |
| 1096 | 1096 |
| 1097 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 1097 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
| 1098 buildCounterAccountstatusesCustomBatchRequest++; | 1098 buildCounterAccountstatusesCustomBatchRequest++; |
| 1099 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1099 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1100 checkUnnamed926(o.entries); | 1100 checkUnnamed519(o.entries); |
| 1101 } | 1101 } |
| 1102 buildCounterAccountstatusesCustomBatchRequest--; | 1102 buildCounterAccountstatusesCustomBatchRequest--; |
| 1103 } | 1103 } |
| 1104 | 1104 |
| 1105 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 1105 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
| 1106 buildAccountstatusesCustomBatchRequestEntry() { | 1106 buildAccountstatusesCustomBatchRequestEntry() { |
| 1107 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 1107 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
| 1108 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1108 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1109 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1109 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1110 o.accountId = "foo"; | 1110 o.accountId = "foo"; |
| 1111 o.batchId = 42; | 1111 o.batchId = 42; |
| 1112 o.merchantId = "foo"; | 1112 o.merchantId = "foo"; |
| 1113 o.method = "foo"; | 1113 o.method = "foo"; |
| 1114 } | 1114 } |
| 1115 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1115 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1116 return o; | 1116 return o; |
| 1117 } | 1117 } |
| 1118 | 1118 |
| 1119 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 1119 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
| 1120 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1120 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1121 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1121 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1122 unittest.expect(o.accountId, unittest.equals('foo')); | 1122 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1123 unittest.expect(o.batchId, unittest.equals(42)); | 1123 unittest.expect(o.batchId, unittest.equals(42)); |
| 1124 unittest.expect(o.merchantId, unittest.equals('foo')); | 1124 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1125 unittest.expect(o.method, unittest.equals('foo')); | 1125 unittest.expect(o.method, unittest.equals('foo')); |
| 1126 } | 1126 } |
| 1127 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1127 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 buildUnnamed927() { | 1130 buildUnnamed520() { |
| 1131 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 1131 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
| 1132 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1132 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1133 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1133 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1134 return o; | 1134 return o; |
| 1135 } | 1135 } |
| 1136 | 1136 |
| 1137 checkUnnamed927(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 1137 checkUnnamed520(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
| 1138 unittest.expect(o, unittest.hasLength(2)); | 1138 unittest.expect(o, unittest.hasLength(2)); |
| 1139 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 1139 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
| 1140 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 1140 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 1143 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
| 1144 buildAccountstatusesCustomBatchResponse() { | 1144 buildAccountstatusesCustomBatchResponse() { |
| 1145 var o = new api.AccountstatusesCustomBatchResponse(); | 1145 var o = new api.AccountstatusesCustomBatchResponse(); |
| 1146 buildCounterAccountstatusesCustomBatchResponse++; | 1146 buildCounterAccountstatusesCustomBatchResponse++; |
| 1147 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1147 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1148 o.entries = buildUnnamed927(); | 1148 o.entries = buildUnnamed520(); |
| 1149 o.kind = "foo"; | 1149 o.kind = "foo"; |
| 1150 } | 1150 } |
| 1151 buildCounterAccountstatusesCustomBatchResponse--; | 1151 buildCounterAccountstatusesCustomBatchResponse--; |
| 1152 return o; | 1152 return o; |
| 1153 } | 1153 } |
| 1154 | 1154 |
| 1155 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 1155 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
| 1156 buildCounterAccountstatusesCustomBatchResponse++; | 1156 buildCounterAccountstatusesCustomBatchResponse++; |
| 1157 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1157 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1158 checkUnnamed927(o.entries); | 1158 checkUnnamed520(o.entries); |
| 1159 unittest.expect(o.kind, unittest.equals('foo')); | 1159 unittest.expect(o.kind, unittest.equals('foo')); |
| 1160 } | 1160 } |
| 1161 buildCounterAccountstatusesCustomBatchResponse--; | 1161 buildCounterAccountstatusesCustomBatchResponse--; |
| 1162 } | 1162 } |
| 1163 | 1163 |
| 1164 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 1164 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
| 1165 buildAccountstatusesCustomBatchResponseEntry() { | 1165 buildAccountstatusesCustomBatchResponseEntry() { |
| 1166 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 1166 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
| 1167 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1167 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1168 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1168 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1169 o.accountStatus = buildAccountStatus(); | 1169 o.accountStatus = buildAccountStatus(); |
| 1170 o.batchId = 42; | 1170 o.batchId = 42; |
| 1171 o.errors = buildErrors(); | 1171 o.errors = buildErrors(); |
| 1172 } | 1172 } |
| 1173 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1173 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1174 return o; | 1174 return o; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 1177 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
| 1178 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1178 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1179 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1179 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1180 checkAccountStatus(o.accountStatus); | 1180 checkAccountStatus(o.accountStatus); |
| 1181 unittest.expect(o.batchId, unittest.equals(42)); | 1181 unittest.expect(o.batchId, unittest.equals(42)); |
| 1182 checkErrors(o.errors); | 1182 checkErrors(o.errors); |
| 1183 } | 1183 } |
| 1184 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1184 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1185 } | 1185 } |
| 1186 | 1186 |
| 1187 buildUnnamed928() { | 1187 buildUnnamed521() { |
| 1188 var o = new core.List<api.AccountStatus>(); | 1188 var o = new core.List<api.AccountStatus>(); |
| 1189 o.add(buildAccountStatus()); | 1189 o.add(buildAccountStatus()); |
| 1190 o.add(buildAccountStatus()); | 1190 o.add(buildAccountStatus()); |
| 1191 return o; | 1191 return o; |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 checkUnnamed928(core.List<api.AccountStatus> o) { | 1194 checkUnnamed521(core.List<api.AccountStatus> o) { |
| 1195 unittest.expect(o, unittest.hasLength(2)); | 1195 unittest.expect(o, unittest.hasLength(2)); |
| 1196 checkAccountStatus(o[0]); | 1196 checkAccountStatus(o[0]); |
| 1197 checkAccountStatus(o[1]); | 1197 checkAccountStatus(o[1]); |
| 1198 } | 1198 } |
| 1199 | 1199 |
| 1200 core.int buildCounterAccountstatusesListResponse = 0; | 1200 core.int buildCounterAccountstatusesListResponse = 0; |
| 1201 buildAccountstatusesListResponse() { | 1201 buildAccountstatusesListResponse() { |
| 1202 var o = new api.AccountstatusesListResponse(); | 1202 var o = new api.AccountstatusesListResponse(); |
| 1203 buildCounterAccountstatusesListResponse++; | 1203 buildCounterAccountstatusesListResponse++; |
| 1204 if (buildCounterAccountstatusesListResponse < 3) { | 1204 if (buildCounterAccountstatusesListResponse < 3) { |
| 1205 o.kind = "foo"; | 1205 o.kind = "foo"; |
| 1206 o.nextPageToken = "foo"; | 1206 o.nextPageToken = "foo"; |
| 1207 o.resources = buildUnnamed928(); | 1207 o.resources = buildUnnamed521(); |
| 1208 } | 1208 } |
| 1209 buildCounterAccountstatusesListResponse--; | 1209 buildCounterAccountstatusesListResponse--; |
| 1210 return o; | 1210 return o; |
| 1211 } | 1211 } |
| 1212 | 1212 |
| 1213 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 1213 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
| 1214 buildCounterAccountstatusesListResponse++; | 1214 buildCounterAccountstatusesListResponse++; |
| 1215 if (buildCounterAccountstatusesListResponse < 3) { | 1215 if (buildCounterAccountstatusesListResponse < 3) { |
| 1216 unittest.expect(o.kind, unittest.equals('foo')); | 1216 unittest.expect(o.kind, unittest.equals('foo')); |
| 1217 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1217 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1218 checkUnnamed928(o.resources); | 1218 checkUnnamed521(o.resources); |
| 1219 } | 1219 } |
| 1220 buildCounterAccountstatusesListResponse--; | 1220 buildCounterAccountstatusesListResponse--; |
| 1221 } | 1221 } |
| 1222 | 1222 |
| 1223 buildUnnamed929() { | 1223 buildUnnamed522() { |
| 1224 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 1224 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
| 1225 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1225 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1226 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1226 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1227 return o; | 1227 return o; |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 checkUnnamed929(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 1230 checkUnnamed522(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
| 1231 unittest.expect(o, unittest.hasLength(2)); | 1231 unittest.expect(o, unittest.hasLength(2)); |
| 1232 checkAccounttaxCustomBatchRequestEntry(o[0]); | 1232 checkAccounttaxCustomBatchRequestEntry(o[0]); |
| 1233 checkAccounttaxCustomBatchRequestEntry(o[1]); | 1233 checkAccounttaxCustomBatchRequestEntry(o[1]); |
| 1234 } | 1234 } |
| 1235 | 1235 |
| 1236 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 1236 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
| 1237 buildAccounttaxCustomBatchRequest() { | 1237 buildAccounttaxCustomBatchRequest() { |
| 1238 var o = new api.AccounttaxCustomBatchRequest(); | 1238 var o = new api.AccounttaxCustomBatchRequest(); |
| 1239 buildCounterAccounttaxCustomBatchRequest++; | 1239 buildCounterAccounttaxCustomBatchRequest++; |
| 1240 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1240 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1241 o.entries = buildUnnamed929(); | 1241 o.entries = buildUnnamed522(); |
| 1242 } | 1242 } |
| 1243 buildCounterAccounttaxCustomBatchRequest--; | 1243 buildCounterAccounttaxCustomBatchRequest--; |
| 1244 return o; | 1244 return o; |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 1247 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
| 1248 buildCounterAccounttaxCustomBatchRequest++; | 1248 buildCounterAccounttaxCustomBatchRequest++; |
| 1249 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1249 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1250 checkUnnamed929(o.entries); | 1250 checkUnnamed522(o.entries); |
| 1251 } | 1251 } |
| 1252 buildCounterAccounttaxCustomBatchRequest--; | 1252 buildCounterAccounttaxCustomBatchRequest--; |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 1255 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
| 1256 buildAccounttaxCustomBatchRequestEntry() { | 1256 buildAccounttaxCustomBatchRequestEntry() { |
| 1257 var o = new api.AccounttaxCustomBatchRequestEntry(); | 1257 var o = new api.AccounttaxCustomBatchRequestEntry(); |
| 1258 buildCounterAccounttaxCustomBatchRequestEntry++; | 1258 buildCounterAccounttaxCustomBatchRequestEntry++; |
| 1259 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1259 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1260 o.accountId = "foo"; | 1260 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1272 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1272 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1273 unittest.expect(o.accountId, unittest.equals('foo')); | 1273 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1274 checkAccountTax(o.accountTax); | 1274 checkAccountTax(o.accountTax); |
| 1275 unittest.expect(o.batchId, unittest.equals(42)); | 1275 unittest.expect(o.batchId, unittest.equals(42)); |
| 1276 unittest.expect(o.merchantId, unittest.equals('foo')); | 1276 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1277 unittest.expect(o.method, unittest.equals('foo')); | 1277 unittest.expect(o.method, unittest.equals('foo')); |
| 1278 } | 1278 } |
| 1279 buildCounterAccounttaxCustomBatchRequestEntry--; | 1279 buildCounterAccounttaxCustomBatchRequestEntry--; |
| 1280 } | 1280 } |
| 1281 | 1281 |
| 1282 buildUnnamed930() { | 1282 buildUnnamed523() { |
| 1283 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 1283 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
| 1284 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1284 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1285 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1285 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1286 return o; | 1286 return o; |
| 1287 } | 1287 } |
| 1288 | 1288 |
| 1289 checkUnnamed930(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 1289 checkUnnamed523(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
| 1290 unittest.expect(o, unittest.hasLength(2)); | 1290 unittest.expect(o, unittest.hasLength(2)); |
| 1291 checkAccounttaxCustomBatchResponseEntry(o[0]); | 1291 checkAccounttaxCustomBatchResponseEntry(o[0]); |
| 1292 checkAccounttaxCustomBatchResponseEntry(o[1]); | 1292 checkAccounttaxCustomBatchResponseEntry(o[1]); |
| 1293 } | 1293 } |
| 1294 | 1294 |
| 1295 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 1295 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
| 1296 buildAccounttaxCustomBatchResponse() { | 1296 buildAccounttaxCustomBatchResponse() { |
| 1297 var o = new api.AccounttaxCustomBatchResponse(); | 1297 var o = new api.AccounttaxCustomBatchResponse(); |
| 1298 buildCounterAccounttaxCustomBatchResponse++; | 1298 buildCounterAccounttaxCustomBatchResponse++; |
| 1299 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1299 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1300 o.entries = buildUnnamed930(); | 1300 o.entries = buildUnnamed523(); |
| 1301 o.kind = "foo"; | 1301 o.kind = "foo"; |
| 1302 } | 1302 } |
| 1303 buildCounterAccounttaxCustomBatchResponse--; | 1303 buildCounterAccounttaxCustomBatchResponse--; |
| 1304 return o; | 1304 return o; |
| 1305 } | 1305 } |
| 1306 | 1306 |
| 1307 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 1307 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
| 1308 buildCounterAccounttaxCustomBatchResponse++; | 1308 buildCounterAccounttaxCustomBatchResponse++; |
| 1309 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1309 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1310 checkUnnamed930(o.entries); | 1310 checkUnnamed523(o.entries); |
| 1311 unittest.expect(o.kind, unittest.equals('foo')); | 1311 unittest.expect(o.kind, unittest.equals('foo')); |
| 1312 } | 1312 } |
| 1313 buildCounterAccounttaxCustomBatchResponse--; | 1313 buildCounterAccounttaxCustomBatchResponse--; |
| 1314 } | 1314 } |
| 1315 | 1315 |
| 1316 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 1316 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
| 1317 buildAccounttaxCustomBatchResponseEntry() { | 1317 buildAccounttaxCustomBatchResponseEntry() { |
| 1318 var o = new api.AccounttaxCustomBatchResponseEntry(); | 1318 var o = new api.AccounttaxCustomBatchResponseEntry(); |
| 1319 buildCounterAccounttaxCustomBatchResponseEntry++; | 1319 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1320 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1320 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1331 buildCounterAccounttaxCustomBatchResponseEntry++; | 1331 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1332 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1332 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| 1333 checkAccountTax(o.accountTax); | 1333 checkAccountTax(o.accountTax); |
| 1334 unittest.expect(o.batchId, unittest.equals(42)); | 1334 unittest.expect(o.batchId, unittest.equals(42)); |
| 1335 checkErrors(o.errors); | 1335 checkErrors(o.errors); |
| 1336 unittest.expect(o.kind, unittest.equals('foo')); | 1336 unittest.expect(o.kind, unittest.equals('foo')); |
| 1337 } | 1337 } |
| 1338 buildCounterAccounttaxCustomBatchResponseEntry--; | 1338 buildCounterAccounttaxCustomBatchResponseEntry--; |
| 1339 } | 1339 } |
| 1340 | 1340 |
| 1341 buildUnnamed931() { | 1341 buildUnnamed524() { |
| 1342 var o = new core.List<api.AccountTax>(); | 1342 var o = new core.List<api.AccountTax>(); |
| 1343 o.add(buildAccountTax()); | 1343 o.add(buildAccountTax()); |
| 1344 o.add(buildAccountTax()); | 1344 o.add(buildAccountTax()); |
| 1345 return o; | 1345 return o; |
| 1346 } | 1346 } |
| 1347 | 1347 |
| 1348 checkUnnamed931(core.List<api.AccountTax> o) { | 1348 checkUnnamed524(core.List<api.AccountTax> o) { |
| 1349 unittest.expect(o, unittest.hasLength(2)); | 1349 unittest.expect(o, unittest.hasLength(2)); |
| 1350 checkAccountTax(o[0]); | 1350 checkAccountTax(o[0]); |
| 1351 checkAccountTax(o[1]); | 1351 checkAccountTax(o[1]); |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 core.int buildCounterAccounttaxListResponse = 0; | 1354 core.int buildCounterAccounttaxListResponse = 0; |
| 1355 buildAccounttaxListResponse() { | 1355 buildAccounttaxListResponse() { |
| 1356 var o = new api.AccounttaxListResponse(); | 1356 var o = new api.AccounttaxListResponse(); |
| 1357 buildCounterAccounttaxListResponse++; | 1357 buildCounterAccounttaxListResponse++; |
| 1358 if (buildCounterAccounttaxListResponse < 3) { | 1358 if (buildCounterAccounttaxListResponse < 3) { |
| 1359 o.kind = "foo"; | 1359 o.kind = "foo"; |
| 1360 o.nextPageToken = "foo"; | 1360 o.nextPageToken = "foo"; |
| 1361 o.resources = buildUnnamed931(); | 1361 o.resources = buildUnnamed524(); |
| 1362 } | 1362 } |
| 1363 buildCounterAccounttaxListResponse--; | 1363 buildCounterAccounttaxListResponse--; |
| 1364 return o; | 1364 return o; |
| 1365 } | 1365 } |
| 1366 | 1366 |
| 1367 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 1367 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
| 1368 buildCounterAccounttaxListResponse++; | 1368 buildCounterAccounttaxListResponse++; |
| 1369 if (buildCounterAccounttaxListResponse < 3) { | 1369 if (buildCounterAccounttaxListResponse < 3) { |
| 1370 unittest.expect(o.kind, unittest.equals('foo')); | 1370 unittest.expect(o.kind, unittest.equals('foo')); |
| 1371 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1371 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1372 checkUnnamed931(o.resources); | 1372 checkUnnamed524(o.resources); |
| 1373 } | 1373 } |
| 1374 buildCounterAccounttaxListResponse--; | 1374 buildCounterAccounttaxListResponse--; |
| 1375 } | 1375 } |
| 1376 | 1376 |
| 1377 buildUnnamed932() { | 1377 core.int buildCounterCarrierRate = 0; |
| 1378 buildCarrierRate() { |
| 1379 var o = new api.CarrierRate(); |
| 1380 buildCounterCarrierRate++; |
| 1381 if (buildCounterCarrierRate < 3) { |
| 1382 o.carrierName = "foo"; |
| 1383 o.carrierService = "foo"; |
| 1384 o.flatAdjustment = buildPrice(); |
| 1385 o.name = "foo"; |
| 1386 o.originPostalCode = "foo"; |
| 1387 o.percentageAdjustment = "foo"; |
| 1388 } |
| 1389 buildCounterCarrierRate--; |
| 1390 return o; |
| 1391 } |
| 1392 |
| 1393 checkCarrierRate(api.CarrierRate o) { |
| 1394 buildCounterCarrierRate++; |
| 1395 if (buildCounterCarrierRate < 3) { |
| 1396 unittest.expect(o.carrierName, unittest.equals('foo')); |
| 1397 unittest.expect(o.carrierService, unittest.equals('foo')); |
| 1398 checkPrice(o.flatAdjustment); |
| 1399 unittest.expect(o.name, unittest.equals('foo')); |
| 1400 unittest.expect(o.originPostalCode, unittest.equals('foo')); |
| 1401 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); |
| 1402 } |
| 1403 buildCounterCarrierRate--; |
| 1404 } |
| 1405 |
| 1406 buildUnnamed525() { |
| 1378 var o = new core.List<core.String>(); | 1407 var o = new core.List<core.String>(); |
| 1379 o.add("foo"); | 1408 o.add("foo"); |
| 1380 o.add("foo"); | 1409 o.add("foo"); |
| 1381 return o; | 1410 return o; |
| 1382 } | 1411 } |
| 1383 | 1412 |
| 1384 checkUnnamed932(core.List<core.String> o) { | 1413 checkUnnamed525(core.List<core.String> o) { |
| 1385 unittest.expect(o, unittest.hasLength(2)); | 1414 unittest.expect(o, unittest.hasLength(2)); |
| 1386 unittest.expect(o[0], unittest.equals('foo')); | 1415 unittest.expect(o[0], unittest.equals('foo')); |
| 1387 unittest.expect(o[1], unittest.equals('foo')); | 1416 unittest.expect(o[1], unittest.equals('foo')); |
| 1417 } |
| 1418 |
| 1419 core.int buildCounterCarriersCarrier = 0; |
| 1420 buildCarriersCarrier() { |
| 1421 var o = new api.CarriersCarrier(); |
| 1422 buildCounterCarriersCarrier++; |
| 1423 if (buildCounterCarriersCarrier < 3) { |
| 1424 o.country = "foo"; |
| 1425 o.name = "foo"; |
| 1426 o.services = buildUnnamed525(); |
| 1427 } |
| 1428 buildCounterCarriersCarrier--; |
| 1429 return o; |
| 1430 } |
| 1431 |
| 1432 checkCarriersCarrier(api.CarriersCarrier o) { |
| 1433 buildCounterCarriersCarrier++; |
| 1434 if (buildCounterCarriersCarrier < 3) { |
| 1435 unittest.expect(o.country, unittest.equals('foo')); |
| 1436 unittest.expect(o.name, unittest.equals('foo')); |
| 1437 checkUnnamed525(o.services); |
| 1438 } |
| 1439 buildCounterCarriersCarrier--; |
| 1440 } |
| 1441 |
| 1442 buildUnnamed526() { |
| 1443 var o = new core.List<core.String>(); |
| 1444 o.add("foo"); |
| 1445 o.add("foo"); |
| 1446 return o; |
| 1447 } |
| 1448 |
| 1449 checkUnnamed526(core.List<core.String> o) { |
| 1450 unittest.expect(o, unittest.hasLength(2)); |
| 1451 unittest.expect(o[0], unittest.equals('foo')); |
| 1452 unittest.expect(o[1], unittest.equals('foo')); |
| 1388 } | 1453 } |
| 1389 | 1454 |
| 1390 core.int buildCounterDatafeed = 0; | 1455 core.int buildCounterDatafeed = 0; |
| 1391 buildDatafeed() { | 1456 buildDatafeed() { |
| 1392 var o = new api.Datafeed(); | 1457 var o = new api.Datafeed(); |
| 1393 buildCounterDatafeed++; | 1458 buildCounterDatafeed++; |
| 1394 if (buildCounterDatafeed < 3) { | 1459 if (buildCounterDatafeed < 3) { |
| 1395 o.attributeLanguage = "foo"; | 1460 o.attributeLanguage = "foo"; |
| 1396 o.contentLanguage = "foo"; | 1461 o.contentLanguage = "foo"; |
| 1397 o.contentType = "foo"; | 1462 o.contentType = "foo"; |
| 1398 o.fetchSchedule = buildDatafeedFetchSchedule(); | 1463 o.fetchSchedule = buildDatafeedFetchSchedule(); |
| 1399 o.fileName = "foo"; | 1464 o.fileName = "foo"; |
| 1400 o.format = buildDatafeedFormat(); | 1465 o.format = buildDatafeedFormat(); |
| 1401 o.id = "foo"; | 1466 o.id = "foo"; |
| 1402 o.intendedDestinations = buildUnnamed932(); | 1467 o.intendedDestinations = buildUnnamed526(); |
| 1403 o.kind = "foo"; | 1468 o.kind = "foo"; |
| 1404 o.name = "foo"; | 1469 o.name = "foo"; |
| 1405 o.targetCountry = "foo"; | 1470 o.targetCountry = "foo"; |
| 1406 } | 1471 } |
| 1407 buildCounterDatafeed--; | 1472 buildCounterDatafeed--; |
| 1408 return o; | 1473 return o; |
| 1409 } | 1474 } |
| 1410 | 1475 |
| 1411 checkDatafeed(api.Datafeed o) { | 1476 checkDatafeed(api.Datafeed o) { |
| 1412 buildCounterDatafeed++; | 1477 buildCounterDatafeed++; |
| 1413 if (buildCounterDatafeed < 3) { | 1478 if (buildCounterDatafeed < 3) { |
| 1414 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 1479 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
| 1415 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 1480 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 1416 unittest.expect(o.contentType, unittest.equals('foo')); | 1481 unittest.expect(o.contentType, unittest.equals('foo')); |
| 1417 checkDatafeedFetchSchedule(o.fetchSchedule); | 1482 checkDatafeedFetchSchedule(o.fetchSchedule); |
| 1418 unittest.expect(o.fileName, unittest.equals('foo')); | 1483 unittest.expect(o.fileName, unittest.equals('foo')); |
| 1419 checkDatafeedFormat(o.format); | 1484 checkDatafeedFormat(o.format); |
| 1420 unittest.expect(o.id, unittest.equals('foo')); | 1485 unittest.expect(o.id, unittest.equals('foo')); |
| 1421 checkUnnamed932(o.intendedDestinations); | 1486 checkUnnamed526(o.intendedDestinations); |
| 1422 unittest.expect(o.kind, unittest.equals('foo')); | 1487 unittest.expect(o.kind, unittest.equals('foo')); |
| 1423 unittest.expect(o.name, unittest.equals('foo')); | 1488 unittest.expect(o.name, unittest.equals('foo')); |
| 1424 unittest.expect(o.targetCountry, unittest.equals('foo')); | 1489 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 1425 } | 1490 } |
| 1426 buildCounterDatafeed--; | 1491 buildCounterDatafeed--; |
| 1427 } | 1492 } |
| 1428 | 1493 |
| 1429 core.int buildCounterDatafeedFetchSchedule = 0; | 1494 core.int buildCounterDatafeedFetchSchedule = 0; |
| 1430 buildDatafeedFetchSchedule() { | 1495 buildDatafeedFetchSchedule() { |
| 1431 var o = new api.DatafeedFetchSchedule(); | 1496 var o = new api.DatafeedFetchSchedule(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1475 checkDatafeedFormat(api.DatafeedFormat o) { | 1540 checkDatafeedFormat(api.DatafeedFormat o) { |
| 1476 buildCounterDatafeedFormat++; | 1541 buildCounterDatafeedFormat++; |
| 1477 if (buildCounterDatafeedFormat < 3) { | 1542 if (buildCounterDatafeedFormat < 3) { |
| 1478 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1543 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
| 1479 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1544 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
| 1480 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1545 unittest.expect(o.quotingMode, unittest.equals('foo')); |
| 1481 } | 1546 } |
| 1482 buildCounterDatafeedFormat--; | 1547 buildCounterDatafeedFormat--; |
| 1483 } | 1548 } |
| 1484 | 1549 |
| 1485 buildUnnamed933() { | 1550 buildUnnamed527() { |
| 1486 var o = new core.List<api.DatafeedStatusError>(); | 1551 var o = new core.List<api.DatafeedStatusError>(); |
| 1487 o.add(buildDatafeedStatusError()); | 1552 o.add(buildDatafeedStatusError()); |
| 1488 o.add(buildDatafeedStatusError()); | 1553 o.add(buildDatafeedStatusError()); |
| 1489 return o; | 1554 return o; |
| 1490 } | 1555 } |
| 1491 | 1556 |
| 1492 checkUnnamed933(core.List<api.DatafeedStatusError> o) { | 1557 checkUnnamed527(core.List<api.DatafeedStatusError> o) { |
| 1493 unittest.expect(o, unittest.hasLength(2)); | 1558 unittest.expect(o, unittest.hasLength(2)); |
| 1494 checkDatafeedStatusError(o[0]); | 1559 checkDatafeedStatusError(o[0]); |
| 1495 checkDatafeedStatusError(o[1]); | 1560 checkDatafeedStatusError(o[1]); |
| 1496 } | 1561 } |
| 1497 | 1562 |
| 1498 buildUnnamed934() { | 1563 buildUnnamed528() { |
| 1499 var o = new core.List<api.DatafeedStatusError>(); | 1564 var o = new core.List<api.DatafeedStatusError>(); |
| 1500 o.add(buildDatafeedStatusError()); | 1565 o.add(buildDatafeedStatusError()); |
| 1501 o.add(buildDatafeedStatusError()); | 1566 o.add(buildDatafeedStatusError()); |
| 1502 return o; | 1567 return o; |
| 1503 } | 1568 } |
| 1504 | 1569 |
| 1505 checkUnnamed934(core.List<api.DatafeedStatusError> o) { | 1570 checkUnnamed528(core.List<api.DatafeedStatusError> o) { |
| 1506 unittest.expect(o, unittest.hasLength(2)); | 1571 unittest.expect(o, unittest.hasLength(2)); |
| 1507 checkDatafeedStatusError(o[0]); | 1572 checkDatafeedStatusError(o[0]); |
| 1508 checkDatafeedStatusError(o[1]); | 1573 checkDatafeedStatusError(o[1]); |
| 1509 } | 1574 } |
| 1510 | 1575 |
| 1511 core.int buildCounterDatafeedStatus = 0; | 1576 core.int buildCounterDatafeedStatus = 0; |
| 1512 buildDatafeedStatus() { | 1577 buildDatafeedStatus() { |
| 1513 var o = new api.DatafeedStatus(); | 1578 var o = new api.DatafeedStatus(); |
| 1514 buildCounterDatafeedStatus++; | 1579 buildCounterDatafeedStatus++; |
| 1515 if (buildCounterDatafeedStatus < 3) { | 1580 if (buildCounterDatafeedStatus < 3) { |
| 1516 o.datafeedId = "foo"; | 1581 o.datafeedId = "foo"; |
| 1517 o.errors = buildUnnamed933(); | 1582 o.errors = buildUnnamed527(); |
| 1518 o.itemsTotal = "foo"; | 1583 o.itemsTotal = "foo"; |
| 1519 o.itemsValid = "foo"; | 1584 o.itemsValid = "foo"; |
| 1520 o.kind = "foo"; | 1585 o.kind = "foo"; |
| 1521 o.lastUploadDate = "foo"; | 1586 o.lastUploadDate = "foo"; |
| 1522 o.processingStatus = "foo"; | 1587 o.processingStatus = "foo"; |
| 1523 o.warnings = buildUnnamed934(); | 1588 o.warnings = buildUnnamed528(); |
| 1524 } | 1589 } |
| 1525 buildCounterDatafeedStatus--; | 1590 buildCounterDatafeedStatus--; |
| 1526 return o; | 1591 return o; |
| 1527 } | 1592 } |
| 1528 | 1593 |
| 1529 checkDatafeedStatus(api.DatafeedStatus o) { | 1594 checkDatafeedStatus(api.DatafeedStatus o) { |
| 1530 buildCounterDatafeedStatus++; | 1595 buildCounterDatafeedStatus++; |
| 1531 if (buildCounterDatafeedStatus < 3) { | 1596 if (buildCounterDatafeedStatus < 3) { |
| 1532 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1597 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1533 checkUnnamed933(o.errors); | 1598 checkUnnamed527(o.errors); |
| 1534 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1599 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
| 1535 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1600 unittest.expect(o.itemsValid, unittest.equals('foo')); |
| 1536 unittest.expect(o.kind, unittest.equals('foo')); | 1601 unittest.expect(o.kind, unittest.equals('foo')); |
| 1537 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1602 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
| 1538 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1603 unittest.expect(o.processingStatus, unittest.equals('foo')); |
| 1539 checkUnnamed934(o.warnings); | 1604 checkUnnamed528(o.warnings); |
| 1540 } | 1605 } |
| 1541 buildCounterDatafeedStatus--; | 1606 buildCounterDatafeedStatus--; |
| 1542 } | 1607 } |
| 1543 | 1608 |
| 1544 buildUnnamed935() { | 1609 buildUnnamed529() { |
| 1545 var o = new core.List<api.DatafeedStatusExample>(); | 1610 var o = new core.List<api.DatafeedStatusExample>(); |
| 1546 o.add(buildDatafeedStatusExample()); | 1611 o.add(buildDatafeedStatusExample()); |
| 1547 o.add(buildDatafeedStatusExample()); | 1612 o.add(buildDatafeedStatusExample()); |
| 1548 return o; | 1613 return o; |
| 1549 } | 1614 } |
| 1550 | 1615 |
| 1551 checkUnnamed935(core.List<api.DatafeedStatusExample> o) { | 1616 checkUnnamed529(core.List<api.DatafeedStatusExample> o) { |
| 1552 unittest.expect(o, unittest.hasLength(2)); | 1617 unittest.expect(o, unittest.hasLength(2)); |
| 1553 checkDatafeedStatusExample(o[0]); | 1618 checkDatafeedStatusExample(o[0]); |
| 1554 checkDatafeedStatusExample(o[1]); | 1619 checkDatafeedStatusExample(o[1]); |
| 1555 } | 1620 } |
| 1556 | 1621 |
| 1557 core.int buildCounterDatafeedStatusError = 0; | 1622 core.int buildCounterDatafeedStatusError = 0; |
| 1558 buildDatafeedStatusError() { | 1623 buildDatafeedStatusError() { |
| 1559 var o = new api.DatafeedStatusError(); | 1624 var o = new api.DatafeedStatusError(); |
| 1560 buildCounterDatafeedStatusError++; | 1625 buildCounterDatafeedStatusError++; |
| 1561 if (buildCounterDatafeedStatusError < 3) { | 1626 if (buildCounterDatafeedStatusError < 3) { |
| 1562 o.code = "foo"; | 1627 o.code = "foo"; |
| 1563 o.count = "foo"; | 1628 o.count = "foo"; |
| 1564 o.examples = buildUnnamed935(); | 1629 o.examples = buildUnnamed529(); |
| 1565 o.message = "foo"; | 1630 o.message = "foo"; |
| 1566 } | 1631 } |
| 1567 buildCounterDatafeedStatusError--; | 1632 buildCounterDatafeedStatusError--; |
| 1568 return o; | 1633 return o; |
| 1569 } | 1634 } |
| 1570 | 1635 |
| 1571 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1636 checkDatafeedStatusError(api.DatafeedStatusError o) { |
| 1572 buildCounterDatafeedStatusError++; | 1637 buildCounterDatafeedStatusError++; |
| 1573 if (buildCounterDatafeedStatusError < 3) { | 1638 if (buildCounterDatafeedStatusError < 3) { |
| 1574 unittest.expect(o.code, unittest.equals('foo')); | 1639 unittest.expect(o.code, unittest.equals('foo')); |
| 1575 unittest.expect(o.count, unittest.equals('foo')); | 1640 unittest.expect(o.count, unittest.equals('foo')); |
| 1576 checkUnnamed935(o.examples); | 1641 checkUnnamed529(o.examples); |
| 1577 unittest.expect(o.message, unittest.equals('foo')); | 1642 unittest.expect(o.message, unittest.equals('foo')); |
| 1578 } | 1643 } |
| 1579 buildCounterDatafeedStatusError--; | 1644 buildCounterDatafeedStatusError--; |
| 1580 } | 1645 } |
| 1581 | 1646 |
| 1582 core.int buildCounterDatafeedStatusExample = 0; | 1647 core.int buildCounterDatafeedStatusExample = 0; |
| 1583 buildDatafeedStatusExample() { | 1648 buildDatafeedStatusExample() { |
| 1584 var o = new api.DatafeedStatusExample(); | 1649 var o = new api.DatafeedStatusExample(); |
| 1585 buildCounterDatafeedStatusExample++; | 1650 buildCounterDatafeedStatusExample++; |
| 1586 if (buildCounterDatafeedStatusExample < 3) { | 1651 if (buildCounterDatafeedStatusExample < 3) { |
| 1587 o.itemId = "foo"; | 1652 o.itemId = "foo"; |
| 1588 o.lineNumber = "foo"; | 1653 o.lineNumber = "foo"; |
| 1589 o.value = "foo"; | 1654 o.value = "foo"; |
| 1590 } | 1655 } |
| 1591 buildCounterDatafeedStatusExample--; | 1656 buildCounterDatafeedStatusExample--; |
| 1592 return o; | 1657 return o; |
| 1593 } | 1658 } |
| 1594 | 1659 |
| 1595 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1660 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
| 1596 buildCounterDatafeedStatusExample++; | 1661 buildCounterDatafeedStatusExample++; |
| 1597 if (buildCounterDatafeedStatusExample < 3) { | 1662 if (buildCounterDatafeedStatusExample < 3) { |
| 1598 unittest.expect(o.itemId, unittest.equals('foo')); | 1663 unittest.expect(o.itemId, unittest.equals('foo')); |
| 1599 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1664 unittest.expect(o.lineNumber, unittest.equals('foo')); |
| 1600 unittest.expect(o.value, unittest.equals('foo')); | 1665 unittest.expect(o.value, unittest.equals('foo')); |
| 1601 } | 1666 } |
| 1602 buildCounterDatafeedStatusExample--; | 1667 buildCounterDatafeedStatusExample--; |
| 1603 } | 1668 } |
| 1604 | 1669 |
| 1605 buildUnnamed936() { | 1670 buildUnnamed530() { |
| 1606 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1671 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
| 1607 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1672 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1608 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1673 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1609 return o; | 1674 return o; |
| 1610 } | 1675 } |
| 1611 | 1676 |
| 1612 checkUnnamed936(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1677 checkUnnamed530(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
| 1613 unittest.expect(o, unittest.hasLength(2)); | 1678 unittest.expect(o, unittest.hasLength(2)); |
| 1614 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1679 checkDatafeedsCustomBatchRequestEntry(o[0]); |
| 1615 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1680 checkDatafeedsCustomBatchRequestEntry(o[1]); |
| 1616 } | 1681 } |
| 1617 | 1682 |
| 1618 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1683 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
| 1619 buildDatafeedsCustomBatchRequest() { | 1684 buildDatafeedsCustomBatchRequest() { |
| 1620 var o = new api.DatafeedsCustomBatchRequest(); | 1685 var o = new api.DatafeedsCustomBatchRequest(); |
| 1621 buildCounterDatafeedsCustomBatchRequest++; | 1686 buildCounterDatafeedsCustomBatchRequest++; |
| 1622 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1687 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1623 o.entries = buildUnnamed936(); | 1688 o.entries = buildUnnamed530(); |
| 1624 } | 1689 } |
| 1625 buildCounterDatafeedsCustomBatchRequest--; | 1690 buildCounterDatafeedsCustomBatchRequest--; |
| 1626 return o; | 1691 return o; |
| 1627 } | 1692 } |
| 1628 | 1693 |
| 1629 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1694 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
| 1630 buildCounterDatafeedsCustomBatchRequest++; | 1695 buildCounterDatafeedsCustomBatchRequest++; |
| 1631 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1696 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1632 checkUnnamed936(o.entries); | 1697 checkUnnamed530(o.entries); |
| 1633 } | 1698 } |
| 1634 buildCounterDatafeedsCustomBatchRequest--; | 1699 buildCounterDatafeedsCustomBatchRequest--; |
| 1635 } | 1700 } |
| 1636 | 1701 |
| 1637 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1702 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
| 1638 buildDatafeedsCustomBatchRequestEntry() { | 1703 buildDatafeedsCustomBatchRequestEntry() { |
| 1639 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1704 var o = new api.DatafeedsCustomBatchRequestEntry(); |
| 1640 buildCounterDatafeedsCustomBatchRequestEntry++; | 1705 buildCounterDatafeedsCustomBatchRequestEntry++; |
| 1641 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1706 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1642 o.batchId = 42; | 1707 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1654 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1719 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1655 unittest.expect(o.batchId, unittest.equals(42)); | 1720 unittest.expect(o.batchId, unittest.equals(42)); |
| 1656 checkDatafeed(o.datafeed); | 1721 checkDatafeed(o.datafeed); |
| 1657 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1722 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1658 unittest.expect(o.merchantId, unittest.equals('foo')); | 1723 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1659 unittest.expect(o.method, unittest.equals('foo')); | 1724 unittest.expect(o.method, unittest.equals('foo')); |
| 1660 } | 1725 } |
| 1661 buildCounterDatafeedsCustomBatchRequestEntry--; | 1726 buildCounterDatafeedsCustomBatchRequestEntry--; |
| 1662 } | 1727 } |
| 1663 | 1728 |
| 1664 buildUnnamed937() { | 1729 buildUnnamed531() { |
| 1665 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1730 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
| 1666 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1731 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1667 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1732 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1668 return o; | 1733 return o; |
| 1669 } | 1734 } |
| 1670 | 1735 |
| 1671 checkUnnamed937(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1736 checkUnnamed531(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
| 1672 unittest.expect(o, unittest.hasLength(2)); | 1737 unittest.expect(o, unittest.hasLength(2)); |
| 1673 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1738 checkDatafeedsCustomBatchResponseEntry(o[0]); |
| 1674 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1739 checkDatafeedsCustomBatchResponseEntry(o[1]); |
| 1675 } | 1740 } |
| 1676 | 1741 |
| 1677 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1742 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
| 1678 buildDatafeedsCustomBatchResponse() { | 1743 buildDatafeedsCustomBatchResponse() { |
| 1679 var o = new api.DatafeedsCustomBatchResponse(); | 1744 var o = new api.DatafeedsCustomBatchResponse(); |
| 1680 buildCounterDatafeedsCustomBatchResponse++; | 1745 buildCounterDatafeedsCustomBatchResponse++; |
| 1681 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1746 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1682 o.entries = buildUnnamed937(); | 1747 o.entries = buildUnnamed531(); |
| 1683 o.kind = "foo"; | 1748 o.kind = "foo"; |
| 1684 } | 1749 } |
| 1685 buildCounterDatafeedsCustomBatchResponse--; | 1750 buildCounterDatafeedsCustomBatchResponse--; |
| 1686 return o; | 1751 return o; |
| 1687 } | 1752 } |
| 1688 | 1753 |
| 1689 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1754 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
| 1690 buildCounterDatafeedsCustomBatchResponse++; | 1755 buildCounterDatafeedsCustomBatchResponse++; |
| 1691 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1756 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1692 checkUnnamed937(o.entries); | 1757 checkUnnamed531(o.entries); |
| 1693 unittest.expect(o.kind, unittest.equals('foo')); | 1758 unittest.expect(o.kind, unittest.equals('foo')); |
| 1694 } | 1759 } |
| 1695 buildCounterDatafeedsCustomBatchResponse--; | 1760 buildCounterDatafeedsCustomBatchResponse--; |
| 1696 } | 1761 } |
| 1697 | 1762 |
| 1698 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1763 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
| 1699 buildDatafeedsCustomBatchResponseEntry() { | 1764 buildDatafeedsCustomBatchResponseEntry() { |
| 1700 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1765 var o = new api.DatafeedsCustomBatchResponseEntry(); |
| 1701 buildCounterDatafeedsCustomBatchResponseEntry++; | 1766 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1702 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1767 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1703 o.batchId = 42; | 1768 o.batchId = 42; |
| 1704 o.datafeed = buildDatafeed(); | 1769 o.datafeed = buildDatafeed(); |
| 1705 o.errors = buildErrors(); | 1770 o.errors = buildErrors(); |
| 1706 } | 1771 } |
| 1707 buildCounterDatafeedsCustomBatchResponseEntry--; | 1772 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1708 return o; | 1773 return o; |
| 1709 } | 1774 } |
| 1710 | 1775 |
| 1711 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1776 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
| 1712 buildCounterDatafeedsCustomBatchResponseEntry++; | 1777 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1713 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1778 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1714 unittest.expect(o.batchId, unittest.equals(42)); | 1779 unittest.expect(o.batchId, unittest.equals(42)); |
| 1715 checkDatafeed(o.datafeed); | 1780 checkDatafeed(o.datafeed); |
| 1716 checkErrors(o.errors); | 1781 checkErrors(o.errors); |
| 1717 } | 1782 } |
| 1718 buildCounterDatafeedsCustomBatchResponseEntry--; | 1783 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1719 } | 1784 } |
| 1720 | 1785 |
| 1721 buildUnnamed938() { | 1786 buildUnnamed532() { |
| 1722 var o = new core.List<api.Datafeed>(); | 1787 var o = new core.List<api.Datafeed>(); |
| 1723 o.add(buildDatafeed()); | 1788 o.add(buildDatafeed()); |
| 1724 o.add(buildDatafeed()); | 1789 o.add(buildDatafeed()); |
| 1725 return o; | 1790 return o; |
| 1726 } | 1791 } |
| 1727 | 1792 |
| 1728 checkUnnamed938(core.List<api.Datafeed> o) { | 1793 checkUnnamed532(core.List<api.Datafeed> o) { |
| 1729 unittest.expect(o, unittest.hasLength(2)); | 1794 unittest.expect(o, unittest.hasLength(2)); |
| 1730 checkDatafeed(o[0]); | 1795 checkDatafeed(o[0]); |
| 1731 checkDatafeed(o[1]); | 1796 checkDatafeed(o[1]); |
| 1732 } | 1797 } |
| 1733 | 1798 |
| 1734 core.int buildCounterDatafeedsListResponse = 0; | 1799 core.int buildCounterDatafeedsListResponse = 0; |
| 1735 buildDatafeedsListResponse() { | 1800 buildDatafeedsListResponse() { |
| 1736 var o = new api.DatafeedsListResponse(); | 1801 var o = new api.DatafeedsListResponse(); |
| 1737 buildCounterDatafeedsListResponse++; | 1802 buildCounterDatafeedsListResponse++; |
| 1738 if (buildCounterDatafeedsListResponse < 3) { | 1803 if (buildCounterDatafeedsListResponse < 3) { |
| 1739 o.kind = "foo"; | 1804 o.kind = "foo"; |
| 1740 o.nextPageToken = "foo"; | 1805 o.nextPageToken = "foo"; |
| 1741 o.resources = buildUnnamed938(); | 1806 o.resources = buildUnnamed532(); |
| 1742 } | 1807 } |
| 1743 buildCounterDatafeedsListResponse--; | 1808 buildCounterDatafeedsListResponse--; |
| 1744 return o; | 1809 return o; |
| 1745 } | 1810 } |
| 1746 | 1811 |
| 1747 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1812 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
| 1748 buildCounterDatafeedsListResponse++; | 1813 buildCounterDatafeedsListResponse++; |
| 1749 if (buildCounterDatafeedsListResponse < 3) { | 1814 if (buildCounterDatafeedsListResponse < 3) { |
| 1750 unittest.expect(o.kind, unittest.equals('foo')); | 1815 unittest.expect(o.kind, unittest.equals('foo')); |
| 1751 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1816 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1752 checkUnnamed938(o.resources); | 1817 checkUnnamed532(o.resources); |
| 1753 } | 1818 } |
| 1754 buildCounterDatafeedsListResponse--; | 1819 buildCounterDatafeedsListResponse--; |
| 1755 } | 1820 } |
| 1756 | 1821 |
| 1757 buildUnnamed939() { | 1822 buildUnnamed533() { |
| 1758 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1823 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
| 1759 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1824 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1760 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1825 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1761 return o; | 1826 return o; |
| 1762 } | 1827 } |
| 1763 | 1828 |
| 1764 checkUnnamed939(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1829 checkUnnamed533(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
| 1765 unittest.expect(o, unittest.hasLength(2)); | 1830 unittest.expect(o, unittest.hasLength(2)); |
| 1766 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1831 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
| 1767 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1832 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
| 1768 } | 1833 } |
| 1769 | 1834 |
| 1770 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1835 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
| 1771 buildDatafeedstatusesCustomBatchRequest() { | 1836 buildDatafeedstatusesCustomBatchRequest() { |
| 1772 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1837 var o = new api.DatafeedstatusesCustomBatchRequest(); |
| 1773 buildCounterDatafeedstatusesCustomBatchRequest++; | 1838 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1774 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1839 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1775 o.entries = buildUnnamed939(); | 1840 o.entries = buildUnnamed533(); |
| 1776 } | 1841 } |
| 1777 buildCounterDatafeedstatusesCustomBatchRequest--; | 1842 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1778 return o; | 1843 return o; |
| 1779 } | 1844 } |
| 1780 | 1845 |
| 1781 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1846 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
| 1782 buildCounterDatafeedstatusesCustomBatchRequest++; | 1847 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1783 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1848 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1784 checkUnnamed939(o.entries); | 1849 checkUnnamed533(o.entries); |
| 1785 } | 1850 } |
| 1786 buildCounterDatafeedstatusesCustomBatchRequest--; | 1851 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1787 } | 1852 } |
| 1788 | 1853 |
| 1789 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1854 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
| 1790 buildDatafeedstatusesCustomBatchRequestEntry() { | 1855 buildDatafeedstatusesCustomBatchRequestEntry() { |
| 1791 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1856 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
| 1792 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1857 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1793 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1858 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1794 o.batchId = 42; | 1859 o.batchId = 42; |
| 1795 o.datafeedId = "foo"; | 1860 o.datafeedId = "foo"; |
| 1796 o.merchantId = "foo"; | 1861 o.merchantId = "foo"; |
| 1797 o.method = "foo"; | 1862 o.method = "foo"; |
| 1798 } | 1863 } |
| 1799 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1864 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1800 return o; | 1865 return o; |
| 1801 } | 1866 } |
| 1802 | 1867 |
| 1803 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1868 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
| 1804 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1869 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1805 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1870 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1806 unittest.expect(o.batchId, unittest.equals(42)); | 1871 unittest.expect(o.batchId, unittest.equals(42)); |
| 1807 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1872 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1808 unittest.expect(o.merchantId, unittest.equals('foo')); | 1873 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1809 unittest.expect(o.method, unittest.equals('foo')); | 1874 unittest.expect(o.method, unittest.equals('foo')); |
| 1810 } | 1875 } |
| 1811 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1876 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1812 } | 1877 } |
| 1813 | 1878 |
| 1814 buildUnnamed940() { | 1879 buildUnnamed534() { |
| 1815 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1880 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
| 1816 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1881 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1817 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1882 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1818 return o; | 1883 return o; |
| 1819 } | 1884 } |
| 1820 | 1885 |
| 1821 checkUnnamed940(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1886 checkUnnamed534(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
| 1822 unittest.expect(o, unittest.hasLength(2)); | 1887 unittest.expect(o, unittest.hasLength(2)); |
| 1823 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1888 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
| 1824 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1889 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
| 1825 } | 1890 } |
| 1826 | 1891 |
| 1827 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1892 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
| 1828 buildDatafeedstatusesCustomBatchResponse() { | 1893 buildDatafeedstatusesCustomBatchResponse() { |
| 1829 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1894 var o = new api.DatafeedstatusesCustomBatchResponse(); |
| 1830 buildCounterDatafeedstatusesCustomBatchResponse++; | 1895 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1831 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1896 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1832 o.entries = buildUnnamed940(); | 1897 o.entries = buildUnnamed534(); |
| 1833 o.kind = "foo"; | 1898 o.kind = "foo"; |
| 1834 } | 1899 } |
| 1835 buildCounterDatafeedstatusesCustomBatchResponse--; | 1900 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1836 return o; | 1901 return o; |
| 1837 } | 1902 } |
| 1838 | 1903 |
| 1839 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1904 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
| 1840 buildCounterDatafeedstatusesCustomBatchResponse++; | 1905 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1841 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1906 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1842 checkUnnamed940(o.entries); | 1907 checkUnnamed534(o.entries); |
| 1843 unittest.expect(o.kind, unittest.equals('foo')); | 1908 unittest.expect(o.kind, unittest.equals('foo')); |
| 1844 } | 1909 } |
| 1845 buildCounterDatafeedstatusesCustomBatchResponse--; | 1910 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1846 } | 1911 } |
| 1847 | 1912 |
| 1848 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1913 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
| 1849 buildDatafeedstatusesCustomBatchResponseEntry() { | 1914 buildDatafeedstatusesCustomBatchResponseEntry() { |
| 1850 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1915 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
| 1851 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1916 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1852 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1917 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1853 o.batchId = 42; | 1918 o.batchId = 42; |
| 1854 o.datafeedStatus = buildDatafeedStatus(); | 1919 o.datafeedStatus = buildDatafeedStatus(); |
| 1855 o.errors = buildErrors(); | 1920 o.errors = buildErrors(); |
| 1856 } | 1921 } |
| 1857 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1922 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1858 return o; | 1923 return o; |
| 1859 } | 1924 } |
| 1860 | 1925 |
| 1861 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1926 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
| 1862 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1927 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1863 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1928 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1864 unittest.expect(o.batchId, unittest.equals(42)); | 1929 unittest.expect(o.batchId, unittest.equals(42)); |
| 1865 checkDatafeedStatus(o.datafeedStatus); | 1930 checkDatafeedStatus(o.datafeedStatus); |
| 1866 checkErrors(o.errors); | 1931 checkErrors(o.errors); |
| 1867 } | 1932 } |
| 1868 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1933 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1869 } | 1934 } |
| 1870 | 1935 |
| 1871 buildUnnamed941() { | 1936 buildUnnamed535() { |
| 1872 var o = new core.List<api.DatafeedStatus>(); | 1937 var o = new core.List<api.DatafeedStatus>(); |
| 1873 o.add(buildDatafeedStatus()); | 1938 o.add(buildDatafeedStatus()); |
| 1874 o.add(buildDatafeedStatus()); | 1939 o.add(buildDatafeedStatus()); |
| 1875 return o; | 1940 return o; |
| 1876 } | 1941 } |
| 1877 | 1942 |
| 1878 checkUnnamed941(core.List<api.DatafeedStatus> o) { | 1943 checkUnnamed535(core.List<api.DatafeedStatus> o) { |
| 1879 unittest.expect(o, unittest.hasLength(2)); | 1944 unittest.expect(o, unittest.hasLength(2)); |
| 1880 checkDatafeedStatus(o[0]); | 1945 checkDatafeedStatus(o[0]); |
| 1881 checkDatafeedStatus(o[1]); | 1946 checkDatafeedStatus(o[1]); |
| 1882 } | 1947 } |
| 1883 | 1948 |
| 1884 core.int buildCounterDatafeedstatusesListResponse = 0; | 1949 core.int buildCounterDatafeedstatusesListResponse = 0; |
| 1885 buildDatafeedstatusesListResponse() { | 1950 buildDatafeedstatusesListResponse() { |
| 1886 var o = new api.DatafeedstatusesListResponse(); | 1951 var o = new api.DatafeedstatusesListResponse(); |
| 1887 buildCounterDatafeedstatusesListResponse++; | 1952 buildCounterDatafeedstatusesListResponse++; |
| 1888 if (buildCounterDatafeedstatusesListResponse < 3) { | 1953 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1889 o.kind = "foo"; | 1954 o.kind = "foo"; |
| 1890 o.nextPageToken = "foo"; | 1955 o.nextPageToken = "foo"; |
| 1891 o.resources = buildUnnamed941(); | 1956 o.resources = buildUnnamed535(); |
| 1892 } | 1957 } |
| 1893 buildCounterDatafeedstatusesListResponse--; | 1958 buildCounterDatafeedstatusesListResponse--; |
| 1894 return o; | 1959 return o; |
| 1895 } | 1960 } |
| 1896 | 1961 |
| 1897 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1962 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
| 1898 buildCounterDatafeedstatusesListResponse++; | 1963 buildCounterDatafeedstatusesListResponse++; |
| 1899 if (buildCounterDatafeedstatusesListResponse < 3) { | 1964 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1900 unittest.expect(o.kind, unittest.equals('foo')); | 1965 unittest.expect(o.kind, unittest.equals('foo')); |
| 1901 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1966 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1902 checkUnnamed941(o.resources); | 1967 checkUnnamed535(o.resources); |
| 1903 } | 1968 } |
| 1904 buildCounterDatafeedstatusesListResponse--; | 1969 buildCounterDatafeedstatusesListResponse--; |
| 1905 } | 1970 } |
| 1906 | 1971 |
| 1972 core.int buildCounterDeliveryTime = 0; |
| 1973 buildDeliveryTime() { |
| 1974 var o = new api.DeliveryTime(); |
| 1975 buildCounterDeliveryTime++; |
| 1976 if (buildCounterDeliveryTime < 3) { |
| 1977 o.maxTransitTimeInDays = 42; |
| 1978 o.minTransitTimeInDays = 42; |
| 1979 } |
| 1980 buildCounterDeliveryTime--; |
| 1981 return o; |
| 1982 } |
| 1983 |
| 1984 checkDeliveryTime(api.DeliveryTime o) { |
| 1985 buildCounterDeliveryTime++; |
| 1986 if (buildCounterDeliveryTime < 3) { |
| 1987 unittest.expect(o.maxTransitTimeInDays, unittest.equals(42)); |
| 1988 unittest.expect(o.minTransitTimeInDays, unittest.equals(42)); |
| 1989 } |
| 1990 buildCounterDeliveryTime--; |
| 1991 } |
| 1992 |
| 1907 core.int buildCounterError = 0; | 1993 core.int buildCounterError = 0; |
| 1908 buildError() { | 1994 buildError() { |
| 1909 var o = new api.Error(); | 1995 var o = new api.Error(); |
| 1910 buildCounterError++; | 1996 buildCounterError++; |
| 1911 if (buildCounterError < 3) { | 1997 if (buildCounterError < 3) { |
| 1912 o.domain = "foo"; | 1998 o.domain = "foo"; |
| 1913 o.message = "foo"; | 1999 o.message = "foo"; |
| 1914 o.reason = "foo"; | 2000 o.reason = "foo"; |
| 1915 } | 2001 } |
| 1916 buildCounterError--; | 2002 buildCounterError--; |
| 1917 return o; | 2003 return o; |
| 1918 } | 2004 } |
| 1919 | 2005 |
| 1920 checkError(api.Error o) { | 2006 checkError(api.Error o) { |
| 1921 buildCounterError++; | 2007 buildCounterError++; |
| 1922 if (buildCounterError < 3) { | 2008 if (buildCounterError < 3) { |
| 1923 unittest.expect(o.domain, unittest.equals('foo')); | 2009 unittest.expect(o.domain, unittest.equals('foo')); |
| 1924 unittest.expect(o.message, unittest.equals('foo')); | 2010 unittest.expect(o.message, unittest.equals('foo')); |
| 1925 unittest.expect(o.reason, unittest.equals('foo')); | 2011 unittest.expect(o.reason, unittest.equals('foo')); |
| 1926 } | 2012 } |
| 1927 buildCounterError--; | 2013 buildCounterError--; |
| 1928 } | 2014 } |
| 1929 | 2015 |
| 1930 buildUnnamed942() { | 2016 buildUnnamed536() { |
| 1931 var o = new core.List<api.Error>(); | 2017 var o = new core.List<api.Error>(); |
| 1932 o.add(buildError()); | 2018 o.add(buildError()); |
| 1933 o.add(buildError()); | 2019 o.add(buildError()); |
| 1934 return o; | 2020 return o; |
| 1935 } | 2021 } |
| 1936 | 2022 |
| 1937 checkUnnamed942(core.List<api.Error> o) { | 2023 checkUnnamed536(core.List<api.Error> o) { |
| 1938 unittest.expect(o, unittest.hasLength(2)); | 2024 unittest.expect(o, unittest.hasLength(2)); |
| 1939 checkError(o[0]); | 2025 checkError(o[0]); |
| 1940 checkError(o[1]); | 2026 checkError(o[1]); |
| 1941 } | 2027 } |
| 1942 | 2028 |
| 1943 core.int buildCounterErrors = 0; | 2029 core.int buildCounterErrors = 0; |
| 1944 buildErrors() { | 2030 buildErrors() { |
| 1945 var o = new api.Errors(); | 2031 var o = new api.Errors(); |
| 1946 buildCounterErrors++; | 2032 buildCounterErrors++; |
| 1947 if (buildCounterErrors < 3) { | 2033 if (buildCounterErrors < 3) { |
| 1948 o.code = 42; | 2034 o.code = 42; |
| 1949 o.errors = buildUnnamed942(); | 2035 o.errors = buildUnnamed536(); |
| 1950 o.message = "foo"; | 2036 o.message = "foo"; |
| 1951 } | 2037 } |
| 1952 buildCounterErrors--; | 2038 buildCounterErrors--; |
| 1953 return o; | 2039 return o; |
| 1954 } | 2040 } |
| 1955 | 2041 |
| 1956 checkErrors(api.Errors o) { | 2042 checkErrors(api.Errors o) { |
| 1957 buildCounterErrors++; | 2043 buildCounterErrors++; |
| 1958 if (buildCounterErrors < 3) { | 2044 if (buildCounterErrors < 3) { |
| 1959 unittest.expect(o.code, unittest.equals(42)); | 2045 unittest.expect(o.code, unittest.equals(42)); |
| 1960 checkUnnamed942(o.errors); | 2046 checkUnnamed536(o.errors); |
| 1961 unittest.expect(o.message, unittest.equals('foo')); | 2047 unittest.expect(o.message, unittest.equals('foo')); |
| 1962 } | 2048 } |
| 1963 buildCounterErrors--; | 2049 buildCounterErrors--; |
| 1964 } | 2050 } |
| 1965 | 2051 |
| 2052 buildUnnamed537() { |
| 2053 var o = new core.List<api.LocationIdSet>(); |
| 2054 o.add(buildLocationIdSet()); |
| 2055 o.add(buildLocationIdSet()); |
| 2056 return o; |
| 2057 } |
| 2058 |
| 2059 checkUnnamed537(core.List<api.LocationIdSet> o) { |
| 2060 unittest.expect(o, unittest.hasLength(2)); |
| 2061 checkLocationIdSet(o[0]); |
| 2062 checkLocationIdSet(o[1]); |
| 2063 } |
| 2064 |
| 2065 buildUnnamed538() { |
| 2066 var o = new core.List<core.String>(); |
| 2067 o.add("foo"); |
| 2068 o.add("foo"); |
| 2069 return o; |
| 2070 } |
| 2071 |
| 2072 checkUnnamed538(core.List<core.String> o) { |
| 2073 unittest.expect(o, unittest.hasLength(2)); |
| 2074 unittest.expect(o[0], unittest.equals('foo')); |
| 2075 unittest.expect(o[1], unittest.equals('foo')); |
| 2076 } |
| 2077 |
| 2078 buildUnnamed539() { |
| 2079 var o = new core.List<core.String>(); |
| 2080 o.add("foo"); |
| 2081 o.add("foo"); |
| 2082 return o; |
| 2083 } |
| 2084 |
| 2085 checkUnnamed539(core.List<core.String> o) { |
| 2086 unittest.expect(o, unittest.hasLength(2)); |
| 2087 unittest.expect(o[0], unittest.equals('foo')); |
| 2088 unittest.expect(o[1], unittest.equals('foo')); |
| 2089 } |
| 2090 |
| 2091 buildUnnamed540() { |
| 2092 var o = new core.List<api.Price>(); |
| 2093 o.add(buildPrice()); |
| 2094 o.add(buildPrice()); |
| 2095 return o; |
| 2096 } |
| 2097 |
| 2098 checkUnnamed540(core.List<api.Price> o) { |
| 2099 unittest.expect(o, unittest.hasLength(2)); |
| 2100 checkPrice(o[0]); |
| 2101 checkPrice(o[1]); |
| 2102 } |
| 2103 |
| 2104 buildUnnamed541() { |
| 2105 var o = new core.List<api.Weight>(); |
| 2106 o.add(buildWeight()); |
| 2107 o.add(buildWeight()); |
| 2108 return o; |
| 2109 } |
| 2110 |
| 2111 checkUnnamed541(core.List<api.Weight> o) { |
| 2112 unittest.expect(o, unittest.hasLength(2)); |
| 2113 checkWeight(o[0]); |
| 2114 checkWeight(o[1]); |
| 2115 } |
| 2116 |
| 2117 core.int buildCounterHeaders = 0; |
| 2118 buildHeaders() { |
| 2119 var o = new api.Headers(); |
| 2120 buildCounterHeaders++; |
| 2121 if (buildCounterHeaders < 3) { |
| 2122 o.locations = buildUnnamed537(); |
| 2123 o.numberOfItems = buildUnnamed538(); |
| 2124 o.postalCodeGroupNames = buildUnnamed539(); |
| 2125 o.prices = buildUnnamed540(); |
| 2126 o.weights = buildUnnamed541(); |
| 2127 } |
| 2128 buildCounterHeaders--; |
| 2129 return o; |
| 2130 } |
| 2131 |
| 2132 checkHeaders(api.Headers o) { |
| 2133 buildCounterHeaders++; |
| 2134 if (buildCounterHeaders < 3) { |
| 2135 checkUnnamed537(o.locations); |
| 2136 checkUnnamed538(o.numberOfItems); |
| 2137 checkUnnamed539(o.postalCodeGroupNames); |
| 2138 checkUnnamed540(o.prices); |
| 2139 checkUnnamed541(o.weights); |
| 2140 } |
| 2141 buildCounterHeaders--; |
| 2142 } |
| 2143 |
| 1966 core.int buildCounterInstallment = 0; | 2144 core.int buildCounterInstallment = 0; |
| 1967 buildInstallment() { | 2145 buildInstallment() { |
| 1968 var o = new api.Installment(); | 2146 var o = new api.Installment(); |
| 1969 buildCounterInstallment++; | 2147 buildCounterInstallment++; |
| 1970 if (buildCounterInstallment < 3) { | 2148 if (buildCounterInstallment < 3) { |
| 1971 o.amount = buildPrice(); | 2149 o.amount = buildPrice(); |
| 1972 o.months = "foo"; | 2150 o.months = "foo"; |
| 1973 } | 2151 } |
| 1974 buildCounterInstallment--; | 2152 buildCounterInstallment--; |
| 1975 return o; | 2153 return o; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2012 checkLoyaltyPoints(o.loyaltyPoints); | 2190 checkLoyaltyPoints(o.loyaltyPoints); |
| 2013 checkPrice(o.price); | 2191 checkPrice(o.price); |
| 2014 unittest.expect(o.quantity, unittest.equals(42)); | 2192 unittest.expect(o.quantity, unittest.equals(42)); |
| 2015 checkPrice(o.salePrice); | 2193 checkPrice(o.salePrice); |
| 2016 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2194 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 2017 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 2195 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
| 2018 } | 2196 } |
| 2019 buildCounterInventory--; | 2197 buildCounterInventory--; |
| 2020 } | 2198 } |
| 2021 | 2199 |
| 2022 buildUnnamed943() { | 2200 buildUnnamed542() { |
| 2023 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 2201 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
| 2024 o.add(buildInventoryCustomBatchRequestEntry()); | 2202 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2025 o.add(buildInventoryCustomBatchRequestEntry()); | 2203 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2026 return o; | 2204 return o; |
| 2027 } | 2205 } |
| 2028 | 2206 |
| 2029 checkUnnamed943(core.List<api.InventoryCustomBatchRequestEntry> o) { | 2207 checkUnnamed542(core.List<api.InventoryCustomBatchRequestEntry> o) { |
| 2030 unittest.expect(o, unittest.hasLength(2)); | 2208 unittest.expect(o, unittest.hasLength(2)); |
| 2031 checkInventoryCustomBatchRequestEntry(o[0]); | 2209 checkInventoryCustomBatchRequestEntry(o[0]); |
| 2032 checkInventoryCustomBatchRequestEntry(o[1]); | 2210 checkInventoryCustomBatchRequestEntry(o[1]); |
| 2033 } | 2211 } |
| 2034 | 2212 |
| 2035 core.int buildCounterInventoryCustomBatchRequest = 0; | 2213 core.int buildCounterInventoryCustomBatchRequest = 0; |
| 2036 buildInventoryCustomBatchRequest() { | 2214 buildInventoryCustomBatchRequest() { |
| 2037 var o = new api.InventoryCustomBatchRequest(); | 2215 var o = new api.InventoryCustomBatchRequest(); |
| 2038 buildCounterInventoryCustomBatchRequest++; | 2216 buildCounterInventoryCustomBatchRequest++; |
| 2039 if (buildCounterInventoryCustomBatchRequest < 3) { | 2217 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2040 o.entries = buildUnnamed943(); | 2218 o.entries = buildUnnamed542(); |
| 2041 } | 2219 } |
| 2042 buildCounterInventoryCustomBatchRequest--; | 2220 buildCounterInventoryCustomBatchRequest--; |
| 2043 return o; | 2221 return o; |
| 2044 } | 2222 } |
| 2045 | 2223 |
| 2046 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 2224 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
| 2047 buildCounterInventoryCustomBatchRequest++; | 2225 buildCounterInventoryCustomBatchRequest++; |
| 2048 if (buildCounterInventoryCustomBatchRequest < 3) { | 2226 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2049 checkUnnamed943(o.entries); | 2227 checkUnnamed542(o.entries); |
| 2050 } | 2228 } |
| 2051 buildCounterInventoryCustomBatchRequest--; | 2229 buildCounterInventoryCustomBatchRequest--; |
| 2052 } | 2230 } |
| 2053 | 2231 |
| 2054 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 2232 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
| 2055 buildInventoryCustomBatchRequestEntry() { | 2233 buildInventoryCustomBatchRequestEntry() { |
| 2056 var o = new api.InventoryCustomBatchRequestEntry(); | 2234 var o = new api.InventoryCustomBatchRequestEntry(); |
| 2057 buildCounterInventoryCustomBatchRequestEntry++; | 2235 buildCounterInventoryCustomBatchRequestEntry++; |
| 2058 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2236 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2059 o.batchId = 42; | 2237 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2071 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2249 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2072 unittest.expect(o.batchId, unittest.equals(42)); | 2250 unittest.expect(o.batchId, unittest.equals(42)); |
| 2073 checkInventory(o.inventory); | 2251 checkInventory(o.inventory); |
| 2074 unittest.expect(o.merchantId, unittest.equals('foo')); | 2252 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2075 unittest.expect(o.productId, unittest.equals('foo')); | 2253 unittest.expect(o.productId, unittest.equals('foo')); |
| 2076 unittest.expect(o.storeCode, unittest.equals('foo')); | 2254 unittest.expect(o.storeCode, unittest.equals('foo')); |
| 2077 } | 2255 } |
| 2078 buildCounterInventoryCustomBatchRequestEntry--; | 2256 buildCounterInventoryCustomBatchRequestEntry--; |
| 2079 } | 2257 } |
| 2080 | 2258 |
| 2081 buildUnnamed944() { | 2259 buildUnnamed543() { |
| 2082 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 2260 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
| 2083 o.add(buildInventoryCustomBatchResponseEntry()); | 2261 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2084 o.add(buildInventoryCustomBatchResponseEntry()); | 2262 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2085 return o; | 2263 return o; |
| 2086 } | 2264 } |
| 2087 | 2265 |
| 2088 checkUnnamed944(core.List<api.InventoryCustomBatchResponseEntry> o) { | 2266 checkUnnamed543(core.List<api.InventoryCustomBatchResponseEntry> o) { |
| 2089 unittest.expect(o, unittest.hasLength(2)); | 2267 unittest.expect(o, unittest.hasLength(2)); |
| 2090 checkInventoryCustomBatchResponseEntry(o[0]); | 2268 checkInventoryCustomBatchResponseEntry(o[0]); |
| 2091 checkInventoryCustomBatchResponseEntry(o[1]); | 2269 checkInventoryCustomBatchResponseEntry(o[1]); |
| 2092 } | 2270 } |
| 2093 | 2271 |
| 2094 core.int buildCounterInventoryCustomBatchResponse = 0; | 2272 core.int buildCounterInventoryCustomBatchResponse = 0; |
| 2095 buildInventoryCustomBatchResponse() { | 2273 buildInventoryCustomBatchResponse() { |
| 2096 var o = new api.InventoryCustomBatchResponse(); | 2274 var o = new api.InventoryCustomBatchResponse(); |
| 2097 buildCounterInventoryCustomBatchResponse++; | 2275 buildCounterInventoryCustomBatchResponse++; |
| 2098 if (buildCounterInventoryCustomBatchResponse < 3) { | 2276 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2099 o.entries = buildUnnamed944(); | 2277 o.entries = buildUnnamed543(); |
| 2100 o.kind = "foo"; | 2278 o.kind = "foo"; |
| 2101 } | 2279 } |
| 2102 buildCounterInventoryCustomBatchResponse--; | 2280 buildCounterInventoryCustomBatchResponse--; |
| 2103 return o; | 2281 return o; |
| 2104 } | 2282 } |
| 2105 | 2283 |
| 2106 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 2284 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
| 2107 buildCounterInventoryCustomBatchResponse++; | 2285 buildCounterInventoryCustomBatchResponse++; |
| 2108 if (buildCounterInventoryCustomBatchResponse < 3) { | 2286 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2109 checkUnnamed944(o.entries); | 2287 checkUnnamed543(o.entries); |
| 2110 unittest.expect(o.kind, unittest.equals('foo')); | 2288 unittest.expect(o.kind, unittest.equals('foo')); |
| 2111 } | 2289 } |
| 2112 buildCounterInventoryCustomBatchResponse--; | 2290 buildCounterInventoryCustomBatchResponse--; |
| 2113 } | 2291 } |
| 2114 | 2292 |
| 2115 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 2293 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
| 2116 buildInventoryCustomBatchResponseEntry() { | 2294 buildInventoryCustomBatchResponseEntry() { |
| 2117 var o = new api.InventoryCustomBatchResponseEntry(); | 2295 var o = new api.InventoryCustomBatchResponseEntry(); |
| 2118 buildCounterInventoryCustomBatchResponseEntry++; | 2296 buildCounterInventoryCustomBatchResponseEntry++; |
| 2119 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2297 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2180 } | 2358 } |
| 2181 | 2359 |
| 2182 checkInventorySetResponse(api.InventorySetResponse o) { | 2360 checkInventorySetResponse(api.InventorySetResponse o) { |
| 2183 buildCounterInventorySetResponse++; | 2361 buildCounterInventorySetResponse++; |
| 2184 if (buildCounterInventorySetResponse < 3) { | 2362 if (buildCounterInventorySetResponse < 3) { |
| 2185 unittest.expect(o.kind, unittest.equals('foo')); | 2363 unittest.expect(o.kind, unittest.equals('foo')); |
| 2186 } | 2364 } |
| 2187 buildCounterInventorySetResponse--; | 2365 buildCounterInventorySetResponse--; |
| 2188 } | 2366 } |
| 2189 | 2367 |
| 2368 buildUnnamed544() { |
| 2369 var o = new core.List<core.String>(); |
| 2370 o.add("foo"); |
| 2371 o.add("foo"); |
| 2372 return o; |
| 2373 } |
| 2374 |
| 2375 checkUnnamed544(core.List<core.String> o) { |
| 2376 unittest.expect(o, unittest.hasLength(2)); |
| 2377 unittest.expect(o[0], unittest.equals('foo')); |
| 2378 unittest.expect(o[1], unittest.equals('foo')); |
| 2379 } |
| 2380 |
| 2381 core.int buildCounterLocationIdSet = 0; |
| 2382 buildLocationIdSet() { |
| 2383 var o = new api.LocationIdSet(); |
| 2384 buildCounterLocationIdSet++; |
| 2385 if (buildCounterLocationIdSet < 3) { |
| 2386 o.locationIds = buildUnnamed544(); |
| 2387 } |
| 2388 buildCounterLocationIdSet--; |
| 2389 return o; |
| 2390 } |
| 2391 |
| 2392 checkLocationIdSet(api.LocationIdSet o) { |
| 2393 buildCounterLocationIdSet++; |
| 2394 if (buildCounterLocationIdSet < 3) { |
| 2395 checkUnnamed544(o.locationIds); |
| 2396 } |
| 2397 buildCounterLocationIdSet--; |
| 2398 } |
| 2399 |
| 2190 core.int buildCounterLoyaltyPoints = 0; | 2400 core.int buildCounterLoyaltyPoints = 0; |
| 2191 buildLoyaltyPoints() { | 2401 buildLoyaltyPoints() { |
| 2192 var o = new api.LoyaltyPoints(); | 2402 var o = new api.LoyaltyPoints(); |
| 2193 buildCounterLoyaltyPoints++; | 2403 buildCounterLoyaltyPoints++; |
| 2194 if (buildCounterLoyaltyPoints < 3) { | 2404 if (buildCounterLoyaltyPoints < 3) { |
| 2195 o.name = "foo"; | 2405 o.name = "foo"; |
| 2196 o.pointsValue = "foo"; | 2406 o.pointsValue = "foo"; |
| 2197 o.ratio = 42.0; | 2407 o.ratio = 42.0; |
| 2198 } | 2408 } |
| 2199 buildCounterLoyaltyPoints--; | 2409 buildCounterLoyaltyPoints--; |
| 2200 return o; | 2410 return o; |
| 2201 } | 2411 } |
| 2202 | 2412 |
| 2203 checkLoyaltyPoints(api.LoyaltyPoints o) { | 2413 checkLoyaltyPoints(api.LoyaltyPoints o) { |
| 2204 buildCounterLoyaltyPoints++; | 2414 buildCounterLoyaltyPoints++; |
| 2205 if (buildCounterLoyaltyPoints < 3) { | 2415 if (buildCounterLoyaltyPoints < 3) { |
| 2206 unittest.expect(o.name, unittest.equals('foo')); | 2416 unittest.expect(o.name, unittest.equals('foo')); |
| 2207 unittest.expect(o.pointsValue, unittest.equals('foo')); | 2417 unittest.expect(o.pointsValue, unittest.equals('foo')); |
| 2208 unittest.expect(o.ratio, unittest.equals(42.0)); | 2418 unittest.expect(o.ratio, unittest.equals(42.0)); |
| 2209 } | 2419 } |
| 2210 buildCounterLoyaltyPoints--; | 2420 buildCounterLoyaltyPoints--; |
| 2211 } | 2421 } |
| 2212 | 2422 |
| 2213 buildUnnamed945() { | 2423 buildUnnamed545() { |
| 2214 var o = new core.List<api.OrderLineItem>(); | 2424 var o = new core.List<api.OrderLineItem>(); |
| 2215 o.add(buildOrderLineItem()); | 2425 o.add(buildOrderLineItem()); |
| 2216 o.add(buildOrderLineItem()); | 2426 o.add(buildOrderLineItem()); |
| 2217 return o; | 2427 return o; |
| 2218 } | 2428 } |
| 2219 | 2429 |
| 2220 checkUnnamed945(core.List<api.OrderLineItem> o) { | 2430 checkUnnamed545(core.List<api.OrderLineItem> o) { |
| 2221 unittest.expect(o, unittest.hasLength(2)); | 2431 unittest.expect(o, unittest.hasLength(2)); |
| 2222 checkOrderLineItem(o[0]); | 2432 checkOrderLineItem(o[0]); |
| 2223 checkOrderLineItem(o[1]); | 2433 checkOrderLineItem(o[1]); |
| 2224 } | 2434 } |
| 2225 | 2435 |
| 2226 buildUnnamed946() { | 2436 buildUnnamed546() { |
| 2227 var o = new core.List<api.OrderPromotion>(); | 2437 var o = new core.List<api.OrderPromotion>(); |
| 2228 o.add(buildOrderPromotion()); | 2438 o.add(buildOrderPromotion()); |
| 2229 o.add(buildOrderPromotion()); | 2439 o.add(buildOrderPromotion()); |
| 2230 return o; | 2440 return o; |
| 2231 } | 2441 } |
| 2232 | 2442 |
| 2233 checkUnnamed946(core.List<api.OrderPromotion> o) { | 2443 checkUnnamed546(core.List<api.OrderPromotion> o) { |
| 2234 unittest.expect(o, unittest.hasLength(2)); | 2444 unittest.expect(o, unittest.hasLength(2)); |
| 2235 checkOrderPromotion(o[0]); | 2445 checkOrderPromotion(o[0]); |
| 2236 checkOrderPromotion(o[1]); | 2446 checkOrderPromotion(o[1]); |
| 2237 } | 2447 } |
| 2238 | 2448 |
| 2239 buildUnnamed947() { | 2449 buildUnnamed547() { |
| 2240 var o = new core.List<api.OrderRefund>(); | 2450 var o = new core.List<api.OrderRefund>(); |
| 2241 o.add(buildOrderRefund()); | 2451 o.add(buildOrderRefund()); |
| 2242 o.add(buildOrderRefund()); | 2452 o.add(buildOrderRefund()); |
| 2243 return o; | 2453 return o; |
| 2244 } | 2454 } |
| 2245 | 2455 |
| 2246 checkUnnamed947(core.List<api.OrderRefund> o) { | 2456 checkUnnamed547(core.List<api.OrderRefund> o) { |
| 2247 unittest.expect(o, unittest.hasLength(2)); | 2457 unittest.expect(o, unittest.hasLength(2)); |
| 2248 checkOrderRefund(o[0]); | 2458 checkOrderRefund(o[0]); |
| 2249 checkOrderRefund(o[1]); | 2459 checkOrderRefund(o[1]); |
| 2250 } | 2460 } |
| 2251 | 2461 |
| 2252 buildUnnamed948() { | 2462 buildUnnamed548() { |
| 2253 var o = new core.List<api.OrderShipment>(); | 2463 var o = new core.List<api.OrderShipment>(); |
| 2254 o.add(buildOrderShipment()); | 2464 o.add(buildOrderShipment()); |
| 2255 o.add(buildOrderShipment()); | 2465 o.add(buildOrderShipment()); |
| 2256 return o; | 2466 return o; |
| 2257 } | 2467 } |
| 2258 | 2468 |
| 2259 checkUnnamed948(core.List<api.OrderShipment> o) { | 2469 checkUnnamed548(core.List<api.OrderShipment> o) { |
| 2260 unittest.expect(o, unittest.hasLength(2)); | 2470 unittest.expect(o, unittest.hasLength(2)); |
| 2261 checkOrderShipment(o[0]); | 2471 checkOrderShipment(o[0]); |
| 2262 checkOrderShipment(o[1]); | 2472 checkOrderShipment(o[1]); |
| 2263 } | 2473 } |
| 2264 | 2474 |
| 2265 core.int buildCounterOrder = 0; | 2475 core.int buildCounterOrder = 0; |
| 2266 buildOrder() { | 2476 buildOrder() { |
| 2267 var o = new api.Order(); | 2477 var o = new api.Order(); |
| 2268 buildCounterOrder++; | 2478 buildCounterOrder++; |
| 2269 if (buildCounterOrder < 3) { | 2479 if (buildCounterOrder < 3) { |
| 2270 o.acknowledged = true; | 2480 o.acknowledged = true; |
| 2271 o.customer = buildOrderCustomer(); | 2481 o.customer = buildOrderCustomer(); |
| 2272 o.deliveryDetails = buildOrderDeliveryDetails(); | 2482 o.deliveryDetails = buildOrderDeliveryDetails(); |
| 2273 o.id = "foo"; | 2483 o.id = "foo"; |
| 2274 o.kind = "foo"; | 2484 o.kind = "foo"; |
| 2275 o.lineItems = buildUnnamed945(); | 2485 o.lineItems = buildUnnamed545(); |
| 2276 o.merchantId = "foo"; | 2486 o.merchantId = "foo"; |
| 2277 o.merchantOrderId = "foo"; | 2487 o.merchantOrderId = "foo"; |
| 2278 o.netAmount = buildPrice(); | 2488 o.netAmount = buildPrice(); |
| 2279 o.paymentMethod = buildOrderPaymentMethod(); | 2489 o.paymentMethod = buildOrderPaymentMethod(); |
| 2280 o.paymentStatus = "foo"; | 2490 o.paymentStatus = "foo"; |
| 2281 o.placedDate = "foo"; | 2491 o.placedDate = "foo"; |
| 2282 o.promotions = buildUnnamed946(); | 2492 o.promotions = buildUnnamed546(); |
| 2283 o.refunds = buildUnnamed947(); | 2493 o.refunds = buildUnnamed547(); |
| 2284 o.shipments = buildUnnamed948(); | 2494 o.shipments = buildUnnamed548(); |
| 2285 o.shippingCost = buildPrice(); | 2495 o.shippingCost = buildPrice(); |
| 2286 o.shippingCostTax = buildPrice(); | 2496 o.shippingCostTax = buildPrice(); |
| 2287 o.shippingOption = "foo"; | 2497 o.shippingOption = "foo"; |
| 2288 o.status = "foo"; | 2498 o.status = "foo"; |
| 2289 } | 2499 } |
| 2290 buildCounterOrder--; | 2500 buildCounterOrder--; |
| 2291 return o; | 2501 return o; |
| 2292 } | 2502 } |
| 2293 | 2503 |
| 2294 checkOrder(api.Order o) { | 2504 checkOrder(api.Order o) { |
| 2295 buildCounterOrder++; | 2505 buildCounterOrder++; |
| 2296 if (buildCounterOrder < 3) { | 2506 if (buildCounterOrder < 3) { |
| 2297 unittest.expect(o.acknowledged, unittest.isTrue); | 2507 unittest.expect(o.acknowledged, unittest.isTrue); |
| 2298 checkOrderCustomer(o.customer); | 2508 checkOrderCustomer(o.customer); |
| 2299 checkOrderDeliveryDetails(o.deliveryDetails); | 2509 checkOrderDeliveryDetails(o.deliveryDetails); |
| 2300 unittest.expect(o.id, unittest.equals('foo')); | 2510 unittest.expect(o.id, unittest.equals('foo')); |
| 2301 unittest.expect(o.kind, unittest.equals('foo')); | 2511 unittest.expect(o.kind, unittest.equals('foo')); |
| 2302 checkUnnamed945(o.lineItems); | 2512 checkUnnamed545(o.lineItems); |
| 2303 unittest.expect(o.merchantId, unittest.equals('foo')); | 2513 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2304 unittest.expect(o.merchantOrderId, unittest.equals('foo')); | 2514 unittest.expect(o.merchantOrderId, unittest.equals('foo')); |
| 2305 checkPrice(o.netAmount); | 2515 checkPrice(o.netAmount); |
| 2306 checkOrderPaymentMethod(o.paymentMethod); | 2516 checkOrderPaymentMethod(o.paymentMethod); |
| 2307 unittest.expect(o.paymentStatus, unittest.equals('foo')); | 2517 unittest.expect(o.paymentStatus, unittest.equals('foo')); |
| 2308 unittest.expect(o.placedDate, unittest.equals('foo')); | 2518 unittest.expect(o.placedDate, unittest.equals('foo')); |
| 2309 checkUnnamed946(o.promotions); | 2519 checkUnnamed546(o.promotions); |
| 2310 checkUnnamed947(o.refunds); | 2520 checkUnnamed547(o.refunds); |
| 2311 checkUnnamed948(o.shipments); | 2521 checkUnnamed548(o.shipments); |
| 2312 checkPrice(o.shippingCost); | 2522 checkPrice(o.shippingCost); |
| 2313 checkPrice(o.shippingCostTax); | 2523 checkPrice(o.shippingCostTax); |
| 2314 unittest.expect(o.shippingOption, unittest.equals('foo')); | 2524 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 2315 unittest.expect(o.status, unittest.equals('foo')); | 2525 unittest.expect(o.status, unittest.equals('foo')); |
| 2316 } | 2526 } |
| 2317 buildCounterOrder--; | 2527 buildCounterOrder--; |
| 2318 } | 2528 } |
| 2319 | 2529 |
| 2320 buildUnnamed949() { | 2530 buildUnnamed549() { |
| 2321 var o = new core.List<core.String>(); | 2531 var o = new core.List<core.String>(); |
| 2322 o.add("foo"); | 2532 o.add("foo"); |
| 2323 o.add("foo"); | 2533 o.add("foo"); |
| 2324 return o; | 2534 return o; |
| 2325 } | 2535 } |
| 2326 | 2536 |
| 2327 checkUnnamed949(core.List<core.String> o) { | 2537 checkUnnamed549(core.List<core.String> o) { |
| 2328 unittest.expect(o, unittest.hasLength(2)); | 2538 unittest.expect(o, unittest.hasLength(2)); |
| 2329 unittest.expect(o[0], unittest.equals('foo')); | 2539 unittest.expect(o[0], unittest.equals('foo')); |
| 2330 unittest.expect(o[1], unittest.equals('foo')); | 2540 unittest.expect(o[1], unittest.equals('foo')); |
| 2331 } | 2541 } |
| 2332 | 2542 |
| 2333 buildUnnamed950() { | 2543 buildUnnamed550() { |
| 2334 var o = new core.List<core.String>(); | 2544 var o = new core.List<core.String>(); |
| 2335 o.add("foo"); | 2545 o.add("foo"); |
| 2336 o.add("foo"); | 2546 o.add("foo"); |
| 2337 return o; | 2547 return o; |
| 2338 } | 2548 } |
| 2339 | 2549 |
| 2340 checkUnnamed950(core.List<core.String> o) { | 2550 checkUnnamed550(core.List<core.String> o) { |
| 2341 unittest.expect(o, unittest.hasLength(2)); | 2551 unittest.expect(o, unittest.hasLength(2)); |
| 2342 unittest.expect(o[0], unittest.equals('foo')); | 2552 unittest.expect(o[0], unittest.equals('foo')); |
| 2343 unittest.expect(o[1], unittest.equals('foo')); | 2553 unittest.expect(o[1], unittest.equals('foo')); |
| 2344 } | 2554 } |
| 2345 | 2555 |
| 2346 core.int buildCounterOrderAddress = 0; | 2556 core.int buildCounterOrderAddress = 0; |
| 2347 buildOrderAddress() { | 2557 buildOrderAddress() { |
| 2348 var o = new api.OrderAddress(); | 2558 var o = new api.OrderAddress(); |
| 2349 buildCounterOrderAddress++; | 2559 buildCounterOrderAddress++; |
| 2350 if (buildCounterOrderAddress < 3) { | 2560 if (buildCounterOrderAddress < 3) { |
| 2351 o.country = "foo"; | 2561 o.country = "foo"; |
| 2352 o.fullAddress = buildUnnamed949(); | 2562 o.fullAddress = buildUnnamed549(); |
| 2353 o.isPostOfficeBox = true; | 2563 o.isPostOfficeBox = true; |
| 2354 o.locality = "foo"; | 2564 o.locality = "foo"; |
| 2355 o.postalCode = "foo"; | 2565 o.postalCode = "foo"; |
| 2356 o.recipientName = "foo"; | 2566 o.recipientName = "foo"; |
| 2357 o.region = "foo"; | 2567 o.region = "foo"; |
| 2358 o.streetAddress = buildUnnamed950(); | 2568 o.streetAddress = buildUnnamed550(); |
| 2359 } | 2569 } |
| 2360 buildCounterOrderAddress--; | 2570 buildCounterOrderAddress--; |
| 2361 return o; | 2571 return o; |
| 2362 } | 2572 } |
| 2363 | 2573 |
| 2364 checkOrderAddress(api.OrderAddress o) { | 2574 checkOrderAddress(api.OrderAddress o) { |
| 2365 buildCounterOrderAddress++; | 2575 buildCounterOrderAddress++; |
| 2366 if (buildCounterOrderAddress < 3) { | 2576 if (buildCounterOrderAddress < 3) { |
| 2367 unittest.expect(o.country, unittest.equals('foo')); | 2577 unittest.expect(o.country, unittest.equals('foo')); |
| 2368 checkUnnamed949(o.fullAddress); | 2578 checkUnnamed549(o.fullAddress); |
| 2369 unittest.expect(o.isPostOfficeBox, unittest.isTrue); | 2579 unittest.expect(o.isPostOfficeBox, unittest.isTrue); |
| 2370 unittest.expect(o.locality, unittest.equals('foo')); | 2580 unittest.expect(o.locality, unittest.equals('foo')); |
| 2371 unittest.expect(o.postalCode, unittest.equals('foo')); | 2581 unittest.expect(o.postalCode, unittest.equals('foo')); |
| 2372 unittest.expect(o.recipientName, unittest.equals('foo')); | 2582 unittest.expect(o.recipientName, unittest.equals('foo')); |
| 2373 unittest.expect(o.region, unittest.equals('foo')); | 2583 unittest.expect(o.region, unittest.equals('foo')); |
| 2374 checkUnnamed950(o.streetAddress); | 2584 checkUnnamed550(o.streetAddress); |
| 2375 } | 2585 } |
| 2376 buildCounterOrderAddress--; | 2586 buildCounterOrderAddress--; |
| 2377 } | 2587 } |
| 2378 | 2588 |
| 2379 core.int buildCounterOrderCancellation = 0; | 2589 core.int buildCounterOrderCancellation = 0; |
| 2380 buildOrderCancellation() { | 2590 buildOrderCancellation() { |
| 2381 var o = new api.OrderCancellation(); | 2591 var o = new api.OrderCancellation(); |
| 2382 buildCounterOrderCancellation++; | 2592 buildCounterOrderCancellation++; |
| 2383 if (buildCounterOrderCancellation < 3) { | 2593 if (buildCounterOrderCancellation < 3) { |
| 2384 o.actor = "foo"; | 2594 o.actor = "foo"; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2440 | 2650 |
| 2441 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { | 2651 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { |
| 2442 buildCounterOrderDeliveryDetails++; | 2652 buildCounterOrderDeliveryDetails++; |
| 2443 if (buildCounterOrderDeliveryDetails < 3) { | 2653 if (buildCounterOrderDeliveryDetails < 3) { |
| 2444 checkOrderAddress(o.address); | 2654 checkOrderAddress(o.address); |
| 2445 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2655 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2446 } | 2656 } |
| 2447 buildCounterOrderDeliveryDetails--; | 2657 buildCounterOrderDeliveryDetails--; |
| 2448 } | 2658 } |
| 2449 | 2659 |
| 2450 buildUnnamed951() { | 2660 buildUnnamed551() { |
| 2451 var o = new core.List<api.OrderCancellation>(); | 2661 var o = new core.List<api.OrderCancellation>(); |
| 2452 o.add(buildOrderCancellation()); | 2662 o.add(buildOrderCancellation()); |
| 2453 o.add(buildOrderCancellation()); | 2663 o.add(buildOrderCancellation()); |
| 2454 return o; | 2664 return o; |
| 2455 } | 2665 } |
| 2456 | 2666 |
| 2457 checkUnnamed951(core.List<api.OrderCancellation> o) { | 2667 checkUnnamed551(core.List<api.OrderCancellation> o) { |
| 2458 unittest.expect(o, unittest.hasLength(2)); | 2668 unittest.expect(o, unittest.hasLength(2)); |
| 2459 checkOrderCancellation(o[0]); | 2669 checkOrderCancellation(o[0]); |
| 2460 checkOrderCancellation(o[1]); | 2670 checkOrderCancellation(o[1]); |
| 2461 } | 2671 } |
| 2462 | 2672 |
| 2463 buildUnnamed952() { | 2673 buildUnnamed552() { |
| 2464 var o = new core.List<api.OrderReturn>(); | 2674 var o = new core.List<api.OrderReturn>(); |
| 2465 o.add(buildOrderReturn()); | 2675 o.add(buildOrderReturn()); |
| 2466 o.add(buildOrderReturn()); | 2676 o.add(buildOrderReturn()); |
| 2467 return o; | 2677 return o; |
| 2468 } | 2678 } |
| 2469 | 2679 |
| 2470 checkUnnamed952(core.List<api.OrderReturn> o) { | 2680 checkUnnamed552(core.List<api.OrderReturn> o) { |
| 2471 unittest.expect(o, unittest.hasLength(2)); | 2681 unittest.expect(o, unittest.hasLength(2)); |
| 2472 checkOrderReturn(o[0]); | 2682 checkOrderReturn(o[0]); |
| 2473 checkOrderReturn(o[1]); | 2683 checkOrderReturn(o[1]); |
| 2474 } | 2684 } |
| 2475 | 2685 |
| 2476 core.int buildCounterOrderLineItem = 0; | 2686 core.int buildCounterOrderLineItem = 0; |
| 2477 buildOrderLineItem() { | 2687 buildOrderLineItem() { |
| 2478 var o = new api.OrderLineItem(); | 2688 var o = new api.OrderLineItem(); |
| 2479 buildCounterOrderLineItem++; | 2689 buildCounterOrderLineItem++; |
| 2480 if (buildCounterOrderLineItem < 3) { | 2690 if (buildCounterOrderLineItem < 3) { |
| 2481 o.cancellations = buildUnnamed951(); | 2691 o.cancellations = buildUnnamed551(); |
| 2482 o.id = "foo"; | 2692 o.id = "foo"; |
| 2483 o.price = buildPrice(); | 2693 o.price = buildPrice(); |
| 2484 o.product = buildOrderLineItemProduct(); | 2694 o.product = buildOrderLineItemProduct(); |
| 2485 o.quantityCanceled = 42; | 2695 o.quantityCanceled = 42; |
| 2486 o.quantityDelivered = 42; | 2696 o.quantityDelivered = 42; |
| 2487 o.quantityOrdered = 42; | 2697 o.quantityOrdered = 42; |
| 2488 o.quantityPending = 42; | 2698 o.quantityPending = 42; |
| 2489 o.quantityReturned = 42; | 2699 o.quantityReturned = 42; |
| 2490 o.quantityShipped = 42; | 2700 o.quantityShipped = 42; |
| 2491 o.returnInfo = buildOrderLineItemReturnInfo(); | 2701 o.returnInfo = buildOrderLineItemReturnInfo(); |
| 2492 o.returns = buildUnnamed952(); | 2702 o.returns = buildUnnamed552(); |
| 2493 o.shippingDetails = buildOrderLineItemShippingDetails(); | 2703 o.shippingDetails = buildOrderLineItemShippingDetails(); |
| 2494 o.tax = buildPrice(); | 2704 o.tax = buildPrice(); |
| 2495 } | 2705 } |
| 2496 buildCounterOrderLineItem--; | 2706 buildCounterOrderLineItem--; |
| 2497 return o; | 2707 return o; |
| 2498 } | 2708 } |
| 2499 | 2709 |
| 2500 checkOrderLineItem(api.OrderLineItem o) { | 2710 checkOrderLineItem(api.OrderLineItem o) { |
| 2501 buildCounterOrderLineItem++; | 2711 buildCounterOrderLineItem++; |
| 2502 if (buildCounterOrderLineItem < 3) { | 2712 if (buildCounterOrderLineItem < 3) { |
| 2503 checkUnnamed951(o.cancellations); | 2713 checkUnnamed551(o.cancellations); |
| 2504 unittest.expect(o.id, unittest.equals('foo')); | 2714 unittest.expect(o.id, unittest.equals('foo')); |
| 2505 checkPrice(o.price); | 2715 checkPrice(o.price); |
| 2506 checkOrderLineItemProduct(o.product); | 2716 checkOrderLineItemProduct(o.product); |
| 2507 unittest.expect(o.quantityCanceled, unittest.equals(42)); | 2717 unittest.expect(o.quantityCanceled, unittest.equals(42)); |
| 2508 unittest.expect(o.quantityDelivered, unittest.equals(42)); | 2718 unittest.expect(o.quantityDelivered, unittest.equals(42)); |
| 2509 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 2719 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 2510 unittest.expect(o.quantityPending, unittest.equals(42)); | 2720 unittest.expect(o.quantityPending, unittest.equals(42)); |
| 2511 unittest.expect(o.quantityReturned, unittest.equals(42)); | 2721 unittest.expect(o.quantityReturned, unittest.equals(42)); |
| 2512 unittest.expect(o.quantityShipped, unittest.equals(42)); | 2722 unittest.expect(o.quantityShipped, unittest.equals(42)); |
| 2513 checkOrderLineItemReturnInfo(o.returnInfo); | 2723 checkOrderLineItemReturnInfo(o.returnInfo); |
| 2514 checkUnnamed952(o.returns); | 2724 checkUnnamed552(o.returns); |
| 2515 checkOrderLineItemShippingDetails(o.shippingDetails); | 2725 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 2516 checkPrice(o.tax); | 2726 checkPrice(o.tax); |
| 2517 } | 2727 } |
| 2518 buildCounterOrderLineItem--; | 2728 buildCounterOrderLineItem--; |
| 2519 } | 2729 } |
| 2520 | 2730 |
| 2521 buildUnnamed953() { | 2731 buildUnnamed553() { |
| 2522 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 2732 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 2523 o.add(buildOrderLineItemProductVariantAttribute()); | 2733 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2524 o.add(buildOrderLineItemProductVariantAttribute()); | 2734 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2525 return o; | 2735 return o; |
| 2526 } | 2736 } |
| 2527 | 2737 |
| 2528 checkUnnamed953(core.List<api.OrderLineItemProductVariantAttribute> o) { | 2738 checkUnnamed553(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 2529 unittest.expect(o, unittest.hasLength(2)); | 2739 unittest.expect(o, unittest.hasLength(2)); |
| 2530 checkOrderLineItemProductVariantAttribute(o[0]); | 2740 checkOrderLineItemProductVariantAttribute(o[0]); |
| 2531 checkOrderLineItemProductVariantAttribute(o[1]); | 2741 checkOrderLineItemProductVariantAttribute(o[1]); |
| 2532 } | 2742 } |
| 2533 | 2743 |
| 2534 core.int buildCounterOrderLineItemProduct = 0; | 2744 core.int buildCounterOrderLineItemProduct = 0; |
| 2535 buildOrderLineItemProduct() { | 2745 buildOrderLineItemProduct() { |
| 2536 var o = new api.OrderLineItemProduct(); | 2746 var o = new api.OrderLineItemProduct(); |
| 2537 buildCounterOrderLineItemProduct++; | 2747 buildCounterOrderLineItemProduct++; |
| 2538 if (buildCounterOrderLineItemProduct < 3) { | 2748 if (buildCounterOrderLineItemProduct < 3) { |
| 2539 o.brand = "foo"; | 2749 o.brand = "foo"; |
| 2540 o.channel = "foo"; | 2750 o.channel = "foo"; |
| 2541 o.condition = "foo"; | 2751 o.condition = "foo"; |
| 2542 o.contentLanguage = "foo"; | 2752 o.contentLanguage = "foo"; |
| 2543 o.gtin = "foo"; | 2753 o.gtin = "foo"; |
| 2544 o.id = "foo"; | 2754 o.id = "foo"; |
| 2545 o.imageLink = "foo"; | 2755 o.imageLink = "foo"; |
| 2546 o.itemGroupId = "foo"; | 2756 o.itemGroupId = "foo"; |
| 2547 o.mpn = "foo"; | 2757 o.mpn = "foo"; |
| 2548 o.offerId = "foo"; | 2758 o.offerId = "foo"; |
| 2549 o.price = buildPrice(); | 2759 o.price = buildPrice(); |
| 2550 o.shownImage = "foo"; | 2760 o.shownImage = "foo"; |
| 2551 o.targetCountry = "foo"; | 2761 o.targetCountry = "foo"; |
| 2552 o.title = "foo"; | 2762 o.title = "foo"; |
| 2553 o.variantAttributes = buildUnnamed953(); | 2763 o.variantAttributes = buildUnnamed553(); |
| 2554 } | 2764 } |
| 2555 buildCounterOrderLineItemProduct--; | 2765 buildCounterOrderLineItemProduct--; |
| 2556 return o; | 2766 return o; |
| 2557 } | 2767 } |
| 2558 | 2768 |
| 2559 checkOrderLineItemProduct(api.OrderLineItemProduct o) { | 2769 checkOrderLineItemProduct(api.OrderLineItemProduct o) { |
| 2560 buildCounterOrderLineItemProduct++; | 2770 buildCounterOrderLineItemProduct++; |
| 2561 if (buildCounterOrderLineItemProduct < 3) { | 2771 if (buildCounterOrderLineItemProduct < 3) { |
| 2562 unittest.expect(o.brand, unittest.equals('foo')); | 2772 unittest.expect(o.brand, unittest.equals('foo')); |
| 2563 unittest.expect(o.channel, unittest.equals('foo')); | 2773 unittest.expect(o.channel, unittest.equals('foo')); |
| 2564 unittest.expect(o.condition, unittest.equals('foo')); | 2774 unittest.expect(o.condition, unittest.equals('foo')); |
| 2565 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2775 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 2566 unittest.expect(o.gtin, unittest.equals('foo')); | 2776 unittest.expect(o.gtin, unittest.equals('foo')); |
| 2567 unittest.expect(o.id, unittest.equals('foo')); | 2777 unittest.expect(o.id, unittest.equals('foo')); |
| 2568 unittest.expect(o.imageLink, unittest.equals('foo')); | 2778 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 2569 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2779 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 2570 unittest.expect(o.mpn, unittest.equals('foo')); | 2780 unittest.expect(o.mpn, unittest.equals('foo')); |
| 2571 unittest.expect(o.offerId, unittest.equals('foo')); | 2781 unittest.expect(o.offerId, unittest.equals('foo')); |
| 2572 checkPrice(o.price); | 2782 checkPrice(o.price); |
| 2573 unittest.expect(o.shownImage, unittest.equals('foo')); | 2783 unittest.expect(o.shownImage, unittest.equals('foo')); |
| 2574 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2784 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 2575 unittest.expect(o.title, unittest.equals('foo')); | 2785 unittest.expect(o.title, unittest.equals('foo')); |
| 2576 checkUnnamed953(o.variantAttributes); | 2786 checkUnnamed553(o.variantAttributes); |
| 2577 } | 2787 } |
| 2578 buildCounterOrderLineItemProduct--; | 2788 buildCounterOrderLineItemProduct--; |
| 2579 } | 2789 } |
| 2580 | 2790 |
| 2581 core.int buildCounterOrderLineItemProductVariantAttribute = 0; | 2791 core.int buildCounterOrderLineItemProductVariantAttribute = 0; |
| 2582 buildOrderLineItemProductVariantAttribute() { | 2792 buildOrderLineItemProductVariantAttribute() { |
| 2583 var o = new api.OrderLineItemProductVariantAttribute(); | 2793 var o = new api.OrderLineItemProductVariantAttribute(); |
| 2584 buildCounterOrderLineItemProductVariantAttribute++; | 2794 buildCounterOrderLineItemProductVariantAttribute++; |
| 2585 if (buildCounterOrderLineItemProductVariantAttribute < 3) { | 2795 if (buildCounterOrderLineItemProductVariantAttribute < 3) { |
| 2586 o.dimension = "foo"; | 2796 o.dimension = "foo"; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2692 checkOrderAddress(o.billingAddress); | 2902 checkOrderAddress(o.billingAddress); |
| 2693 unittest.expect(o.expirationMonth, unittest.equals(42)); | 2903 unittest.expect(o.expirationMonth, unittest.equals(42)); |
| 2694 unittest.expect(o.expirationYear, unittest.equals(42)); | 2904 unittest.expect(o.expirationYear, unittest.equals(42)); |
| 2695 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 2905 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
| 2696 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2906 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2697 unittest.expect(o.type, unittest.equals('foo')); | 2907 unittest.expect(o.type, unittest.equals('foo')); |
| 2698 } | 2908 } |
| 2699 buildCounterOrderPaymentMethod--; | 2909 buildCounterOrderPaymentMethod--; |
| 2700 } | 2910 } |
| 2701 | 2911 |
| 2702 buildUnnamed954() { | 2912 buildUnnamed554() { |
| 2703 var o = new core.List<api.OrderPromotionBenefit>(); | 2913 var o = new core.List<api.OrderPromotionBenefit>(); |
| 2704 o.add(buildOrderPromotionBenefit()); | 2914 o.add(buildOrderPromotionBenefit()); |
| 2705 o.add(buildOrderPromotionBenefit()); | 2915 o.add(buildOrderPromotionBenefit()); |
| 2706 return o; | 2916 return o; |
| 2707 } | 2917 } |
| 2708 | 2918 |
| 2709 checkUnnamed954(core.List<api.OrderPromotionBenefit> o) { | 2919 checkUnnamed554(core.List<api.OrderPromotionBenefit> o) { |
| 2710 unittest.expect(o, unittest.hasLength(2)); | 2920 unittest.expect(o, unittest.hasLength(2)); |
| 2711 checkOrderPromotionBenefit(o[0]); | 2921 checkOrderPromotionBenefit(o[0]); |
| 2712 checkOrderPromotionBenefit(o[1]); | 2922 checkOrderPromotionBenefit(o[1]); |
| 2713 } | 2923 } |
| 2714 | 2924 |
| 2715 core.int buildCounterOrderPromotion = 0; | 2925 core.int buildCounterOrderPromotion = 0; |
| 2716 buildOrderPromotion() { | 2926 buildOrderPromotion() { |
| 2717 var o = new api.OrderPromotion(); | 2927 var o = new api.OrderPromotion(); |
| 2718 buildCounterOrderPromotion++; | 2928 buildCounterOrderPromotion++; |
| 2719 if (buildCounterOrderPromotion < 3) { | 2929 if (buildCounterOrderPromotion < 3) { |
| 2720 o.benefits = buildUnnamed954(); | 2930 o.benefits = buildUnnamed554(); |
| 2721 o.effectiveDates = "foo"; | 2931 o.effectiveDates = "foo"; |
| 2722 o.genericRedemptionCode = "foo"; | 2932 o.genericRedemptionCode = "foo"; |
| 2723 o.id = "foo"; | 2933 o.id = "foo"; |
| 2724 o.longTitle = "foo"; | 2934 o.longTitle = "foo"; |
| 2725 o.productApplicability = "foo"; | 2935 o.productApplicability = "foo"; |
| 2726 o.redemptionChannel = "foo"; | 2936 o.redemptionChannel = "foo"; |
| 2727 } | 2937 } |
| 2728 buildCounterOrderPromotion--; | 2938 buildCounterOrderPromotion--; |
| 2729 return o; | 2939 return o; |
| 2730 } | 2940 } |
| 2731 | 2941 |
| 2732 checkOrderPromotion(api.OrderPromotion o) { | 2942 checkOrderPromotion(api.OrderPromotion o) { |
| 2733 buildCounterOrderPromotion++; | 2943 buildCounterOrderPromotion++; |
| 2734 if (buildCounterOrderPromotion < 3) { | 2944 if (buildCounterOrderPromotion < 3) { |
| 2735 checkUnnamed954(o.benefits); | 2945 checkUnnamed554(o.benefits); |
| 2736 unittest.expect(o.effectiveDates, unittest.equals('foo')); | 2946 unittest.expect(o.effectiveDates, unittest.equals('foo')); |
| 2737 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); | 2947 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); |
| 2738 unittest.expect(o.id, unittest.equals('foo')); | 2948 unittest.expect(o.id, unittest.equals('foo')); |
| 2739 unittest.expect(o.longTitle, unittest.equals('foo')); | 2949 unittest.expect(o.longTitle, unittest.equals('foo')); |
| 2740 unittest.expect(o.productApplicability, unittest.equals('foo')); | 2950 unittest.expect(o.productApplicability, unittest.equals('foo')); |
| 2741 unittest.expect(o.redemptionChannel, unittest.equals('foo')); | 2951 unittest.expect(o.redemptionChannel, unittest.equals('foo')); |
| 2742 } | 2952 } |
| 2743 buildCounterOrderPromotion--; | 2953 buildCounterOrderPromotion--; |
| 2744 } | 2954 } |
| 2745 | 2955 |
| 2746 buildUnnamed955() { | 2956 buildUnnamed555() { |
| 2747 var o = new core.List<core.String>(); | 2957 var o = new core.List<core.String>(); |
| 2748 o.add("foo"); | 2958 o.add("foo"); |
| 2749 o.add("foo"); | 2959 o.add("foo"); |
| 2750 return o; | 2960 return o; |
| 2751 } | 2961 } |
| 2752 | 2962 |
| 2753 checkUnnamed955(core.List<core.String> o) { | 2963 checkUnnamed555(core.List<core.String> o) { |
| 2754 unittest.expect(o, unittest.hasLength(2)); | 2964 unittest.expect(o, unittest.hasLength(2)); |
| 2755 unittest.expect(o[0], unittest.equals('foo')); | 2965 unittest.expect(o[0], unittest.equals('foo')); |
| 2756 unittest.expect(o[1], unittest.equals('foo')); | 2966 unittest.expect(o[1], unittest.equals('foo')); |
| 2757 } | 2967 } |
| 2758 | 2968 |
| 2759 core.int buildCounterOrderPromotionBenefit = 0; | 2969 core.int buildCounterOrderPromotionBenefit = 0; |
| 2760 buildOrderPromotionBenefit() { | 2970 buildOrderPromotionBenefit() { |
| 2761 var o = new api.OrderPromotionBenefit(); | 2971 var o = new api.OrderPromotionBenefit(); |
| 2762 buildCounterOrderPromotionBenefit++; | 2972 buildCounterOrderPromotionBenefit++; |
| 2763 if (buildCounterOrderPromotionBenefit < 3) { | 2973 if (buildCounterOrderPromotionBenefit < 3) { |
| 2764 o.discount = buildPrice(); | 2974 o.discount = buildPrice(); |
| 2765 o.offerIds = buildUnnamed955(); | 2975 o.offerIds = buildUnnamed555(); |
| 2766 o.subType = "foo"; | 2976 o.subType = "foo"; |
| 2767 o.taxImpact = buildPrice(); | 2977 o.taxImpact = buildPrice(); |
| 2768 o.type = "foo"; | 2978 o.type = "foo"; |
| 2769 } | 2979 } |
| 2770 buildCounterOrderPromotionBenefit--; | 2980 buildCounterOrderPromotionBenefit--; |
| 2771 return o; | 2981 return o; |
| 2772 } | 2982 } |
| 2773 | 2983 |
| 2774 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { | 2984 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { |
| 2775 buildCounterOrderPromotionBenefit++; | 2985 buildCounterOrderPromotionBenefit++; |
| 2776 if (buildCounterOrderPromotionBenefit < 3) { | 2986 if (buildCounterOrderPromotionBenefit < 3) { |
| 2777 checkPrice(o.discount); | 2987 checkPrice(o.discount); |
| 2778 checkUnnamed955(o.offerIds); | 2988 checkUnnamed555(o.offerIds); |
| 2779 unittest.expect(o.subType, unittest.equals('foo')); | 2989 unittest.expect(o.subType, unittest.equals('foo')); |
| 2780 checkPrice(o.taxImpact); | 2990 checkPrice(o.taxImpact); |
| 2781 unittest.expect(o.type, unittest.equals('foo')); | 2991 unittest.expect(o.type, unittest.equals('foo')); |
| 2782 } | 2992 } |
| 2783 buildCounterOrderPromotionBenefit--; | 2993 buildCounterOrderPromotionBenefit--; |
| 2784 } | 2994 } |
| 2785 | 2995 |
| 2786 core.int buildCounterOrderRefund = 0; | 2996 core.int buildCounterOrderRefund = 0; |
| 2787 buildOrderRefund() { | 2997 buildOrderRefund() { |
| 2788 var o = new api.OrderRefund(); | 2998 var o = new api.OrderRefund(); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2830 if (buildCounterOrderReturn < 3) { | 3040 if (buildCounterOrderReturn < 3) { |
| 2831 unittest.expect(o.actor, unittest.equals('foo')); | 3041 unittest.expect(o.actor, unittest.equals('foo')); |
| 2832 unittest.expect(o.creationDate, unittest.equals('foo')); | 3042 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 2833 unittest.expect(o.quantity, unittest.equals(42)); | 3043 unittest.expect(o.quantity, unittest.equals(42)); |
| 2834 unittest.expect(o.reason, unittest.equals('foo')); | 3044 unittest.expect(o.reason, unittest.equals('foo')); |
| 2835 unittest.expect(o.reasonText, unittest.equals('foo')); | 3045 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 2836 } | 3046 } |
| 2837 buildCounterOrderReturn--; | 3047 buildCounterOrderReturn--; |
| 2838 } | 3048 } |
| 2839 | 3049 |
| 2840 buildUnnamed956() { | 3050 buildUnnamed556() { |
| 2841 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3051 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 2842 o.add(buildOrderShipmentLineItemShipment()); | 3052 o.add(buildOrderShipmentLineItemShipment()); |
| 2843 o.add(buildOrderShipmentLineItemShipment()); | 3053 o.add(buildOrderShipmentLineItemShipment()); |
| 2844 return o; | 3054 return o; |
| 2845 } | 3055 } |
| 2846 | 3056 |
| 2847 checkUnnamed956(core.List<api.OrderShipmentLineItemShipment> o) { | 3057 checkUnnamed556(core.List<api.OrderShipmentLineItemShipment> o) { |
| 2848 unittest.expect(o, unittest.hasLength(2)); | 3058 unittest.expect(o, unittest.hasLength(2)); |
| 2849 checkOrderShipmentLineItemShipment(o[0]); | 3059 checkOrderShipmentLineItemShipment(o[0]); |
| 2850 checkOrderShipmentLineItemShipment(o[1]); | 3060 checkOrderShipmentLineItemShipment(o[1]); |
| 2851 } | 3061 } |
| 2852 | 3062 |
| 2853 core.int buildCounterOrderShipment = 0; | 3063 core.int buildCounterOrderShipment = 0; |
| 2854 buildOrderShipment() { | 3064 buildOrderShipment() { |
| 2855 var o = new api.OrderShipment(); | 3065 var o = new api.OrderShipment(); |
| 2856 buildCounterOrderShipment++; | 3066 buildCounterOrderShipment++; |
| 2857 if (buildCounterOrderShipment < 3) { | 3067 if (buildCounterOrderShipment < 3) { |
| 2858 o.carrier = "foo"; | 3068 o.carrier = "foo"; |
| 2859 o.creationDate = "foo"; | 3069 o.creationDate = "foo"; |
| 2860 o.deliveryDate = "foo"; | 3070 o.deliveryDate = "foo"; |
| 2861 o.id = "foo"; | 3071 o.id = "foo"; |
| 2862 o.lineItems = buildUnnamed956(); | 3072 o.lineItems = buildUnnamed556(); |
| 2863 o.status = "foo"; | 3073 o.status = "foo"; |
| 2864 o.trackingId = "foo"; | 3074 o.trackingId = "foo"; |
| 2865 } | 3075 } |
| 2866 buildCounterOrderShipment--; | 3076 buildCounterOrderShipment--; |
| 2867 return o; | 3077 return o; |
| 2868 } | 3078 } |
| 2869 | 3079 |
| 2870 checkOrderShipment(api.OrderShipment o) { | 3080 checkOrderShipment(api.OrderShipment o) { |
| 2871 buildCounterOrderShipment++; | 3081 buildCounterOrderShipment++; |
| 2872 if (buildCounterOrderShipment < 3) { | 3082 if (buildCounterOrderShipment < 3) { |
| 2873 unittest.expect(o.carrier, unittest.equals('foo')); | 3083 unittest.expect(o.carrier, unittest.equals('foo')); |
| 2874 unittest.expect(o.creationDate, unittest.equals('foo')); | 3084 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 2875 unittest.expect(o.deliveryDate, unittest.equals('foo')); | 3085 unittest.expect(o.deliveryDate, unittest.equals('foo')); |
| 2876 unittest.expect(o.id, unittest.equals('foo')); | 3086 unittest.expect(o.id, unittest.equals('foo')); |
| 2877 checkUnnamed956(o.lineItems); | 3087 checkUnnamed556(o.lineItems); |
| 2878 unittest.expect(o.status, unittest.equals('foo')); | 3088 unittest.expect(o.status, unittest.equals('foo')); |
| 2879 unittest.expect(o.trackingId, unittest.equals('foo')); | 3089 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 2880 } | 3090 } |
| 2881 buildCounterOrderShipment--; | 3091 buildCounterOrderShipment--; |
| 2882 } | 3092 } |
| 2883 | 3093 |
| 2884 core.int buildCounterOrderShipmentLineItemShipment = 0; | 3094 core.int buildCounterOrderShipmentLineItemShipment = 0; |
| 2885 buildOrderShipmentLineItemShipment() { | 3095 buildOrderShipmentLineItemShipment() { |
| 2886 var o = new api.OrderShipmentLineItemShipment(); | 3096 var o = new api.OrderShipmentLineItemShipment(); |
| 2887 buildCounterOrderShipmentLineItemShipment++; | 3097 buildCounterOrderShipmentLineItemShipment++; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3090 | 3300 |
| 3091 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { | 3301 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { |
| 3092 buildCounterOrdersCreateTestOrderResponse++; | 3302 buildCounterOrdersCreateTestOrderResponse++; |
| 3093 if (buildCounterOrdersCreateTestOrderResponse < 3) { | 3303 if (buildCounterOrdersCreateTestOrderResponse < 3) { |
| 3094 unittest.expect(o.kind, unittest.equals('foo')); | 3304 unittest.expect(o.kind, unittest.equals('foo')); |
| 3095 unittest.expect(o.orderId, unittest.equals('foo')); | 3305 unittest.expect(o.orderId, unittest.equals('foo')); |
| 3096 } | 3306 } |
| 3097 buildCounterOrdersCreateTestOrderResponse--; | 3307 buildCounterOrdersCreateTestOrderResponse--; |
| 3098 } | 3308 } |
| 3099 | 3309 |
| 3100 buildUnnamed957() { | 3310 buildUnnamed557() { |
| 3101 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); | 3311 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); |
| 3102 o.add(buildOrdersCustomBatchRequestEntry()); | 3312 o.add(buildOrdersCustomBatchRequestEntry()); |
| 3103 o.add(buildOrdersCustomBatchRequestEntry()); | 3313 o.add(buildOrdersCustomBatchRequestEntry()); |
| 3104 return o; | 3314 return o; |
| 3105 } | 3315 } |
| 3106 | 3316 |
| 3107 checkUnnamed957(core.List<api.OrdersCustomBatchRequestEntry> o) { | 3317 checkUnnamed557(core.List<api.OrdersCustomBatchRequestEntry> o) { |
| 3108 unittest.expect(o, unittest.hasLength(2)); | 3318 unittest.expect(o, unittest.hasLength(2)); |
| 3109 checkOrdersCustomBatchRequestEntry(o[0]); | 3319 checkOrdersCustomBatchRequestEntry(o[0]); |
| 3110 checkOrdersCustomBatchRequestEntry(o[1]); | 3320 checkOrdersCustomBatchRequestEntry(o[1]); |
| 3111 } | 3321 } |
| 3112 | 3322 |
| 3113 core.int buildCounterOrdersCustomBatchRequest = 0; | 3323 core.int buildCounterOrdersCustomBatchRequest = 0; |
| 3114 buildOrdersCustomBatchRequest() { | 3324 buildOrdersCustomBatchRequest() { |
| 3115 var o = new api.OrdersCustomBatchRequest(); | 3325 var o = new api.OrdersCustomBatchRequest(); |
| 3116 buildCounterOrdersCustomBatchRequest++; | 3326 buildCounterOrdersCustomBatchRequest++; |
| 3117 if (buildCounterOrdersCustomBatchRequest < 3) { | 3327 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3118 o.entries = buildUnnamed957(); | 3328 o.entries = buildUnnamed557(); |
| 3119 } | 3329 } |
| 3120 buildCounterOrdersCustomBatchRequest--; | 3330 buildCounterOrdersCustomBatchRequest--; |
| 3121 return o; | 3331 return o; |
| 3122 } | 3332 } |
| 3123 | 3333 |
| 3124 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { | 3334 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { |
| 3125 buildCounterOrdersCustomBatchRequest++; | 3335 buildCounterOrdersCustomBatchRequest++; |
| 3126 if (buildCounterOrdersCustomBatchRequest < 3) { | 3336 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3127 checkUnnamed957(o.entries); | 3337 checkUnnamed557(o.entries); |
| 3128 } | 3338 } |
| 3129 buildCounterOrdersCustomBatchRequest--; | 3339 buildCounterOrdersCustomBatchRequest--; |
| 3130 } | 3340 } |
| 3131 | 3341 |
| 3132 core.int buildCounterOrdersCustomBatchRequestEntry = 0; | 3342 core.int buildCounterOrdersCustomBatchRequestEntry = 0; |
| 3133 buildOrdersCustomBatchRequestEntry() { | 3343 buildOrdersCustomBatchRequestEntry() { |
| 3134 var o = new api.OrdersCustomBatchRequestEntry(); | 3344 var o = new api.OrdersCustomBatchRequestEntry(); |
| 3135 buildCounterOrdersCustomBatchRequestEntry++; | 3345 buildCounterOrdersCustomBatchRequestEntry++; |
| 3136 if (buildCounterOrdersCustomBatchRequestEntry < 3) { | 3346 if (buildCounterOrdersCustomBatchRequestEntry < 3) { |
| 3137 o.batchId = 42; | 3347 o.batchId = 42; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3259 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; | 3469 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; |
| 3260 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { | 3470 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { |
| 3261 unittest.expect(o.lineItemId, unittest.equals('foo')); | 3471 unittest.expect(o.lineItemId, unittest.equals('foo')); |
| 3262 unittest.expect(o.quantity, unittest.equals(42)); | 3472 unittest.expect(o.quantity, unittest.equals(42)); |
| 3263 unittest.expect(o.reason, unittest.equals('foo')); | 3473 unittest.expect(o.reason, unittest.equals('foo')); |
| 3264 unittest.expect(o.reasonText, unittest.equals('foo')); | 3474 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 3265 } | 3475 } |
| 3266 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; | 3476 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; |
| 3267 } | 3477 } |
| 3268 | 3478 |
| 3269 buildUnnamed958() { | 3479 buildUnnamed558() { |
| 3270 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3480 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3271 o.add(buildOrderShipmentLineItemShipment()); | 3481 o.add(buildOrderShipmentLineItemShipment()); |
| 3272 o.add(buildOrderShipmentLineItemShipment()); | 3482 o.add(buildOrderShipmentLineItemShipment()); |
| 3273 return o; | 3483 return o; |
| 3274 } | 3484 } |
| 3275 | 3485 |
| 3276 checkUnnamed958(core.List<api.OrderShipmentLineItemShipment> o) { | 3486 checkUnnamed558(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3277 unittest.expect(o, unittest.hasLength(2)); | 3487 unittest.expect(o, unittest.hasLength(2)); |
| 3278 checkOrderShipmentLineItemShipment(o[0]); | 3488 checkOrderShipmentLineItemShipment(o[0]); |
| 3279 checkOrderShipmentLineItemShipment(o[1]); | 3489 checkOrderShipmentLineItemShipment(o[1]); |
| 3280 } | 3490 } |
| 3281 | 3491 |
| 3282 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; | 3492 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; |
| 3283 buildOrdersCustomBatchRequestEntryShipLineItems() { | 3493 buildOrdersCustomBatchRequestEntryShipLineItems() { |
| 3284 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); | 3494 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); |
| 3285 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3495 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3286 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3496 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3287 o.carrier = "foo"; | 3497 o.carrier = "foo"; |
| 3288 o.lineItems = buildUnnamed958(); | 3498 o.lineItems = buildUnnamed558(); |
| 3289 o.shipmentId = "foo"; | 3499 o.shipmentId = "foo"; |
| 3290 o.trackingId = "foo"; | 3500 o.trackingId = "foo"; |
| 3291 } | 3501 } |
| 3292 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3502 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3293 return o; | 3503 return o; |
| 3294 } | 3504 } |
| 3295 | 3505 |
| 3296 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { | 3506 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { |
| 3297 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3507 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3298 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3508 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3299 unittest.expect(o.carrier, unittest.equals('foo')); | 3509 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3300 checkUnnamed958(o.lineItems); | 3510 checkUnnamed558(o.lineItems); |
| 3301 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3511 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3302 unittest.expect(o.trackingId, unittest.equals('foo')); | 3512 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3303 } | 3513 } |
| 3304 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3514 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3305 } | 3515 } |
| 3306 | 3516 |
| 3307 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; | 3517 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; |
| 3308 buildOrdersCustomBatchRequestEntryUpdateShipment() { | 3518 buildOrdersCustomBatchRequestEntryUpdateShipment() { |
| 3309 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); | 3519 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); |
| 3310 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3520 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3322 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3532 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| 3323 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { | 3533 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { |
| 3324 unittest.expect(o.carrier, unittest.equals('foo')); | 3534 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3325 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3535 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3326 unittest.expect(o.status, unittest.equals('foo')); | 3536 unittest.expect(o.status, unittest.equals('foo')); |
| 3327 unittest.expect(o.trackingId, unittest.equals('foo')); | 3537 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3328 } | 3538 } |
| 3329 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; | 3539 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; |
| 3330 } | 3540 } |
| 3331 | 3541 |
| 3332 buildUnnamed959() { | 3542 buildUnnamed559() { |
| 3333 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); | 3543 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); |
| 3334 o.add(buildOrdersCustomBatchResponseEntry()); | 3544 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3335 o.add(buildOrdersCustomBatchResponseEntry()); | 3545 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3336 return o; | 3546 return o; |
| 3337 } | 3547 } |
| 3338 | 3548 |
| 3339 checkUnnamed959(core.List<api.OrdersCustomBatchResponseEntry> o) { | 3549 checkUnnamed559(core.List<api.OrdersCustomBatchResponseEntry> o) { |
| 3340 unittest.expect(o, unittest.hasLength(2)); | 3550 unittest.expect(o, unittest.hasLength(2)); |
| 3341 checkOrdersCustomBatchResponseEntry(o[0]); | 3551 checkOrdersCustomBatchResponseEntry(o[0]); |
| 3342 checkOrdersCustomBatchResponseEntry(o[1]); | 3552 checkOrdersCustomBatchResponseEntry(o[1]); |
| 3343 } | 3553 } |
| 3344 | 3554 |
| 3345 core.int buildCounterOrdersCustomBatchResponse = 0; | 3555 core.int buildCounterOrdersCustomBatchResponse = 0; |
| 3346 buildOrdersCustomBatchResponse() { | 3556 buildOrdersCustomBatchResponse() { |
| 3347 var o = new api.OrdersCustomBatchResponse(); | 3557 var o = new api.OrdersCustomBatchResponse(); |
| 3348 buildCounterOrdersCustomBatchResponse++; | 3558 buildCounterOrdersCustomBatchResponse++; |
| 3349 if (buildCounterOrdersCustomBatchResponse < 3) { | 3559 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3350 o.entries = buildUnnamed959(); | 3560 o.entries = buildUnnamed559(); |
| 3351 o.kind = "foo"; | 3561 o.kind = "foo"; |
| 3352 } | 3562 } |
| 3353 buildCounterOrdersCustomBatchResponse--; | 3563 buildCounterOrdersCustomBatchResponse--; |
| 3354 return o; | 3564 return o; |
| 3355 } | 3565 } |
| 3356 | 3566 |
| 3357 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { | 3567 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { |
| 3358 buildCounterOrdersCustomBatchResponse++; | 3568 buildCounterOrdersCustomBatchResponse++; |
| 3359 if (buildCounterOrdersCustomBatchResponse < 3) { | 3569 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3360 checkUnnamed959(o.entries); | 3570 checkUnnamed559(o.entries); |
| 3361 unittest.expect(o.kind, unittest.equals('foo')); | 3571 unittest.expect(o.kind, unittest.equals('foo')); |
| 3362 } | 3572 } |
| 3363 buildCounterOrdersCustomBatchResponse--; | 3573 buildCounterOrdersCustomBatchResponse--; |
| 3364 } | 3574 } |
| 3365 | 3575 |
| 3366 core.int buildCounterOrdersCustomBatchResponseEntry = 0; | 3576 core.int buildCounterOrdersCustomBatchResponseEntry = 0; |
| 3367 buildOrdersCustomBatchResponseEntry() { | 3577 buildOrdersCustomBatchResponseEntry() { |
| 3368 var o = new api.OrdersCustomBatchResponseEntry(); | 3578 var o = new api.OrdersCustomBatchResponseEntry(); |
| 3369 buildCounterOrdersCustomBatchResponseEntry++; | 3579 buildCounterOrdersCustomBatchResponseEntry++; |
| 3370 if (buildCounterOrdersCustomBatchResponseEntry < 3) { | 3580 if (buildCounterOrdersCustomBatchResponseEntry < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3425 | 3635 |
| 3426 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { | 3636 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { |
| 3427 buildCounterOrdersGetTestOrderTemplateResponse++; | 3637 buildCounterOrdersGetTestOrderTemplateResponse++; |
| 3428 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { | 3638 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { |
| 3429 unittest.expect(o.kind, unittest.equals('foo')); | 3639 unittest.expect(o.kind, unittest.equals('foo')); |
| 3430 checkTestOrder(o.template); | 3640 checkTestOrder(o.template); |
| 3431 } | 3641 } |
| 3432 buildCounterOrdersGetTestOrderTemplateResponse--; | 3642 buildCounterOrdersGetTestOrderTemplateResponse--; |
| 3433 } | 3643 } |
| 3434 | 3644 |
| 3435 buildUnnamed960() { | 3645 buildUnnamed560() { |
| 3436 var o = new core.List<api.Order>(); | 3646 var o = new core.List<api.Order>(); |
| 3437 o.add(buildOrder()); | 3647 o.add(buildOrder()); |
| 3438 o.add(buildOrder()); | 3648 o.add(buildOrder()); |
| 3439 return o; | 3649 return o; |
| 3440 } | 3650 } |
| 3441 | 3651 |
| 3442 checkUnnamed960(core.List<api.Order> o) { | 3652 checkUnnamed560(core.List<api.Order> o) { |
| 3443 unittest.expect(o, unittest.hasLength(2)); | 3653 unittest.expect(o, unittest.hasLength(2)); |
| 3444 checkOrder(o[0]); | 3654 checkOrder(o[0]); |
| 3445 checkOrder(o[1]); | 3655 checkOrder(o[1]); |
| 3446 } | 3656 } |
| 3447 | 3657 |
| 3448 core.int buildCounterOrdersListResponse = 0; | 3658 core.int buildCounterOrdersListResponse = 0; |
| 3449 buildOrdersListResponse() { | 3659 buildOrdersListResponse() { |
| 3450 var o = new api.OrdersListResponse(); | 3660 var o = new api.OrdersListResponse(); |
| 3451 buildCounterOrdersListResponse++; | 3661 buildCounterOrdersListResponse++; |
| 3452 if (buildCounterOrdersListResponse < 3) { | 3662 if (buildCounterOrdersListResponse < 3) { |
| 3453 o.kind = "foo"; | 3663 o.kind = "foo"; |
| 3454 o.nextPageToken = "foo"; | 3664 o.nextPageToken = "foo"; |
| 3455 o.resources = buildUnnamed960(); | 3665 o.resources = buildUnnamed560(); |
| 3456 } | 3666 } |
| 3457 buildCounterOrdersListResponse--; | 3667 buildCounterOrdersListResponse--; |
| 3458 return o; | 3668 return o; |
| 3459 } | 3669 } |
| 3460 | 3670 |
| 3461 checkOrdersListResponse(api.OrdersListResponse o) { | 3671 checkOrdersListResponse(api.OrdersListResponse o) { |
| 3462 buildCounterOrdersListResponse++; | 3672 buildCounterOrdersListResponse++; |
| 3463 if (buildCounterOrdersListResponse < 3) { | 3673 if (buildCounterOrdersListResponse < 3) { |
| 3464 unittest.expect(o.kind, unittest.equals('foo')); | 3674 unittest.expect(o.kind, unittest.equals('foo')); |
| 3465 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3675 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3466 checkUnnamed960(o.resources); | 3676 checkUnnamed560(o.resources); |
| 3467 } | 3677 } |
| 3468 buildCounterOrdersListResponse--; | 3678 buildCounterOrdersListResponse--; |
| 3469 } | 3679 } |
| 3470 | 3680 |
| 3471 core.int buildCounterOrdersRefundRequest = 0; | 3681 core.int buildCounterOrdersRefundRequest = 0; |
| 3472 buildOrdersRefundRequest() { | 3682 buildOrdersRefundRequest() { |
| 3473 var o = new api.OrdersRefundRequest(); | 3683 var o = new api.OrdersRefundRequest(); |
| 3474 buildCounterOrdersRefundRequest++; | 3684 buildCounterOrdersRefundRequest++; |
| 3475 if (buildCounterOrdersRefundRequest < 3) { | 3685 if (buildCounterOrdersRefundRequest < 3) { |
| 3476 o.amount = buildPrice(); | 3686 o.amount = buildPrice(); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3555 | 3765 |
| 3556 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { | 3766 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { |
| 3557 buildCounterOrdersReturnLineItemResponse++; | 3767 buildCounterOrdersReturnLineItemResponse++; |
| 3558 if (buildCounterOrdersReturnLineItemResponse < 3) { | 3768 if (buildCounterOrdersReturnLineItemResponse < 3) { |
| 3559 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3769 unittest.expect(o.executionStatus, unittest.equals('foo')); |
| 3560 unittest.expect(o.kind, unittest.equals('foo')); | 3770 unittest.expect(o.kind, unittest.equals('foo')); |
| 3561 } | 3771 } |
| 3562 buildCounterOrdersReturnLineItemResponse--; | 3772 buildCounterOrdersReturnLineItemResponse--; |
| 3563 } | 3773 } |
| 3564 | 3774 |
| 3565 buildUnnamed961() { | 3775 buildUnnamed561() { |
| 3566 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3776 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3567 o.add(buildOrderShipmentLineItemShipment()); | 3777 o.add(buildOrderShipmentLineItemShipment()); |
| 3568 o.add(buildOrderShipmentLineItemShipment()); | 3778 o.add(buildOrderShipmentLineItemShipment()); |
| 3569 return o; | 3779 return o; |
| 3570 } | 3780 } |
| 3571 | 3781 |
| 3572 checkUnnamed961(core.List<api.OrderShipmentLineItemShipment> o) { | 3782 checkUnnamed561(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3573 unittest.expect(o, unittest.hasLength(2)); | 3783 unittest.expect(o, unittest.hasLength(2)); |
| 3574 checkOrderShipmentLineItemShipment(o[0]); | 3784 checkOrderShipmentLineItemShipment(o[0]); |
| 3575 checkOrderShipmentLineItemShipment(o[1]); | 3785 checkOrderShipmentLineItemShipment(o[1]); |
| 3576 } | 3786 } |
| 3577 | 3787 |
| 3578 core.int buildCounterOrdersShipLineItemsRequest = 0; | 3788 core.int buildCounterOrdersShipLineItemsRequest = 0; |
| 3579 buildOrdersShipLineItemsRequest() { | 3789 buildOrdersShipLineItemsRequest() { |
| 3580 var o = new api.OrdersShipLineItemsRequest(); | 3790 var o = new api.OrdersShipLineItemsRequest(); |
| 3581 buildCounterOrdersShipLineItemsRequest++; | 3791 buildCounterOrdersShipLineItemsRequest++; |
| 3582 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3792 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3583 o.carrier = "foo"; | 3793 o.carrier = "foo"; |
| 3584 o.lineItems = buildUnnamed961(); | 3794 o.lineItems = buildUnnamed561(); |
| 3585 o.operationId = "foo"; | 3795 o.operationId = "foo"; |
| 3586 o.shipmentId = "foo"; | 3796 o.shipmentId = "foo"; |
| 3587 o.trackingId = "foo"; | 3797 o.trackingId = "foo"; |
| 3588 } | 3798 } |
| 3589 buildCounterOrdersShipLineItemsRequest--; | 3799 buildCounterOrdersShipLineItemsRequest--; |
| 3590 return o; | 3800 return o; |
| 3591 } | 3801 } |
| 3592 | 3802 |
| 3593 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { | 3803 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { |
| 3594 buildCounterOrdersShipLineItemsRequest++; | 3804 buildCounterOrdersShipLineItemsRequest++; |
| 3595 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3805 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3596 unittest.expect(o.carrier, unittest.equals('foo')); | 3806 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3597 checkUnnamed961(o.lineItems); | 3807 checkUnnamed561(o.lineItems); |
| 3598 unittest.expect(o.operationId, unittest.equals('foo')); | 3808 unittest.expect(o.operationId, unittest.equals('foo')); |
| 3599 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3809 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3600 unittest.expect(o.trackingId, unittest.equals('foo')); | 3810 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3601 } | 3811 } |
| 3602 buildCounterOrdersShipLineItemsRequest--; | 3812 buildCounterOrdersShipLineItemsRequest--; |
| 3603 } | 3813 } |
| 3604 | 3814 |
| 3605 core.int buildCounterOrdersShipLineItemsResponse = 0; | 3815 core.int buildCounterOrdersShipLineItemsResponse = 0; |
| 3606 buildOrdersShipLineItemsResponse() { | 3816 buildOrdersShipLineItemsResponse() { |
| 3607 var o = new api.OrdersShipLineItemsResponse(); | 3817 var o = new api.OrdersShipLineItemsResponse(); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3706 | 3916 |
| 3707 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { | 3917 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { |
| 3708 buildCounterOrdersUpdateShipmentResponse++; | 3918 buildCounterOrdersUpdateShipmentResponse++; |
| 3709 if (buildCounterOrdersUpdateShipmentResponse < 3) { | 3919 if (buildCounterOrdersUpdateShipmentResponse < 3) { |
| 3710 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3920 unittest.expect(o.executionStatus, unittest.equals('foo')); |
| 3711 unittest.expect(o.kind, unittest.equals('foo')); | 3921 unittest.expect(o.kind, unittest.equals('foo')); |
| 3712 } | 3922 } |
| 3713 buildCounterOrdersUpdateShipmentResponse--; | 3923 buildCounterOrdersUpdateShipmentResponse--; |
| 3714 } | 3924 } |
| 3715 | 3925 |
| 3926 buildUnnamed562() { |
| 3927 var o = new core.List<api.PostalCodeRange>(); |
| 3928 o.add(buildPostalCodeRange()); |
| 3929 o.add(buildPostalCodeRange()); |
| 3930 return o; |
| 3931 } |
| 3932 |
| 3933 checkUnnamed562(core.List<api.PostalCodeRange> o) { |
| 3934 unittest.expect(o, unittest.hasLength(2)); |
| 3935 checkPostalCodeRange(o[0]); |
| 3936 checkPostalCodeRange(o[1]); |
| 3937 } |
| 3938 |
| 3939 core.int buildCounterPostalCodeGroup = 0; |
| 3940 buildPostalCodeGroup() { |
| 3941 var o = new api.PostalCodeGroup(); |
| 3942 buildCounterPostalCodeGroup++; |
| 3943 if (buildCounterPostalCodeGroup < 3) { |
| 3944 o.country = "foo"; |
| 3945 o.name = "foo"; |
| 3946 o.postalCodeRanges = buildUnnamed562(); |
| 3947 } |
| 3948 buildCounterPostalCodeGroup--; |
| 3949 return o; |
| 3950 } |
| 3951 |
| 3952 checkPostalCodeGroup(api.PostalCodeGroup o) { |
| 3953 buildCounterPostalCodeGroup++; |
| 3954 if (buildCounterPostalCodeGroup < 3) { |
| 3955 unittest.expect(o.country, unittest.equals('foo')); |
| 3956 unittest.expect(o.name, unittest.equals('foo')); |
| 3957 checkUnnamed562(o.postalCodeRanges); |
| 3958 } |
| 3959 buildCounterPostalCodeGroup--; |
| 3960 } |
| 3961 |
| 3962 core.int buildCounterPostalCodeRange = 0; |
| 3963 buildPostalCodeRange() { |
| 3964 var o = new api.PostalCodeRange(); |
| 3965 buildCounterPostalCodeRange++; |
| 3966 if (buildCounterPostalCodeRange < 3) { |
| 3967 o.postalCodeRangeBegin = "foo"; |
| 3968 o.postalCodeRangeEnd = "foo"; |
| 3969 } |
| 3970 buildCounterPostalCodeRange--; |
| 3971 return o; |
| 3972 } |
| 3973 |
| 3974 checkPostalCodeRange(api.PostalCodeRange o) { |
| 3975 buildCounterPostalCodeRange++; |
| 3976 if (buildCounterPostalCodeRange < 3) { |
| 3977 unittest.expect(o.postalCodeRangeBegin, unittest.equals('foo')); |
| 3978 unittest.expect(o.postalCodeRangeEnd, unittest.equals('foo')); |
| 3979 } |
| 3980 buildCounterPostalCodeRange--; |
| 3981 } |
| 3982 |
| 3716 core.int buildCounterPrice = 0; | 3983 core.int buildCounterPrice = 0; |
| 3717 buildPrice() { | 3984 buildPrice() { |
| 3718 var o = new api.Price(); | 3985 var o = new api.Price(); |
| 3719 buildCounterPrice++; | 3986 buildCounterPrice++; |
| 3720 if (buildCounterPrice < 3) { | 3987 if (buildCounterPrice < 3) { |
| 3721 o.currency = "foo"; | 3988 o.currency = "foo"; |
| 3722 o.value = "foo"; | 3989 o.value = "foo"; |
| 3723 } | 3990 } |
| 3724 buildCounterPrice--; | 3991 buildCounterPrice--; |
| 3725 return o; | 3992 return o; |
| 3726 } | 3993 } |
| 3727 | 3994 |
| 3728 checkPrice(api.Price o) { | 3995 checkPrice(api.Price o) { |
| 3729 buildCounterPrice++; | 3996 buildCounterPrice++; |
| 3730 if (buildCounterPrice < 3) { | 3997 if (buildCounterPrice < 3) { |
| 3731 unittest.expect(o.currency, unittest.equals('foo')); | 3998 unittest.expect(o.currency, unittest.equals('foo')); |
| 3732 unittest.expect(o.value, unittest.equals('foo')); | 3999 unittest.expect(o.value, unittest.equals('foo')); |
| 3733 } | 4000 } |
| 3734 buildCounterPrice--; | 4001 buildCounterPrice--; |
| 3735 } | 4002 } |
| 3736 | 4003 |
| 3737 buildUnnamed962() { | 4004 buildUnnamed563() { |
| 3738 var o = new core.List<core.String>(); | 4005 var o = new core.List<core.String>(); |
| 3739 o.add("foo"); | 4006 o.add("foo"); |
| 3740 o.add("foo"); | 4007 o.add("foo"); |
| 3741 return o; | 4008 return o; |
| 3742 } | 4009 } |
| 3743 | 4010 |
| 3744 checkUnnamed962(core.List<core.String> o) { | 4011 checkUnnamed563(core.List<core.String> o) { |
| 3745 unittest.expect(o, unittest.hasLength(2)); | 4012 unittest.expect(o, unittest.hasLength(2)); |
| 3746 unittest.expect(o[0], unittest.equals('foo')); | 4013 unittest.expect(o[0], unittest.equals('foo')); |
| 3747 unittest.expect(o[1], unittest.equals('foo')); | 4014 unittest.expect(o[1], unittest.equals('foo')); |
| 3748 } | 4015 } |
| 3749 | 4016 |
| 3750 buildUnnamed963() { | 4017 buildUnnamed564() { |
| 3751 var o = new core.List<core.String>(); | 4018 var o = new core.List<core.String>(); |
| 3752 o.add("foo"); | 4019 o.add("foo"); |
| 3753 o.add("foo"); | 4020 o.add("foo"); |
| 3754 return o; | 4021 return o; |
| 3755 } | 4022 } |
| 3756 | 4023 |
| 3757 checkUnnamed963(core.List<core.String> o) { | 4024 checkUnnamed564(core.List<core.String> o) { |
| 3758 unittest.expect(o, unittest.hasLength(2)); | 4025 unittest.expect(o, unittest.hasLength(2)); |
| 3759 unittest.expect(o[0], unittest.equals('foo')); | 4026 unittest.expect(o[0], unittest.equals('foo')); |
| 3760 unittest.expect(o[1], unittest.equals('foo')); | 4027 unittest.expect(o[1], unittest.equals('foo')); |
| 3761 } | 4028 } |
| 3762 | 4029 |
| 3763 buildUnnamed964() { | 4030 buildUnnamed565() { |
| 3764 var o = new core.List<core.String>(); | 4031 var o = new core.List<core.String>(); |
| 3765 o.add("foo"); | 4032 o.add("foo"); |
| 3766 o.add("foo"); | 4033 o.add("foo"); |
| 3767 return o; | 4034 return o; |
| 3768 } | 4035 } |
| 3769 | 4036 |
| 3770 checkUnnamed964(core.List<core.String> o) { | 4037 checkUnnamed565(core.List<core.String> o) { |
| 3771 unittest.expect(o, unittest.hasLength(2)); | 4038 unittest.expect(o, unittest.hasLength(2)); |
| 3772 unittest.expect(o[0], unittest.equals('foo')); | 4039 unittest.expect(o[0], unittest.equals('foo')); |
| 3773 unittest.expect(o[1], unittest.equals('foo')); | 4040 unittest.expect(o[1], unittest.equals('foo')); |
| 3774 } | 4041 } |
| 3775 | 4042 |
| 3776 buildUnnamed965() { | 4043 buildUnnamed566() { |
| 3777 var o = new core.List<api.ProductAspect>(); | 4044 var o = new core.List<api.ProductAspect>(); |
| 3778 o.add(buildProductAspect()); | 4045 o.add(buildProductAspect()); |
| 3779 o.add(buildProductAspect()); | 4046 o.add(buildProductAspect()); |
| 3780 return o; | 4047 return o; |
| 3781 } | 4048 } |
| 3782 | 4049 |
| 3783 checkUnnamed965(core.List<api.ProductAspect> o) { | 4050 checkUnnamed566(core.List<api.ProductAspect> o) { |
| 3784 unittest.expect(o, unittest.hasLength(2)); | 4051 unittest.expect(o, unittest.hasLength(2)); |
| 3785 checkProductAspect(o[0]); | 4052 checkProductAspect(o[0]); |
| 3786 checkProductAspect(o[1]); | 4053 checkProductAspect(o[1]); |
| 3787 } | 4054 } |
| 3788 | 4055 |
| 3789 buildUnnamed966() { | 4056 buildUnnamed567() { |
| 3790 var o = new core.List<api.ProductCustomAttribute>(); | 4057 var o = new core.List<api.ProductCustomAttribute>(); |
| 3791 o.add(buildProductCustomAttribute()); | 4058 o.add(buildProductCustomAttribute()); |
| 3792 o.add(buildProductCustomAttribute()); | 4059 o.add(buildProductCustomAttribute()); |
| 3793 return o; | 4060 return o; |
| 3794 } | 4061 } |
| 3795 | 4062 |
| 3796 checkUnnamed966(core.List<api.ProductCustomAttribute> o) { | 4063 checkUnnamed567(core.List<api.ProductCustomAttribute> o) { |
| 3797 unittest.expect(o, unittest.hasLength(2)); | 4064 unittest.expect(o, unittest.hasLength(2)); |
| 3798 checkProductCustomAttribute(o[0]); | 4065 checkProductCustomAttribute(o[0]); |
| 3799 checkProductCustomAttribute(o[1]); | 4066 checkProductCustomAttribute(o[1]); |
| 3800 } | 4067 } |
| 3801 | 4068 |
| 3802 buildUnnamed967() { | 4069 buildUnnamed568() { |
| 3803 var o = new core.List<api.ProductCustomGroup>(); | 4070 var o = new core.List<api.ProductCustomGroup>(); |
| 3804 o.add(buildProductCustomGroup()); | 4071 o.add(buildProductCustomGroup()); |
| 3805 o.add(buildProductCustomGroup()); | 4072 o.add(buildProductCustomGroup()); |
| 3806 return o; | 4073 return o; |
| 3807 } | 4074 } |
| 3808 | 4075 |
| 3809 checkUnnamed967(core.List<api.ProductCustomGroup> o) { | 4076 checkUnnamed568(core.List<api.ProductCustomGroup> o) { |
| 3810 unittest.expect(o, unittest.hasLength(2)); | 4077 unittest.expect(o, unittest.hasLength(2)); |
| 3811 checkProductCustomGroup(o[0]); | 4078 checkProductCustomGroup(o[0]); |
| 3812 checkProductCustomGroup(o[1]); | 4079 checkProductCustomGroup(o[1]); |
| 3813 } | 4080 } |
| 3814 | 4081 |
| 3815 buildUnnamed968() { | 4082 buildUnnamed569() { |
| 3816 var o = new core.List<api.ProductDestination>(); | 4083 var o = new core.List<api.ProductDestination>(); |
| 3817 o.add(buildProductDestination()); | 4084 o.add(buildProductDestination()); |
| 3818 o.add(buildProductDestination()); | 4085 o.add(buildProductDestination()); |
| 3819 return o; | 4086 return o; |
| 3820 } | 4087 } |
| 3821 | 4088 |
| 3822 checkUnnamed968(core.List<api.ProductDestination> o) { | 4089 checkUnnamed569(core.List<api.ProductDestination> o) { |
| 3823 unittest.expect(o, unittest.hasLength(2)); | 4090 unittest.expect(o, unittest.hasLength(2)); |
| 3824 checkProductDestination(o[0]); | 4091 checkProductDestination(o[0]); |
| 3825 checkProductDestination(o[1]); | 4092 checkProductDestination(o[1]); |
| 3826 } | 4093 } |
| 3827 | 4094 |
| 3828 buildUnnamed969() { | 4095 buildUnnamed570() { |
| 3829 var o = new core.List<core.String>(); | 4096 var o = new core.List<core.String>(); |
| 3830 o.add("foo"); | 4097 o.add("foo"); |
| 3831 o.add("foo"); | 4098 o.add("foo"); |
| 3832 return o; | 4099 return o; |
| 3833 } | 4100 } |
| 3834 | 4101 |
| 3835 checkUnnamed969(core.List<core.String> o) { | 4102 checkUnnamed570(core.List<core.String> o) { |
| 3836 unittest.expect(o, unittest.hasLength(2)); | 4103 unittest.expect(o, unittest.hasLength(2)); |
| 3837 unittest.expect(o[0], unittest.equals('foo')); | 4104 unittest.expect(o[0], unittest.equals('foo')); |
| 3838 unittest.expect(o[1], unittest.equals('foo')); | 4105 unittest.expect(o[1], unittest.equals('foo')); |
| 3839 } | 4106 } |
| 3840 | 4107 |
| 3841 buildUnnamed970() { | 4108 buildUnnamed571() { |
| 3842 var o = new core.List<core.String>(); | 4109 var o = new core.List<core.String>(); |
| 3843 o.add("foo"); | 4110 o.add("foo"); |
| 3844 o.add("foo"); | 4111 o.add("foo"); |
| 3845 return o; | 4112 return o; |
| 3846 } | 4113 } |
| 3847 | 4114 |
| 3848 checkUnnamed970(core.List<core.String> o) { | 4115 checkUnnamed571(core.List<core.String> o) { |
| 3849 unittest.expect(o, unittest.hasLength(2)); | 4116 unittest.expect(o, unittest.hasLength(2)); |
| 3850 unittest.expect(o[0], unittest.equals('foo')); | 4117 unittest.expect(o[0], unittest.equals('foo')); |
| 3851 unittest.expect(o[1], unittest.equals('foo')); | 4118 unittest.expect(o[1], unittest.equals('foo')); |
| 3852 } | 4119 } |
| 3853 | 4120 |
| 3854 buildUnnamed971() { | 4121 buildUnnamed572() { |
| 3855 var o = new core.List<api.ProductShipping>(); | 4122 var o = new core.List<api.ProductShipping>(); |
| 3856 o.add(buildProductShipping()); | 4123 o.add(buildProductShipping()); |
| 3857 o.add(buildProductShipping()); | 4124 o.add(buildProductShipping()); |
| 3858 return o; | 4125 return o; |
| 3859 } | 4126 } |
| 3860 | 4127 |
| 3861 checkUnnamed971(core.List<api.ProductShipping> o) { | 4128 checkUnnamed572(core.List<api.ProductShipping> o) { |
| 3862 unittest.expect(o, unittest.hasLength(2)); | 4129 unittest.expect(o, unittest.hasLength(2)); |
| 3863 checkProductShipping(o[0]); | 4130 checkProductShipping(o[0]); |
| 3864 checkProductShipping(o[1]); | 4131 checkProductShipping(o[1]); |
| 3865 } | 4132 } |
| 3866 | 4133 |
| 3867 buildUnnamed972() { | 4134 buildUnnamed573() { |
| 3868 var o = new core.List<core.String>(); | 4135 var o = new core.List<core.String>(); |
| 3869 o.add("foo"); | 4136 o.add("foo"); |
| 3870 o.add("foo"); | 4137 o.add("foo"); |
| 3871 return o; | 4138 return o; |
| 3872 } | 4139 } |
| 3873 | 4140 |
| 3874 checkUnnamed972(core.List<core.String> o) { | 4141 checkUnnamed573(core.List<core.String> o) { |
| 3875 unittest.expect(o, unittest.hasLength(2)); | 4142 unittest.expect(o, unittest.hasLength(2)); |
| 3876 unittest.expect(o[0], unittest.equals('foo')); | 4143 unittest.expect(o[0], unittest.equals('foo')); |
| 3877 unittest.expect(o[1], unittest.equals('foo')); | 4144 unittest.expect(o[1], unittest.equals('foo')); |
| 3878 } | 4145 } |
| 3879 | 4146 |
| 3880 buildUnnamed973() { | 4147 buildUnnamed574() { |
| 3881 var o = new core.List<api.ProductTax>(); | 4148 var o = new core.List<api.ProductTax>(); |
| 3882 o.add(buildProductTax()); | 4149 o.add(buildProductTax()); |
| 3883 o.add(buildProductTax()); | 4150 o.add(buildProductTax()); |
| 3884 return o; | 4151 return o; |
| 3885 } | 4152 } |
| 3886 | 4153 |
| 3887 checkUnnamed973(core.List<api.ProductTax> o) { | 4154 checkUnnamed574(core.List<api.ProductTax> o) { |
| 3888 unittest.expect(o, unittest.hasLength(2)); | 4155 unittest.expect(o, unittest.hasLength(2)); |
| 3889 checkProductTax(o[0]); | 4156 checkProductTax(o[0]); |
| 3890 checkProductTax(o[1]); | 4157 checkProductTax(o[1]); |
| 3891 } | 4158 } |
| 3892 | 4159 |
| 3893 buildUnnamed974() { | 4160 buildUnnamed575() { |
| 3894 var o = new core.List<core.String>(); | 4161 var o = new core.List<core.String>(); |
| 3895 o.add("foo"); | 4162 o.add("foo"); |
| 3896 o.add("foo"); | 4163 o.add("foo"); |
| 3897 return o; | 4164 return o; |
| 3898 } | 4165 } |
| 3899 | 4166 |
| 3900 checkUnnamed974(core.List<core.String> o) { | 4167 checkUnnamed575(core.List<core.String> o) { |
| 3901 unittest.expect(o, unittest.hasLength(2)); | 4168 unittest.expect(o, unittest.hasLength(2)); |
| 3902 unittest.expect(o[0], unittest.equals('foo')); | 4169 unittest.expect(o[0], unittest.equals('foo')); |
| 3903 unittest.expect(o[1], unittest.equals('foo')); | 4170 unittest.expect(o[1], unittest.equals('foo')); |
| 3904 } | 4171 } |
| 3905 | 4172 |
| 3906 buildUnnamed975() { | 4173 buildUnnamed576() { |
| 3907 var o = new core.List<api.Error>(); | 4174 var o = new core.List<api.Error>(); |
| 3908 o.add(buildError()); | 4175 o.add(buildError()); |
| 3909 o.add(buildError()); | 4176 o.add(buildError()); |
| 3910 return o; | 4177 return o; |
| 3911 } | 4178 } |
| 3912 | 4179 |
| 3913 checkUnnamed975(core.List<api.Error> o) { | 4180 checkUnnamed576(core.List<api.Error> o) { |
| 3914 unittest.expect(o, unittest.hasLength(2)); | 4181 unittest.expect(o, unittest.hasLength(2)); |
| 3915 checkError(o[0]); | 4182 checkError(o[0]); |
| 3916 checkError(o[1]); | 4183 checkError(o[1]); |
| 3917 } | 4184 } |
| 3918 | 4185 |
| 3919 core.int buildCounterProduct = 0; | 4186 core.int buildCounterProduct = 0; |
| 3920 buildProduct() { | 4187 buildProduct() { |
| 3921 var o = new api.Product(); | 4188 var o = new api.Product(); |
| 3922 buildCounterProduct++; | 4189 buildCounterProduct++; |
| 3923 if (buildCounterProduct < 3) { | 4190 if (buildCounterProduct < 3) { |
| 3924 o.additionalImageLinks = buildUnnamed962(); | 4191 o.additionalImageLinks = buildUnnamed563(); |
| 3925 o.additionalProductTypes = buildUnnamed963(); | 4192 o.additionalProductTypes = buildUnnamed564(); |
| 3926 o.adult = true; | 4193 o.adult = true; |
| 3927 o.adwordsGrouping = "foo"; | 4194 o.adwordsGrouping = "foo"; |
| 3928 o.adwordsLabels = buildUnnamed964(); | 4195 o.adwordsLabels = buildUnnamed565(); |
| 3929 o.adwordsRedirect = "foo"; | 4196 o.adwordsRedirect = "foo"; |
| 3930 o.ageGroup = "foo"; | 4197 o.ageGroup = "foo"; |
| 3931 o.aspects = buildUnnamed965(); | 4198 o.aspects = buildUnnamed566(); |
| 3932 o.availability = "foo"; | 4199 o.availability = "foo"; |
| 3933 o.availabilityDate = "foo"; | 4200 o.availabilityDate = "foo"; |
| 3934 o.brand = "foo"; | 4201 o.brand = "foo"; |
| 3935 o.channel = "foo"; | 4202 o.channel = "foo"; |
| 3936 o.color = "foo"; | 4203 o.color = "foo"; |
| 3937 o.condition = "foo"; | 4204 o.condition = "foo"; |
| 3938 o.contentLanguage = "foo"; | 4205 o.contentLanguage = "foo"; |
| 3939 o.customAttributes = buildUnnamed966(); | 4206 o.customAttributes = buildUnnamed567(); |
| 3940 o.customGroups = buildUnnamed967(); | 4207 o.customGroups = buildUnnamed568(); |
| 3941 o.customLabel0 = "foo"; | 4208 o.customLabel0 = "foo"; |
| 3942 o.customLabel1 = "foo"; | 4209 o.customLabel1 = "foo"; |
| 3943 o.customLabel2 = "foo"; | 4210 o.customLabel2 = "foo"; |
| 3944 o.customLabel3 = "foo"; | 4211 o.customLabel3 = "foo"; |
| 3945 o.customLabel4 = "foo"; | 4212 o.customLabel4 = "foo"; |
| 3946 o.description = "foo"; | 4213 o.description = "foo"; |
| 3947 o.destinations = buildUnnamed968(); | 4214 o.destinations = buildUnnamed569(); |
| 3948 o.displayAdsId = "foo"; | 4215 o.displayAdsId = "foo"; |
| 3949 o.displayAdsLink = "foo"; | 4216 o.displayAdsLink = "foo"; |
| 3950 o.displayAdsSimilarIds = buildUnnamed969(); | 4217 o.displayAdsSimilarIds = buildUnnamed570(); |
| 3951 o.displayAdsTitle = "foo"; | 4218 o.displayAdsTitle = "foo"; |
| 3952 o.displayAdsValue = 42.0; | 4219 o.displayAdsValue = 42.0; |
| 3953 o.energyEfficiencyClass = "foo"; | 4220 o.energyEfficiencyClass = "foo"; |
| 3954 o.expirationDate = "foo"; | 4221 o.expirationDate = "foo"; |
| 3955 o.gender = "foo"; | 4222 o.gender = "foo"; |
| 3956 o.googleProductCategory = "foo"; | 4223 o.googleProductCategory = "foo"; |
| 3957 o.gtin = "foo"; | 4224 o.gtin = "foo"; |
| 3958 o.id = "foo"; | 4225 o.id = "foo"; |
| 3959 o.identifierExists = true; | 4226 o.identifierExists = true; |
| 3960 o.imageLink = "foo"; | 4227 o.imageLink = "foo"; |
| 3961 o.installment = buildInstallment(); | 4228 o.installment = buildInstallment(); |
| 3962 o.isBundle = true; | 4229 o.isBundle = true; |
| 3963 o.itemGroupId = "foo"; | 4230 o.itemGroupId = "foo"; |
| 3964 o.kind = "foo"; | 4231 o.kind = "foo"; |
| 3965 o.link = "foo"; | 4232 o.link = "foo"; |
| 3966 o.loyaltyPoints = buildLoyaltyPoints(); | 4233 o.loyaltyPoints = buildLoyaltyPoints(); |
| 3967 o.material = "foo"; | 4234 o.material = "foo"; |
| 3968 o.mobileLink = "foo"; | 4235 o.mobileLink = "foo"; |
| 3969 o.mpn = "foo"; | 4236 o.mpn = "foo"; |
| 3970 o.multipack = "foo"; | 4237 o.multipack = "foo"; |
| 3971 o.offerId = "foo"; | 4238 o.offerId = "foo"; |
| 3972 o.onlineOnly = true; | 4239 o.onlineOnly = true; |
| 3973 o.pattern = "foo"; | 4240 o.pattern = "foo"; |
| 3974 o.price = buildPrice(); | 4241 o.price = buildPrice(); |
| 3975 o.productType = "foo"; | 4242 o.productType = "foo"; |
| 3976 o.promotionIds = buildUnnamed970(); | 4243 o.promotionIds = buildUnnamed571(); |
| 3977 o.salePrice = buildPrice(); | 4244 o.salePrice = buildPrice(); |
| 3978 o.salePriceEffectiveDate = "foo"; | 4245 o.salePriceEffectiveDate = "foo"; |
| 3979 o.sellOnGoogleQuantity = "foo"; | 4246 o.sellOnGoogleQuantity = "foo"; |
| 3980 o.shipping = buildUnnamed971(); | 4247 o.shipping = buildUnnamed572(); |
| 3981 o.shippingHeight = buildProductShippingDimension(); | 4248 o.shippingHeight = buildProductShippingDimension(); |
| 3982 o.shippingLabel = "foo"; | 4249 o.shippingLabel = "foo"; |
| 3983 o.shippingLength = buildProductShippingDimension(); | 4250 o.shippingLength = buildProductShippingDimension(); |
| 3984 o.shippingWeight = buildProductShippingWeight(); | 4251 o.shippingWeight = buildProductShippingWeight(); |
| 3985 o.shippingWidth = buildProductShippingDimension(); | 4252 o.shippingWidth = buildProductShippingDimension(); |
| 3986 o.sizeSystem = "foo"; | 4253 o.sizeSystem = "foo"; |
| 3987 o.sizeType = "foo"; | 4254 o.sizeType = "foo"; |
| 3988 o.sizes = buildUnnamed972(); | 4255 o.sizes = buildUnnamed573(); |
| 3989 o.targetCountry = "foo"; | 4256 o.targetCountry = "foo"; |
| 3990 o.taxes = buildUnnamed973(); | 4257 o.taxes = buildUnnamed574(); |
| 3991 o.title = "foo"; | 4258 o.title = "foo"; |
| 3992 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 4259 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
| 3993 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 4260 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
| 3994 o.validatedDestinations = buildUnnamed974(); | 4261 o.validatedDestinations = buildUnnamed575(); |
| 3995 o.warnings = buildUnnamed975(); | 4262 o.warnings = buildUnnamed576(); |
| 3996 } | 4263 } |
| 3997 buildCounterProduct--; | 4264 buildCounterProduct--; |
| 3998 return o; | 4265 return o; |
| 3999 } | 4266 } |
| 4000 | 4267 |
| 4001 checkProduct(api.Product o) { | 4268 checkProduct(api.Product o) { |
| 4002 buildCounterProduct++; | 4269 buildCounterProduct++; |
| 4003 if (buildCounterProduct < 3) { | 4270 if (buildCounterProduct < 3) { |
| 4004 checkUnnamed962(o.additionalImageLinks); | 4271 checkUnnamed563(o.additionalImageLinks); |
| 4005 checkUnnamed963(o.additionalProductTypes); | 4272 checkUnnamed564(o.additionalProductTypes); |
| 4006 unittest.expect(o.adult, unittest.isTrue); | 4273 unittest.expect(o.adult, unittest.isTrue); |
| 4007 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 4274 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
| 4008 checkUnnamed964(o.adwordsLabels); | 4275 checkUnnamed565(o.adwordsLabels); |
| 4009 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 4276 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
| 4010 unittest.expect(o.ageGroup, unittest.equals('foo')); | 4277 unittest.expect(o.ageGroup, unittest.equals('foo')); |
| 4011 checkUnnamed965(o.aspects); | 4278 checkUnnamed566(o.aspects); |
| 4012 unittest.expect(o.availability, unittest.equals('foo')); | 4279 unittest.expect(o.availability, unittest.equals('foo')); |
| 4013 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 4280 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
| 4014 unittest.expect(o.brand, unittest.equals('foo')); | 4281 unittest.expect(o.brand, unittest.equals('foo')); |
| 4015 unittest.expect(o.channel, unittest.equals('foo')); | 4282 unittest.expect(o.channel, unittest.equals('foo')); |
| 4016 unittest.expect(o.color, unittest.equals('foo')); | 4283 unittest.expect(o.color, unittest.equals('foo')); |
| 4017 unittest.expect(o.condition, unittest.equals('foo')); | 4284 unittest.expect(o.condition, unittest.equals('foo')); |
| 4018 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 4285 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 4019 checkUnnamed966(o.customAttributes); | 4286 checkUnnamed567(o.customAttributes); |
| 4020 checkUnnamed967(o.customGroups); | 4287 checkUnnamed568(o.customGroups); |
| 4021 unittest.expect(o.customLabel0, unittest.equals('foo')); | 4288 unittest.expect(o.customLabel0, unittest.equals('foo')); |
| 4022 unittest.expect(o.customLabel1, unittest.equals('foo')); | 4289 unittest.expect(o.customLabel1, unittest.equals('foo')); |
| 4023 unittest.expect(o.customLabel2, unittest.equals('foo')); | 4290 unittest.expect(o.customLabel2, unittest.equals('foo')); |
| 4024 unittest.expect(o.customLabel3, unittest.equals('foo')); | 4291 unittest.expect(o.customLabel3, unittest.equals('foo')); |
| 4025 unittest.expect(o.customLabel4, unittest.equals('foo')); | 4292 unittest.expect(o.customLabel4, unittest.equals('foo')); |
| 4026 unittest.expect(o.description, unittest.equals('foo')); | 4293 unittest.expect(o.description, unittest.equals('foo')); |
| 4027 checkUnnamed968(o.destinations); | 4294 checkUnnamed569(o.destinations); |
| 4028 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 4295 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
| 4029 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 4296 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
| 4030 checkUnnamed969(o.displayAdsSimilarIds); | 4297 checkUnnamed570(o.displayAdsSimilarIds); |
| 4031 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 4298 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
| 4032 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 4299 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
| 4033 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 4300 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
| 4034 unittest.expect(o.expirationDate, unittest.equals('foo')); | 4301 unittest.expect(o.expirationDate, unittest.equals('foo')); |
| 4035 unittest.expect(o.gender, unittest.equals('foo')); | 4302 unittest.expect(o.gender, unittest.equals('foo')); |
| 4036 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 4303 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
| 4037 unittest.expect(o.gtin, unittest.equals('foo')); | 4304 unittest.expect(o.gtin, unittest.equals('foo')); |
| 4038 unittest.expect(o.id, unittest.equals('foo')); | 4305 unittest.expect(o.id, unittest.equals('foo')); |
| 4039 unittest.expect(o.identifierExists, unittest.isTrue); | 4306 unittest.expect(o.identifierExists, unittest.isTrue); |
| 4040 unittest.expect(o.imageLink, unittest.equals('foo')); | 4307 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 4041 checkInstallment(o.installment); | 4308 checkInstallment(o.installment); |
| 4042 unittest.expect(o.isBundle, unittest.isTrue); | 4309 unittest.expect(o.isBundle, unittest.isTrue); |
| 4043 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4310 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 4044 unittest.expect(o.kind, unittest.equals('foo')); | 4311 unittest.expect(o.kind, unittest.equals('foo')); |
| 4045 unittest.expect(o.link, unittest.equals('foo')); | 4312 unittest.expect(o.link, unittest.equals('foo')); |
| 4046 checkLoyaltyPoints(o.loyaltyPoints); | 4313 checkLoyaltyPoints(o.loyaltyPoints); |
| 4047 unittest.expect(o.material, unittest.equals('foo')); | 4314 unittest.expect(o.material, unittest.equals('foo')); |
| 4048 unittest.expect(o.mobileLink, unittest.equals('foo')); | 4315 unittest.expect(o.mobileLink, unittest.equals('foo')); |
| 4049 unittest.expect(o.mpn, unittest.equals('foo')); | 4316 unittest.expect(o.mpn, unittest.equals('foo')); |
| 4050 unittest.expect(o.multipack, unittest.equals('foo')); | 4317 unittest.expect(o.multipack, unittest.equals('foo')); |
| 4051 unittest.expect(o.offerId, unittest.equals('foo')); | 4318 unittest.expect(o.offerId, unittest.equals('foo')); |
| 4052 unittest.expect(o.onlineOnly, unittest.isTrue); | 4319 unittest.expect(o.onlineOnly, unittest.isTrue); |
| 4053 unittest.expect(o.pattern, unittest.equals('foo')); | 4320 unittest.expect(o.pattern, unittest.equals('foo')); |
| 4054 checkPrice(o.price); | 4321 checkPrice(o.price); |
| 4055 unittest.expect(o.productType, unittest.equals('foo')); | 4322 unittest.expect(o.productType, unittest.equals('foo')); |
| 4056 checkUnnamed970(o.promotionIds); | 4323 checkUnnamed571(o.promotionIds); |
| 4057 checkPrice(o.salePrice); | 4324 checkPrice(o.salePrice); |
| 4058 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 4325 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 4059 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); | 4326 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); |
| 4060 checkUnnamed971(o.shipping); | 4327 checkUnnamed572(o.shipping); |
| 4061 checkProductShippingDimension(o.shippingHeight); | 4328 checkProductShippingDimension(o.shippingHeight); |
| 4062 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 4329 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
| 4063 checkProductShippingDimension(o.shippingLength); | 4330 checkProductShippingDimension(o.shippingLength); |
| 4064 checkProductShippingWeight(o.shippingWeight); | 4331 checkProductShippingWeight(o.shippingWeight); |
| 4065 checkProductShippingDimension(o.shippingWidth); | 4332 checkProductShippingDimension(o.shippingWidth); |
| 4066 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 4333 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
| 4067 unittest.expect(o.sizeType, unittest.equals('foo')); | 4334 unittest.expect(o.sizeType, unittest.equals('foo')); |
| 4068 checkUnnamed972(o.sizes); | 4335 checkUnnamed573(o.sizes); |
| 4069 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4336 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 4070 checkUnnamed973(o.taxes); | 4337 checkUnnamed574(o.taxes); |
| 4071 unittest.expect(o.title, unittest.equals('foo')); | 4338 unittest.expect(o.title, unittest.equals('foo')); |
| 4072 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 4339 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
| 4073 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 4340 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
| 4074 checkUnnamed974(o.validatedDestinations); | 4341 checkUnnamed575(o.validatedDestinations); |
| 4075 checkUnnamed975(o.warnings); | 4342 checkUnnamed576(o.warnings); |
| 4076 } | 4343 } |
| 4077 buildCounterProduct--; | 4344 buildCounterProduct--; |
| 4078 } | 4345 } |
| 4079 | 4346 |
| 4080 core.int buildCounterProductAspect = 0; | 4347 core.int buildCounterProductAspect = 0; |
| 4081 buildProductAspect() { | 4348 buildProductAspect() { |
| 4082 var o = new api.ProductAspect(); | 4349 var o = new api.ProductAspect(); |
| 4083 buildCounterProductAspect++; | 4350 buildCounterProductAspect++; |
| 4084 if (buildCounterProductAspect < 3) { | 4351 if (buildCounterProductAspect < 3) { |
| 4085 o.aspectName = "foo"; | 4352 o.aspectName = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4118 buildCounterProductCustomAttribute++; | 4385 buildCounterProductCustomAttribute++; |
| 4119 if (buildCounterProductCustomAttribute < 3) { | 4386 if (buildCounterProductCustomAttribute < 3) { |
| 4120 unittest.expect(o.name, unittest.equals('foo')); | 4387 unittest.expect(o.name, unittest.equals('foo')); |
| 4121 unittest.expect(o.type, unittest.equals('foo')); | 4388 unittest.expect(o.type, unittest.equals('foo')); |
| 4122 unittest.expect(o.unit, unittest.equals('foo')); | 4389 unittest.expect(o.unit, unittest.equals('foo')); |
| 4123 unittest.expect(o.value, unittest.equals('foo')); | 4390 unittest.expect(o.value, unittest.equals('foo')); |
| 4124 } | 4391 } |
| 4125 buildCounterProductCustomAttribute--; | 4392 buildCounterProductCustomAttribute--; |
| 4126 } | 4393 } |
| 4127 | 4394 |
| 4128 buildUnnamed976() { | 4395 buildUnnamed577() { |
| 4129 var o = new core.List<api.ProductCustomAttribute>(); | 4396 var o = new core.List<api.ProductCustomAttribute>(); |
| 4130 o.add(buildProductCustomAttribute()); | 4397 o.add(buildProductCustomAttribute()); |
| 4131 o.add(buildProductCustomAttribute()); | 4398 o.add(buildProductCustomAttribute()); |
| 4132 return o; | 4399 return o; |
| 4133 } | 4400 } |
| 4134 | 4401 |
| 4135 checkUnnamed976(core.List<api.ProductCustomAttribute> o) { | 4402 checkUnnamed577(core.List<api.ProductCustomAttribute> o) { |
| 4136 unittest.expect(o, unittest.hasLength(2)); | 4403 unittest.expect(o, unittest.hasLength(2)); |
| 4137 checkProductCustomAttribute(o[0]); | 4404 checkProductCustomAttribute(o[0]); |
| 4138 checkProductCustomAttribute(o[1]); | 4405 checkProductCustomAttribute(o[1]); |
| 4139 } | 4406 } |
| 4140 | 4407 |
| 4141 core.int buildCounterProductCustomGroup = 0; | 4408 core.int buildCounterProductCustomGroup = 0; |
| 4142 buildProductCustomGroup() { | 4409 buildProductCustomGroup() { |
| 4143 var o = new api.ProductCustomGroup(); | 4410 var o = new api.ProductCustomGroup(); |
| 4144 buildCounterProductCustomGroup++; | 4411 buildCounterProductCustomGroup++; |
| 4145 if (buildCounterProductCustomGroup < 3) { | 4412 if (buildCounterProductCustomGroup < 3) { |
| 4146 o.attributes = buildUnnamed976(); | 4413 o.attributes = buildUnnamed577(); |
| 4147 o.name = "foo"; | 4414 o.name = "foo"; |
| 4148 } | 4415 } |
| 4149 buildCounterProductCustomGroup--; | 4416 buildCounterProductCustomGroup--; |
| 4150 return o; | 4417 return o; |
| 4151 } | 4418 } |
| 4152 | 4419 |
| 4153 checkProductCustomGroup(api.ProductCustomGroup o) { | 4420 checkProductCustomGroup(api.ProductCustomGroup o) { |
| 4154 buildCounterProductCustomGroup++; | 4421 buildCounterProductCustomGroup++; |
| 4155 if (buildCounterProductCustomGroup < 3) { | 4422 if (buildCounterProductCustomGroup < 3) { |
| 4156 checkUnnamed976(o.attributes); | 4423 checkUnnamed577(o.attributes); |
| 4157 unittest.expect(o.name, unittest.equals('foo')); | 4424 unittest.expect(o.name, unittest.equals('foo')); |
| 4158 } | 4425 } |
| 4159 buildCounterProductCustomGroup--; | 4426 buildCounterProductCustomGroup--; |
| 4160 } | 4427 } |
| 4161 | 4428 |
| 4162 core.int buildCounterProductDestination = 0; | 4429 core.int buildCounterProductDestination = 0; |
| 4163 buildProductDestination() { | 4430 buildProductDestination() { |
| 4164 var o = new api.ProductDestination(); | 4431 var o = new api.ProductDestination(); |
| 4165 buildCounterProductDestination++; | 4432 buildCounterProductDestination++; |
| 4166 if (buildCounterProductDestination < 3) { | 4433 if (buildCounterProductDestination < 3) { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4246 | 4513 |
| 4247 checkProductShippingWeight(api.ProductShippingWeight o) { | 4514 checkProductShippingWeight(api.ProductShippingWeight o) { |
| 4248 buildCounterProductShippingWeight++; | 4515 buildCounterProductShippingWeight++; |
| 4249 if (buildCounterProductShippingWeight < 3) { | 4516 if (buildCounterProductShippingWeight < 3) { |
| 4250 unittest.expect(o.unit, unittest.equals('foo')); | 4517 unittest.expect(o.unit, unittest.equals('foo')); |
| 4251 unittest.expect(o.value, unittest.equals(42.0)); | 4518 unittest.expect(o.value, unittest.equals(42.0)); |
| 4252 } | 4519 } |
| 4253 buildCounterProductShippingWeight--; | 4520 buildCounterProductShippingWeight--; |
| 4254 } | 4521 } |
| 4255 | 4522 |
| 4256 buildUnnamed977() { | 4523 buildUnnamed578() { |
| 4257 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 4524 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
| 4258 o.add(buildProductStatusDataQualityIssue()); | 4525 o.add(buildProductStatusDataQualityIssue()); |
| 4259 o.add(buildProductStatusDataQualityIssue()); | 4526 o.add(buildProductStatusDataQualityIssue()); |
| 4260 return o; | 4527 return o; |
| 4261 } | 4528 } |
| 4262 | 4529 |
| 4263 checkUnnamed977(core.List<api.ProductStatusDataQualityIssue> o) { | 4530 checkUnnamed578(core.List<api.ProductStatusDataQualityIssue> o) { |
| 4264 unittest.expect(o, unittest.hasLength(2)); | 4531 unittest.expect(o, unittest.hasLength(2)); |
| 4265 checkProductStatusDataQualityIssue(o[0]); | 4532 checkProductStatusDataQualityIssue(o[0]); |
| 4266 checkProductStatusDataQualityIssue(o[1]); | 4533 checkProductStatusDataQualityIssue(o[1]); |
| 4267 } | 4534 } |
| 4268 | 4535 |
| 4269 buildUnnamed978() { | 4536 buildUnnamed579() { |
| 4270 var o = new core.List<api.ProductStatusDestinationStatus>(); | 4537 var o = new core.List<api.ProductStatusDestinationStatus>(); |
| 4271 o.add(buildProductStatusDestinationStatus()); | 4538 o.add(buildProductStatusDestinationStatus()); |
| 4272 o.add(buildProductStatusDestinationStatus()); | 4539 o.add(buildProductStatusDestinationStatus()); |
| 4273 return o; | 4540 return o; |
| 4274 } | 4541 } |
| 4275 | 4542 |
| 4276 checkUnnamed978(core.List<api.ProductStatusDestinationStatus> o) { | 4543 checkUnnamed579(core.List<api.ProductStatusDestinationStatus> o) { |
| 4277 unittest.expect(o, unittest.hasLength(2)); | 4544 unittest.expect(o, unittest.hasLength(2)); |
| 4278 checkProductStatusDestinationStatus(o[0]); | 4545 checkProductStatusDestinationStatus(o[0]); |
| 4279 checkProductStatusDestinationStatus(o[1]); | 4546 checkProductStatusDestinationStatus(o[1]); |
| 4280 } | 4547 } |
| 4281 | 4548 |
| 4282 core.int buildCounterProductStatus = 0; | 4549 core.int buildCounterProductStatus = 0; |
| 4283 buildProductStatus() { | 4550 buildProductStatus() { |
| 4284 var o = new api.ProductStatus(); | 4551 var o = new api.ProductStatus(); |
| 4285 buildCounterProductStatus++; | 4552 buildCounterProductStatus++; |
| 4286 if (buildCounterProductStatus < 3) { | 4553 if (buildCounterProductStatus < 3) { |
| 4287 o.creationDate = "foo"; | 4554 o.creationDate = "foo"; |
| 4288 o.dataQualityIssues = buildUnnamed977(); | 4555 o.dataQualityIssues = buildUnnamed578(); |
| 4289 o.destinationStatuses = buildUnnamed978(); | 4556 o.destinationStatuses = buildUnnamed579(); |
| 4290 o.googleExpirationDate = "foo"; | 4557 o.googleExpirationDate = "foo"; |
| 4291 o.kind = "foo"; | 4558 o.kind = "foo"; |
| 4292 o.lastUpdateDate = "foo"; | 4559 o.lastUpdateDate = "foo"; |
| 4293 o.link = "foo"; | 4560 o.link = "foo"; |
| 4294 o.productId = "foo"; | 4561 o.productId = "foo"; |
| 4295 o.title = "foo"; | 4562 o.title = "foo"; |
| 4296 } | 4563 } |
| 4297 buildCounterProductStatus--; | 4564 buildCounterProductStatus--; |
| 4298 return o; | 4565 return o; |
| 4299 } | 4566 } |
| 4300 | 4567 |
| 4301 checkProductStatus(api.ProductStatus o) { | 4568 checkProductStatus(api.ProductStatus o) { |
| 4302 buildCounterProductStatus++; | 4569 buildCounterProductStatus++; |
| 4303 if (buildCounterProductStatus < 3) { | 4570 if (buildCounterProductStatus < 3) { |
| 4304 unittest.expect(o.creationDate, unittest.equals('foo')); | 4571 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 4305 checkUnnamed977(o.dataQualityIssues); | 4572 checkUnnamed578(o.dataQualityIssues); |
| 4306 checkUnnamed978(o.destinationStatuses); | 4573 checkUnnamed579(o.destinationStatuses); |
| 4307 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 4574 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
| 4308 unittest.expect(o.kind, unittest.equals('foo')); | 4575 unittest.expect(o.kind, unittest.equals('foo')); |
| 4309 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 4576 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
| 4310 unittest.expect(o.link, unittest.equals('foo')); | 4577 unittest.expect(o.link, unittest.equals('foo')); |
| 4311 unittest.expect(o.productId, unittest.equals('foo')); | 4578 unittest.expect(o.productId, unittest.equals('foo')); |
| 4312 unittest.expect(o.title, unittest.equals('foo')); | 4579 unittest.expect(o.title, unittest.equals('foo')); |
| 4313 } | 4580 } |
| 4314 buildCounterProductStatus--; | 4581 buildCounterProductStatus--; |
| 4315 } | 4582 } |
| 4316 | 4583 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4434 | 4701 |
| 4435 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 4702 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
| 4436 buildCounterProductUnitPricingMeasure++; | 4703 buildCounterProductUnitPricingMeasure++; |
| 4437 if (buildCounterProductUnitPricingMeasure < 3) { | 4704 if (buildCounterProductUnitPricingMeasure < 3) { |
| 4438 unittest.expect(o.unit, unittest.equals('foo')); | 4705 unittest.expect(o.unit, unittest.equals('foo')); |
| 4439 unittest.expect(o.value, unittest.equals(42.0)); | 4706 unittest.expect(o.value, unittest.equals(42.0)); |
| 4440 } | 4707 } |
| 4441 buildCounterProductUnitPricingMeasure--; | 4708 buildCounterProductUnitPricingMeasure--; |
| 4442 } | 4709 } |
| 4443 | 4710 |
| 4444 buildUnnamed979() { | 4711 buildUnnamed580() { |
| 4445 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 4712 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
| 4446 o.add(buildProductsCustomBatchRequestEntry()); | 4713 o.add(buildProductsCustomBatchRequestEntry()); |
| 4447 o.add(buildProductsCustomBatchRequestEntry()); | 4714 o.add(buildProductsCustomBatchRequestEntry()); |
| 4448 return o; | 4715 return o; |
| 4449 } | 4716 } |
| 4450 | 4717 |
| 4451 checkUnnamed979(core.List<api.ProductsCustomBatchRequestEntry> o) { | 4718 checkUnnamed580(core.List<api.ProductsCustomBatchRequestEntry> o) { |
| 4452 unittest.expect(o, unittest.hasLength(2)); | 4719 unittest.expect(o, unittest.hasLength(2)); |
| 4453 checkProductsCustomBatchRequestEntry(o[0]); | 4720 checkProductsCustomBatchRequestEntry(o[0]); |
| 4454 checkProductsCustomBatchRequestEntry(o[1]); | 4721 checkProductsCustomBatchRequestEntry(o[1]); |
| 4455 } | 4722 } |
| 4456 | 4723 |
| 4457 core.int buildCounterProductsCustomBatchRequest = 0; | 4724 core.int buildCounterProductsCustomBatchRequest = 0; |
| 4458 buildProductsCustomBatchRequest() { | 4725 buildProductsCustomBatchRequest() { |
| 4459 var o = new api.ProductsCustomBatchRequest(); | 4726 var o = new api.ProductsCustomBatchRequest(); |
| 4460 buildCounterProductsCustomBatchRequest++; | 4727 buildCounterProductsCustomBatchRequest++; |
| 4461 if (buildCounterProductsCustomBatchRequest < 3) { | 4728 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4462 o.entries = buildUnnamed979(); | 4729 o.entries = buildUnnamed580(); |
| 4463 } | 4730 } |
| 4464 buildCounterProductsCustomBatchRequest--; | 4731 buildCounterProductsCustomBatchRequest--; |
| 4465 return o; | 4732 return o; |
| 4466 } | 4733 } |
| 4467 | 4734 |
| 4468 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 4735 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
| 4469 buildCounterProductsCustomBatchRequest++; | 4736 buildCounterProductsCustomBatchRequest++; |
| 4470 if (buildCounterProductsCustomBatchRequest < 3) { | 4737 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4471 checkUnnamed979(o.entries); | 4738 checkUnnamed580(o.entries); |
| 4472 } | 4739 } |
| 4473 buildCounterProductsCustomBatchRequest--; | 4740 buildCounterProductsCustomBatchRequest--; |
| 4474 } | 4741 } |
| 4475 | 4742 |
| 4476 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 4743 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
| 4477 buildProductsCustomBatchRequestEntry() { | 4744 buildProductsCustomBatchRequestEntry() { |
| 4478 var o = new api.ProductsCustomBatchRequestEntry(); | 4745 var o = new api.ProductsCustomBatchRequestEntry(); |
| 4479 buildCounterProductsCustomBatchRequestEntry++; | 4746 buildCounterProductsCustomBatchRequestEntry++; |
| 4480 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4747 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4481 o.batchId = 42; | 4748 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4493 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4760 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4494 unittest.expect(o.batchId, unittest.equals(42)); | 4761 unittest.expect(o.batchId, unittest.equals(42)); |
| 4495 unittest.expect(o.merchantId, unittest.equals('foo')); | 4762 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4496 unittest.expect(o.method, unittest.equals('foo')); | 4763 unittest.expect(o.method, unittest.equals('foo')); |
| 4497 checkProduct(o.product); | 4764 checkProduct(o.product); |
| 4498 unittest.expect(o.productId, unittest.equals('foo')); | 4765 unittest.expect(o.productId, unittest.equals('foo')); |
| 4499 } | 4766 } |
| 4500 buildCounterProductsCustomBatchRequestEntry--; | 4767 buildCounterProductsCustomBatchRequestEntry--; |
| 4501 } | 4768 } |
| 4502 | 4769 |
| 4503 buildUnnamed980() { | 4770 buildUnnamed581() { |
| 4504 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 4771 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
| 4505 o.add(buildProductsCustomBatchResponseEntry()); | 4772 o.add(buildProductsCustomBatchResponseEntry()); |
| 4506 o.add(buildProductsCustomBatchResponseEntry()); | 4773 o.add(buildProductsCustomBatchResponseEntry()); |
| 4507 return o; | 4774 return o; |
| 4508 } | 4775 } |
| 4509 | 4776 |
| 4510 checkUnnamed980(core.List<api.ProductsCustomBatchResponseEntry> o) { | 4777 checkUnnamed581(core.List<api.ProductsCustomBatchResponseEntry> o) { |
| 4511 unittest.expect(o, unittest.hasLength(2)); | 4778 unittest.expect(o, unittest.hasLength(2)); |
| 4512 checkProductsCustomBatchResponseEntry(o[0]); | 4779 checkProductsCustomBatchResponseEntry(o[0]); |
| 4513 checkProductsCustomBatchResponseEntry(o[1]); | 4780 checkProductsCustomBatchResponseEntry(o[1]); |
| 4514 } | 4781 } |
| 4515 | 4782 |
| 4516 core.int buildCounterProductsCustomBatchResponse = 0; | 4783 core.int buildCounterProductsCustomBatchResponse = 0; |
| 4517 buildProductsCustomBatchResponse() { | 4784 buildProductsCustomBatchResponse() { |
| 4518 var o = new api.ProductsCustomBatchResponse(); | 4785 var o = new api.ProductsCustomBatchResponse(); |
| 4519 buildCounterProductsCustomBatchResponse++; | 4786 buildCounterProductsCustomBatchResponse++; |
| 4520 if (buildCounterProductsCustomBatchResponse < 3) { | 4787 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4521 o.entries = buildUnnamed980(); | 4788 o.entries = buildUnnamed581(); |
| 4522 o.kind = "foo"; | 4789 o.kind = "foo"; |
| 4523 } | 4790 } |
| 4524 buildCounterProductsCustomBatchResponse--; | 4791 buildCounterProductsCustomBatchResponse--; |
| 4525 return o; | 4792 return o; |
| 4526 } | 4793 } |
| 4527 | 4794 |
| 4528 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 4795 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
| 4529 buildCounterProductsCustomBatchResponse++; | 4796 buildCounterProductsCustomBatchResponse++; |
| 4530 if (buildCounterProductsCustomBatchResponse < 3) { | 4797 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4531 checkUnnamed980(o.entries); | 4798 checkUnnamed581(o.entries); |
| 4532 unittest.expect(o.kind, unittest.equals('foo')); | 4799 unittest.expect(o.kind, unittest.equals('foo')); |
| 4533 } | 4800 } |
| 4534 buildCounterProductsCustomBatchResponse--; | 4801 buildCounterProductsCustomBatchResponse--; |
| 4535 } | 4802 } |
| 4536 | 4803 |
| 4537 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 4804 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
| 4538 buildProductsCustomBatchResponseEntry() { | 4805 buildProductsCustomBatchResponseEntry() { |
| 4539 var o = new api.ProductsCustomBatchResponseEntry(); | 4806 var o = new api.ProductsCustomBatchResponseEntry(); |
| 4540 buildCounterProductsCustomBatchResponseEntry++; | 4807 buildCounterProductsCustomBatchResponseEntry++; |
| 4541 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4808 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4552 buildCounterProductsCustomBatchResponseEntry++; | 4819 buildCounterProductsCustomBatchResponseEntry++; |
| 4553 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4820 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| 4554 unittest.expect(o.batchId, unittest.equals(42)); | 4821 unittest.expect(o.batchId, unittest.equals(42)); |
| 4555 checkErrors(o.errors); | 4822 checkErrors(o.errors); |
| 4556 unittest.expect(o.kind, unittest.equals('foo')); | 4823 unittest.expect(o.kind, unittest.equals('foo')); |
| 4557 checkProduct(o.product); | 4824 checkProduct(o.product); |
| 4558 } | 4825 } |
| 4559 buildCounterProductsCustomBatchResponseEntry--; | 4826 buildCounterProductsCustomBatchResponseEntry--; |
| 4560 } | 4827 } |
| 4561 | 4828 |
| 4562 buildUnnamed981() { | 4829 buildUnnamed582() { |
| 4563 var o = new core.List<api.Product>(); | 4830 var o = new core.List<api.Product>(); |
| 4564 o.add(buildProduct()); | 4831 o.add(buildProduct()); |
| 4565 o.add(buildProduct()); | 4832 o.add(buildProduct()); |
| 4566 return o; | 4833 return o; |
| 4567 } | 4834 } |
| 4568 | 4835 |
| 4569 checkUnnamed981(core.List<api.Product> o) { | 4836 checkUnnamed582(core.List<api.Product> o) { |
| 4570 unittest.expect(o, unittest.hasLength(2)); | 4837 unittest.expect(o, unittest.hasLength(2)); |
| 4571 checkProduct(o[0]); | 4838 checkProduct(o[0]); |
| 4572 checkProduct(o[1]); | 4839 checkProduct(o[1]); |
| 4573 } | 4840 } |
| 4574 | 4841 |
| 4575 core.int buildCounterProductsListResponse = 0; | 4842 core.int buildCounterProductsListResponse = 0; |
| 4576 buildProductsListResponse() { | 4843 buildProductsListResponse() { |
| 4577 var o = new api.ProductsListResponse(); | 4844 var o = new api.ProductsListResponse(); |
| 4578 buildCounterProductsListResponse++; | 4845 buildCounterProductsListResponse++; |
| 4579 if (buildCounterProductsListResponse < 3) { | 4846 if (buildCounterProductsListResponse < 3) { |
| 4580 o.kind = "foo"; | 4847 o.kind = "foo"; |
| 4581 o.nextPageToken = "foo"; | 4848 o.nextPageToken = "foo"; |
| 4582 o.resources = buildUnnamed981(); | 4849 o.resources = buildUnnamed582(); |
| 4583 } | 4850 } |
| 4584 buildCounterProductsListResponse--; | 4851 buildCounterProductsListResponse--; |
| 4585 return o; | 4852 return o; |
| 4586 } | 4853 } |
| 4587 | 4854 |
| 4588 checkProductsListResponse(api.ProductsListResponse o) { | 4855 checkProductsListResponse(api.ProductsListResponse o) { |
| 4589 buildCounterProductsListResponse++; | 4856 buildCounterProductsListResponse++; |
| 4590 if (buildCounterProductsListResponse < 3) { | 4857 if (buildCounterProductsListResponse < 3) { |
| 4591 unittest.expect(o.kind, unittest.equals('foo')); | 4858 unittest.expect(o.kind, unittest.equals('foo')); |
| 4592 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4859 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4593 checkUnnamed981(o.resources); | 4860 checkUnnamed582(o.resources); |
| 4594 } | 4861 } |
| 4595 buildCounterProductsListResponse--; | 4862 buildCounterProductsListResponse--; |
| 4596 } | 4863 } |
| 4597 | 4864 |
| 4598 buildUnnamed982() { | 4865 buildUnnamed583() { |
| 4599 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 4866 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
| 4600 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4867 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4601 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4868 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4602 return o; | 4869 return o; |
| 4603 } | 4870 } |
| 4604 | 4871 |
| 4605 checkUnnamed982(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 4872 checkUnnamed583(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
| 4606 unittest.expect(o, unittest.hasLength(2)); | 4873 unittest.expect(o, unittest.hasLength(2)); |
| 4607 checkProductstatusesCustomBatchRequestEntry(o[0]); | 4874 checkProductstatusesCustomBatchRequestEntry(o[0]); |
| 4608 checkProductstatusesCustomBatchRequestEntry(o[1]); | 4875 checkProductstatusesCustomBatchRequestEntry(o[1]); |
| 4609 } | 4876 } |
| 4610 | 4877 |
| 4611 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 4878 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
| 4612 buildProductstatusesCustomBatchRequest() { | 4879 buildProductstatusesCustomBatchRequest() { |
| 4613 var o = new api.ProductstatusesCustomBatchRequest(); | 4880 var o = new api.ProductstatusesCustomBatchRequest(); |
| 4614 buildCounterProductstatusesCustomBatchRequest++; | 4881 buildCounterProductstatusesCustomBatchRequest++; |
| 4615 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4882 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4616 o.entries = buildUnnamed982(); | 4883 o.entries = buildUnnamed583(); |
| 4617 } | 4884 } |
| 4618 buildCounterProductstatusesCustomBatchRequest--; | 4885 buildCounterProductstatusesCustomBatchRequest--; |
| 4619 return o; | 4886 return o; |
| 4620 } | 4887 } |
| 4621 | 4888 |
| 4622 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 4889 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
| 4623 buildCounterProductstatusesCustomBatchRequest++; | 4890 buildCounterProductstatusesCustomBatchRequest++; |
| 4624 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4891 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4625 checkUnnamed982(o.entries); | 4892 checkUnnamed583(o.entries); |
| 4626 } | 4893 } |
| 4627 buildCounterProductstatusesCustomBatchRequest--; | 4894 buildCounterProductstatusesCustomBatchRequest--; |
| 4628 } | 4895 } |
| 4629 | 4896 |
| 4630 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 4897 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
| 4631 buildProductstatusesCustomBatchRequestEntry() { | 4898 buildProductstatusesCustomBatchRequestEntry() { |
| 4632 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 4899 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
| 4633 buildCounterProductstatusesCustomBatchRequestEntry++; | 4900 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4634 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4901 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4635 o.batchId = 42; | 4902 o.batchId = 42; |
| 4636 o.merchantId = "foo"; | 4903 o.merchantId = "foo"; |
| 4637 o.method = "foo"; | 4904 o.method = "foo"; |
| 4638 o.productId = "foo"; | 4905 o.productId = "foo"; |
| 4639 } | 4906 } |
| 4640 buildCounterProductstatusesCustomBatchRequestEntry--; | 4907 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4641 return o; | 4908 return o; |
| 4642 } | 4909 } |
| 4643 | 4910 |
| 4644 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 4911 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
| 4645 buildCounterProductstatusesCustomBatchRequestEntry++; | 4912 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4646 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4913 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4647 unittest.expect(o.batchId, unittest.equals(42)); | 4914 unittest.expect(o.batchId, unittest.equals(42)); |
| 4648 unittest.expect(o.merchantId, unittest.equals('foo')); | 4915 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4649 unittest.expect(o.method, unittest.equals('foo')); | 4916 unittest.expect(o.method, unittest.equals('foo')); |
| 4650 unittest.expect(o.productId, unittest.equals('foo')); | 4917 unittest.expect(o.productId, unittest.equals('foo')); |
| 4651 } | 4918 } |
| 4652 buildCounterProductstatusesCustomBatchRequestEntry--; | 4919 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4653 } | 4920 } |
| 4654 | 4921 |
| 4655 buildUnnamed983() { | 4922 buildUnnamed584() { |
| 4656 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 4923 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
| 4657 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4924 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4658 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4925 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4659 return o; | 4926 return o; |
| 4660 } | 4927 } |
| 4661 | 4928 |
| 4662 checkUnnamed983(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 4929 checkUnnamed584(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
| 4663 unittest.expect(o, unittest.hasLength(2)); | 4930 unittest.expect(o, unittest.hasLength(2)); |
| 4664 checkProductstatusesCustomBatchResponseEntry(o[0]); | 4931 checkProductstatusesCustomBatchResponseEntry(o[0]); |
| 4665 checkProductstatusesCustomBatchResponseEntry(o[1]); | 4932 checkProductstatusesCustomBatchResponseEntry(o[1]); |
| 4666 } | 4933 } |
| 4667 | 4934 |
| 4668 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 4935 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
| 4669 buildProductstatusesCustomBatchResponse() { | 4936 buildProductstatusesCustomBatchResponse() { |
| 4670 var o = new api.ProductstatusesCustomBatchResponse(); | 4937 var o = new api.ProductstatusesCustomBatchResponse(); |
| 4671 buildCounterProductstatusesCustomBatchResponse++; | 4938 buildCounterProductstatusesCustomBatchResponse++; |
| 4672 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4939 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4673 o.entries = buildUnnamed983(); | 4940 o.entries = buildUnnamed584(); |
| 4674 o.kind = "foo"; | 4941 o.kind = "foo"; |
| 4675 } | 4942 } |
| 4676 buildCounterProductstatusesCustomBatchResponse--; | 4943 buildCounterProductstatusesCustomBatchResponse--; |
| 4677 return o; | 4944 return o; |
| 4678 } | 4945 } |
| 4679 | 4946 |
| 4680 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 4947 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
| 4681 buildCounterProductstatusesCustomBatchResponse++; | 4948 buildCounterProductstatusesCustomBatchResponse++; |
| 4682 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4949 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4683 checkUnnamed983(o.entries); | 4950 checkUnnamed584(o.entries); |
| 4684 unittest.expect(o.kind, unittest.equals('foo')); | 4951 unittest.expect(o.kind, unittest.equals('foo')); |
| 4685 } | 4952 } |
| 4686 buildCounterProductstatusesCustomBatchResponse--; | 4953 buildCounterProductstatusesCustomBatchResponse--; |
| 4687 } | 4954 } |
| 4688 | 4955 |
| 4689 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 4956 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
| 4690 buildProductstatusesCustomBatchResponseEntry() { | 4957 buildProductstatusesCustomBatchResponseEntry() { |
| 4691 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 4958 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
| 4692 buildCounterProductstatusesCustomBatchResponseEntry++; | 4959 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 4693 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4960 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4704 buildCounterProductstatusesCustomBatchResponseEntry++; | 4971 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 4705 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4972 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| 4706 unittest.expect(o.batchId, unittest.equals(42)); | 4973 unittest.expect(o.batchId, unittest.equals(42)); |
| 4707 checkErrors(o.errors); | 4974 checkErrors(o.errors); |
| 4708 unittest.expect(o.kind, unittest.equals('foo')); | 4975 unittest.expect(o.kind, unittest.equals('foo')); |
| 4709 checkProductStatus(o.productStatus); | 4976 checkProductStatus(o.productStatus); |
| 4710 } | 4977 } |
| 4711 buildCounterProductstatusesCustomBatchResponseEntry--; | 4978 buildCounterProductstatusesCustomBatchResponseEntry--; |
| 4712 } | 4979 } |
| 4713 | 4980 |
| 4714 buildUnnamed984() { | 4981 buildUnnamed585() { |
| 4715 var o = new core.List<api.ProductStatus>(); | 4982 var o = new core.List<api.ProductStatus>(); |
| 4716 o.add(buildProductStatus()); | 4983 o.add(buildProductStatus()); |
| 4717 o.add(buildProductStatus()); | 4984 o.add(buildProductStatus()); |
| 4718 return o; | 4985 return o; |
| 4719 } | 4986 } |
| 4720 | 4987 |
| 4721 checkUnnamed984(core.List<api.ProductStatus> o) { | 4988 checkUnnamed585(core.List<api.ProductStatus> o) { |
| 4722 unittest.expect(o, unittest.hasLength(2)); | 4989 unittest.expect(o, unittest.hasLength(2)); |
| 4723 checkProductStatus(o[0]); | 4990 checkProductStatus(o[0]); |
| 4724 checkProductStatus(o[1]); | 4991 checkProductStatus(o[1]); |
| 4725 } | 4992 } |
| 4726 | 4993 |
| 4727 core.int buildCounterProductstatusesListResponse = 0; | 4994 core.int buildCounterProductstatusesListResponse = 0; |
| 4728 buildProductstatusesListResponse() { | 4995 buildProductstatusesListResponse() { |
| 4729 var o = new api.ProductstatusesListResponse(); | 4996 var o = new api.ProductstatusesListResponse(); |
| 4730 buildCounterProductstatusesListResponse++; | 4997 buildCounterProductstatusesListResponse++; |
| 4731 if (buildCounterProductstatusesListResponse < 3) { | 4998 if (buildCounterProductstatusesListResponse < 3) { |
| 4732 o.kind = "foo"; | 4999 o.kind = "foo"; |
| 4733 o.nextPageToken = "foo"; | 5000 o.nextPageToken = "foo"; |
| 4734 o.resources = buildUnnamed984(); | 5001 o.resources = buildUnnamed585(); |
| 4735 } | 5002 } |
| 4736 buildCounterProductstatusesListResponse--; | 5003 buildCounterProductstatusesListResponse--; |
| 4737 return o; | 5004 return o; |
| 4738 } | 5005 } |
| 4739 | 5006 |
| 4740 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 5007 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
| 4741 buildCounterProductstatusesListResponse++; | 5008 buildCounterProductstatusesListResponse++; |
| 4742 if (buildCounterProductstatusesListResponse < 3) { | 5009 if (buildCounterProductstatusesListResponse < 3) { |
| 4743 unittest.expect(o.kind, unittest.equals('foo')); | 5010 unittest.expect(o.kind, unittest.equals('foo')); |
| 4744 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5011 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4745 checkUnnamed984(o.resources); | 5012 checkUnnamed585(o.resources); |
| 4746 } | 5013 } |
| 4747 buildCounterProductstatusesListResponse--; | 5014 buildCounterProductstatusesListResponse--; |
| 4748 } | 5015 } |
| 4749 | 5016 |
| 4750 buildUnnamed985() { | 5017 buildUnnamed586() { |
| 5018 var o = new core.List<core.String>(); |
| 5019 o.add("foo"); |
| 5020 o.add("foo"); |
| 5021 return o; |
| 5022 } |
| 5023 |
| 5024 checkUnnamed586(core.List<core.String> o) { |
| 5025 unittest.expect(o, unittest.hasLength(2)); |
| 5026 unittest.expect(o[0], unittest.equals('foo')); |
| 5027 unittest.expect(o[1], unittest.equals('foo')); |
| 5028 } |
| 5029 |
| 5030 buildUnnamed587() { |
| 5031 var o = new core.List<api.CarrierRate>(); |
| 5032 o.add(buildCarrierRate()); |
| 5033 o.add(buildCarrierRate()); |
| 5034 return o; |
| 5035 } |
| 5036 |
| 5037 checkUnnamed587(core.List<api.CarrierRate> o) { |
| 5038 unittest.expect(o, unittest.hasLength(2)); |
| 5039 checkCarrierRate(o[0]); |
| 5040 checkCarrierRate(o[1]); |
| 5041 } |
| 5042 |
| 5043 buildUnnamed588() { |
| 5044 var o = new core.List<api.Table>(); |
| 5045 o.add(buildTable()); |
| 5046 o.add(buildTable()); |
| 5047 return o; |
| 5048 } |
| 5049 |
| 5050 checkUnnamed588(core.List<api.Table> o) { |
| 5051 unittest.expect(o, unittest.hasLength(2)); |
| 5052 checkTable(o[0]); |
| 5053 checkTable(o[1]); |
| 5054 } |
| 5055 |
| 5056 core.int buildCounterRateGroup = 0; |
| 5057 buildRateGroup() { |
| 5058 var o = new api.RateGroup(); |
| 5059 buildCounterRateGroup++; |
| 5060 if (buildCounterRateGroup < 3) { |
| 5061 o.applicableShippingLabels = buildUnnamed586(); |
| 5062 o.carrierRates = buildUnnamed587(); |
| 5063 o.mainTable = buildTable(); |
| 5064 o.singleValue = buildValue(); |
| 5065 o.subtables = buildUnnamed588(); |
| 5066 } |
| 5067 buildCounterRateGroup--; |
| 5068 return o; |
| 5069 } |
| 5070 |
| 5071 checkRateGroup(api.RateGroup o) { |
| 5072 buildCounterRateGroup++; |
| 5073 if (buildCounterRateGroup < 3) { |
| 5074 checkUnnamed586(o.applicableShippingLabels); |
| 5075 checkUnnamed587(o.carrierRates); |
| 5076 checkTable(o.mainTable); |
| 5077 checkValue(o.singleValue); |
| 5078 checkUnnamed588(o.subtables); |
| 5079 } |
| 5080 buildCounterRateGroup--; |
| 5081 } |
| 5082 |
| 5083 buildUnnamed589() { |
| 5084 var o = new core.List<api.Value>(); |
| 5085 o.add(buildValue()); |
| 5086 o.add(buildValue()); |
| 5087 return o; |
| 5088 } |
| 5089 |
| 5090 checkUnnamed589(core.List<api.Value> o) { |
| 5091 unittest.expect(o, unittest.hasLength(2)); |
| 5092 checkValue(o[0]); |
| 5093 checkValue(o[1]); |
| 5094 } |
| 5095 |
| 5096 core.int buildCounterRow = 0; |
| 5097 buildRow() { |
| 5098 var o = new api.Row(); |
| 5099 buildCounterRow++; |
| 5100 if (buildCounterRow < 3) { |
| 5101 o.cells = buildUnnamed589(); |
| 5102 } |
| 5103 buildCounterRow--; |
| 5104 return o; |
| 5105 } |
| 5106 |
| 5107 checkRow(api.Row o) { |
| 5108 buildCounterRow++; |
| 5109 if (buildCounterRow < 3) { |
| 5110 checkUnnamed589(o.cells); |
| 5111 } |
| 5112 buildCounterRow--; |
| 5113 } |
| 5114 |
| 5115 buildUnnamed590() { |
| 5116 var o = new core.List<api.RateGroup>(); |
| 5117 o.add(buildRateGroup()); |
| 5118 o.add(buildRateGroup()); |
| 5119 return o; |
| 5120 } |
| 5121 |
| 5122 checkUnnamed590(core.List<api.RateGroup> o) { |
| 5123 unittest.expect(o, unittest.hasLength(2)); |
| 5124 checkRateGroup(o[0]); |
| 5125 checkRateGroup(o[1]); |
| 5126 } |
| 5127 |
| 5128 core.int buildCounterService = 0; |
| 5129 buildService() { |
| 5130 var o = new api.Service(); |
| 5131 buildCounterService++; |
| 5132 if (buildCounterService < 3) { |
| 5133 o.active = true; |
| 5134 o.currency = "foo"; |
| 5135 o.deliveryCountry = "foo"; |
| 5136 o.deliveryTime = buildDeliveryTime(); |
| 5137 o.name = "foo"; |
| 5138 o.rateGroups = buildUnnamed590(); |
| 5139 } |
| 5140 buildCounterService--; |
| 5141 return o; |
| 5142 } |
| 5143 |
| 5144 checkService(api.Service o) { |
| 5145 buildCounterService++; |
| 5146 if (buildCounterService < 3) { |
| 5147 unittest.expect(o.active, unittest.isTrue); |
| 5148 unittest.expect(o.currency, unittest.equals('foo')); |
| 5149 unittest.expect(o.deliveryCountry, unittest.equals('foo')); |
| 5150 checkDeliveryTime(o.deliveryTime); |
| 5151 unittest.expect(o.name, unittest.equals('foo')); |
| 5152 checkUnnamed590(o.rateGroups); |
| 5153 } |
| 5154 buildCounterService--; |
| 5155 } |
| 5156 |
| 5157 buildUnnamed591() { |
| 5158 var o = new core.List<api.PostalCodeGroup>(); |
| 5159 o.add(buildPostalCodeGroup()); |
| 5160 o.add(buildPostalCodeGroup()); |
| 5161 return o; |
| 5162 } |
| 5163 |
| 5164 checkUnnamed591(core.List<api.PostalCodeGroup> o) { |
| 5165 unittest.expect(o, unittest.hasLength(2)); |
| 5166 checkPostalCodeGroup(o[0]); |
| 5167 checkPostalCodeGroup(o[1]); |
| 5168 } |
| 5169 |
| 5170 buildUnnamed592() { |
| 5171 var o = new core.List<api.Service>(); |
| 5172 o.add(buildService()); |
| 5173 o.add(buildService()); |
| 5174 return o; |
| 5175 } |
| 5176 |
| 5177 checkUnnamed592(core.List<api.Service> o) { |
| 5178 unittest.expect(o, unittest.hasLength(2)); |
| 5179 checkService(o[0]); |
| 5180 checkService(o[1]); |
| 5181 } |
| 5182 |
| 5183 core.int buildCounterShippingSettings = 0; |
| 5184 buildShippingSettings() { |
| 5185 var o = new api.ShippingSettings(); |
| 5186 buildCounterShippingSettings++; |
| 5187 if (buildCounterShippingSettings < 3) { |
| 5188 o.accountId = "foo"; |
| 5189 o.postalCodeGroups = buildUnnamed591(); |
| 5190 o.services = buildUnnamed592(); |
| 5191 } |
| 5192 buildCounterShippingSettings--; |
| 5193 return o; |
| 5194 } |
| 5195 |
| 5196 checkShippingSettings(api.ShippingSettings o) { |
| 5197 buildCounterShippingSettings++; |
| 5198 if (buildCounterShippingSettings < 3) { |
| 5199 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5200 checkUnnamed591(o.postalCodeGroups); |
| 5201 checkUnnamed592(o.services); |
| 5202 } |
| 5203 buildCounterShippingSettings--; |
| 5204 } |
| 5205 |
| 5206 buildUnnamed593() { |
| 5207 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); |
| 5208 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
| 5209 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
| 5210 return o; |
| 5211 } |
| 5212 |
| 5213 checkUnnamed593(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { |
| 5214 unittest.expect(o, unittest.hasLength(2)); |
| 5215 checkShippingsettingsCustomBatchRequestEntry(o[0]); |
| 5216 checkShippingsettingsCustomBatchRequestEntry(o[1]); |
| 5217 } |
| 5218 |
| 5219 core.int buildCounterShippingsettingsCustomBatchRequest = 0; |
| 5220 buildShippingsettingsCustomBatchRequest() { |
| 5221 var o = new api.ShippingsettingsCustomBatchRequest(); |
| 5222 buildCounterShippingsettingsCustomBatchRequest++; |
| 5223 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
| 5224 o.entries = buildUnnamed593(); |
| 5225 } |
| 5226 buildCounterShippingsettingsCustomBatchRequest--; |
| 5227 return o; |
| 5228 } |
| 5229 |
| 5230 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { |
| 5231 buildCounterShippingsettingsCustomBatchRequest++; |
| 5232 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
| 5233 checkUnnamed593(o.entries); |
| 5234 } |
| 5235 buildCounterShippingsettingsCustomBatchRequest--; |
| 5236 } |
| 5237 |
| 5238 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; |
| 5239 buildShippingsettingsCustomBatchRequestEntry() { |
| 5240 var o = new api.ShippingsettingsCustomBatchRequestEntry(); |
| 5241 buildCounterShippingsettingsCustomBatchRequestEntry++; |
| 5242 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
| 5243 o.accountId = "foo"; |
| 5244 o.batchId = 42; |
| 5245 o.merchantId = "foo"; |
| 5246 o.method = "foo"; |
| 5247 o.shippingSettings = buildShippingSettings(); |
| 5248 } |
| 5249 buildCounterShippingsettingsCustomBatchRequestEntry--; |
| 5250 return o; |
| 5251 } |
| 5252 |
| 5253 checkShippingsettingsCustomBatchRequestEntry(api.ShippingsettingsCustomBatchRequ
estEntry o) { |
| 5254 buildCounterShippingsettingsCustomBatchRequestEntry++; |
| 5255 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
| 5256 unittest.expect(o.accountId, unittest.equals('foo')); |
| 5257 unittest.expect(o.batchId, unittest.equals(42)); |
| 5258 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 5259 unittest.expect(o.method, unittest.equals('foo')); |
| 5260 checkShippingSettings(o.shippingSettings); |
| 5261 } |
| 5262 buildCounterShippingsettingsCustomBatchRequestEntry--; |
| 5263 } |
| 5264 |
| 5265 buildUnnamed594() { |
| 5266 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); |
| 5267 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
| 5268 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
| 5269 return o; |
| 5270 } |
| 5271 |
| 5272 checkUnnamed594(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { |
| 5273 unittest.expect(o, unittest.hasLength(2)); |
| 5274 checkShippingsettingsCustomBatchResponseEntry(o[0]); |
| 5275 checkShippingsettingsCustomBatchResponseEntry(o[1]); |
| 5276 } |
| 5277 |
| 5278 core.int buildCounterShippingsettingsCustomBatchResponse = 0; |
| 5279 buildShippingsettingsCustomBatchResponse() { |
| 5280 var o = new api.ShippingsettingsCustomBatchResponse(); |
| 5281 buildCounterShippingsettingsCustomBatchResponse++; |
| 5282 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
| 5283 o.entries = buildUnnamed594(); |
| 5284 o.kind = "foo"; |
| 5285 } |
| 5286 buildCounterShippingsettingsCustomBatchResponse--; |
| 5287 return o; |
| 5288 } |
| 5289 |
| 5290 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { |
| 5291 buildCounterShippingsettingsCustomBatchResponse++; |
| 5292 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
| 5293 checkUnnamed594(o.entries); |
| 5294 unittest.expect(o.kind, unittest.equals('foo')); |
| 5295 } |
| 5296 buildCounterShippingsettingsCustomBatchResponse--; |
| 5297 } |
| 5298 |
| 5299 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; |
| 5300 buildShippingsettingsCustomBatchResponseEntry() { |
| 5301 var o = new api.ShippingsettingsCustomBatchResponseEntry(); |
| 5302 buildCounterShippingsettingsCustomBatchResponseEntry++; |
| 5303 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
| 5304 o.batchId = 42; |
| 5305 o.errors = buildErrors(); |
| 5306 o.kind = "foo"; |
| 5307 o.shippingSettings = buildShippingSettings(); |
| 5308 } |
| 5309 buildCounterShippingsettingsCustomBatchResponseEntry--; |
| 5310 return o; |
| 5311 } |
| 5312 |
| 5313 checkShippingsettingsCustomBatchResponseEntry(api.ShippingsettingsCustomBatchRes
ponseEntry o) { |
| 5314 buildCounterShippingsettingsCustomBatchResponseEntry++; |
| 5315 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
| 5316 unittest.expect(o.batchId, unittest.equals(42)); |
| 5317 checkErrors(o.errors); |
| 5318 unittest.expect(o.kind, unittest.equals('foo')); |
| 5319 checkShippingSettings(o.shippingSettings); |
| 5320 } |
| 5321 buildCounterShippingsettingsCustomBatchResponseEntry--; |
| 5322 } |
| 5323 |
| 5324 buildUnnamed595() { |
| 5325 var o = new core.List<api.CarriersCarrier>(); |
| 5326 o.add(buildCarriersCarrier()); |
| 5327 o.add(buildCarriersCarrier()); |
| 5328 return o; |
| 5329 } |
| 5330 |
| 5331 checkUnnamed595(core.List<api.CarriersCarrier> o) { |
| 5332 unittest.expect(o, unittest.hasLength(2)); |
| 5333 checkCarriersCarrier(o[0]); |
| 5334 checkCarriersCarrier(o[1]); |
| 5335 } |
| 5336 |
| 5337 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; |
| 5338 buildShippingsettingsGetSupportedCarriersResponse() { |
| 5339 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); |
| 5340 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
| 5341 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
| 5342 o.carriers = buildUnnamed595(); |
| 5343 o.kind = "foo"; |
| 5344 } |
| 5345 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
| 5346 return o; |
| 5347 } |
| 5348 |
| 5349 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { |
| 5350 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
| 5351 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
| 5352 checkUnnamed595(o.carriers); |
| 5353 unittest.expect(o.kind, unittest.equals('foo')); |
| 5354 } |
| 5355 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
| 5356 } |
| 5357 |
| 5358 buildUnnamed596() { |
| 5359 var o = new core.List<api.ShippingSettings>(); |
| 5360 o.add(buildShippingSettings()); |
| 5361 o.add(buildShippingSettings()); |
| 5362 return o; |
| 5363 } |
| 5364 |
| 5365 checkUnnamed596(core.List<api.ShippingSettings> o) { |
| 5366 unittest.expect(o, unittest.hasLength(2)); |
| 5367 checkShippingSettings(o[0]); |
| 5368 checkShippingSettings(o[1]); |
| 5369 } |
| 5370 |
| 5371 core.int buildCounterShippingsettingsListResponse = 0; |
| 5372 buildShippingsettingsListResponse() { |
| 5373 var o = new api.ShippingsettingsListResponse(); |
| 5374 buildCounterShippingsettingsListResponse++; |
| 5375 if (buildCounterShippingsettingsListResponse < 3) { |
| 5376 o.kind = "foo"; |
| 5377 o.nextPageToken = "foo"; |
| 5378 o.resources = buildUnnamed596(); |
| 5379 } |
| 5380 buildCounterShippingsettingsListResponse--; |
| 5381 return o; |
| 5382 } |
| 5383 |
| 5384 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { |
| 5385 buildCounterShippingsettingsListResponse++; |
| 5386 if (buildCounterShippingsettingsListResponse < 3) { |
| 5387 unittest.expect(o.kind, unittest.equals('foo')); |
| 5388 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5389 checkUnnamed596(o.resources); |
| 5390 } |
| 5391 buildCounterShippingsettingsListResponse--; |
| 5392 } |
| 5393 |
| 5394 buildUnnamed597() { |
| 5395 var o = new core.List<api.Row>(); |
| 5396 o.add(buildRow()); |
| 5397 o.add(buildRow()); |
| 5398 return o; |
| 5399 } |
| 5400 |
| 5401 checkUnnamed597(core.List<api.Row> o) { |
| 5402 unittest.expect(o, unittest.hasLength(2)); |
| 5403 checkRow(o[0]); |
| 5404 checkRow(o[1]); |
| 5405 } |
| 5406 |
| 5407 core.int buildCounterTable = 0; |
| 5408 buildTable() { |
| 5409 var o = new api.Table(); |
| 5410 buildCounterTable++; |
| 5411 if (buildCounterTable < 3) { |
| 5412 o.columnHeaders = buildHeaders(); |
| 5413 o.name = "foo"; |
| 5414 o.rowHeaders = buildHeaders(); |
| 5415 o.rows = buildUnnamed597(); |
| 5416 } |
| 5417 buildCounterTable--; |
| 5418 return o; |
| 5419 } |
| 5420 |
| 5421 checkTable(api.Table o) { |
| 5422 buildCounterTable++; |
| 5423 if (buildCounterTable < 3) { |
| 5424 checkHeaders(o.columnHeaders); |
| 5425 unittest.expect(o.name, unittest.equals('foo')); |
| 5426 checkHeaders(o.rowHeaders); |
| 5427 checkUnnamed597(o.rows); |
| 5428 } |
| 5429 buildCounterTable--; |
| 5430 } |
| 5431 |
| 5432 buildUnnamed598() { |
| 4751 var o = new core.List<api.TestOrderLineItem>(); | 5433 var o = new core.List<api.TestOrderLineItem>(); |
| 4752 o.add(buildTestOrderLineItem()); | 5434 o.add(buildTestOrderLineItem()); |
| 4753 o.add(buildTestOrderLineItem()); | 5435 o.add(buildTestOrderLineItem()); |
| 4754 return o; | 5436 return o; |
| 4755 } | 5437 } |
| 4756 | 5438 |
| 4757 checkUnnamed985(core.List<api.TestOrderLineItem> o) { | 5439 checkUnnamed598(core.List<api.TestOrderLineItem> o) { |
| 4758 unittest.expect(o, unittest.hasLength(2)); | 5440 unittest.expect(o, unittest.hasLength(2)); |
| 4759 checkTestOrderLineItem(o[0]); | 5441 checkTestOrderLineItem(o[0]); |
| 4760 checkTestOrderLineItem(o[1]); | 5442 checkTestOrderLineItem(o[1]); |
| 4761 } | 5443 } |
| 4762 | 5444 |
| 4763 buildUnnamed986() { | 5445 buildUnnamed599() { |
| 4764 var o = new core.List<api.OrderPromotion>(); | 5446 var o = new core.List<api.OrderPromotion>(); |
| 4765 o.add(buildOrderPromotion()); | 5447 o.add(buildOrderPromotion()); |
| 4766 o.add(buildOrderPromotion()); | 5448 o.add(buildOrderPromotion()); |
| 4767 return o; | 5449 return o; |
| 4768 } | 5450 } |
| 4769 | 5451 |
| 4770 checkUnnamed986(core.List<api.OrderPromotion> o) { | 5452 checkUnnamed599(core.List<api.OrderPromotion> o) { |
| 4771 unittest.expect(o, unittest.hasLength(2)); | 5453 unittest.expect(o, unittest.hasLength(2)); |
| 4772 checkOrderPromotion(o[0]); | 5454 checkOrderPromotion(o[0]); |
| 4773 checkOrderPromotion(o[1]); | 5455 checkOrderPromotion(o[1]); |
| 4774 } | 5456 } |
| 4775 | 5457 |
| 4776 core.int buildCounterTestOrder = 0; | 5458 core.int buildCounterTestOrder = 0; |
| 4777 buildTestOrder() { | 5459 buildTestOrder() { |
| 4778 var o = new api.TestOrder(); | 5460 var o = new api.TestOrder(); |
| 4779 buildCounterTestOrder++; | 5461 buildCounterTestOrder++; |
| 4780 if (buildCounterTestOrder < 3) { | 5462 if (buildCounterTestOrder < 3) { |
| 4781 o.customer = buildTestOrderCustomer(); | 5463 o.customer = buildTestOrderCustomer(); |
| 4782 o.kind = "foo"; | 5464 o.kind = "foo"; |
| 4783 o.lineItems = buildUnnamed985(); | 5465 o.lineItems = buildUnnamed598(); |
| 4784 o.paymentMethod = buildTestOrderPaymentMethod(); | 5466 o.paymentMethod = buildTestOrderPaymentMethod(); |
| 4785 o.predefinedDeliveryAddress = "foo"; | 5467 o.predefinedDeliveryAddress = "foo"; |
| 4786 o.promotions = buildUnnamed986(); | 5468 o.promotions = buildUnnamed599(); |
| 4787 o.shippingCost = buildPrice(); | 5469 o.shippingCost = buildPrice(); |
| 4788 o.shippingCostTax = buildPrice(); | 5470 o.shippingCostTax = buildPrice(); |
| 4789 o.shippingOption = "foo"; | 5471 o.shippingOption = "foo"; |
| 4790 } | 5472 } |
| 4791 buildCounterTestOrder--; | 5473 buildCounterTestOrder--; |
| 4792 return o; | 5474 return o; |
| 4793 } | 5475 } |
| 4794 | 5476 |
| 4795 checkTestOrder(api.TestOrder o) { | 5477 checkTestOrder(api.TestOrder o) { |
| 4796 buildCounterTestOrder++; | 5478 buildCounterTestOrder++; |
| 4797 if (buildCounterTestOrder < 3) { | 5479 if (buildCounterTestOrder < 3) { |
| 4798 checkTestOrderCustomer(o.customer); | 5480 checkTestOrderCustomer(o.customer); |
| 4799 unittest.expect(o.kind, unittest.equals('foo')); | 5481 unittest.expect(o.kind, unittest.equals('foo')); |
| 4800 checkUnnamed985(o.lineItems); | 5482 checkUnnamed598(o.lineItems); |
| 4801 checkTestOrderPaymentMethod(o.paymentMethod); | 5483 checkTestOrderPaymentMethod(o.paymentMethod); |
| 4802 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); | 5484 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); |
| 4803 checkUnnamed986(o.promotions); | 5485 checkUnnamed599(o.promotions); |
| 4804 checkPrice(o.shippingCost); | 5486 checkPrice(o.shippingCost); |
| 4805 checkPrice(o.shippingCostTax); | 5487 checkPrice(o.shippingCostTax); |
| 4806 unittest.expect(o.shippingOption, unittest.equals('foo')); | 5488 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 4807 } | 5489 } |
| 4808 buildCounterTestOrder--; | 5490 buildCounterTestOrder--; |
| 4809 } | 5491 } |
| 4810 | 5492 |
| 4811 core.int buildCounterTestOrderCustomer = 0; | 5493 core.int buildCounterTestOrderCustomer = 0; |
| 4812 buildTestOrderCustomer() { | 5494 buildTestOrderCustomer() { |
| 4813 var o = new api.TestOrderCustomer(); | 5495 var o = new api.TestOrderCustomer(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4851 if (buildCounterTestOrderLineItem < 3) { | 5533 if (buildCounterTestOrderLineItem < 3) { |
| 4852 checkTestOrderLineItemProduct(o.product); | 5534 checkTestOrderLineItemProduct(o.product); |
| 4853 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 5535 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 4854 checkOrderLineItemReturnInfo(o.returnInfo); | 5536 checkOrderLineItemReturnInfo(o.returnInfo); |
| 4855 checkOrderLineItemShippingDetails(o.shippingDetails); | 5537 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 4856 checkPrice(o.unitTax); | 5538 checkPrice(o.unitTax); |
| 4857 } | 5539 } |
| 4858 buildCounterTestOrderLineItem--; | 5540 buildCounterTestOrderLineItem--; |
| 4859 } | 5541 } |
| 4860 | 5542 |
| 4861 buildUnnamed987() { | 5543 buildUnnamed600() { |
| 4862 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 5544 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 4863 o.add(buildOrderLineItemProductVariantAttribute()); | 5545 o.add(buildOrderLineItemProductVariantAttribute()); |
| 4864 o.add(buildOrderLineItemProductVariantAttribute()); | 5546 o.add(buildOrderLineItemProductVariantAttribute()); |
| 4865 return o; | 5547 return o; |
| 4866 } | 5548 } |
| 4867 | 5549 |
| 4868 checkUnnamed987(core.List<api.OrderLineItemProductVariantAttribute> o) { | 5550 checkUnnamed600(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 4869 unittest.expect(o, unittest.hasLength(2)); | 5551 unittest.expect(o, unittest.hasLength(2)); |
| 4870 checkOrderLineItemProductVariantAttribute(o[0]); | 5552 checkOrderLineItemProductVariantAttribute(o[0]); |
| 4871 checkOrderLineItemProductVariantAttribute(o[1]); | 5553 checkOrderLineItemProductVariantAttribute(o[1]); |
| 4872 } | 5554 } |
| 4873 | 5555 |
| 4874 core.int buildCounterTestOrderLineItemProduct = 0; | 5556 core.int buildCounterTestOrderLineItemProduct = 0; |
| 4875 buildTestOrderLineItemProduct() { | 5557 buildTestOrderLineItemProduct() { |
| 4876 var o = new api.TestOrderLineItemProduct(); | 5558 var o = new api.TestOrderLineItemProduct(); |
| 4877 buildCounterTestOrderLineItemProduct++; | 5559 buildCounterTestOrderLineItemProduct++; |
| 4878 if (buildCounterTestOrderLineItemProduct < 3) { | 5560 if (buildCounterTestOrderLineItemProduct < 3) { |
| 4879 o.brand = "foo"; | 5561 o.brand = "foo"; |
| 4880 o.channel = "foo"; | 5562 o.channel = "foo"; |
| 4881 o.condition = "foo"; | 5563 o.condition = "foo"; |
| 4882 o.contentLanguage = "foo"; | 5564 o.contentLanguage = "foo"; |
| 4883 o.gtin = "foo"; | 5565 o.gtin = "foo"; |
| 4884 o.imageLink = "foo"; | 5566 o.imageLink = "foo"; |
| 4885 o.itemGroupId = "foo"; | 5567 o.itemGroupId = "foo"; |
| 4886 o.mpn = "foo"; | 5568 o.mpn = "foo"; |
| 4887 o.offerId = "foo"; | 5569 o.offerId = "foo"; |
| 4888 o.price = buildPrice(); | 5570 o.price = buildPrice(); |
| 4889 o.targetCountry = "foo"; | 5571 o.targetCountry = "foo"; |
| 4890 o.title = "foo"; | 5572 o.title = "foo"; |
| 4891 o.variantAttributes = buildUnnamed987(); | 5573 o.variantAttributes = buildUnnamed600(); |
| 4892 } | 5574 } |
| 4893 buildCounterTestOrderLineItemProduct--; | 5575 buildCounterTestOrderLineItemProduct--; |
| 4894 return o; | 5576 return o; |
| 4895 } | 5577 } |
| 4896 | 5578 |
| 4897 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { | 5579 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { |
| 4898 buildCounterTestOrderLineItemProduct++; | 5580 buildCounterTestOrderLineItemProduct++; |
| 4899 if (buildCounterTestOrderLineItemProduct < 3) { | 5581 if (buildCounterTestOrderLineItemProduct < 3) { |
| 4900 unittest.expect(o.brand, unittest.equals('foo')); | 5582 unittest.expect(o.brand, unittest.equals('foo')); |
| 4901 unittest.expect(o.channel, unittest.equals('foo')); | 5583 unittest.expect(o.channel, unittest.equals('foo')); |
| 4902 unittest.expect(o.condition, unittest.equals('foo')); | 5584 unittest.expect(o.condition, unittest.equals('foo')); |
| 4903 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 5585 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 4904 unittest.expect(o.gtin, unittest.equals('foo')); | 5586 unittest.expect(o.gtin, unittest.equals('foo')); |
| 4905 unittest.expect(o.imageLink, unittest.equals('foo')); | 5587 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 4906 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 5588 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 4907 unittest.expect(o.mpn, unittest.equals('foo')); | 5589 unittest.expect(o.mpn, unittest.equals('foo')); |
| 4908 unittest.expect(o.offerId, unittest.equals('foo')); | 5590 unittest.expect(o.offerId, unittest.equals('foo')); |
| 4909 checkPrice(o.price); | 5591 checkPrice(o.price); |
| 4910 unittest.expect(o.targetCountry, unittest.equals('foo')); | 5592 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 4911 unittest.expect(o.title, unittest.equals('foo')); | 5593 unittest.expect(o.title, unittest.equals('foo')); |
| 4912 checkUnnamed987(o.variantAttributes); | 5594 checkUnnamed600(o.variantAttributes); |
| 4913 } | 5595 } |
| 4914 buildCounterTestOrderLineItemProduct--; | 5596 buildCounterTestOrderLineItemProduct--; |
| 4915 } | 5597 } |
| 4916 | 5598 |
| 4917 core.int buildCounterTestOrderPaymentMethod = 0; | 5599 core.int buildCounterTestOrderPaymentMethod = 0; |
| 4918 buildTestOrderPaymentMethod() { | 5600 buildTestOrderPaymentMethod() { |
| 4919 var o = new api.TestOrderPaymentMethod(); | 5601 var o = new api.TestOrderPaymentMethod(); |
| 4920 buildCounterTestOrderPaymentMethod++; | 5602 buildCounterTestOrderPaymentMethod++; |
| 4921 if (buildCounterTestOrderPaymentMethod < 3) { | 5603 if (buildCounterTestOrderPaymentMethod < 3) { |
| 4922 o.expirationMonth = 42; | 5604 o.expirationMonth = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4934 if (buildCounterTestOrderPaymentMethod < 3) { | 5616 if (buildCounterTestOrderPaymentMethod < 3) { |
| 4935 unittest.expect(o.expirationMonth, unittest.equals(42)); | 5617 unittest.expect(o.expirationMonth, unittest.equals(42)); |
| 4936 unittest.expect(o.expirationYear, unittest.equals(42)); | 5618 unittest.expect(o.expirationYear, unittest.equals(42)); |
| 4937 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 5619 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
| 4938 unittest.expect(o.predefinedBillingAddress, unittest.equals('foo')); | 5620 unittest.expect(o.predefinedBillingAddress, unittest.equals('foo')); |
| 4939 unittest.expect(o.type, unittest.equals('foo')); | 5621 unittest.expect(o.type, unittest.equals('foo')); |
| 4940 } | 5622 } |
| 4941 buildCounterTestOrderPaymentMethod--; | 5623 buildCounterTestOrderPaymentMethod--; |
| 4942 } | 5624 } |
| 4943 | 5625 |
| 5626 core.int buildCounterValue = 0; |
| 5627 buildValue() { |
| 5628 var o = new api.Value(); |
| 5629 buildCounterValue++; |
| 5630 if (buildCounterValue < 3) { |
| 5631 o.carrierRateName = "foo"; |
| 5632 o.flatRate = buildPrice(); |
| 5633 o.noShipping = true; |
| 5634 o.pricePercentage = "foo"; |
| 5635 o.subtableName = "foo"; |
| 5636 } |
| 5637 buildCounterValue--; |
| 5638 return o; |
| 5639 } |
| 5640 |
| 5641 checkValue(api.Value o) { |
| 5642 buildCounterValue++; |
| 5643 if (buildCounterValue < 3) { |
| 5644 unittest.expect(o.carrierRateName, unittest.equals('foo')); |
| 5645 checkPrice(o.flatRate); |
| 5646 unittest.expect(o.noShipping, unittest.isTrue); |
| 5647 unittest.expect(o.pricePercentage, unittest.equals('foo')); |
| 5648 unittest.expect(o.subtableName, unittest.equals('foo')); |
| 5649 } |
| 5650 buildCounterValue--; |
| 5651 } |
| 5652 |
| 4944 core.int buildCounterWeight = 0; | 5653 core.int buildCounterWeight = 0; |
| 4945 buildWeight() { | 5654 buildWeight() { |
| 4946 var o = new api.Weight(); | 5655 var o = new api.Weight(); |
| 4947 buildCounterWeight++; | 5656 buildCounterWeight++; |
| 4948 if (buildCounterWeight < 3) { | 5657 if (buildCounterWeight < 3) { |
| 4949 o.unit = "foo"; | 5658 o.unit = "foo"; |
| 4950 o.value = "foo"; | 5659 o.value = "foo"; |
| 4951 } | 5660 } |
| 4952 buildCounterWeight--; | 5661 buildCounterWeight--; |
| 4953 return o; | 5662 return o; |
| 4954 } | 5663 } |
| 4955 | 5664 |
| 4956 checkWeight(api.Weight o) { | 5665 checkWeight(api.Weight o) { |
| 4957 buildCounterWeight++; | 5666 buildCounterWeight++; |
| 4958 if (buildCounterWeight < 3) { | 5667 if (buildCounterWeight < 3) { |
| 4959 unittest.expect(o.unit, unittest.equals('foo')); | 5668 unittest.expect(o.unit, unittest.equals('foo')); |
| 4960 unittest.expect(o.value, unittest.equals('foo')); | 5669 unittest.expect(o.value, unittest.equals('foo')); |
| 4961 } | 5670 } |
| 4962 buildCounterWeight--; | 5671 buildCounterWeight--; |
| 4963 } | 5672 } |
| 4964 | 5673 |
| 4965 buildUnnamed988() { | 5674 buildUnnamed601() { |
| 4966 var o = new core.List<core.String>(); | 5675 var o = new core.List<core.String>(); |
| 4967 o.add("foo"); | 5676 o.add("foo"); |
| 4968 o.add("foo"); | 5677 o.add("foo"); |
| 4969 return o; | 5678 return o; |
| 4970 } | 5679 } |
| 4971 | 5680 |
| 4972 checkUnnamed988(core.List<core.String> o) { | 5681 checkUnnamed601(core.List<core.String> o) { |
| 4973 unittest.expect(o, unittest.hasLength(2)); | 5682 unittest.expect(o, unittest.hasLength(2)); |
| 4974 unittest.expect(o[0], unittest.equals('foo')); | 5683 unittest.expect(o[0], unittest.equals('foo')); |
| 4975 unittest.expect(o[1], unittest.equals('foo')); | 5684 unittest.expect(o[1], unittest.equals('foo')); |
| 4976 } | 5685 } |
| 4977 | 5686 |
| 4978 | 5687 |
| 4979 main() { | 5688 main() { |
| 4980 unittest.group("obj-schema-Account", () { | 5689 unittest.group("obj-schema-Account", () { |
| 4981 unittest.test("to-json--from-json", () { | 5690 unittest.test("to-json--from-json", () { |
| 4982 var o = buildAccount(); | 5691 var o = buildAccount(); |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5330 | 6039 |
| 5331 unittest.group("obj-schema-AccounttaxListResponse", () { | 6040 unittest.group("obj-schema-AccounttaxListResponse", () { |
| 5332 unittest.test("to-json--from-json", () { | 6041 unittest.test("to-json--from-json", () { |
| 5333 var o = buildAccounttaxListResponse(); | 6042 var o = buildAccounttaxListResponse(); |
| 5334 var od = new api.AccounttaxListResponse.fromJson(o.toJson()); | 6043 var od = new api.AccounttaxListResponse.fromJson(o.toJson()); |
| 5335 checkAccounttaxListResponse(od); | 6044 checkAccounttaxListResponse(od); |
| 5336 }); | 6045 }); |
| 5337 }); | 6046 }); |
| 5338 | 6047 |
| 5339 | 6048 |
| 6049 unittest.group("obj-schema-CarrierRate", () { |
| 6050 unittest.test("to-json--from-json", () { |
| 6051 var o = buildCarrierRate(); |
| 6052 var od = new api.CarrierRate.fromJson(o.toJson()); |
| 6053 checkCarrierRate(od); |
| 6054 }); |
| 6055 }); |
| 6056 |
| 6057 |
| 6058 unittest.group("obj-schema-CarriersCarrier", () { |
| 6059 unittest.test("to-json--from-json", () { |
| 6060 var o = buildCarriersCarrier(); |
| 6061 var od = new api.CarriersCarrier.fromJson(o.toJson()); |
| 6062 checkCarriersCarrier(od); |
| 6063 }); |
| 6064 }); |
| 6065 |
| 6066 |
| 5340 unittest.group("obj-schema-Datafeed", () { | 6067 unittest.group("obj-schema-Datafeed", () { |
| 5341 unittest.test("to-json--from-json", () { | 6068 unittest.test("to-json--from-json", () { |
| 5342 var o = buildDatafeed(); | 6069 var o = buildDatafeed(); |
| 5343 var od = new api.Datafeed.fromJson(o.toJson()); | 6070 var od = new api.Datafeed.fromJson(o.toJson()); |
| 5344 checkDatafeed(od); | 6071 checkDatafeed(od); |
| 5345 }); | 6072 }); |
| 5346 }); | 6073 }); |
| 5347 | 6074 |
| 5348 | 6075 |
| 5349 unittest.group("obj-schema-DatafeedFetchSchedule", () { | 6076 unittest.group("obj-schema-DatafeedFetchSchedule", () { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5474 | 6201 |
| 5475 unittest.group("obj-schema-DatafeedstatusesListResponse", () { | 6202 unittest.group("obj-schema-DatafeedstatusesListResponse", () { |
| 5476 unittest.test("to-json--from-json", () { | 6203 unittest.test("to-json--from-json", () { |
| 5477 var o = buildDatafeedstatusesListResponse(); | 6204 var o = buildDatafeedstatusesListResponse(); |
| 5478 var od = new api.DatafeedstatusesListResponse.fromJson(o.toJson()); | 6205 var od = new api.DatafeedstatusesListResponse.fromJson(o.toJson()); |
| 5479 checkDatafeedstatusesListResponse(od); | 6206 checkDatafeedstatusesListResponse(od); |
| 5480 }); | 6207 }); |
| 5481 }); | 6208 }); |
| 5482 | 6209 |
| 5483 | 6210 |
| 6211 unittest.group("obj-schema-DeliveryTime", () { |
| 6212 unittest.test("to-json--from-json", () { |
| 6213 var o = buildDeliveryTime(); |
| 6214 var od = new api.DeliveryTime.fromJson(o.toJson()); |
| 6215 checkDeliveryTime(od); |
| 6216 }); |
| 6217 }); |
| 6218 |
| 6219 |
| 5484 unittest.group("obj-schema-Error", () { | 6220 unittest.group("obj-schema-Error", () { |
| 5485 unittest.test("to-json--from-json", () { | 6221 unittest.test("to-json--from-json", () { |
| 5486 var o = buildError(); | 6222 var o = buildError(); |
| 5487 var od = new api.Error.fromJson(o.toJson()); | 6223 var od = new api.Error.fromJson(o.toJson()); |
| 5488 checkError(od); | 6224 checkError(od); |
| 5489 }); | 6225 }); |
| 5490 }); | 6226 }); |
| 5491 | 6227 |
| 5492 | 6228 |
| 5493 unittest.group("obj-schema-Errors", () { | 6229 unittest.group("obj-schema-Errors", () { |
| 5494 unittest.test("to-json--from-json", () { | 6230 unittest.test("to-json--from-json", () { |
| 5495 var o = buildErrors(); | 6231 var o = buildErrors(); |
| 5496 var od = new api.Errors.fromJson(o.toJson()); | 6232 var od = new api.Errors.fromJson(o.toJson()); |
| 5497 checkErrors(od); | 6233 checkErrors(od); |
| 5498 }); | 6234 }); |
| 5499 }); | 6235 }); |
| 5500 | 6236 |
| 5501 | 6237 |
| 6238 unittest.group("obj-schema-Headers", () { |
| 6239 unittest.test("to-json--from-json", () { |
| 6240 var o = buildHeaders(); |
| 6241 var od = new api.Headers.fromJson(o.toJson()); |
| 6242 checkHeaders(od); |
| 6243 }); |
| 6244 }); |
| 6245 |
| 6246 |
| 5502 unittest.group("obj-schema-Installment", () { | 6247 unittest.group("obj-schema-Installment", () { |
| 5503 unittest.test("to-json--from-json", () { | 6248 unittest.test("to-json--from-json", () { |
| 5504 var o = buildInstallment(); | 6249 var o = buildInstallment(); |
| 5505 var od = new api.Installment.fromJson(o.toJson()); | 6250 var od = new api.Installment.fromJson(o.toJson()); |
| 5506 checkInstallment(od); | 6251 checkInstallment(od); |
| 5507 }); | 6252 }); |
| 5508 }); | 6253 }); |
| 5509 | 6254 |
| 5510 | 6255 |
| 5511 unittest.group("obj-schema-Inventory", () { | 6256 unittest.group("obj-schema-Inventory", () { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5564 | 6309 |
| 5565 unittest.group("obj-schema-InventorySetResponse", () { | 6310 unittest.group("obj-schema-InventorySetResponse", () { |
| 5566 unittest.test("to-json--from-json", () { | 6311 unittest.test("to-json--from-json", () { |
| 5567 var o = buildInventorySetResponse(); | 6312 var o = buildInventorySetResponse(); |
| 5568 var od = new api.InventorySetResponse.fromJson(o.toJson()); | 6313 var od = new api.InventorySetResponse.fromJson(o.toJson()); |
| 5569 checkInventorySetResponse(od); | 6314 checkInventorySetResponse(od); |
| 5570 }); | 6315 }); |
| 5571 }); | 6316 }); |
| 5572 | 6317 |
| 5573 | 6318 |
| 6319 unittest.group("obj-schema-LocationIdSet", () { |
| 6320 unittest.test("to-json--from-json", () { |
| 6321 var o = buildLocationIdSet(); |
| 6322 var od = new api.LocationIdSet.fromJson(o.toJson()); |
| 6323 checkLocationIdSet(od); |
| 6324 }); |
| 6325 }); |
| 6326 |
| 6327 |
| 5574 unittest.group("obj-schema-LoyaltyPoints", () { | 6328 unittest.group("obj-schema-LoyaltyPoints", () { |
| 5575 unittest.test("to-json--from-json", () { | 6329 unittest.test("to-json--from-json", () { |
| 5576 var o = buildLoyaltyPoints(); | 6330 var o = buildLoyaltyPoints(); |
| 5577 var od = new api.LoyaltyPoints.fromJson(o.toJson()); | 6331 var od = new api.LoyaltyPoints.fromJson(o.toJson()); |
| 5578 checkLoyaltyPoints(od); | 6332 checkLoyaltyPoints(od); |
| 5579 }); | 6333 }); |
| 5580 }); | 6334 }); |
| 5581 | 6335 |
| 5582 | 6336 |
| 5583 unittest.group("obj-schema-Order", () { | 6337 unittest.group("obj-schema-Order", () { |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6023 | 6777 |
| 6024 unittest.group("obj-schema-OrdersUpdateShipmentResponse", () { | 6778 unittest.group("obj-schema-OrdersUpdateShipmentResponse", () { |
| 6025 unittest.test("to-json--from-json", () { | 6779 unittest.test("to-json--from-json", () { |
| 6026 var o = buildOrdersUpdateShipmentResponse(); | 6780 var o = buildOrdersUpdateShipmentResponse(); |
| 6027 var od = new api.OrdersUpdateShipmentResponse.fromJson(o.toJson()); | 6781 var od = new api.OrdersUpdateShipmentResponse.fromJson(o.toJson()); |
| 6028 checkOrdersUpdateShipmentResponse(od); | 6782 checkOrdersUpdateShipmentResponse(od); |
| 6029 }); | 6783 }); |
| 6030 }); | 6784 }); |
| 6031 | 6785 |
| 6032 | 6786 |
| 6787 unittest.group("obj-schema-PostalCodeGroup", () { |
| 6788 unittest.test("to-json--from-json", () { |
| 6789 var o = buildPostalCodeGroup(); |
| 6790 var od = new api.PostalCodeGroup.fromJson(o.toJson()); |
| 6791 checkPostalCodeGroup(od); |
| 6792 }); |
| 6793 }); |
| 6794 |
| 6795 |
| 6796 unittest.group("obj-schema-PostalCodeRange", () { |
| 6797 unittest.test("to-json--from-json", () { |
| 6798 var o = buildPostalCodeRange(); |
| 6799 var od = new api.PostalCodeRange.fromJson(o.toJson()); |
| 6800 checkPostalCodeRange(od); |
| 6801 }); |
| 6802 }); |
| 6803 |
| 6804 |
| 6033 unittest.group("obj-schema-Price", () { | 6805 unittest.group("obj-schema-Price", () { |
| 6034 unittest.test("to-json--from-json", () { | 6806 unittest.test("to-json--from-json", () { |
| 6035 var o = buildPrice(); | 6807 var o = buildPrice(); |
| 6036 var od = new api.Price.fromJson(o.toJson()); | 6808 var od = new api.Price.fromJson(o.toJson()); |
| 6037 checkPrice(od); | 6809 checkPrice(od); |
| 6038 }); | 6810 }); |
| 6039 }); | 6811 }); |
| 6040 | 6812 |
| 6041 | 6813 |
| 6042 unittest.group("obj-schema-Product", () { | 6814 unittest.group("obj-schema-Product", () { |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6247 | 7019 |
| 6248 | 7020 |
| 6249 unittest.group("obj-schema-ProductstatusesListResponse", () { | 7021 unittest.group("obj-schema-ProductstatusesListResponse", () { |
| 6250 unittest.test("to-json--from-json", () { | 7022 unittest.test("to-json--from-json", () { |
| 6251 var o = buildProductstatusesListResponse(); | 7023 var o = buildProductstatusesListResponse(); |
| 6252 var od = new api.ProductstatusesListResponse.fromJson(o.toJson()); | 7024 var od = new api.ProductstatusesListResponse.fromJson(o.toJson()); |
| 6253 checkProductstatusesListResponse(od); | 7025 checkProductstatusesListResponse(od); |
| 6254 }); | 7026 }); |
| 6255 }); | 7027 }); |
| 6256 | 7028 |
| 7029 |
| 7030 unittest.group("obj-schema-RateGroup", () { |
| 7031 unittest.test("to-json--from-json", () { |
| 7032 var o = buildRateGroup(); |
| 7033 var od = new api.RateGroup.fromJson(o.toJson()); |
| 7034 checkRateGroup(od); |
| 7035 }); |
| 7036 }); |
| 7037 |
| 7038 |
| 7039 unittest.group("obj-schema-Row", () { |
| 7040 unittest.test("to-json--from-json", () { |
| 7041 var o = buildRow(); |
| 7042 var od = new api.Row.fromJson(o.toJson()); |
| 7043 checkRow(od); |
| 7044 }); |
| 7045 }); |
| 7046 |
| 7047 |
| 7048 unittest.group("obj-schema-Service", () { |
| 7049 unittest.test("to-json--from-json", () { |
| 7050 var o = buildService(); |
| 7051 var od = new api.Service.fromJson(o.toJson()); |
| 7052 checkService(od); |
| 7053 }); |
| 7054 }); |
| 7055 |
| 7056 |
| 7057 unittest.group("obj-schema-ShippingSettings", () { |
| 7058 unittest.test("to-json--from-json", () { |
| 7059 var o = buildShippingSettings(); |
| 7060 var od = new api.ShippingSettings.fromJson(o.toJson()); |
| 7061 checkShippingSettings(od); |
| 7062 }); |
| 7063 }); |
| 7064 |
| 7065 |
| 7066 unittest.group("obj-schema-ShippingsettingsCustomBatchRequest", () { |
| 7067 unittest.test("to-json--from-json", () { |
| 7068 var o = buildShippingsettingsCustomBatchRequest(); |
| 7069 var od = new api.ShippingsettingsCustomBatchRequest.fromJson(o.toJson()); |
| 7070 checkShippingsettingsCustomBatchRequest(od); |
| 7071 }); |
| 7072 }); |
| 7073 |
| 7074 |
| 7075 unittest.group("obj-schema-ShippingsettingsCustomBatchRequestEntry", () { |
| 7076 unittest.test("to-json--from-json", () { |
| 7077 var o = buildShippingsettingsCustomBatchRequestEntry(); |
| 7078 var od = new api.ShippingsettingsCustomBatchRequestEntry.fromJson(o.toJson
()); |
| 7079 checkShippingsettingsCustomBatchRequestEntry(od); |
| 7080 }); |
| 7081 }); |
| 7082 |
| 7083 |
| 7084 unittest.group("obj-schema-ShippingsettingsCustomBatchResponse", () { |
| 7085 unittest.test("to-json--from-json", () { |
| 7086 var o = buildShippingsettingsCustomBatchResponse(); |
| 7087 var od = new api.ShippingsettingsCustomBatchResponse.fromJson(o.toJson()); |
| 7088 checkShippingsettingsCustomBatchResponse(od); |
| 7089 }); |
| 7090 }); |
| 7091 |
| 7092 |
| 7093 unittest.group("obj-schema-ShippingsettingsCustomBatchResponseEntry", () { |
| 7094 unittest.test("to-json--from-json", () { |
| 7095 var o = buildShippingsettingsCustomBatchResponseEntry(); |
| 7096 var od = new api.ShippingsettingsCustomBatchResponseEntry.fromJson(o.toJso
n()); |
| 7097 checkShippingsettingsCustomBatchResponseEntry(od); |
| 7098 }); |
| 7099 }); |
| 7100 |
| 7101 |
| 7102 unittest.group("obj-schema-ShippingsettingsGetSupportedCarriersResponse", () { |
| 7103 unittest.test("to-json--from-json", () { |
| 7104 var o = buildShippingsettingsGetSupportedCarriersResponse(); |
| 7105 var od = new api.ShippingsettingsGetSupportedCarriersResponse.fromJson(o.t
oJson()); |
| 7106 checkShippingsettingsGetSupportedCarriersResponse(od); |
| 7107 }); |
| 7108 }); |
| 7109 |
| 7110 |
| 7111 unittest.group("obj-schema-ShippingsettingsListResponse", () { |
| 7112 unittest.test("to-json--from-json", () { |
| 7113 var o = buildShippingsettingsListResponse(); |
| 7114 var od = new api.ShippingsettingsListResponse.fromJson(o.toJson()); |
| 7115 checkShippingsettingsListResponse(od); |
| 7116 }); |
| 7117 }); |
| 7118 |
| 7119 |
| 7120 unittest.group("obj-schema-Table", () { |
| 7121 unittest.test("to-json--from-json", () { |
| 7122 var o = buildTable(); |
| 7123 var od = new api.Table.fromJson(o.toJson()); |
| 7124 checkTable(od); |
| 7125 }); |
| 7126 }); |
| 7127 |
| 6257 | 7128 |
| 6258 unittest.group("obj-schema-TestOrder", () { | 7129 unittest.group("obj-schema-TestOrder", () { |
| 6259 unittest.test("to-json--from-json", () { | 7130 unittest.test("to-json--from-json", () { |
| 6260 var o = buildTestOrder(); | 7131 var o = buildTestOrder(); |
| 6261 var od = new api.TestOrder.fromJson(o.toJson()); | 7132 var od = new api.TestOrder.fromJson(o.toJson()); |
| 6262 checkTestOrder(od); | 7133 checkTestOrder(od); |
| 6263 }); | 7134 }); |
| 6264 }); | 7135 }); |
| 6265 | 7136 |
| 6266 | 7137 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 6293 | 7164 |
| 6294 unittest.group("obj-schema-TestOrderPaymentMethod", () { | 7165 unittest.group("obj-schema-TestOrderPaymentMethod", () { |
| 6295 unittest.test("to-json--from-json", () { | 7166 unittest.test("to-json--from-json", () { |
| 6296 var o = buildTestOrderPaymentMethod(); | 7167 var o = buildTestOrderPaymentMethod(); |
| 6297 var od = new api.TestOrderPaymentMethod.fromJson(o.toJson()); | 7168 var od = new api.TestOrderPaymentMethod.fromJson(o.toJson()); |
| 6298 checkTestOrderPaymentMethod(od); | 7169 checkTestOrderPaymentMethod(od); |
| 6299 }); | 7170 }); |
| 6300 }); | 7171 }); |
| 6301 | 7172 |
| 6302 | 7173 |
| 7174 unittest.group("obj-schema-Value", () { |
| 7175 unittest.test("to-json--from-json", () { |
| 7176 var o = buildValue(); |
| 7177 var od = new api.Value.fromJson(o.toJson()); |
| 7178 checkValue(od); |
| 7179 }); |
| 7180 }); |
| 7181 |
| 7182 |
| 6303 unittest.group("obj-schema-Weight", () { | 7183 unittest.group("obj-schema-Weight", () { |
| 6304 unittest.test("to-json--from-json", () { | 7184 unittest.test("to-json--from-json", () { |
| 6305 var o = buildWeight(); | 7185 var o = buildWeight(); |
| 6306 var od = new api.Weight.fromJson(o.toJson()); | 7186 var od = new api.Weight.fromJson(o.toJson()); |
| 6307 checkWeight(od); | 7187 checkWeight(od); |
| 6308 }); | 7188 }); |
| 6309 }); | 7189 }); |
| 6310 | 7190 |
| 6311 | 7191 |
| 6312 unittest.group("resource-AccountsResourceApi", () { | 7192 unittest.group("resource-AccountsResourceApi", () { |
| (...skipping 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8306 | 9186 |
| 8307 var mock = new HttpServerMock(); | 9187 var mock = new HttpServerMock(); |
| 8308 api.OrdersResourceApi res = new api.ContentApi(mock).orders; | 9188 api.OrdersResourceApi res = new api.ContentApi(mock).orders; |
| 8309 var arg_merchantId = "foo"; | 9189 var arg_merchantId = "foo"; |
| 8310 var arg_acknowledged = true; | 9190 var arg_acknowledged = true; |
| 8311 var arg_maxResults = 42; | 9191 var arg_maxResults = 42; |
| 8312 var arg_orderBy = "foo"; | 9192 var arg_orderBy = "foo"; |
| 8313 var arg_pageToken = "foo"; | 9193 var arg_pageToken = "foo"; |
| 8314 var arg_placedDateEnd = "foo"; | 9194 var arg_placedDateEnd = "foo"; |
| 8315 var arg_placedDateStart = "foo"; | 9195 var arg_placedDateStart = "foo"; |
| 8316 var arg_statuses = buildUnnamed988(); | 9196 var arg_statuses = buildUnnamed601(); |
| 8317 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9197 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8318 var path = (req.url).path; | 9198 var path = (req.url).path; |
| 8319 var pathOffset = 0; | 9199 var pathOffset = 0; |
| 8320 var index; | 9200 var index; |
| 8321 var subPart; | 9201 var subPart; |
| 8322 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 9202 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8323 pathOffset += 1; | 9203 pathOffset += 1; |
| 8324 | 9204 |
| 8325 var query = (req.url).query; | 9205 var query = (req.url).query; |
| 8326 var queryOffset = 0; | 9206 var queryOffset = 0; |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8970 return new async.Future.value(stringResponse(200, h, resp)); | 9850 return new async.Future.value(stringResponse(200, h, resp)); |
| 8971 }), true); | 9851 }), true); |
| 8972 res.list(arg_merchantId, includeInvalidInsertedItems: arg_includeInvalidIn
sertedItems, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest
.expectAsync(((api.ProductstatusesListResponse response) { | 9852 res.list(arg_merchantId, includeInvalidInsertedItems: arg_includeInvalidIn
sertedItems, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest
.expectAsync(((api.ProductstatusesListResponse response) { |
| 8973 checkProductstatusesListResponse(response); | 9853 checkProductstatusesListResponse(response); |
| 8974 }))); | 9854 }))); |
| 8975 }); | 9855 }); |
| 8976 | 9856 |
| 8977 }); | 9857 }); |
| 8978 | 9858 |
| 8979 | 9859 |
| 9860 unittest.group("resource-ShippingsettingsResourceApi", () { |
| 9861 unittest.test("method--custombatch", () { |
| 9862 |
| 9863 var mock = new HttpServerMock(); |
| 9864 api.ShippingsettingsResourceApi res = new api.ContentApi(mock).shippingset
tings; |
| 9865 var arg_request = buildShippingsettingsCustomBatchRequest(); |
| 9866 var arg_dryRun = true; |
| 9867 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 9868 var obj = new api.ShippingsettingsCustomBatchRequest.fromJson(json); |
| 9869 checkShippingsettingsCustomBatchRequest(obj); |
| 9870 |
| 9871 var path = (req.url).path; |
| 9872 var pathOffset = 0; |
| 9873 var index; |
| 9874 var subPart; |
| 9875 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 9876 pathOffset += 1; |
| 9877 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("content/v2/")); |
| 9878 pathOffset += 11; |
| 9879 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("shippingsettings/batch")); |
| 9880 pathOffset += 22; |
| 9881 |
| 9882 var query = (req.url).query; |
| 9883 var queryOffset = 0; |
| 9884 var queryMap = {}; |
| 9885 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 9886 parseBool(n) { |
| 9887 if (n == "true") return true; |
| 9888 if (n == "false") return false; |
| 9889 if (n == null) return null; |
| 9890 throw new core.ArgumentError("Invalid boolean: $n"); |
| 9891 } |
| 9892 if (query.length > 0) { |
| 9893 for (var part in query.split("&")) { |
| 9894 var keyvalue = part.split("="); |
| 9895 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 9896 } |
| 9897 } |
| 9898 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); |
| 9899 |
| 9900 |
| 9901 var h = { |
| 9902 "content-type" : "application/json; charset=utf-8", |
| 9903 }; |
| 9904 var resp = convert.JSON.encode(buildShippingsettingsCustomBatchResponse(
)); |
| 9905 return new async.Future.value(stringResponse(200, h, resp)); |
| 9906 }), true); |
| 9907 res.custombatch(arg_request, dryRun: arg_dryRun).then(unittest.expectAsync
(((api.ShippingsettingsCustomBatchResponse response) { |
| 9908 checkShippingsettingsCustomBatchResponse(response); |
| 9909 }))); |
| 9910 }); |
| 9911 |
| 9912 unittest.test("method--get", () { |
| 9913 |
| 9914 var mock = new HttpServerMock(); |
| 9915 api.ShippingsettingsResourceApi res = new api.ContentApi(mock).shippingset
tings; |
| 9916 var arg_merchantId = "foo"; |
| 9917 var arg_accountId = "foo"; |
| 9918 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 9919 var path = (req.url).path; |
| 9920 var pathOffset = 0; |
| 9921 var index; |
| 9922 var subPart; |
| 9923 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 9924 pathOffset += 1; |
| 9925 |
| 9926 var query = (req.url).query; |
| 9927 var queryOffset = 0; |
| 9928 var queryMap = {}; |
| 9929 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 9930 parseBool(n) { |
| 9931 if (n == "true") return true; |
| 9932 if (n == "false") return false; |
| 9933 if (n == null) return null; |
| 9934 throw new core.ArgumentError("Invalid boolean: $n"); |
| 9935 } |
| 9936 if (query.length > 0) { |
| 9937 for (var part in query.split("&")) { |
| 9938 var keyvalue = part.split("="); |
| 9939 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 9940 } |
| 9941 } |
| 9942 |
| 9943 |
| 9944 var h = { |
| 9945 "content-type" : "application/json; charset=utf-8", |
| 9946 }; |
| 9947 var resp = convert.JSON.encode(buildShippingSettings()); |
| 9948 return new async.Future.value(stringResponse(200, h, resp)); |
| 9949 }), true); |
| 9950 res.get(arg_merchantId, arg_accountId).then(unittest.expectAsync(((api.Shi
ppingSettings response) { |
| 9951 checkShippingSettings(response); |
| 9952 }))); |
| 9953 }); |
| 9954 |
| 9955 unittest.test("method--getsupportedcarriers", () { |
| 9956 |
| 9957 var mock = new HttpServerMock(); |
| 9958 api.ShippingsettingsResourceApi res = new api.ContentApi(mock).shippingset
tings; |
| 9959 var arg_merchantId = "foo"; |
| 9960 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 9961 var path = (req.url).path; |
| 9962 var pathOffset = 0; |
| 9963 var index; |
| 9964 var subPart; |
| 9965 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 9966 pathOffset += 1; |
| 9967 |
| 9968 var query = (req.url).query; |
| 9969 var queryOffset = 0; |
| 9970 var queryMap = {}; |
| 9971 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 9972 parseBool(n) { |
| 9973 if (n == "true") return true; |
| 9974 if (n == "false") return false; |
| 9975 if (n == null) return null; |
| 9976 throw new core.ArgumentError("Invalid boolean: $n"); |
| 9977 } |
| 9978 if (query.length > 0) { |
| 9979 for (var part in query.split("&")) { |
| 9980 var keyvalue = part.split("="); |
| 9981 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 9982 } |
| 9983 } |
| 9984 |
| 9985 |
| 9986 var h = { |
| 9987 "content-type" : "application/json; charset=utf-8", |
| 9988 }; |
| 9989 var resp = convert.JSON.encode(buildShippingsettingsGetSupportedCarriers
Response()); |
| 9990 return new async.Future.value(stringResponse(200, h, resp)); |
| 9991 }), true); |
| 9992 res.getsupportedcarriers(arg_merchantId).then(unittest.expectAsync(((api.S
hippingsettingsGetSupportedCarriersResponse response) { |
| 9993 checkShippingsettingsGetSupportedCarriersResponse(response); |
| 9994 }))); |
| 9995 }); |
| 9996 |
| 9997 unittest.test("method--list", () { |
| 9998 |
| 9999 var mock = new HttpServerMock(); |
| 10000 api.ShippingsettingsResourceApi res = new api.ContentApi(mock).shippingset
tings; |
| 10001 var arg_merchantId = "foo"; |
| 10002 var arg_maxResults = 42; |
| 10003 var arg_pageToken = "foo"; |
| 10004 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10005 var path = (req.url).path; |
| 10006 var pathOffset = 0; |
| 10007 var index; |
| 10008 var subPart; |
| 10009 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 10010 pathOffset += 1; |
| 10011 |
| 10012 var query = (req.url).query; |
| 10013 var queryOffset = 0; |
| 10014 var queryMap = {}; |
| 10015 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 10016 parseBool(n) { |
| 10017 if (n == "true") return true; |
| 10018 if (n == "false") return false; |
| 10019 if (n == null) return null; |
| 10020 throw new core.ArgumentError("Invalid boolean: $n"); |
| 10021 } |
| 10022 if (query.length > 0) { |
| 10023 for (var part in query.split("&")) { |
| 10024 var keyvalue = part.split("="); |
| 10025 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 10026 } |
| 10027 } |
| 10028 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 10029 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 10030 |
| 10031 |
| 10032 var h = { |
| 10033 "content-type" : "application/json; charset=utf-8", |
| 10034 }; |
| 10035 var resp = convert.JSON.encode(buildShippingsettingsListResponse()); |
| 10036 return new async.Future.value(stringResponse(200, h, resp)); |
| 10037 }), true); |
| 10038 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo
ken).then(unittest.expectAsync(((api.ShippingsettingsListResponse response) { |
| 10039 checkShippingsettingsListResponse(response); |
| 10040 }))); |
| 10041 }); |
| 10042 |
| 10043 unittest.test("method--patch", () { |
| 10044 |
| 10045 var mock = new HttpServerMock(); |
| 10046 api.ShippingsettingsResourceApi res = new api.ContentApi(mock).shippingset
tings; |
| 10047 var arg_request = buildShippingSettings(); |
| 10048 var arg_merchantId = "foo"; |
| 10049 var arg_accountId = "foo"; |
| 10050 var arg_dryRun = true; |
| 10051 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10052 var obj = new api.ShippingSettings.fromJson(json); |
| 10053 checkShippingSettings(obj); |
| 10054 |
| 10055 var path = (req.url).path; |
| 10056 var pathOffset = 0; |
| 10057 var index; |
| 10058 var subPart; |
| 10059 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 10060 pathOffset += 1; |
| 10061 |
| 10062 var query = (req.url).query; |
| 10063 var queryOffset = 0; |
| 10064 var queryMap = {}; |
| 10065 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 10066 parseBool(n) { |
| 10067 if (n == "true") return true; |
| 10068 if (n == "false") return false; |
| 10069 if (n == null) return null; |
| 10070 throw new core.ArgumentError("Invalid boolean: $n"); |
| 10071 } |
| 10072 if (query.length > 0) { |
| 10073 for (var part in query.split("&")) { |
| 10074 var keyvalue = part.split("="); |
| 10075 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 10076 } |
| 10077 } |
| 10078 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); |
| 10079 |
| 10080 |
| 10081 var h = { |
| 10082 "content-type" : "application/json; charset=utf-8", |
| 10083 }; |
| 10084 var resp = convert.JSON.encode(buildShippingSettings()); |
| 10085 return new async.Future.value(stringResponse(200, h, resp)); |
| 10086 }), true); |
| 10087 res.patch(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun).
then(unittest.expectAsync(((api.ShippingSettings response) { |
| 10088 checkShippingSettings(response); |
| 10089 }))); |
| 10090 }); |
| 10091 |
| 10092 unittest.test("method--update", () { |
| 10093 |
| 10094 var mock = new HttpServerMock(); |
| 10095 api.ShippingsettingsResourceApi res = new api.ContentApi(mock).shippingset
tings; |
| 10096 var arg_request = buildShippingSettings(); |
| 10097 var arg_merchantId = "foo"; |
| 10098 var arg_accountId = "foo"; |
| 10099 var arg_dryRun = true; |
| 10100 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10101 var obj = new api.ShippingSettings.fromJson(json); |
| 10102 checkShippingSettings(obj); |
| 10103 |
| 10104 var path = (req.url).path; |
| 10105 var pathOffset = 0; |
| 10106 var index; |
| 10107 var subPart; |
| 10108 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 10109 pathOffset += 1; |
| 10110 |
| 10111 var query = (req.url).query; |
| 10112 var queryOffset = 0; |
| 10113 var queryMap = {}; |
| 10114 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 10115 parseBool(n) { |
| 10116 if (n == "true") return true; |
| 10117 if (n == "false") return false; |
| 10118 if (n == null) return null; |
| 10119 throw new core.ArgumentError("Invalid boolean: $n"); |
| 10120 } |
| 10121 if (query.length > 0) { |
| 10122 for (var part in query.split("&")) { |
| 10123 var keyvalue = part.split("="); |
| 10124 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 10125 } |
| 10126 } |
| 10127 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); |
| 10128 |
| 10129 |
| 10130 var h = { |
| 10131 "content-type" : "application/json; charset=utf-8", |
| 10132 }; |
| 10133 var resp = convert.JSON.encode(buildShippingSettings()); |
| 10134 return new async.Future.value(stringResponse(200, h, resp)); |
| 10135 }), true); |
| 10136 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { |
| 10137 checkShippingSettings(response); |
| 10138 }))); |
| 10139 }); |
| 10140 |
| 10141 }); |
| 10142 |
| 10143 |
| 8980 } | 10144 } |
| 8981 | 10145 |
| OLD | NEW |