Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: generated/googleapis/test/content/v2sandbox_test.dart

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.content.v2sandbox.test; 1 library googleapis.content.v2sandbox.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 checkError(api.Error o) { 67 checkError(api.Error o) {
68 buildCounterError++; 68 buildCounterError++;
69 if (buildCounterError < 3) { 69 if (buildCounterError < 3) {
70 unittest.expect(o.domain, unittest.equals('foo')); 70 unittest.expect(o.domain, unittest.equals('foo'));
71 unittest.expect(o.message, unittest.equals('foo')); 71 unittest.expect(o.message, unittest.equals('foo'));
72 unittest.expect(o.reason, unittest.equals('foo')); 72 unittest.expect(o.reason, unittest.equals('foo'));
73 } 73 }
74 buildCounterError--; 74 buildCounterError--;
75 } 75 }
76 76
77 buildUnnamed924() { 77 buildUnnamed1353() {
78 var o = new core.List<api.Error>(); 78 var o = new core.List<api.Error>();
79 o.add(buildError()); 79 o.add(buildError());
80 o.add(buildError()); 80 o.add(buildError());
81 return o; 81 return o;
82 } 82 }
83 83
84 checkUnnamed924(core.List<api.Error> o) { 84 checkUnnamed1353(core.List<api.Error> o) {
85 unittest.expect(o, unittest.hasLength(2)); 85 unittest.expect(o, unittest.hasLength(2));
86 checkError(o[0]); 86 checkError(o[0]);
87 checkError(o[1]); 87 checkError(o[1]);
88 } 88 }
89 89
90 core.int buildCounterErrors = 0; 90 core.int buildCounterErrors = 0;
91 buildErrors() { 91 buildErrors() {
92 var o = new api.Errors(); 92 var o = new api.Errors();
93 buildCounterErrors++; 93 buildCounterErrors++;
94 if (buildCounterErrors < 3) { 94 if (buildCounterErrors < 3) {
95 o.code = 42; 95 o.code = 42;
96 o.errors = buildUnnamed924(); 96 o.errors = buildUnnamed1353();
97 o.message = "foo"; 97 o.message = "foo";
98 } 98 }
99 buildCounterErrors--; 99 buildCounterErrors--;
100 return o; 100 return o;
101 } 101 }
102 102
103 checkErrors(api.Errors o) { 103 checkErrors(api.Errors o) {
104 buildCounterErrors++; 104 buildCounterErrors++;
105 if (buildCounterErrors < 3) { 105 if (buildCounterErrors < 3) {
106 unittest.expect(o.code, unittest.equals(42)); 106 unittest.expect(o.code, unittest.equals(42));
107 checkUnnamed924(o.errors); 107 checkUnnamed1353(o.errors);
108 unittest.expect(o.message, unittest.equals('foo')); 108 unittest.expect(o.message, unittest.equals('foo'));
109 } 109 }
110 buildCounterErrors--; 110 buildCounterErrors--;
111 } 111 }
112 112
113 buildUnnamed925() { 113 buildUnnamed1354() {
114 var o = new core.List<api.OrderLineItem>(); 114 var o = new core.List<api.OrderLineItem>();
115 o.add(buildOrderLineItem()); 115 o.add(buildOrderLineItem());
116 o.add(buildOrderLineItem()); 116 o.add(buildOrderLineItem());
117 return o; 117 return o;
118 } 118 }
119 119
120 checkUnnamed925(core.List<api.OrderLineItem> o) { 120 checkUnnamed1354(core.List<api.OrderLineItem> o) {
121 unittest.expect(o, unittest.hasLength(2)); 121 unittest.expect(o, unittest.hasLength(2));
122 checkOrderLineItem(o[0]); 122 checkOrderLineItem(o[0]);
123 checkOrderLineItem(o[1]); 123 checkOrderLineItem(o[1]);
124 } 124 }
125 125
126 buildUnnamed926() { 126 buildUnnamed1355() {
127 var o = new core.List<api.OrderPromotion>(); 127 var o = new core.List<api.OrderPromotion>();
128 o.add(buildOrderPromotion()); 128 o.add(buildOrderPromotion());
129 o.add(buildOrderPromotion()); 129 o.add(buildOrderPromotion());
130 return o; 130 return o;
131 } 131 }
132 132
133 checkUnnamed926(core.List<api.OrderPromotion> o) { 133 checkUnnamed1355(core.List<api.OrderPromotion> o) {
134 unittest.expect(o, unittest.hasLength(2)); 134 unittest.expect(o, unittest.hasLength(2));
135 checkOrderPromotion(o[0]); 135 checkOrderPromotion(o[0]);
136 checkOrderPromotion(o[1]); 136 checkOrderPromotion(o[1]);
137 } 137 }
138 138
139 buildUnnamed927() { 139 buildUnnamed1356() {
140 var o = new core.List<api.OrderRefund>(); 140 var o = new core.List<api.OrderRefund>();
141 o.add(buildOrderRefund()); 141 o.add(buildOrderRefund());
142 o.add(buildOrderRefund()); 142 o.add(buildOrderRefund());
143 return o; 143 return o;
144 } 144 }
145 145
146 checkUnnamed927(core.List<api.OrderRefund> o) { 146 checkUnnamed1356(core.List<api.OrderRefund> o) {
147 unittest.expect(o, unittest.hasLength(2)); 147 unittest.expect(o, unittest.hasLength(2));
148 checkOrderRefund(o[0]); 148 checkOrderRefund(o[0]);
149 checkOrderRefund(o[1]); 149 checkOrderRefund(o[1]);
150 } 150 }
151 151
152 buildUnnamed928() { 152 buildUnnamed1357() {
153 var o = new core.List<api.OrderShipment>(); 153 var o = new core.List<api.OrderShipment>();
154 o.add(buildOrderShipment()); 154 o.add(buildOrderShipment());
155 o.add(buildOrderShipment()); 155 o.add(buildOrderShipment());
156 return o; 156 return o;
157 } 157 }
158 158
159 checkUnnamed928(core.List<api.OrderShipment> o) { 159 checkUnnamed1357(core.List<api.OrderShipment> o) {
160 unittest.expect(o, unittest.hasLength(2)); 160 unittest.expect(o, unittest.hasLength(2));
161 checkOrderShipment(o[0]); 161 checkOrderShipment(o[0]);
162 checkOrderShipment(o[1]); 162 checkOrderShipment(o[1]);
163 } 163 }
164 164
165 core.int buildCounterOrder = 0; 165 core.int buildCounterOrder = 0;
166 buildOrder() { 166 buildOrder() {
167 var o = new api.Order(); 167 var o = new api.Order();
168 buildCounterOrder++; 168 buildCounterOrder++;
169 if (buildCounterOrder < 3) { 169 if (buildCounterOrder < 3) {
170 o.acknowledged = true; 170 o.acknowledged = true;
171 o.customer = buildOrderCustomer(); 171 o.customer = buildOrderCustomer();
172 o.deliveryDetails = buildOrderDeliveryDetails(); 172 o.deliveryDetails = buildOrderDeliveryDetails();
173 o.id = "foo"; 173 o.id = "foo";
174 o.kind = "foo"; 174 o.kind = "foo";
175 o.lineItems = buildUnnamed925(); 175 o.lineItems = buildUnnamed1354();
176 o.merchantId = "foo"; 176 o.merchantId = "foo";
177 o.merchantOrderId = "foo"; 177 o.merchantOrderId = "foo";
178 o.netAmount = buildPrice(); 178 o.netAmount = buildPrice();
179 o.paymentMethod = buildOrderPaymentMethod(); 179 o.paymentMethod = buildOrderPaymentMethod();
180 o.paymentStatus = "foo"; 180 o.paymentStatus = "foo";
181 o.placedDate = "foo"; 181 o.placedDate = "foo";
182 o.promotions = buildUnnamed926(); 182 o.promotions = buildUnnamed1355();
183 o.refunds = buildUnnamed927(); 183 o.refunds = buildUnnamed1356();
184 o.shipments = buildUnnamed928(); 184 o.shipments = buildUnnamed1357();
185 o.shippingCost = buildPrice(); 185 o.shippingCost = buildPrice();
186 o.shippingCostTax = buildPrice(); 186 o.shippingCostTax = buildPrice();
187 o.shippingOption = "foo"; 187 o.shippingOption = "foo";
188 o.status = "foo"; 188 o.status = "foo";
189 } 189 }
190 buildCounterOrder--; 190 buildCounterOrder--;
191 return o; 191 return o;
192 } 192 }
193 193
194 checkOrder(api.Order o) { 194 checkOrder(api.Order o) {
195 buildCounterOrder++; 195 buildCounterOrder++;
196 if (buildCounterOrder < 3) { 196 if (buildCounterOrder < 3) {
197 unittest.expect(o.acknowledged, unittest.isTrue); 197 unittest.expect(o.acknowledged, unittest.isTrue);
198 checkOrderCustomer(o.customer); 198 checkOrderCustomer(o.customer);
199 checkOrderDeliveryDetails(o.deliveryDetails); 199 checkOrderDeliveryDetails(o.deliveryDetails);
200 unittest.expect(o.id, unittest.equals('foo')); 200 unittest.expect(o.id, unittest.equals('foo'));
201 unittest.expect(o.kind, unittest.equals('foo')); 201 unittest.expect(o.kind, unittest.equals('foo'));
202 checkUnnamed925(o.lineItems); 202 checkUnnamed1354(o.lineItems);
203 unittest.expect(o.merchantId, unittest.equals('foo')); 203 unittest.expect(o.merchantId, unittest.equals('foo'));
204 unittest.expect(o.merchantOrderId, unittest.equals('foo')); 204 unittest.expect(o.merchantOrderId, unittest.equals('foo'));
205 checkPrice(o.netAmount); 205 checkPrice(o.netAmount);
206 checkOrderPaymentMethod(o.paymentMethod); 206 checkOrderPaymentMethod(o.paymentMethod);
207 unittest.expect(o.paymentStatus, unittest.equals('foo')); 207 unittest.expect(o.paymentStatus, unittest.equals('foo'));
208 unittest.expect(o.placedDate, unittest.equals('foo')); 208 unittest.expect(o.placedDate, unittest.equals('foo'));
209 checkUnnamed926(o.promotions); 209 checkUnnamed1355(o.promotions);
210 checkUnnamed927(o.refunds); 210 checkUnnamed1356(o.refunds);
211 checkUnnamed928(o.shipments); 211 checkUnnamed1357(o.shipments);
212 checkPrice(o.shippingCost); 212 checkPrice(o.shippingCost);
213 checkPrice(o.shippingCostTax); 213 checkPrice(o.shippingCostTax);
214 unittest.expect(o.shippingOption, unittest.equals('foo')); 214 unittest.expect(o.shippingOption, unittest.equals('foo'));
215 unittest.expect(o.status, unittest.equals('foo')); 215 unittest.expect(o.status, unittest.equals('foo'));
216 } 216 }
217 buildCounterOrder--; 217 buildCounterOrder--;
218 } 218 }
219 219
220 buildUnnamed929() { 220 buildUnnamed1358() {
221 var o = new core.List<core.String>(); 221 var o = new core.List<core.String>();
222 o.add("foo"); 222 o.add("foo");
223 o.add("foo"); 223 o.add("foo");
224 return o; 224 return o;
225 } 225 }
226 226
227 checkUnnamed929(core.List<core.String> o) { 227 checkUnnamed1358(core.List<core.String> o) {
228 unittest.expect(o, unittest.hasLength(2)); 228 unittest.expect(o, unittest.hasLength(2));
229 unittest.expect(o[0], unittest.equals('foo')); 229 unittest.expect(o[0], unittest.equals('foo'));
230 unittest.expect(o[1], unittest.equals('foo')); 230 unittest.expect(o[1], unittest.equals('foo'));
231 } 231 }
232 232
233 buildUnnamed930() { 233 buildUnnamed1359() {
234 var o = new core.List<core.String>(); 234 var o = new core.List<core.String>();
235 o.add("foo"); 235 o.add("foo");
236 o.add("foo"); 236 o.add("foo");
237 return o; 237 return o;
238 } 238 }
239 239
240 checkUnnamed930(core.List<core.String> o) { 240 checkUnnamed1359(core.List<core.String> o) {
241 unittest.expect(o, unittest.hasLength(2)); 241 unittest.expect(o, unittest.hasLength(2));
242 unittest.expect(o[0], unittest.equals('foo')); 242 unittest.expect(o[0], unittest.equals('foo'));
243 unittest.expect(o[1], unittest.equals('foo')); 243 unittest.expect(o[1], unittest.equals('foo'));
244 } 244 }
245 245
246 core.int buildCounterOrderAddress = 0; 246 core.int buildCounterOrderAddress = 0;
247 buildOrderAddress() { 247 buildOrderAddress() {
248 var o = new api.OrderAddress(); 248 var o = new api.OrderAddress();
249 buildCounterOrderAddress++; 249 buildCounterOrderAddress++;
250 if (buildCounterOrderAddress < 3) { 250 if (buildCounterOrderAddress < 3) {
251 o.country = "foo"; 251 o.country = "foo";
252 o.fullAddress = buildUnnamed929(); 252 o.fullAddress = buildUnnamed1358();
253 o.isPostOfficeBox = true; 253 o.isPostOfficeBox = true;
254 o.locality = "foo"; 254 o.locality = "foo";
255 o.postalCode = "foo"; 255 o.postalCode = "foo";
256 o.recipientName = "foo"; 256 o.recipientName = "foo";
257 o.region = "foo"; 257 o.region = "foo";
258 o.streetAddress = buildUnnamed930(); 258 o.streetAddress = buildUnnamed1359();
259 } 259 }
260 buildCounterOrderAddress--; 260 buildCounterOrderAddress--;
261 return o; 261 return o;
262 } 262 }
263 263
264 checkOrderAddress(api.OrderAddress o) { 264 checkOrderAddress(api.OrderAddress o) {
265 buildCounterOrderAddress++; 265 buildCounterOrderAddress++;
266 if (buildCounterOrderAddress < 3) { 266 if (buildCounterOrderAddress < 3) {
267 unittest.expect(o.country, unittest.equals('foo')); 267 unittest.expect(o.country, unittest.equals('foo'));
268 checkUnnamed929(o.fullAddress); 268 checkUnnamed1358(o.fullAddress);
269 unittest.expect(o.isPostOfficeBox, unittest.isTrue); 269 unittest.expect(o.isPostOfficeBox, unittest.isTrue);
270 unittest.expect(o.locality, unittest.equals('foo')); 270 unittest.expect(o.locality, unittest.equals('foo'));
271 unittest.expect(o.postalCode, unittest.equals('foo')); 271 unittest.expect(o.postalCode, unittest.equals('foo'));
272 unittest.expect(o.recipientName, unittest.equals('foo')); 272 unittest.expect(o.recipientName, unittest.equals('foo'));
273 unittest.expect(o.region, unittest.equals('foo')); 273 unittest.expect(o.region, unittest.equals('foo'));
274 checkUnnamed930(o.streetAddress); 274 checkUnnamed1359(o.streetAddress);
275 } 275 }
276 buildCounterOrderAddress--; 276 buildCounterOrderAddress--;
277 } 277 }
278 278
279 core.int buildCounterOrderCancellation = 0; 279 core.int buildCounterOrderCancellation = 0;
280 buildOrderCancellation() { 280 buildOrderCancellation() {
281 var o = new api.OrderCancellation(); 281 var o = new api.OrderCancellation();
282 buildCounterOrderCancellation++; 282 buildCounterOrderCancellation++;
283 if (buildCounterOrderCancellation < 3) { 283 if (buildCounterOrderCancellation < 3) {
284 o.actor = "foo"; 284 o.actor = "foo";
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 340
341 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { 341 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) {
342 buildCounterOrderDeliveryDetails++; 342 buildCounterOrderDeliveryDetails++;
343 if (buildCounterOrderDeliveryDetails < 3) { 343 if (buildCounterOrderDeliveryDetails < 3) {
344 checkOrderAddress(o.address); 344 checkOrderAddress(o.address);
345 unittest.expect(o.phoneNumber, unittest.equals('foo')); 345 unittest.expect(o.phoneNumber, unittest.equals('foo'));
346 } 346 }
347 buildCounterOrderDeliveryDetails--; 347 buildCounterOrderDeliveryDetails--;
348 } 348 }
349 349
350 buildUnnamed931() { 350 buildUnnamed1360() {
351 var o = new core.List<api.OrderCancellation>(); 351 var o = new core.List<api.OrderCancellation>();
352 o.add(buildOrderCancellation()); 352 o.add(buildOrderCancellation());
353 o.add(buildOrderCancellation()); 353 o.add(buildOrderCancellation());
354 return o; 354 return o;
355 } 355 }
356 356
357 checkUnnamed931(core.List<api.OrderCancellation> o) { 357 checkUnnamed1360(core.List<api.OrderCancellation> o) {
358 unittest.expect(o, unittest.hasLength(2)); 358 unittest.expect(o, unittest.hasLength(2));
359 checkOrderCancellation(o[0]); 359 checkOrderCancellation(o[0]);
360 checkOrderCancellation(o[1]); 360 checkOrderCancellation(o[1]);
361 } 361 }
362 362
363 buildUnnamed932() { 363 buildUnnamed1361() {
364 var o = new core.List<api.OrderReturn>(); 364 var o = new core.List<api.OrderReturn>();
365 o.add(buildOrderReturn()); 365 o.add(buildOrderReturn());
366 o.add(buildOrderReturn()); 366 o.add(buildOrderReturn());
367 return o; 367 return o;
368 } 368 }
369 369
370 checkUnnamed932(core.List<api.OrderReturn> o) { 370 checkUnnamed1361(core.List<api.OrderReturn> o) {
371 unittest.expect(o, unittest.hasLength(2)); 371 unittest.expect(o, unittest.hasLength(2));
372 checkOrderReturn(o[0]); 372 checkOrderReturn(o[0]);
373 checkOrderReturn(o[1]); 373 checkOrderReturn(o[1]);
374 } 374 }
375 375
376 core.int buildCounterOrderLineItem = 0; 376 core.int buildCounterOrderLineItem = 0;
377 buildOrderLineItem() { 377 buildOrderLineItem() {
378 var o = new api.OrderLineItem(); 378 var o = new api.OrderLineItem();
379 buildCounterOrderLineItem++; 379 buildCounterOrderLineItem++;
380 if (buildCounterOrderLineItem < 3) { 380 if (buildCounterOrderLineItem < 3) {
381 o.cancellations = buildUnnamed931(); 381 o.cancellations = buildUnnamed1360();
382 o.id = "foo"; 382 o.id = "foo";
383 o.price = buildPrice(); 383 o.price = buildPrice();
384 o.product = buildOrderLineItemProduct(); 384 o.product = buildOrderLineItemProduct();
385 o.quantityCanceled = 42; 385 o.quantityCanceled = 42;
386 o.quantityDelivered = 42; 386 o.quantityDelivered = 42;
387 o.quantityOrdered = 42; 387 o.quantityOrdered = 42;
388 o.quantityPending = 42; 388 o.quantityPending = 42;
389 o.quantityReturned = 42; 389 o.quantityReturned = 42;
390 o.quantityShipped = 42; 390 o.quantityShipped = 42;
391 o.returnInfo = buildOrderLineItemReturnInfo(); 391 o.returnInfo = buildOrderLineItemReturnInfo();
392 o.returns = buildUnnamed932(); 392 o.returns = buildUnnamed1361();
393 o.shippingDetails = buildOrderLineItemShippingDetails(); 393 o.shippingDetails = buildOrderLineItemShippingDetails();
394 o.tax = buildPrice(); 394 o.tax = buildPrice();
395 } 395 }
396 buildCounterOrderLineItem--; 396 buildCounterOrderLineItem--;
397 return o; 397 return o;
398 } 398 }
399 399
400 checkOrderLineItem(api.OrderLineItem o) { 400 checkOrderLineItem(api.OrderLineItem o) {
401 buildCounterOrderLineItem++; 401 buildCounterOrderLineItem++;
402 if (buildCounterOrderLineItem < 3) { 402 if (buildCounterOrderLineItem < 3) {
403 checkUnnamed931(o.cancellations); 403 checkUnnamed1360(o.cancellations);
404 unittest.expect(o.id, unittest.equals('foo')); 404 unittest.expect(o.id, unittest.equals('foo'));
405 checkPrice(o.price); 405 checkPrice(o.price);
406 checkOrderLineItemProduct(o.product); 406 checkOrderLineItemProduct(o.product);
407 unittest.expect(o.quantityCanceled, unittest.equals(42)); 407 unittest.expect(o.quantityCanceled, unittest.equals(42));
408 unittest.expect(o.quantityDelivered, unittest.equals(42)); 408 unittest.expect(o.quantityDelivered, unittest.equals(42));
409 unittest.expect(o.quantityOrdered, unittest.equals(42)); 409 unittest.expect(o.quantityOrdered, unittest.equals(42));
410 unittest.expect(o.quantityPending, unittest.equals(42)); 410 unittest.expect(o.quantityPending, unittest.equals(42));
411 unittest.expect(o.quantityReturned, unittest.equals(42)); 411 unittest.expect(o.quantityReturned, unittest.equals(42));
412 unittest.expect(o.quantityShipped, unittest.equals(42)); 412 unittest.expect(o.quantityShipped, unittest.equals(42));
413 checkOrderLineItemReturnInfo(o.returnInfo); 413 checkOrderLineItemReturnInfo(o.returnInfo);
414 checkUnnamed932(o.returns); 414 checkUnnamed1361(o.returns);
415 checkOrderLineItemShippingDetails(o.shippingDetails); 415 checkOrderLineItemShippingDetails(o.shippingDetails);
416 checkPrice(o.tax); 416 checkPrice(o.tax);
417 } 417 }
418 buildCounterOrderLineItem--; 418 buildCounterOrderLineItem--;
419 } 419 }
420 420
421 buildUnnamed933() { 421 buildUnnamed1362() {
422 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); 422 var o = new core.List<api.OrderLineItemProductVariantAttribute>();
423 o.add(buildOrderLineItemProductVariantAttribute()); 423 o.add(buildOrderLineItemProductVariantAttribute());
424 o.add(buildOrderLineItemProductVariantAttribute()); 424 o.add(buildOrderLineItemProductVariantAttribute());
425 return o; 425 return o;
426 } 426 }
427 427
428 checkUnnamed933(core.List<api.OrderLineItemProductVariantAttribute> o) { 428 checkUnnamed1362(core.List<api.OrderLineItemProductVariantAttribute> o) {
429 unittest.expect(o, unittest.hasLength(2)); 429 unittest.expect(o, unittest.hasLength(2));
430 checkOrderLineItemProductVariantAttribute(o[0]); 430 checkOrderLineItemProductVariantAttribute(o[0]);
431 checkOrderLineItemProductVariantAttribute(o[1]); 431 checkOrderLineItemProductVariantAttribute(o[1]);
432 } 432 }
433 433
434 core.int buildCounterOrderLineItemProduct = 0; 434 core.int buildCounterOrderLineItemProduct = 0;
435 buildOrderLineItemProduct() { 435 buildOrderLineItemProduct() {
436 var o = new api.OrderLineItemProduct(); 436 var o = new api.OrderLineItemProduct();
437 buildCounterOrderLineItemProduct++; 437 buildCounterOrderLineItemProduct++;
438 if (buildCounterOrderLineItemProduct < 3) { 438 if (buildCounterOrderLineItemProduct < 3) {
439 o.brand = "foo"; 439 o.brand = "foo";
440 o.channel = "foo"; 440 o.channel = "foo";
441 o.condition = "foo"; 441 o.condition = "foo";
442 o.contentLanguage = "foo"; 442 o.contentLanguage = "foo";
443 o.gtin = "foo"; 443 o.gtin = "foo";
444 o.id = "foo"; 444 o.id = "foo";
445 o.imageLink = "foo"; 445 o.imageLink = "foo";
446 o.itemGroupId = "foo"; 446 o.itemGroupId = "foo";
447 o.mpn = "foo"; 447 o.mpn = "foo";
448 o.offerId = "foo"; 448 o.offerId = "foo";
449 o.price = buildPrice(); 449 o.price = buildPrice();
450 o.shownImage = "foo"; 450 o.shownImage = "foo";
451 o.targetCountry = "foo"; 451 o.targetCountry = "foo";
452 o.title = "foo"; 452 o.title = "foo";
453 o.variantAttributes = buildUnnamed933(); 453 o.variantAttributes = buildUnnamed1362();
454 } 454 }
455 buildCounterOrderLineItemProduct--; 455 buildCounterOrderLineItemProduct--;
456 return o; 456 return o;
457 } 457 }
458 458
459 checkOrderLineItemProduct(api.OrderLineItemProduct o) { 459 checkOrderLineItemProduct(api.OrderLineItemProduct o) {
460 buildCounterOrderLineItemProduct++; 460 buildCounterOrderLineItemProduct++;
461 if (buildCounterOrderLineItemProduct < 3) { 461 if (buildCounterOrderLineItemProduct < 3) {
462 unittest.expect(o.brand, unittest.equals('foo')); 462 unittest.expect(o.brand, unittest.equals('foo'));
463 unittest.expect(o.channel, unittest.equals('foo')); 463 unittest.expect(o.channel, unittest.equals('foo'));
464 unittest.expect(o.condition, unittest.equals('foo')); 464 unittest.expect(o.condition, unittest.equals('foo'));
465 unittest.expect(o.contentLanguage, unittest.equals('foo')); 465 unittest.expect(o.contentLanguage, unittest.equals('foo'));
466 unittest.expect(o.gtin, unittest.equals('foo')); 466 unittest.expect(o.gtin, unittest.equals('foo'));
467 unittest.expect(o.id, unittest.equals('foo')); 467 unittest.expect(o.id, unittest.equals('foo'));
468 unittest.expect(o.imageLink, unittest.equals('foo')); 468 unittest.expect(o.imageLink, unittest.equals('foo'));
469 unittest.expect(o.itemGroupId, unittest.equals('foo')); 469 unittest.expect(o.itemGroupId, unittest.equals('foo'));
470 unittest.expect(o.mpn, unittest.equals('foo')); 470 unittest.expect(o.mpn, unittest.equals('foo'));
471 unittest.expect(o.offerId, unittest.equals('foo')); 471 unittest.expect(o.offerId, unittest.equals('foo'));
472 checkPrice(o.price); 472 checkPrice(o.price);
473 unittest.expect(o.shownImage, unittest.equals('foo')); 473 unittest.expect(o.shownImage, unittest.equals('foo'));
474 unittest.expect(o.targetCountry, unittest.equals('foo')); 474 unittest.expect(o.targetCountry, unittest.equals('foo'));
475 unittest.expect(o.title, unittest.equals('foo')); 475 unittest.expect(o.title, unittest.equals('foo'));
476 checkUnnamed933(o.variantAttributes); 476 checkUnnamed1362(o.variantAttributes);
477 } 477 }
478 buildCounterOrderLineItemProduct--; 478 buildCounterOrderLineItemProduct--;
479 } 479 }
480 480
481 core.int buildCounterOrderLineItemProductVariantAttribute = 0; 481 core.int buildCounterOrderLineItemProductVariantAttribute = 0;
482 buildOrderLineItemProductVariantAttribute() { 482 buildOrderLineItemProductVariantAttribute() {
483 var o = new api.OrderLineItemProductVariantAttribute(); 483 var o = new api.OrderLineItemProductVariantAttribute();
484 buildCounterOrderLineItemProductVariantAttribute++; 484 buildCounterOrderLineItemProductVariantAttribute++;
485 if (buildCounterOrderLineItemProductVariantAttribute < 3) { 485 if (buildCounterOrderLineItemProductVariantAttribute < 3) {
486 o.dimension = "foo"; 486 o.dimension = "foo";
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 checkOrderAddress(o.billingAddress); 592 checkOrderAddress(o.billingAddress);
593 unittest.expect(o.expirationMonth, unittest.equals(42)); 593 unittest.expect(o.expirationMonth, unittest.equals(42));
594 unittest.expect(o.expirationYear, unittest.equals(42)); 594 unittest.expect(o.expirationYear, unittest.equals(42));
595 unittest.expect(o.lastFourDigits, unittest.equals('foo')); 595 unittest.expect(o.lastFourDigits, unittest.equals('foo'));
596 unittest.expect(o.phoneNumber, unittest.equals('foo')); 596 unittest.expect(o.phoneNumber, unittest.equals('foo'));
597 unittest.expect(o.type, unittest.equals('foo')); 597 unittest.expect(o.type, unittest.equals('foo'));
598 } 598 }
599 buildCounterOrderPaymentMethod--; 599 buildCounterOrderPaymentMethod--;
600 } 600 }
601 601
602 buildUnnamed934() { 602 buildUnnamed1363() {
603 var o = new core.List<api.OrderPromotionBenefit>(); 603 var o = new core.List<api.OrderPromotionBenefit>();
604 o.add(buildOrderPromotionBenefit()); 604 o.add(buildOrderPromotionBenefit());
605 o.add(buildOrderPromotionBenefit()); 605 o.add(buildOrderPromotionBenefit());
606 return o; 606 return o;
607 } 607 }
608 608
609 checkUnnamed934(core.List<api.OrderPromotionBenefit> o) { 609 checkUnnamed1363(core.List<api.OrderPromotionBenefit> o) {
610 unittest.expect(o, unittest.hasLength(2)); 610 unittest.expect(o, unittest.hasLength(2));
611 checkOrderPromotionBenefit(o[0]); 611 checkOrderPromotionBenefit(o[0]);
612 checkOrderPromotionBenefit(o[1]); 612 checkOrderPromotionBenefit(o[1]);
613 } 613 }
614 614
615 core.int buildCounterOrderPromotion = 0; 615 core.int buildCounterOrderPromotion = 0;
616 buildOrderPromotion() { 616 buildOrderPromotion() {
617 var o = new api.OrderPromotion(); 617 var o = new api.OrderPromotion();
618 buildCounterOrderPromotion++; 618 buildCounterOrderPromotion++;
619 if (buildCounterOrderPromotion < 3) { 619 if (buildCounterOrderPromotion < 3) {
620 o.benefits = buildUnnamed934(); 620 o.benefits = buildUnnamed1363();
621 o.effectiveDates = "foo"; 621 o.effectiveDates = "foo";
622 o.genericRedemptionCode = "foo"; 622 o.genericRedemptionCode = "foo";
623 o.id = "foo"; 623 o.id = "foo";
624 o.longTitle = "foo"; 624 o.longTitle = "foo";
625 o.productApplicability = "foo"; 625 o.productApplicability = "foo";
626 o.redemptionChannel = "foo"; 626 o.redemptionChannel = "foo";
627 } 627 }
628 buildCounterOrderPromotion--; 628 buildCounterOrderPromotion--;
629 return o; 629 return o;
630 } 630 }
631 631
632 checkOrderPromotion(api.OrderPromotion o) { 632 checkOrderPromotion(api.OrderPromotion o) {
633 buildCounterOrderPromotion++; 633 buildCounterOrderPromotion++;
634 if (buildCounterOrderPromotion < 3) { 634 if (buildCounterOrderPromotion < 3) {
635 checkUnnamed934(o.benefits); 635 checkUnnamed1363(o.benefits);
636 unittest.expect(o.effectiveDates, unittest.equals('foo')); 636 unittest.expect(o.effectiveDates, unittest.equals('foo'));
637 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); 637 unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
638 unittest.expect(o.id, unittest.equals('foo')); 638 unittest.expect(o.id, unittest.equals('foo'));
639 unittest.expect(o.longTitle, unittest.equals('foo')); 639 unittest.expect(o.longTitle, unittest.equals('foo'));
640 unittest.expect(o.productApplicability, unittest.equals('foo')); 640 unittest.expect(o.productApplicability, unittest.equals('foo'));
641 unittest.expect(o.redemptionChannel, unittest.equals('foo')); 641 unittest.expect(o.redemptionChannel, unittest.equals('foo'));
642 } 642 }
643 buildCounterOrderPromotion--; 643 buildCounterOrderPromotion--;
644 } 644 }
645 645
646 buildUnnamed935() { 646 buildUnnamed1364() {
647 var o = new core.List<core.String>(); 647 var o = new core.List<core.String>();
648 o.add("foo"); 648 o.add("foo");
649 o.add("foo"); 649 o.add("foo");
650 return o; 650 return o;
651 } 651 }
652 652
653 checkUnnamed935(core.List<core.String> o) { 653 checkUnnamed1364(core.List<core.String> o) {
654 unittest.expect(o, unittest.hasLength(2)); 654 unittest.expect(o, unittest.hasLength(2));
655 unittest.expect(o[0], unittest.equals('foo')); 655 unittest.expect(o[0], unittest.equals('foo'));
656 unittest.expect(o[1], unittest.equals('foo')); 656 unittest.expect(o[1], unittest.equals('foo'));
657 } 657 }
658 658
659 core.int buildCounterOrderPromotionBenefit = 0; 659 core.int buildCounterOrderPromotionBenefit = 0;
660 buildOrderPromotionBenefit() { 660 buildOrderPromotionBenefit() {
661 var o = new api.OrderPromotionBenefit(); 661 var o = new api.OrderPromotionBenefit();
662 buildCounterOrderPromotionBenefit++; 662 buildCounterOrderPromotionBenefit++;
663 if (buildCounterOrderPromotionBenefit < 3) { 663 if (buildCounterOrderPromotionBenefit < 3) {
664 o.discount = buildPrice(); 664 o.discount = buildPrice();
665 o.offerIds = buildUnnamed935(); 665 o.offerIds = buildUnnamed1364();
666 o.subType = "foo"; 666 o.subType = "foo";
667 o.taxImpact = buildPrice(); 667 o.taxImpact = buildPrice();
668 o.type = "foo"; 668 o.type = "foo";
669 } 669 }
670 buildCounterOrderPromotionBenefit--; 670 buildCounterOrderPromotionBenefit--;
671 return o; 671 return o;
672 } 672 }
673 673
674 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { 674 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) {
675 buildCounterOrderPromotionBenefit++; 675 buildCounterOrderPromotionBenefit++;
676 if (buildCounterOrderPromotionBenefit < 3) { 676 if (buildCounterOrderPromotionBenefit < 3) {
677 checkPrice(o.discount); 677 checkPrice(o.discount);
678 checkUnnamed935(o.offerIds); 678 checkUnnamed1364(o.offerIds);
679 unittest.expect(o.subType, unittest.equals('foo')); 679 unittest.expect(o.subType, unittest.equals('foo'));
680 checkPrice(o.taxImpact); 680 checkPrice(o.taxImpact);
681 unittest.expect(o.type, unittest.equals('foo')); 681 unittest.expect(o.type, unittest.equals('foo'));
682 } 682 }
683 buildCounterOrderPromotionBenefit--; 683 buildCounterOrderPromotionBenefit--;
684 } 684 }
685 685
686 core.int buildCounterOrderRefund = 0; 686 core.int buildCounterOrderRefund = 0;
687 buildOrderRefund() { 687 buildOrderRefund() {
688 var o = new api.OrderRefund(); 688 var o = new api.OrderRefund();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 if (buildCounterOrderReturn < 3) { 730 if (buildCounterOrderReturn < 3) {
731 unittest.expect(o.actor, unittest.equals('foo')); 731 unittest.expect(o.actor, unittest.equals('foo'));
732 unittest.expect(o.creationDate, unittest.equals('foo')); 732 unittest.expect(o.creationDate, unittest.equals('foo'));
733 unittest.expect(o.quantity, unittest.equals(42)); 733 unittest.expect(o.quantity, unittest.equals(42));
734 unittest.expect(o.reason, unittest.equals('foo')); 734 unittest.expect(o.reason, unittest.equals('foo'));
735 unittest.expect(o.reasonText, unittest.equals('foo')); 735 unittest.expect(o.reasonText, unittest.equals('foo'));
736 } 736 }
737 buildCounterOrderReturn--; 737 buildCounterOrderReturn--;
738 } 738 }
739 739
740 buildUnnamed936() { 740 buildUnnamed1365() {
741 var o = new core.List<api.OrderShipmentLineItemShipment>(); 741 var o = new core.List<api.OrderShipmentLineItemShipment>();
742 o.add(buildOrderShipmentLineItemShipment()); 742 o.add(buildOrderShipmentLineItemShipment());
743 o.add(buildOrderShipmentLineItemShipment()); 743 o.add(buildOrderShipmentLineItemShipment());
744 return o; 744 return o;
745 } 745 }
746 746
747 checkUnnamed936(core.List<api.OrderShipmentLineItemShipment> o) { 747 checkUnnamed1365(core.List<api.OrderShipmentLineItemShipment> o) {
748 unittest.expect(o, unittest.hasLength(2)); 748 unittest.expect(o, unittest.hasLength(2));
749 checkOrderShipmentLineItemShipment(o[0]); 749 checkOrderShipmentLineItemShipment(o[0]);
750 checkOrderShipmentLineItemShipment(o[1]); 750 checkOrderShipmentLineItemShipment(o[1]);
751 } 751 }
752 752
753 core.int buildCounterOrderShipment = 0; 753 core.int buildCounterOrderShipment = 0;
754 buildOrderShipment() { 754 buildOrderShipment() {
755 var o = new api.OrderShipment(); 755 var o = new api.OrderShipment();
756 buildCounterOrderShipment++; 756 buildCounterOrderShipment++;
757 if (buildCounterOrderShipment < 3) { 757 if (buildCounterOrderShipment < 3) {
758 o.carrier = "foo"; 758 o.carrier = "foo";
759 o.creationDate = "foo"; 759 o.creationDate = "foo";
760 o.deliveryDate = "foo"; 760 o.deliveryDate = "foo";
761 o.id = "foo"; 761 o.id = "foo";
762 o.lineItems = buildUnnamed936(); 762 o.lineItems = buildUnnamed1365();
763 o.status = "foo"; 763 o.status = "foo";
764 o.trackingId = "foo"; 764 o.trackingId = "foo";
765 } 765 }
766 buildCounterOrderShipment--; 766 buildCounterOrderShipment--;
767 return o; 767 return o;
768 } 768 }
769 769
770 checkOrderShipment(api.OrderShipment o) { 770 checkOrderShipment(api.OrderShipment o) {
771 buildCounterOrderShipment++; 771 buildCounterOrderShipment++;
772 if (buildCounterOrderShipment < 3) { 772 if (buildCounterOrderShipment < 3) {
773 unittest.expect(o.carrier, unittest.equals('foo')); 773 unittest.expect(o.carrier, unittest.equals('foo'));
774 unittest.expect(o.creationDate, unittest.equals('foo')); 774 unittest.expect(o.creationDate, unittest.equals('foo'));
775 unittest.expect(o.deliveryDate, unittest.equals('foo')); 775 unittest.expect(o.deliveryDate, unittest.equals('foo'));
776 unittest.expect(o.id, unittest.equals('foo')); 776 unittest.expect(o.id, unittest.equals('foo'));
777 checkUnnamed936(o.lineItems); 777 checkUnnamed1365(o.lineItems);
778 unittest.expect(o.status, unittest.equals('foo')); 778 unittest.expect(o.status, unittest.equals('foo'));
779 unittest.expect(o.trackingId, unittest.equals('foo')); 779 unittest.expect(o.trackingId, unittest.equals('foo'));
780 } 780 }
781 buildCounterOrderShipment--; 781 buildCounterOrderShipment--;
782 } 782 }
783 783
784 core.int buildCounterOrderShipmentLineItemShipment = 0; 784 core.int buildCounterOrderShipmentLineItemShipment = 0;
785 buildOrderShipmentLineItemShipment() { 785 buildOrderShipmentLineItemShipment() {
786 var o = new api.OrderShipmentLineItemShipment(); 786 var o = new api.OrderShipmentLineItemShipment();
787 buildCounterOrderShipmentLineItemShipment++; 787 buildCounterOrderShipmentLineItemShipment++;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 990
991 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { 991 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) {
992 buildCounterOrdersCreateTestOrderResponse++; 992 buildCounterOrdersCreateTestOrderResponse++;
993 if (buildCounterOrdersCreateTestOrderResponse < 3) { 993 if (buildCounterOrdersCreateTestOrderResponse < 3) {
994 unittest.expect(o.kind, unittest.equals('foo')); 994 unittest.expect(o.kind, unittest.equals('foo'));
995 unittest.expect(o.orderId, unittest.equals('foo')); 995 unittest.expect(o.orderId, unittest.equals('foo'));
996 } 996 }
997 buildCounterOrdersCreateTestOrderResponse--; 997 buildCounterOrdersCreateTestOrderResponse--;
998 } 998 }
999 999
1000 buildUnnamed937() { 1000 buildUnnamed1366() {
1001 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); 1001 var o = new core.List<api.OrdersCustomBatchRequestEntry>();
1002 o.add(buildOrdersCustomBatchRequestEntry()); 1002 o.add(buildOrdersCustomBatchRequestEntry());
1003 o.add(buildOrdersCustomBatchRequestEntry()); 1003 o.add(buildOrdersCustomBatchRequestEntry());
1004 return o; 1004 return o;
1005 } 1005 }
1006 1006
1007 checkUnnamed937(core.List<api.OrdersCustomBatchRequestEntry> o) { 1007 checkUnnamed1366(core.List<api.OrdersCustomBatchRequestEntry> o) {
1008 unittest.expect(o, unittest.hasLength(2)); 1008 unittest.expect(o, unittest.hasLength(2));
1009 checkOrdersCustomBatchRequestEntry(o[0]); 1009 checkOrdersCustomBatchRequestEntry(o[0]);
1010 checkOrdersCustomBatchRequestEntry(o[1]); 1010 checkOrdersCustomBatchRequestEntry(o[1]);
1011 } 1011 }
1012 1012
1013 core.int buildCounterOrdersCustomBatchRequest = 0; 1013 core.int buildCounterOrdersCustomBatchRequest = 0;
1014 buildOrdersCustomBatchRequest() { 1014 buildOrdersCustomBatchRequest() {
1015 var o = new api.OrdersCustomBatchRequest(); 1015 var o = new api.OrdersCustomBatchRequest();
1016 buildCounterOrdersCustomBatchRequest++; 1016 buildCounterOrdersCustomBatchRequest++;
1017 if (buildCounterOrdersCustomBatchRequest < 3) { 1017 if (buildCounterOrdersCustomBatchRequest < 3) {
1018 o.entries = buildUnnamed937(); 1018 o.entries = buildUnnamed1366();
1019 } 1019 }
1020 buildCounterOrdersCustomBatchRequest--; 1020 buildCounterOrdersCustomBatchRequest--;
1021 return o; 1021 return o;
1022 } 1022 }
1023 1023
1024 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { 1024 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
1025 buildCounterOrdersCustomBatchRequest++; 1025 buildCounterOrdersCustomBatchRequest++;
1026 if (buildCounterOrdersCustomBatchRequest < 3) { 1026 if (buildCounterOrdersCustomBatchRequest < 3) {
1027 checkUnnamed937(o.entries); 1027 checkUnnamed1366(o.entries);
1028 } 1028 }
1029 buildCounterOrdersCustomBatchRequest--; 1029 buildCounterOrdersCustomBatchRequest--;
1030 } 1030 }
1031 1031
1032 core.int buildCounterOrdersCustomBatchRequestEntry = 0; 1032 core.int buildCounterOrdersCustomBatchRequestEntry = 0;
1033 buildOrdersCustomBatchRequestEntry() { 1033 buildOrdersCustomBatchRequestEntry() {
1034 var o = new api.OrdersCustomBatchRequestEntry(); 1034 var o = new api.OrdersCustomBatchRequestEntry();
1035 buildCounterOrdersCustomBatchRequestEntry++; 1035 buildCounterOrdersCustomBatchRequestEntry++;
1036 if (buildCounterOrdersCustomBatchRequestEntry < 3) { 1036 if (buildCounterOrdersCustomBatchRequestEntry < 3) {
1037 o.batchId = 42; 1037 o.batchId = 42;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; 1159 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++;
1160 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { 1160 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) {
1161 unittest.expect(o.lineItemId, unittest.equals('foo')); 1161 unittest.expect(o.lineItemId, unittest.equals('foo'));
1162 unittest.expect(o.quantity, unittest.equals(42)); 1162 unittest.expect(o.quantity, unittest.equals(42));
1163 unittest.expect(o.reason, unittest.equals('foo')); 1163 unittest.expect(o.reason, unittest.equals('foo'));
1164 unittest.expect(o.reasonText, unittest.equals('foo')); 1164 unittest.expect(o.reasonText, unittest.equals('foo'));
1165 } 1165 }
1166 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; 1166 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
1167 } 1167 }
1168 1168
1169 buildUnnamed938() { 1169 buildUnnamed1367() {
1170 var o = new core.List<api.OrderShipmentLineItemShipment>(); 1170 var o = new core.List<api.OrderShipmentLineItemShipment>();
1171 o.add(buildOrderShipmentLineItemShipment()); 1171 o.add(buildOrderShipmentLineItemShipment());
1172 o.add(buildOrderShipmentLineItemShipment()); 1172 o.add(buildOrderShipmentLineItemShipment());
1173 return o; 1173 return o;
1174 } 1174 }
1175 1175
1176 checkUnnamed938(core.List<api.OrderShipmentLineItemShipment> o) { 1176 checkUnnamed1367(core.List<api.OrderShipmentLineItemShipment> o) {
1177 unittest.expect(o, unittest.hasLength(2)); 1177 unittest.expect(o, unittest.hasLength(2));
1178 checkOrderShipmentLineItemShipment(o[0]); 1178 checkOrderShipmentLineItemShipment(o[0]);
1179 checkOrderShipmentLineItemShipment(o[1]); 1179 checkOrderShipmentLineItemShipment(o[1]);
1180 } 1180 }
1181 1181
1182 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; 1182 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0;
1183 buildOrdersCustomBatchRequestEntryShipLineItems() { 1183 buildOrdersCustomBatchRequestEntryShipLineItems() {
1184 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); 1184 var o = new api.OrdersCustomBatchRequestEntryShipLineItems();
1185 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; 1185 buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
1186 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { 1186 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
1187 o.carrier = "foo"; 1187 o.carrier = "foo";
1188 o.lineItems = buildUnnamed938(); 1188 o.lineItems = buildUnnamed1367();
1189 o.shipmentId = "foo"; 1189 o.shipmentId = "foo";
1190 o.trackingId = "foo"; 1190 o.trackingId = "foo";
1191 } 1191 }
1192 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; 1192 buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
1193 return o; 1193 return o;
1194 } 1194 }
1195 1195
1196 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr yShipLineItems o) { 1196 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr yShipLineItems o) {
1197 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; 1197 buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
1198 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { 1198 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
1199 unittest.expect(o.carrier, unittest.equals('foo')); 1199 unittest.expect(o.carrier, unittest.equals('foo'));
1200 checkUnnamed938(o.lineItems); 1200 checkUnnamed1367(o.lineItems);
1201 unittest.expect(o.shipmentId, unittest.equals('foo')); 1201 unittest.expect(o.shipmentId, unittest.equals('foo'));
1202 unittest.expect(o.trackingId, unittest.equals('foo')); 1202 unittest.expect(o.trackingId, unittest.equals('foo'));
1203 } 1203 }
1204 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; 1204 buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
1205 } 1205 }
1206 1206
1207 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; 1207 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0;
1208 buildOrdersCustomBatchRequestEntryUpdateShipment() { 1208 buildOrdersCustomBatchRequestEntryUpdateShipment() {
1209 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); 1209 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment();
1210 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; 1210 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++;
(...skipping 11 matching lines...) Expand all
1222 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; 1222 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++;
1223 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { 1223 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) {
1224 unittest.expect(o.carrier, unittest.equals('foo')); 1224 unittest.expect(o.carrier, unittest.equals('foo'));
1225 unittest.expect(o.shipmentId, unittest.equals('foo')); 1225 unittest.expect(o.shipmentId, unittest.equals('foo'));
1226 unittest.expect(o.status, unittest.equals('foo')); 1226 unittest.expect(o.status, unittest.equals('foo'));
1227 unittest.expect(o.trackingId, unittest.equals('foo')); 1227 unittest.expect(o.trackingId, unittest.equals('foo'));
1228 } 1228 }
1229 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; 1229 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
1230 } 1230 }
1231 1231
1232 buildUnnamed939() { 1232 buildUnnamed1368() {
1233 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); 1233 var o = new core.List<api.OrdersCustomBatchResponseEntry>();
1234 o.add(buildOrdersCustomBatchResponseEntry()); 1234 o.add(buildOrdersCustomBatchResponseEntry());
1235 o.add(buildOrdersCustomBatchResponseEntry()); 1235 o.add(buildOrdersCustomBatchResponseEntry());
1236 return o; 1236 return o;
1237 } 1237 }
1238 1238
1239 checkUnnamed939(core.List<api.OrdersCustomBatchResponseEntry> o) { 1239 checkUnnamed1368(core.List<api.OrdersCustomBatchResponseEntry> o) {
1240 unittest.expect(o, unittest.hasLength(2)); 1240 unittest.expect(o, unittest.hasLength(2));
1241 checkOrdersCustomBatchResponseEntry(o[0]); 1241 checkOrdersCustomBatchResponseEntry(o[0]);
1242 checkOrdersCustomBatchResponseEntry(o[1]); 1242 checkOrdersCustomBatchResponseEntry(o[1]);
1243 } 1243 }
1244 1244
1245 core.int buildCounterOrdersCustomBatchResponse = 0; 1245 core.int buildCounterOrdersCustomBatchResponse = 0;
1246 buildOrdersCustomBatchResponse() { 1246 buildOrdersCustomBatchResponse() {
1247 var o = new api.OrdersCustomBatchResponse(); 1247 var o = new api.OrdersCustomBatchResponse();
1248 buildCounterOrdersCustomBatchResponse++; 1248 buildCounterOrdersCustomBatchResponse++;
1249 if (buildCounterOrdersCustomBatchResponse < 3) { 1249 if (buildCounterOrdersCustomBatchResponse < 3) {
1250 o.entries = buildUnnamed939(); 1250 o.entries = buildUnnamed1368();
1251 o.kind = "foo"; 1251 o.kind = "foo";
1252 } 1252 }
1253 buildCounterOrdersCustomBatchResponse--; 1253 buildCounterOrdersCustomBatchResponse--;
1254 return o; 1254 return o;
1255 } 1255 }
1256 1256
1257 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { 1257 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
1258 buildCounterOrdersCustomBatchResponse++; 1258 buildCounterOrdersCustomBatchResponse++;
1259 if (buildCounterOrdersCustomBatchResponse < 3) { 1259 if (buildCounterOrdersCustomBatchResponse < 3) {
1260 checkUnnamed939(o.entries); 1260 checkUnnamed1368(o.entries);
1261 unittest.expect(o.kind, unittest.equals('foo')); 1261 unittest.expect(o.kind, unittest.equals('foo'));
1262 } 1262 }
1263 buildCounterOrdersCustomBatchResponse--; 1263 buildCounterOrdersCustomBatchResponse--;
1264 } 1264 }
1265 1265
1266 core.int buildCounterOrdersCustomBatchResponseEntry = 0; 1266 core.int buildCounterOrdersCustomBatchResponseEntry = 0;
1267 buildOrdersCustomBatchResponseEntry() { 1267 buildOrdersCustomBatchResponseEntry() {
1268 var o = new api.OrdersCustomBatchResponseEntry(); 1268 var o = new api.OrdersCustomBatchResponseEntry();
1269 buildCounterOrdersCustomBatchResponseEntry++; 1269 buildCounterOrdersCustomBatchResponseEntry++;
1270 if (buildCounterOrdersCustomBatchResponseEntry < 3) { 1270 if (buildCounterOrdersCustomBatchResponseEntry < 3) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 1325
1326 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o ) { 1326 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o ) {
1327 buildCounterOrdersGetTestOrderTemplateResponse++; 1327 buildCounterOrdersGetTestOrderTemplateResponse++;
1328 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { 1328 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) {
1329 unittest.expect(o.kind, unittest.equals('foo')); 1329 unittest.expect(o.kind, unittest.equals('foo'));
1330 checkTestOrder(o.template); 1330 checkTestOrder(o.template);
1331 } 1331 }
1332 buildCounterOrdersGetTestOrderTemplateResponse--; 1332 buildCounterOrdersGetTestOrderTemplateResponse--;
1333 } 1333 }
1334 1334
1335 buildUnnamed940() { 1335 buildUnnamed1369() {
1336 var o = new core.List<api.Order>(); 1336 var o = new core.List<api.Order>();
1337 o.add(buildOrder()); 1337 o.add(buildOrder());
1338 o.add(buildOrder()); 1338 o.add(buildOrder());
1339 return o; 1339 return o;
1340 } 1340 }
1341 1341
1342 checkUnnamed940(core.List<api.Order> o) { 1342 checkUnnamed1369(core.List<api.Order> o) {
1343 unittest.expect(o, unittest.hasLength(2)); 1343 unittest.expect(o, unittest.hasLength(2));
1344 checkOrder(o[0]); 1344 checkOrder(o[0]);
1345 checkOrder(o[1]); 1345 checkOrder(o[1]);
1346 } 1346 }
1347 1347
1348 core.int buildCounterOrdersListResponse = 0; 1348 core.int buildCounterOrdersListResponse = 0;
1349 buildOrdersListResponse() { 1349 buildOrdersListResponse() {
1350 var o = new api.OrdersListResponse(); 1350 var o = new api.OrdersListResponse();
1351 buildCounterOrdersListResponse++; 1351 buildCounterOrdersListResponse++;
1352 if (buildCounterOrdersListResponse < 3) { 1352 if (buildCounterOrdersListResponse < 3) {
1353 o.kind = "foo"; 1353 o.kind = "foo";
1354 o.nextPageToken = "foo"; 1354 o.nextPageToken = "foo";
1355 o.resources = buildUnnamed940(); 1355 o.resources = buildUnnamed1369();
1356 } 1356 }
1357 buildCounterOrdersListResponse--; 1357 buildCounterOrdersListResponse--;
1358 return o; 1358 return o;
1359 } 1359 }
1360 1360
1361 checkOrdersListResponse(api.OrdersListResponse o) { 1361 checkOrdersListResponse(api.OrdersListResponse o) {
1362 buildCounterOrdersListResponse++; 1362 buildCounterOrdersListResponse++;
1363 if (buildCounterOrdersListResponse < 3) { 1363 if (buildCounterOrdersListResponse < 3) {
1364 unittest.expect(o.kind, unittest.equals('foo')); 1364 unittest.expect(o.kind, unittest.equals('foo'));
1365 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1365 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1366 checkUnnamed940(o.resources); 1366 checkUnnamed1369(o.resources);
1367 } 1367 }
1368 buildCounterOrdersListResponse--; 1368 buildCounterOrdersListResponse--;
1369 } 1369 }
1370 1370
1371 core.int buildCounterOrdersRefundRequest = 0; 1371 core.int buildCounterOrdersRefundRequest = 0;
1372 buildOrdersRefundRequest() { 1372 buildOrdersRefundRequest() {
1373 var o = new api.OrdersRefundRequest(); 1373 var o = new api.OrdersRefundRequest();
1374 buildCounterOrdersRefundRequest++; 1374 buildCounterOrdersRefundRequest++;
1375 if (buildCounterOrdersRefundRequest < 3) { 1375 if (buildCounterOrdersRefundRequest < 3) {
1376 o.amount = buildPrice(); 1376 o.amount = buildPrice();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 1455
1456 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { 1456 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) {
1457 buildCounterOrdersReturnLineItemResponse++; 1457 buildCounterOrdersReturnLineItemResponse++;
1458 if (buildCounterOrdersReturnLineItemResponse < 3) { 1458 if (buildCounterOrdersReturnLineItemResponse < 3) {
1459 unittest.expect(o.executionStatus, unittest.equals('foo')); 1459 unittest.expect(o.executionStatus, unittest.equals('foo'));
1460 unittest.expect(o.kind, unittest.equals('foo')); 1460 unittest.expect(o.kind, unittest.equals('foo'));
1461 } 1461 }
1462 buildCounterOrdersReturnLineItemResponse--; 1462 buildCounterOrdersReturnLineItemResponse--;
1463 } 1463 }
1464 1464
1465 buildUnnamed941() { 1465 buildUnnamed1370() {
1466 var o = new core.List<api.OrderShipmentLineItemShipment>(); 1466 var o = new core.List<api.OrderShipmentLineItemShipment>();
1467 o.add(buildOrderShipmentLineItemShipment()); 1467 o.add(buildOrderShipmentLineItemShipment());
1468 o.add(buildOrderShipmentLineItemShipment()); 1468 o.add(buildOrderShipmentLineItemShipment());
1469 return o; 1469 return o;
1470 } 1470 }
1471 1471
1472 checkUnnamed941(core.List<api.OrderShipmentLineItemShipment> o) { 1472 checkUnnamed1370(core.List<api.OrderShipmentLineItemShipment> o) {
1473 unittest.expect(o, unittest.hasLength(2)); 1473 unittest.expect(o, unittest.hasLength(2));
1474 checkOrderShipmentLineItemShipment(o[0]); 1474 checkOrderShipmentLineItemShipment(o[0]);
1475 checkOrderShipmentLineItemShipment(o[1]); 1475 checkOrderShipmentLineItemShipment(o[1]);
1476 } 1476 }
1477 1477
1478 core.int buildCounterOrdersShipLineItemsRequest = 0; 1478 core.int buildCounterOrdersShipLineItemsRequest = 0;
1479 buildOrdersShipLineItemsRequest() { 1479 buildOrdersShipLineItemsRequest() {
1480 var o = new api.OrdersShipLineItemsRequest(); 1480 var o = new api.OrdersShipLineItemsRequest();
1481 buildCounterOrdersShipLineItemsRequest++; 1481 buildCounterOrdersShipLineItemsRequest++;
1482 if (buildCounterOrdersShipLineItemsRequest < 3) { 1482 if (buildCounterOrdersShipLineItemsRequest < 3) {
1483 o.carrier = "foo"; 1483 o.carrier = "foo";
1484 o.lineItems = buildUnnamed941(); 1484 o.lineItems = buildUnnamed1370();
1485 o.operationId = "foo"; 1485 o.operationId = "foo";
1486 o.shipmentId = "foo"; 1486 o.shipmentId = "foo";
1487 o.trackingId = "foo"; 1487 o.trackingId = "foo";
1488 } 1488 }
1489 buildCounterOrdersShipLineItemsRequest--; 1489 buildCounterOrdersShipLineItemsRequest--;
1490 return o; 1490 return o;
1491 } 1491 }
1492 1492
1493 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { 1493 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) {
1494 buildCounterOrdersShipLineItemsRequest++; 1494 buildCounterOrdersShipLineItemsRequest++;
1495 if (buildCounterOrdersShipLineItemsRequest < 3) { 1495 if (buildCounterOrdersShipLineItemsRequest < 3) {
1496 unittest.expect(o.carrier, unittest.equals('foo')); 1496 unittest.expect(o.carrier, unittest.equals('foo'));
1497 checkUnnamed941(o.lineItems); 1497 checkUnnamed1370(o.lineItems);
1498 unittest.expect(o.operationId, unittest.equals('foo')); 1498 unittest.expect(o.operationId, unittest.equals('foo'));
1499 unittest.expect(o.shipmentId, unittest.equals('foo')); 1499 unittest.expect(o.shipmentId, unittest.equals('foo'));
1500 unittest.expect(o.trackingId, unittest.equals('foo')); 1500 unittest.expect(o.trackingId, unittest.equals('foo'));
1501 } 1501 }
1502 buildCounterOrdersShipLineItemsRequest--; 1502 buildCounterOrdersShipLineItemsRequest--;
1503 } 1503 }
1504 1504
1505 core.int buildCounterOrdersShipLineItemsResponse = 0; 1505 core.int buildCounterOrdersShipLineItemsResponse = 0;
1506 buildOrdersShipLineItemsResponse() { 1506 buildOrdersShipLineItemsResponse() {
1507 var o = new api.OrdersShipLineItemsResponse(); 1507 var o = new api.OrdersShipLineItemsResponse();
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 1627
1628 checkPrice(api.Price o) { 1628 checkPrice(api.Price o) {
1629 buildCounterPrice++; 1629 buildCounterPrice++;
1630 if (buildCounterPrice < 3) { 1630 if (buildCounterPrice < 3) {
1631 unittest.expect(o.currency, unittest.equals('foo')); 1631 unittest.expect(o.currency, unittest.equals('foo'));
1632 unittest.expect(o.value, unittest.equals('foo')); 1632 unittest.expect(o.value, unittest.equals('foo'));
1633 } 1633 }
1634 buildCounterPrice--; 1634 buildCounterPrice--;
1635 } 1635 }
1636 1636
1637 buildUnnamed942() { 1637 buildUnnamed1371() {
1638 var o = new core.List<api.TestOrderLineItem>(); 1638 var o = new core.List<api.TestOrderLineItem>();
1639 o.add(buildTestOrderLineItem()); 1639 o.add(buildTestOrderLineItem());
1640 o.add(buildTestOrderLineItem()); 1640 o.add(buildTestOrderLineItem());
1641 return o; 1641 return o;
1642 } 1642 }
1643 1643
1644 checkUnnamed942(core.List<api.TestOrderLineItem> o) { 1644 checkUnnamed1371(core.List<api.TestOrderLineItem> o) {
1645 unittest.expect(o, unittest.hasLength(2)); 1645 unittest.expect(o, unittest.hasLength(2));
1646 checkTestOrderLineItem(o[0]); 1646 checkTestOrderLineItem(o[0]);
1647 checkTestOrderLineItem(o[1]); 1647 checkTestOrderLineItem(o[1]);
1648 } 1648 }
1649 1649
1650 buildUnnamed943() { 1650 buildUnnamed1372() {
1651 var o = new core.List<api.OrderPromotion>(); 1651 var o = new core.List<api.OrderPromotion>();
1652 o.add(buildOrderPromotion()); 1652 o.add(buildOrderPromotion());
1653 o.add(buildOrderPromotion()); 1653 o.add(buildOrderPromotion());
1654 return o; 1654 return o;
1655 } 1655 }
1656 1656
1657 checkUnnamed943(core.List<api.OrderPromotion> o) { 1657 checkUnnamed1372(core.List<api.OrderPromotion> o) {
1658 unittest.expect(o, unittest.hasLength(2)); 1658 unittest.expect(o, unittest.hasLength(2));
1659 checkOrderPromotion(o[0]); 1659 checkOrderPromotion(o[0]);
1660 checkOrderPromotion(o[1]); 1660 checkOrderPromotion(o[1]);
1661 } 1661 }
1662 1662
1663 core.int buildCounterTestOrder = 0; 1663 core.int buildCounterTestOrder = 0;
1664 buildTestOrder() { 1664 buildTestOrder() {
1665 var o = new api.TestOrder(); 1665 var o = new api.TestOrder();
1666 buildCounterTestOrder++; 1666 buildCounterTestOrder++;
1667 if (buildCounterTestOrder < 3) { 1667 if (buildCounterTestOrder < 3) {
1668 o.customer = buildTestOrderCustomer(); 1668 o.customer = buildTestOrderCustomer();
1669 o.kind = "foo"; 1669 o.kind = "foo";
1670 o.lineItems = buildUnnamed942(); 1670 o.lineItems = buildUnnamed1371();
1671 o.paymentMethod = buildTestOrderPaymentMethod(); 1671 o.paymentMethod = buildTestOrderPaymentMethod();
1672 o.predefinedDeliveryAddress = "foo"; 1672 o.predefinedDeliveryAddress = "foo";
1673 o.promotions = buildUnnamed943(); 1673 o.promotions = buildUnnamed1372();
1674 o.shippingCost = buildPrice(); 1674 o.shippingCost = buildPrice();
1675 o.shippingCostTax = buildPrice(); 1675 o.shippingCostTax = buildPrice();
1676 o.shippingOption = "foo"; 1676 o.shippingOption = "foo";
1677 } 1677 }
1678 buildCounterTestOrder--; 1678 buildCounterTestOrder--;
1679 return o; 1679 return o;
1680 } 1680 }
1681 1681
1682 checkTestOrder(api.TestOrder o) { 1682 checkTestOrder(api.TestOrder o) {
1683 buildCounterTestOrder++; 1683 buildCounterTestOrder++;
1684 if (buildCounterTestOrder < 3) { 1684 if (buildCounterTestOrder < 3) {
1685 checkTestOrderCustomer(o.customer); 1685 checkTestOrderCustomer(o.customer);
1686 unittest.expect(o.kind, unittest.equals('foo')); 1686 unittest.expect(o.kind, unittest.equals('foo'));
1687 checkUnnamed942(o.lineItems); 1687 checkUnnamed1371(o.lineItems);
1688 checkTestOrderPaymentMethod(o.paymentMethod); 1688 checkTestOrderPaymentMethod(o.paymentMethod);
1689 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); 1689 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
1690 checkUnnamed943(o.promotions); 1690 checkUnnamed1372(o.promotions);
1691 checkPrice(o.shippingCost); 1691 checkPrice(o.shippingCost);
1692 checkPrice(o.shippingCostTax); 1692 checkPrice(o.shippingCostTax);
1693 unittest.expect(o.shippingOption, unittest.equals('foo')); 1693 unittest.expect(o.shippingOption, unittest.equals('foo'));
1694 } 1694 }
1695 buildCounterTestOrder--; 1695 buildCounterTestOrder--;
1696 } 1696 }
1697 1697
1698 core.int buildCounterTestOrderCustomer = 0; 1698 core.int buildCounterTestOrderCustomer = 0;
1699 buildTestOrderCustomer() { 1699 buildTestOrderCustomer() {
1700 var o = new api.TestOrderCustomer(); 1700 var o = new api.TestOrderCustomer();
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 if (buildCounterTestOrderLineItem < 3) { 1738 if (buildCounterTestOrderLineItem < 3) {
1739 checkTestOrderLineItemProduct(o.product); 1739 checkTestOrderLineItemProduct(o.product);
1740 unittest.expect(o.quantityOrdered, unittest.equals(42)); 1740 unittest.expect(o.quantityOrdered, unittest.equals(42));
1741 checkOrderLineItemReturnInfo(o.returnInfo); 1741 checkOrderLineItemReturnInfo(o.returnInfo);
1742 checkOrderLineItemShippingDetails(o.shippingDetails); 1742 checkOrderLineItemShippingDetails(o.shippingDetails);
1743 checkPrice(o.unitTax); 1743 checkPrice(o.unitTax);
1744 } 1744 }
1745 buildCounterTestOrderLineItem--; 1745 buildCounterTestOrderLineItem--;
1746 } 1746 }
1747 1747
1748 buildUnnamed944() { 1748 buildUnnamed1373() {
1749 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); 1749 var o = new core.List<api.OrderLineItemProductVariantAttribute>();
1750 o.add(buildOrderLineItemProductVariantAttribute()); 1750 o.add(buildOrderLineItemProductVariantAttribute());
1751 o.add(buildOrderLineItemProductVariantAttribute()); 1751 o.add(buildOrderLineItemProductVariantAttribute());
1752 return o; 1752 return o;
1753 } 1753 }
1754 1754
1755 checkUnnamed944(core.List<api.OrderLineItemProductVariantAttribute> o) { 1755 checkUnnamed1373(core.List<api.OrderLineItemProductVariantAttribute> o) {
1756 unittest.expect(o, unittest.hasLength(2)); 1756 unittest.expect(o, unittest.hasLength(2));
1757 checkOrderLineItemProductVariantAttribute(o[0]); 1757 checkOrderLineItemProductVariantAttribute(o[0]);
1758 checkOrderLineItemProductVariantAttribute(o[1]); 1758 checkOrderLineItemProductVariantAttribute(o[1]);
1759 } 1759 }
1760 1760
1761 core.int buildCounterTestOrderLineItemProduct = 0; 1761 core.int buildCounterTestOrderLineItemProduct = 0;
1762 buildTestOrderLineItemProduct() { 1762 buildTestOrderLineItemProduct() {
1763 var o = new api.TestOrderLineItemProduct(); 1763 var o = new api.TestOrderLineItemProduct();
1764 buildCounterTestOrderLineItemProduct++; 1764 buildCounterTestOrderLineItemProduct++;
1765 if (buildCounterTestOrderLineItemProduct < 3) { 1765 if (buildCounterTestOrderLineItemProduct < 3) {
1766 o.brand = "foo"; 1766 o.brand = "foo";
1767 o.channel = "foo"; 1767 o.channel = "foo";
1768 o.condition = "foo"; 1768 o.condition = "foo";
1769 o.contentLanguage = "foo"; 1769 o.contentLanguage = "foo";
1770 o.gtin = "foo"; 1770 o.gtin = "foo";
1771 o.imageLink = "foo"; 1771 o.imageLink = "foo";
1772 o.itemGroupId = "foo"; 1772 o.itemGroupId = "foo";
1773 o.mpn = "foo"; 1773 o.mpn = "foo";
1774 o.offerId = "foo"; 1774 o.offerId = "foo";
1775 o.price = buildPrice(); 1775 o.price = buildPrice();
1776 o.targetCountry = "foo"; 1776 o.targetCountry = "foo";
1777 o.title = "foo"; 1777 o.title = "foo";
1778 o.variantAttributes = buildUnnamed944(); 1778 o.variantAttributes = buildUnnamed1373();
1779 } 1779 }
1780 buildCounterTestOrderLineItemProduct--; 1780 buildCounterTestOrderLineItemProduct--;
1781 return o; 1781 return o;
1782 } 1782 }
1783 1783
1784 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { 1784 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) {
1785 buildCounterTestOrderLineItemProduct++; 1785 buildCounterTestOrderLineItemProduct++;
1786 if (buildCounterTestOrderLineItemProduct < 3) { 1786 if (buildCounterTestOrderLineItemProduct < 3) {
1787 unittest.expect(o.brand, unittest.equals('foo')); 1787 unittest.expect(o.brand, unittest.equals('foo'));
1788 unittest.expect(o.channel, unittest.equals('foo')); 1788 unittest.expect(o.channel, unittest.equals('foo'));
1789 unittest.expect(o.condition, unittest.equals('foo')); 1789 unittest.expect(o.condition, unittest.equals('foo'));
1790 unittest.expect(o.contentLanguage, unittest.equals('foo')); 1790 unittest.expect(o.contentLanguage, unittest.equals('foo'));
1791 unittest.expect(o.gtin, unittest.equals('foo')); 1791 unittest.expect(o.gtin, unittest.equals('foo'));
1792 unittest.expect(o.imageLink, unittest.equals('foo')); 1792 unittest.expect(o.imageLink, unittest.equals('foo'));
1793 unittest.expect(o.itemGroupId, unittest.equals('foo')); 1793 unittest.expect(o.itemGroupId, unittest.equals('foo'));
1794 unittest.expect(o.mpn, unittest.equals('foo')); 1794 unittest.expect(o.mpn, unittest.equals('foo'));
1795 unittest.expect(o.offerId, unittest.equals('foo')); 1795 unittest.expect(o.offerId, unittest.equals('foo'));
1796 checkPrice(o.price); 1796 checkPrice(o.price);
1797 unittest.expect(o.targetCountry, unittest.equals('foo')); 1797 unittest.expect(o.targetCountry, unittest.equals('foo'));
1798 unittest.expect(o.title, unittest.equals('foo')); 1798 unittest.expect(o.title, unittest.equals('foo'));
1799 checkUnnamed944(o.variantAttributes); 1799 checkUnnamed1373(o.variantAttributes);
1800 } 1800 }
1801 buildCounterTestOrderLineItemProduct--; 1801 buildCounterTestOrderLineItemProduct--;
1802 } 1802 }
1803 1803
1804 core.int buildCounterTestOrderPaymentMethod = 0; 1804 core.int buildCounterTestOrderPaymentMethod = 0;
1805 buildTestOrderPaymentMethod() { 1805 buildTestOrderPaymentMethod() {
1806 var o = new api.TestOrderPaymentMethod(); 1806 var o = new api.TestOrderPaymentMethod();
1807 buildCounterTestOrderPaymentMethod++; 1807 buildCounterTestOrderPaymentMethod++;
1808 if (buildCounterTestOrderPaymentMethod < 3) { 1808 if (buildCounterTestOrderPaymentMethod < 3) {
1809 o.expirationMonth = 42; 1809 o.expirationMonth = 42;
(...skipping 11 matching lines...) Expand all
1821 if (buildCounterTestOrderPaymentMethod < 3) { 1821 if (buildCounterTestOrderPaymentMethod < 3) {
1822 unittest.expect(o.expirationMonth, unittest.equals(42)); 1822 unittest.expect(o.expirationMonth, unittest.equals(42));
1823 unittest.expect(o.expirationYear, unittest.equals(42)); 1823 unittest.expect(o.expirationYear, unittest.equals(42));
1824 unittest.expect(o.lastFourDigits, unittest.equals('foo')); 1824 unittest.expect(o.lastFourDigits, unittest.equals('foo'));
1825 unittest.expect(o.predefinedBillingAddress, unittest.equals('foo')); 1825 unittest.expect(o.predefinedBillingAddress, unittest.equals('foo'));
1826 unittest.expect(o.type, unittest.equals('foo')); 1826 unittest.expect(o.type, unittest.equals('foo'));
1827 } 1827 }
1828 buildCounterTestOrderPaymentMethod--; 1828 buildCounterTestOrderPaymentMethod--;
1829 } 1829 }
1830 1830
1831 buildUnnamed945() { 1831 buildUnnamed1374() {
1832 var o = new core.List<core.String>(); 1832 var o = new core.List<core.String>();
1833 o.add("foo"); 1833 o.add("foo");
1834 o.add("foo"); 1834 o.add("foo");
1835 return o; 1835 return o;
1836 } 1836 }
1837 1837
1838 checkUnnamed945(core.List<core.String> o) { 1838 checkUnnamed1374(core.List<core.String> o) {
1839 unittest.expect(o, unittest.hasLength(2)); 1839 unittest.expect(o, unittest.hasLength(2));
1840 unittest.expect(o[0], unittest.equals('foo')); 1840 unittest.expect(o[0], unittest.equals('foo'));
1841 unittest.expect(o[1], unittest.equals('foo')); 1841 unittest.expect(o[1], unittest.equals('foo'));
1842 } 1842 }
1843 1843
1844 1844
1845 main() { 1845 main() {
1846 unittest.group("obj-schema-Error", () { 1846 unittest.group("obj-schema-Error", () {
1847 unittest.test("to-json--from-json", () { 1847 unittest.test("to-json--from-json", () {
1848 var o = buildError(); 1848 var o = buildError();
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
2778 2778
2779 var mock = new HttpServerMock(); 2779 var mock = new HttpServerMock();
2780 api.OrdersResourceApi res = new api.ContentApi(mock).orders; 2780 api.OrdersResourceApi res = new api.ContentApi(mock).orders;
2781 var arg_merchantId = "foo"; 2781 var arg_merchantId = "foo";
2782 var arg_acknowledged = true; 2782 var arg_acknowledged = true;
2783 var arg_maxResults = 42; 2783 var arg_maxResults = 42;
2784 var arg_orderBy = "foo"; 2784 var arg_orderBy = "foo";
2785 var arg_pageToken = "foo"; 2785 var arg_pageToken = "foo";
2786 var arg_placedDateEnd = "foo"; 2786 var arg_placedDateEnd = "foo";
2787 var arg_placedDateStart = "foo"; 2787 var arg_placedDateStart = "foo";
2788 var arg_statuses = buildUnnamed945(); 2788 var arg_statuses = buildUnnamed1374();
2789 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 2789 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
2790 var path = (req.url).path; 2790 var path = (req.url).path;
2791 var pathOffset = 0; 2791 var pathOffset = 0;
2792 var index; 2792 var index;
2793 var subPart; 2793 var subPart;
2794 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 2794 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
2795 pathOffset += 1; 2795 pathOffset += 1;
2796 2796
2797 var query = (req.url).query; 2797 var query = (req.url).query;
2798 var queryOffset = 0; 2798 var queryOffset = 0;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
3063 res.updateshipment(arg_request, arg_merchantId, arg_orderId).then(unittest .expectAsync(((api.OrdersUpdateShipmentResponse response) { 3063 res.updateshipment(arg_request, arg_merchantId, arg_orderId).then(unittest .expectAsync(((api.OrdersUpdateShipmentResponse response) {
3064 checkOrdersUpdateShipmentResponse(response); 3064 checkOrdersUpdateShipmentResponse(response);
3065 }))); 3065 })));
3066 }); 3066 });
3067 3067
3068 }); 3068 });
3069 3069
3070 3070
3071 } 3071 }
3072 3072
OLDNEW
« no previous file with comments | « generated/googleapis/test/content/v2_test.dart ('k') | generated/googleapis/test/coordinate/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698