| Index: generated/googleapis/test/content/v2sandbox_test.dart
|
| diff --git a/generated/googleapis/test/content/v2sandbox_test.dart b/generated/googleapis/test/content/v2sandbox_test.dart
|
| index d77220823c27c3c8c7a6f0015df64a138ddd631a..39eba4b77753576a2fe1789b236d144834634316 100644
|
| --- a/generated/googleapis/test/content/v2sandbox_test.dart
|
| +++ b/generated/googleapis/test/content/v2sandbox_test.dart
|
| @@ -74,14 +74,14 @@ checkError(api.Error o) {
|
| buildCounterError--;
|
| }
|
|
|
| -buildUnnamed1489() {
|
| +buildUnnamed1499() {
|
| var o = new core.List<api.Error>();
|
| o.add(buildError());
|
| o.add(buildError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1489(core.List<api.Error> o) {
|
| +checkUnnamed1499(core.List<api.Error> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkError(o[0]);
|
| checkError(o[1]);
|
| @@ -93,7 +93,7 @@ buildErrors() {
|
| buildCounterErrors++;
|
| if (buildCounterErrors < 3) {
|
| o.code = 42;
|
| - o.errors = buildUnnamed1489();
|
| + o.errors = buildUnnamed1499();
|
| o.message = "foo";
|
| }
|
| buildCounterErrors--;
|
| @@ -104,59 +104,59 @@ checkErrors(api.Errors o) {
|
| buildCounterErrors++;
|
| if (buildCounterErrors < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1489(o.errors);
|
| + checkUnnamed1499(o.errors);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterErrors--;
|
| }
|
|
|
| -buildUnnamed1490() {
|
| +buildUnnamed1500() {
|
| var o = new core.List<api.OrderLineItem>();
|
| o.add(buildOrderLineItem());
|
| o.add(buildOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1490(core.List<api.OrderLineItem> o) {
|
| +checkUnnamed1500(core.List<api.OrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItem(o[0]);
|
| checkOrderLineItem(o[1]);
|
| }
|
|
|
| -buildUnnamed1491() {
|
| +buildUnnamed1501() {
|
| var o = new core.List<api.OrderPromotion>();
|
| o.add(buildOrderPromotion());
|
| o.add(buildOrderPromotion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1491(core.List<api.OrderPromotion> o) {
|
| +checkUnnamed1501(core.List<api.OrderPromotion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotion(o[0]);
|
| checkOrderPromotion(o[1]);
|
| }
|
|
|
| -buildUnnamed1492() {
|
| +buildUnnamed1502() {
|
| var o = new core.List<api.OrderRefund>();
|
| o.add(buildOrderRefund());
|
| o.add(buildOrderRefund());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1492(core.List<api.OrderRefund> o) {
|
| +checkUnnamed1502(core.List<api.OrderRefund> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderRefund(o[0]);
|
| checkOrderRefund(o[1]);
|
| }
|
|
|
| -buildUnnamed1493() {
|
| +buildUnnamed1503() {
|
| var o = new core.List<api.OrderShipment>();
|
| o.add(buildOrderShipment());
|
| o.add(buildOrderShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1493(core.List<api.OrderShipment> o) {
|
| +checkUnnamed1503(core.List<api.OrderShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipment(o[0]);
|
| checkOrderShipment(o[1]);
|
| @@ -168,20 +168,21 @@ buildOrder() {
|
| buildCounterOrder++;
|
| if (buildCounterOrder < 3) {
|
| o.acknowledged = true;
|
| + o.channelType = "foo";
|
| o.customer = buildOrderCustomer();
|
| o.deliveryDetails = buildOrderDeliveryDetails();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed1490();
|
| + o.lineItems = buildUnnamed1500();
|
| o.merchantId = "foo";
|
| o.merchantOrderId = "foo";
|
| o.netAmount = buildPrice();
|
| o.paymentMethod = buildOrderPaymentMethod();
|
| o.paymentStatus = "foo";
|
| o.placedDate = "foo";
|
| - o.promotions = buildUnnamed1491();
|
| - o.refunds = buildUnnamed1492();
|
| - o.shipments = buildUnnamed1493();
|
| + o.promotions = buildUnnamed1501();
|
| + o.refunds = buildUnnamed1502();
|
| + o.shipments = buildUnnamed1503();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -195,20 +196,21 @@ checkOrder(api.Order o) {
|
| buildCounterOrder++;
|
| if (buildCounterOrder < 3) {
|
| unittest.expect(o.acknowledged, unittest.isTrue);
|
| + unittest.expect(o.channelType, unittest.equals('foo'));
|
| checkOrderCustomer(o.customer);
|
| checkOrderDeliveryDetails(o.deliveryDetails);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1490(o.lineItems);
|
| + checkUnnamed1500(o.lineItems);
|
| unittest.expect(o.merchantId, unittest.equals('foo'));
|
| unittest.expect(o.merchantOrderId, unittest.equals('foo'));
|
| checkPrice(o.netAmount);
|
| checkOrderPaymentMethod(o.paymentMethod);
|
| unittest.expect(o.paymentStatus, unittest.equals('foo'));
|
| unittest.expect(o.placedDate, unittest.equals('foo'));
|
| - checkUnnamed1491(o.promotions);
|
| - checkUnnamed1492(o.refunds);
|
| - checkUnnamed1493(o.shipments);
|
| + checkUnnamed1501(o.promotions);
|
| + checkUnnamed1502(o.refunds);
|
| + checkUnnamed1503(o.shipments);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -217,27 +219,27 @@ checkOrder(api.Order o) {
|
| buildCounterOrder--;
|
| }
|
|
|
| -buildUnnamed1494() {
|
| +buildUnnamed1504() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1494(core.List<core.String> o) {
|
| +checkUnnamed1504(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1495() {
|
| +buildUnnamed1505() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1495(core.List<core.String> o) {
|
| +checkUnnamed1505(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -249,13 +251,13 @@ buildOrderAddress() {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| o.country = "foo";
|
| - o.fullAddress = buildUnnamed1494();
|
| + o.fullAddress = buildUnnamed1504();
|
| o.isPostOfficeBox = true;
|
| o.locality = "foo";
|
| o.postalCode = "foo";
|
| o.recipientName = "foo";
|
| o.region = "foo";
|
| - o.streetAddress = buildUnnamed1495();
|
| + o.streetAddress = buildUnnamed1505();
|
| }
|
| buildCounterOrderAddress--;
|
| return o;
|
| @@ -265,13 +267,13 @@ checkOrderAddress(api.OrderAddress o) {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| unittest.expect(o.country, unittest.equals('foo'));
|
| - checkUnnamed1494(o.fullAddress);
|
| + checkUnnamed1504(o.fullAddress);
|
| unittest.expect(o.isPostOfficeBox, unittest.isTrue);
|
| unittest.expect(o.locality, unittest.equals('foo'));
|
| unittest.expect(o.postalCode, unittest.equals('foo'));
|
| unittest.expect(o.recipientName, unittest.equals('foo'));
|
| unittest.expect(o.region, unittest.equals('foo'));
|
| - checkUnnamed1495(o.streetAddress);
|
| + checkUnnamed1505(o.streetAddress);
|
| }
|
| buildCounterOrderAddress--;
|
| }
|
| @@ -347,27 +349,27 @@ checkOrderDeliveryDetails(api.OrderDeliveryDetails o) {
|
| buildCounterOrderDeliveryDetails--;
|
| }
|
|
|
| -buildUnnamed1496() {
|
| +buildUnnamed1506() {
|
| var o = new core.List<api.OrderCancellation>();
|
| o.add(buildOrderCancellation());
|
| o.add(buildOrderCancellation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1496(core.List<api.OrderCancellation> o) {
|
| +checkUnnamed1506(core.List<api.OrderCancellation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderCancellation(o[0]);
|
| checkOrderCancellation(o[1]);
|
| }
|
|
|
| -buildUnnamed1497() {
|
| +buildUnnamed1507() {
|
| var o = new core.List<api.OrderReturn>();
|
| o.add(buildOrderReturn());
|
| o.add(buildOrderReturn());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1497(core.List<api.OrderReturn> o) {
|
| +checkUnnamed1507(core.List<api.OrderReturn> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderReturn(o[0]);
|
| checkOrderReturn(o[1]);
|
| @@ -378,7 +380,7 @@ buildOrderLineItem() {
|
| var o = new api.OrderLineItem();
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - o.cancellations = buildUnnamed1496();
|
| + o.cancellations = buildUnnamed1506();
|
| o.id = "foo";
|
| o.price = buildPrice();
|
| o.product = buildOrderLineItemProduct();
|
| @@ -389,7 +391,7 @@ buildOrderLineItem() {
|
| o.quantityReturned = 42;
|
| o.quantityShipped = 42;
|
| o.returnInfo = buildOrderLineItemReturnInfo();
|
| - o.returns = buildUnnamed1497();
|
| + o.returns = buildUnnamed1507();
|
| o.shippingDetails = buildOrderLineItemShippingDetails();
|
| o.tax = buildPrice();
|
| }
|
| @@ -400,7 +402,7 @@ buildOrderLineItem() {
|
| checkOrderLineItem(api.OrderLineItem o) {
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - checkUnnamed1496(o.cancellations);
|
| + checkUnnamed1506(o.cancellations);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkPrice(o.price);
|
| checkOrderLineItemProduct(o.product);
|
| @@ -411,21 +413,21 @@ checkOrderLineItem(api.OrderLineItem o) {
|
| unittest.expect(o.quantityReturned, unittest.equals(42));
|
| unittest.expect(o.quantityShipped, unittest.equals(42));
|
| checkOrderLineItemReturnInfo(o.returnInfo);
|
| - checkUnnamed1497(o.returns);
|
| + checkUnnamed1507(o.returns);
|
| checkOrderLineItemShippingDetails(o.shippingDetails);
|
| checkPrice(o.tax);
|
| }
|
| buildCounterOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed1498() {
|
| +buildUnnamed1508() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1498(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed1508(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -450,7 +452,7 @@ buildOrderLineItemProduct() {
|
| o.shownImage = "foo";
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed1498();
|
| + o.variantAttributes = buildUnnamed1508();
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| return o;
|
| @@ -473,7 +475,7 @@ checkOrderLineItemProduct(api.OrderLineItemProduct o) {
|
| unittest.expect(o.shownImage, unittest.equals('foo'));
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed1498(o.variantAttributes);
|
| + checkUnnamed1508(o.variantAttributes);
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| }
|
| @@ -599,14 +601,14 @@ checkOrderPaymentMethod(api.OrderPaymentMethod o) {
|
| buildCounterOrderPaymentMethod--;
|
| }
|
|
|
| -buildUnnamed1499() {
|
| +buildUnnamed1509() {
|
| var o = new core.List<api.OrderPromotionBenefit>();
|
| o.add(buildOrderPromotionBenefit());
|
| o.add(buildOrderPromotionBenefit());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1499(core.List<api.OrderPromotionBenefit> o) {
|
| +checkUnnamed1509(core.List<api.OrderPromotionBenefit> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotionBenefit(o[0]);
|
| checkOrderPromotionBenefit(o[1]);
|
| @@ -617,7 +619,7 @@ buildOrderPromotion() {
|
| var o = new api.OrderPromotion();
|
| buildCounterOrderPromotion++;
|
| if (buildCounterOrderPromotion < 3) {
|
| - o.benefits = buildUnnamed1499();
|
| + o.benefits = buildUnnamed1509();
|
| o.effectiveDates = "foo";
|
| o.genericRedemptionCode = "foo";
|
| o.id = "foo";
|
| @@ -632,7 +634,7 @@ buildOrderPromotion() {
|
| checkOrderPromotion(api.OrderPromotion o) {
|
| buildCounterOrderPromotion++;
|
| if (buildCounterOrderPromotion < 3) {
|
| - checkUnnamed1499(o.benefits);
|
| + checkUnnamed1509(o.benefits);
|
| unittest.expect(o.effectiveDates, unittest.equals('foo'));
|
| unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| @@ -643,14 +645,14 @@ checkOrderPromotion(api.OrderPromotion o) {
|
| buildCounterOrderPromotion--;
|
| }
|
|
|
| -buildUnnamed1500() {
|
| +buildUnnamed1510() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1500(core.List<core.String> o) {
|
| +checkUnnamed1510(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -662,7 +664,7 @@ buildOrderPromotionBenefit() {
|
| buildCounterOrderPromotionBenefit++;
|
| if (buildCounterOrderPromotionBenefit < 3) {
|
| o.discount = buildPrice();
|
| - o.offerIds = buildUnnamed1500();
|
| + o.offerIds = buildUnnamed1510();
|
| o.subType = "foo";
|
| o.taxImpact = buildPrice();
|
| o.type = "foo";
|
| @@ -675,7 +677,7 @@ checkOrderPromotionBenefit(api.OrderPromotionBenefit o) {
|
| buildCounterOrderPromotionBenefit++;
|
| if (buildCounterOrderPromotionBenefit < 3) {
|
| checkPrice(o.discount);
|
| - checkUnnamed1500(o.offerIds);
|
| + checkUnnamed1510(o.offerIds);
|
| unittest.expect(o.subType, unittest.equals('foo'));
|
| checkPrice(o.taxImpact);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -737,14 +739,14 @@ checkOrderReturn(api.OrderReturn o) {
|
| buildCounterOrderReturn--;
|
| }
|
|
|
| -buildUnnamed1501() {
|
| +buildUnnamed1511() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1501(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1511(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -759,7 +761,7 @@ buildOrderShipment() {
|
| o.creationDate = "foo";
|
| o.deliveryDate = "foo";
|
| o.id = "foo";
|
| - o.lineItems = buildUnnamed1501();
|
| + o.lineItems = buildUnnamed1511();
|
| o.status = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -774,7 +776,7 @@ checkOrderShipment(api.OrderShipment o) {
|
| unittest.expect(o.creationDate, unittest.equals('foo'));
|
| unittest.expect(o.deliveryDate, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed1501(o.lineItems);
|
| + checkUnnamed1511(o.lineItems);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -997,14 +999,14 @@ checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) {
|
| buildCounterOrdersCreateTestOrderResponse--;
|
| }
|
|
|
| -buildUnnamed1502() {
|
| +buildUnnamed1512() {
|
| var o = new core.List<api.OrdersCustomBatchRequestEntry>();
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1502(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| +checkUnnamed1512(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchRequestEntry(o[0]);
|
| checkOrdersCustomBatchRequestEntry(o[1]);
|
| @@ -1015,7 +1017,7 @@ buildOrdersCustomBatchRequest() {
|
| var o = new api.OrdersCustomBatchRequest();
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed1502();
|
| + o.entries = buildUnnamed1512();
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| return o;
|
| @@ -1024,7 +1026,7 @@ buildOrdersCustomBatchRequest() {
|
| checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - checkUnnamed1502(o.entries);
|
| + checkUnnamed1512(o.entries);
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| }
|
| @@ -1166,14 +1168,14 @@ checkOrdersCustomBatchRequestEntryReturnLineItem(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
|
| }
|
|
|
| -buildUnnamed1503() {
|
| +buildUnnamed1513() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1503(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1513(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -1185,7 +1187,7 @@ buildOrdersCustomBatchRequestEntryShipLineItems() {
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed1503();
|
| + o.lineItems = buildUnnamed1513();
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -1197,7 +1199,7 @@ checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed1503(o.lineItems);
|
| + checkUnnamed1513(o.lineItems);
|
| unittest.expect(o.shipmentId, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -1229,14 +1231,14 @@ checkOrdersCustomBatchRequestEntryUpdateShipment(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
|
| }
|
|
|
| -buildUnnamed1504() {
|
| +buildUnnamed1514() {
|
| var o = new core.List<api.OrdersCustomBatchResponseEntry>();
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1504(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| +checkUnnamed1514(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchResponseEntry(o[0]);
|
| checkOrdersCustomBatchResponseEntry(o[1]);
|
| @@ -1247,7 +1249,7 @@ buildOrdersCustomBatchResponse() {
|
| var o = new api.OrdersCustomBatchResponse();
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed1504();
|
| + o.entries = buildUnnamed1514();
|
| o.kind = "foo";
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -1257,7 +1259,7 @@ buildOrdersCustomBatchResponse() {
|
| checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - checkUnnamed1504(o.entries);
|
| + checkUnnamed1514(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -1332,14 +1334,14 @@ checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
|
| buildCounterOrdersGetTestOrderTemplateResponse--;
|
| }
|
|
|
| -buildUnnamed1505() {
|
| +buildUnnamed1515() {
|
| var o = new core.List<api.Order>();
|
| o.add(buildOrder());
|
| o.add(buildOrder());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1505(core.List<api.Order> o) {
|
| +checkUnnamed1515(core.List<api.Order> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrder(o[0]);
|
| checkOrder(o[1]);
|
| @@ -1352,7 +1354,7 @@ buildOrdersListResponse() {
|
| if (buildCounterOrdersListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed1505();
|
| + o.resources = buildUnnamed1515();
|
| }
|
| buildCounterOrdersListResponse--;
|
| return o;
|
| @@ -1363,7 +1365,7 @@ checkOrdersListResponse(api.OrdersListResponse o) {
|
| if (buildCounterOrdersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1505(o.resources);
|
| + checkUnnamed1515(o.resources);
|
| }
|
| buildCounterOrdersListResponse--;
|
| }
|
| @@ -1462,14 +1464,14 @@ checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) {
|
| buildCounterOrdersReturnLineItemResponse--;
|
| }
|
|
|
| -buildUnnamed1506() {
|
| +buildUnnamed1516() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1506(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1516(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -1481,7 +1483,7 @@ buildOrdersShipLineItemsRequest() {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed1506();
|
| + o.lineItems = buildUnnamed1516();
|
| o.operationId = "foo";
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| @@ -1494,7 +1496,7 @@ checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed1506(o.lineItems);
|
| + checkUnnamed1516(o.lineItems);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| unittest.expect(o.shipmentId, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| @@ -1634,27 +1636,27 @@ checkPrice(api.Price o) {
|
| buildCounterPrice--;
|
| }
|
|
|
| -buildUnnamed1507() {
|
| +buildUnnamed1517() {
|
| var o = new core.List<api.TestOrderLineItem>();
|
| o.add(buildTestOrderLineItem());
|
| o.add(buildTestOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1507(core.List<api.TestOrderLineItem> o) {
|
| +checkUnnamed1517(core.List<api.TestOrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTestOrderLineItem(o[0]);
|
| checkTestOrderLineItem(o[1]);
|
| }
|
|
|
| -buildUnnamed1508() {
|
| +buildUnnamed1518() {
|
| var o = new core.List<api.OrderPromotion>();
|
| o.add(buildOrderPromotion());
|
| o.add(buildOrderPromotion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1508(core.List<api.OrderPromotion> o) {
|
| +checkUnnamed1518(core.List<api.OrderPromotion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotion(o[0]);
|
| checkOrderPromotion(o[1]);
|
| @@ -1667,10 +1669,10 @@ buildTestOrder() {
|
| if (buildCounterTestOrder < 3) {
|
| o.customer = buildTestOrderCustomer();
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed1507();
|
| + o.lineItems = buildUnnamed1517();
|
| o.paymentMethod = buildTestOrderPaymentMethod();
|
| o.predefinedDeliveryAddress = "foo";
|
| - o.promotions = buildUnnamed1508();
|
| + o.promotions = buildUnnamed1518();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -1684,10 +1686,10 @@ checkTestOrder(api.TestOrder o) {
|
| if (buildCounterTestOrder < 3) {
|
| checkTestOrderCustomer(o.customer);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1507(o.lineItems);
|
| + checkUnnamed1517(o.lineItems);
|
| checkTestOrderPaymentMethod(o.paymentMethod);
|
| unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
|
| - checkUnnamed1508(o.promotions);
|
| + checkUnnamed1518(o.promotions);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -1745,14 +1747,14 @@ checkTestOrderLineItem(api.TestOrderLineItem o) {
|
| buildCounterTestOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed1509() {
|
| +buildUnnamed1519() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1509(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed1519(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -1775,7 +1777,7 @@ buildTestOrderLineItemProduct() {
|
| o.price = buildPrice();
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed1509();
|
| + o.variantAttributes = buildUnnamed1519();
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| return o;
|
| @@ -1796,7 +1798,7 @@ checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) {
|
| checkPrice(o.price);
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed1509(o.variantAttributes);
|
| + checkUnnamed1519(o.variantAttributes);
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| }
|
| @@ -1828,14 +1830,14 @@ checkTestOrderPaymentMethod(api.TestOrderPaymentMethod o) {
|
| buildCounterTestOrderPaymentMethod--;
|
| }
|
|
|
| -buildUnnamed1510() {
|
| +buildUnnamed1520() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1510(core.List<core.String> o) {
|
| +checkUnnamed1520(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -2785,7 +2787,7 @@ main() {
|
| var arg_pageToken = "foo";
|
| var arg_placedDateEnd = "foo";
|
| var arg_placedDateStart = "foo";
|
| - var arg_statuses = buildUnnamed1510();
|
| + var arg_statuses = buildUnnamed1520();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|