| 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 0b2874fc5b9ca30de2458bceb17e674a08f83ba6..6ae182b6a3e66138a9dac26a09f34745e8294b94 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--;
|
| }
|
|
|
| -buildUnnamed924() {
|
| +buildUnnamed1353() {
|
| var o = new core.List<api.Error>();
|
| o.add(buildError());
|
| o.add(buildError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed924(core.List<api.Error> o) {
|
| +checkUnnamed1353(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 = buildUnnamed924();
|
| + o.errors = buildUnnamed1353();
|
| o.message = "foo";
|
| }
|
| buildCounterErrors--;
|
| @@ -104,59 +104,59 @@ checkErrors(api.Errors o) {
|
| buildCounterErrors++;
|
| if (buildCounterErrors < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed924(o.errors);
|
| + checkUnnamed1353(o.errors);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterErrors--;
|
| }
|
|
|
| -buildUnnamed925() {
|
| +buildUnnamed1354() {
|
| var o = new core.List<api.OrderLineItem>();
|
| o.add(buildOrderLineItem());
|
| o.add(buildOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed925(core.List<api.OrderLineItem> o) {
|
| +checkUnnamed1354(core.List<api.OrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItem(o[0]);
|
| checkOrderLineItem(o[1]);
|
| }
|
|
|
| -buildUnnamed926() {
|
| +buildUnnamed1355() {
|
| var o = new core.List<api.OrderPromotion>();
|
| o.add(buildOrderPromotion());
|
| o.add(buildOrderPromotion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed926(core.List<api.OrderPromotion> o) {
|
| +checkUnnamed1355(core.List<api.OrderPromotion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotion(o[0]);
|
| checkOrderPromotion(o[1]);
|
| }
|
|
|
| -buildUnnamed927() {
|
| +buildUnnamed1356() {
|
| var o = new core.List<api.OrderRefund>();
|
| o.add(buildOrderRefund());
|
| o.add(buildOrderRefund());
|
| return o;
|
| }
|
|
|
| -checkUnnamed927(core.List<api.OrderRefund> o) {
|
| +checkUnnamed1356(core.List<api.OrderRefund> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderRefund(o[0]);
|
| checkOrderRefund(o[1]);
|
| }
|
|
|
| -buildUnnamed928() {
|
| +buildUnnamed1357() {
|
| var o = new core.List<api.OrderShipment>();
|
| o.add(buildOrderShipment());
|
| o.add(buildOrderShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed928(core.List<api.OrderShipment> o) {
|
| +checkUnnamed1357(core.List<api.OrderShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipment(o[0]);
|
| checkOrderShipment(o[1]);
|
| @@ -172,16 +172,16 @@ buildOrder() {
|
| o.deliveryDetails = buildOrderDeliveryDetails();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed925();
|
| + o.lineItems = buildUnnamed1354();
|
| o.merchantId = "foo";
|
| o.merchantOrderId = "foo";
|
| o.netAmount = buildPrice();
|
| o.paymentMethod = buildOrderPaymentMethod();
|
| o.paymentStatus = "foo";
|
| o.placedDate = "foo";
|
| - o.promotions = buildUnnamed926();
|
| - o.refunds = buildUnnamed927();
|
| - o.shipments = buildUnnamed928();
|
| + o.promotions = buildUnnamed1355();
|
| + o.refunds = buildUnnamed1356();
|
| + o.shipments = buildUnnamed1357();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -199,16 +199,16 @@ checkOrder(api.Order o) {
|
| checkOrderDeliveryDetails(o.deliveryDetails);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed925(o.lineItems);
|
| + checkUnnamed1354(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'));
|
| - checkUnnamed926(o.promotions);
|
| - checkUnnamed927(o.refunds);
|
| - checkUnnamed928(o.shipments);
|
| + checkUnnamed1355(o.promotions);
|
| + checkUnnamed1356(o.refunds);
|
| + checkUnnamed1357(o.shipments);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -217,27 +217,27 @@ checkOrder(api.Order o) {
|
| buildCounterOrder--;
|
| }
|
|
|
| -buildUnnamed929() {
|
| +buildUnnamed1358() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed929(core.List<core.String> o) {
|
| +checkUnnamed1358(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'));
|
| }
|
|
|
| -buildUnnamed930() {
|
| +buildUnnamed1359() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed930(core.List<core.String> o) {
|
| +checkUnnamed1359(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 +249,13 @@ buildOrderAddress() {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| o.country = "foo";
|
| - o.fullAddress = buildUnnamed929();
|
| + o.fullAddress = buildUnnamed1358();
|
| o.isPostOfficeBox = true;
|
| o.locality = "foo";
|
| o.postalCode = "foo";
|
| o.recipientName = "foo";
|
| o.region = "foo";
|
| - o.streetAddress = buildUnnamed930();
|
| + o.streetAddress = buildUnnamed1359();
|
| }
|
| buildCounterOrderAddress--;
|
| return o;
|
| @@ -265,13 +265,13 @@ checkOrderAddress(api.OrderAddress o) {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| unittest.expect(o.country, unittest.equals('foo'));
|
| - checkUnnamed929(o.fullAddress);
|
| + checkUnnamed1358(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'));
|
| - checkUnnamed930(o.streetAddress);
|
| + checkUnnamed1359(o.streetAddress);
|
| }
|
| buildCounterOrderAddress--;
|
| }
|
| @@ -347,27 +347,27 @@ checkOrderDeliveryDetails(api.OrderDeliveryDetails o) {
|
| buildCounterOrderDeliveryDetails--;
|
| }
|
|
|
| -buildUnnamed931() {
|
| +buildUnnamed1360() {
|
| var o = new core.List<api.OrderCancellation>();
|
| o.add(buildOrderCancellation());
|
| o.add(buildOrderCancellation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed931(core.List<api.OrderCancellation> o) {
|
| +checkUnnamed1360(core.List<api.OrderCancellation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderCancellation(o[0]);
|
| checkOrderCancellation(o[1]);
|
| }
|
|
|
| -buildUnnamed932() {
|
| +buildUnnamed1361() {
|
| var o = new core.List<api.OrderReturn>();
|
| o.add(buildOrderReturn());
|
| o.add(buildOrderReturn());
|
| return o;
|
| }
|
|
|
| -checkUnnamed932(core.List<api.OrderReturn> o) {
|
| +checkUnnamed1361(core.List<api.OrderReturn> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderReturn(o[0]);
|
| checkOrderReturn(o[1]);
|
| @@ -378,7 +378,7 @@ buildOrderLineItem() {
|
| var o = new api.OrderLineItem();
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - o.cancellations = buildUnnamed931();
|
| + o.cancellations = buildUnnamed1360();
|
| o.id = "foo";
|
| o.price = buildPrice();
|
| o.product = buildOrderLineItemProduct();
|
| @@ -389,7 +389,7 @@ buildOrderLineItem() {
|
| o.quantityReturned = 42;
|
| o.quantityShipped = 42;
|
| o.returnInfo = buildOrderLineItemReturnInfo();
|
| - o.returns = buildUnnamed932();
|
| + o.returns = buildUnnamed1361();
|
| o.shippingDetails = buildOrderLineItemShippingDetails();
|
| o.tax = buildPrice();
|
| }
|
| @@ -400,7 +400,7 @@ buildOrderLineItem() {
|
| checkOrderLineItem(api.OrderLineItem o) {
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - checkUnnamed931(o.cancellations);
|
| + checkUnnamed1360(o.cancellations);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkPrice(o.price);
|
| checkOrderLineItemProduct(o.product);
|
| @@ -411,21 +411,21 @@ checkOrderLineItem(api.OrderLineItem o) {
|
| unittest.expect(o.quantityReturned, unittest.equals(42));
|
| unittest.expect(o.quantityShipped, unittest.equals(42));
|
| checkOrderLineItemReturnInfo(o.returnInfo);
|
| - checkUnnamed932(o.returns);
|
| + checkUnnamed1361(o.returns);
|
| checkOrderLineItemShippingDetails(o.shippingDetails);
|
| checkPrice(o.tax);
|
| }
|
| buildCounterOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed933() {
|
| +buildUnnamed1362() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed933(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed1362(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -450,7 +450,7 @@ buildOrderLineItemProduct() {
|
| o.shownImage = "foo";
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed933();
|
| + o.variantAttributes = buildUnnamed1362();
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| return o;
|
| @@ -473,7 +473,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'));
|
| - checkUnnamed933(o.variantAttributes);
|
| + checkUnnamed1362(o.variantAttributes);
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| }
|
| @@ -599,14 +599,14 @@ checkOrderPaymentMethod(api.OrderPaymentMethod o) {
|
| buildCounterOrderPaymentMethod--;
|
| }
|
|
|
| -buildUnnamed934() {
|
| +buildUnnamed1363() {
|
| var o = new core.List<api.OrderPromotionBenefit>();
|
| o.add(buildOrderPromotionBenefit());
|
| o.add(buildOrderPromotionBenefit());
|
| return o;
|
| }
|
|
|
| -checkUnnamed934(core.List<api.OrderPromotionBenefit> o) {
|
| +checkUnnamed1363(core.List<api.OrderPromotionBenefit> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotionBenefit(o[0]);
|
| checkOrderPromotionBenefit(o[1]);
|
| @@ -617,7 +617,7 @@ buildOrderPromotion() {
|
| var o = new api.OrderPromotion();
|
| buildCounterOrderPromotion++;
|
| if (buildCounterOrderPromotion < 3) {
|
| - o.benefits = buildUnnamed934();
|
| + o.benefits = buildUnnamed1363();
|
| o.effectiveDates = "foo";
|
| o.genericRedemptionCode = "foo";
|
| o.id = "foo";
|
| @@ -632,7 +632,7 @@ buildOrderPromotion() {
|
| checkOrderPromotion(api.OrderPromotion o) {
|
| buildCounterOrderPromotion++;
|
| if (buildCounterOrderPromotion < 3) {
|
| - checkUnnamed934(o.benefits);
|
| + checkUnnamed1363(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 +643,14 @@ checkOrderPromotion(api.OrderPromotion o) {
|
| buildCounterOrderPromotion--;
|
| }
|
|
|
| -buildUnnamed935() {
|
| +buildUnnamed1364() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed935(core.List<core.String> o) {
|
| +checkUnnamed1364(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 +662,7 @@ buildOrderPromotionBenefit() {
|
| buildCounterOrderPromotionBenefit++;
|
| if (buildCounterOrderPromotionBenefit < 3) {
|
| o.discount = buildPrice();
|
| - o.offerIds = buildUnnamed935();
|
| + o.offerIds = buildUnnamed1364();
|
| o.subType = "foo";
|
| o.taxImpact = buildPrice();
|
| o.type = "foo";
|
| @@ -675,7 +675,7 @@ checkOrderPromotionBenefit(api.OrderPromotionBenefit o) {
|
| buildCounterOrderPromotionBenefit++;
|
| if (buildCounterOrderPromotionBenefit < 3) {
|
| checkPrice(o.discount);
|
| - checkUnnamed935(o.offerIds);
|
| + checkUnnamed1364(o.offerIds);
|
| unittest.expect(o.subType, unittest.equals('foo'));
|
| checkPrice(o.taxImpact);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -737,14 +737,14 @@ checkOrderReturn(api.OrderReturn o) {
|
| buildCounterOrderReturn--;
|
| }
|
|
|
| -buildUnnamed936() {
|
| +buildUnnamed1365() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed936(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1365(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -759,7 +759,7 @@ buildOrderShipment() {
|
| o.creationDate = "foo";
|
| o.deliveryDate = "foo";
|
| o.id = "foo";
|
| - o.lineItems = buildUnnamed936();
|
| + o.lineItems = buildUnnamed1365();
|
| o.status = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -774,7 +774,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'));
|
| - checkUnnamed936(o.lineItems);
|
| + checkUnnamed1365(o.lineItems);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -997,14 +997,14 @@ checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) {
|
| buildCounterOrdersCreateTestOrderResponse--;
|
| }
|
|
|
| -buildUnnamed937() {
|
| +buildUnnamed1366() {
|
| var o = new core.List<api.OrdersCustomBatchRequestEntry>();
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed937(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| +checkUnnamed1366(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchRequestEntry(o[0]);
|
| checkOrdersCustomBatchRequestEntry(o[1]);
|
| @@ -1015,7 +1015,7 @@ buildOrdersCustomBatchRequest() {
|
| var o = new api.OrdersCustomBatchRequest();
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed937();
|
| + o.entries = buildUnnamed1366();
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| return o;
|
| @@ -1024,7 +1024,7 @@ buildOrdersCustomBatchRequest() {
|
| checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - checkUnnamed937(o.entries);
|
| + checkUnnamed1366(o.entries);
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| }
|
| @@ -1166,14 +1166,14 @@ checkOrdersCustomBatchRequestEntryReturnLineItem(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
|
| }
|
|
|
| -buildUnnamed938() {
|
| +buildUnnamed1367() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed938(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1367(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -1185,7 +1185,7 @@ buildOrdersCustomBatchRequestEntryShipLineItems() {
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed938();
|
| + o.lineItems = buildUnnamed1367();
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -1197,7 +1197,7 @@ checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed938(o.lineItems);
|
| + checkUnnamed1367(o.lineItems);
|
| unittest.expect(o.shipmentId, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -1229,14 +1229,14 @@ checkOrdersCustomBatchRequestEntryUpdateShipment(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
|
| }
|
|
|
| -buildUnnamed939() {
|
| +buildUnnamed1368() {
|
| var o = new core.List<api.OrdersCustomBatchResponseEntry>();
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed939(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| +checkUnnamed1368(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchResponseEntry(o[0]);
|
| checkOrdersCustomBatchResponseEntry(o[1]);
|
| @@ -1247,7 +1247,7 @@ buildOrdersCustomBatchResponse() {
|
| var o = new api.OrdersCustomBatchResponse();
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed939();
|
| + o.entries = buildUnnamed1368();
|
| o.kind = "foo";
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -1257,7 +1257,7 @@ buildOrdersCustomBatchResponse() {
|
| checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - checkUnnamed939(o.entries);
|
| + checkUnnamed1368(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -1332,14 +1332,14 @@ checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
|
| buildCounterOrdersGetTestOrderTemplateResponse--;
|
| }
|
|
|
| -buildUnnamed940() {
|
| +buildUnnamed1369() {
|
| var o = new core.List<api.Order>();
|
| o.add(buildOrder());
|
| o.add(buildOrder());
|
| return o;
|
| }
|
|
|
| -checkUnnamed940(core.List<api.Order> o) {
|
| +checkUnnamed1369(core.List<api.Order> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrder(o[0]);
|
| checkOrder(o[1]);
|
| @@ -1352,7 +1352,7 @@ buildOrdersListResponse() {
|
| if (buildCounterOrdersListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed940();
|
| + o.resources = buildUnnamed1369();
|
| }
|
| buildCounterOrdersListResponse--;
|
| return o;
|
| @@ -1363,7 +1363,7 @@ checkOrdersListResponse(api.OrdersListResponse o) {
|
| if (buildCounterOrdersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed940(o.resources);
|
| + checkUnnamed1369(o.resources);
|
| }
|
| buildCounterOrdersListResponse--;
|
| }
|
| @@ -1462,14 +1462,14 @@ checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) {
|
| buildCounterOrdersReturnLineItemResponse--;
|
| }
|
|
|
| -buildUnnamed941() {
|
| +buildUnnamed1370() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed941(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1370(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -1481,7 +1481,7 @@ buildOrdersShipLineItemsRequest() {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed941();
|
| + o.lineItems = buildUnnamed1370();
|
| o.operationId = "foo";
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| @@ -1494,7 +1494,7 @@ checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed941(o.lineItems);
|
| + checkUnnamed1370(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 +1634,27 @@ checkPrice(api.Price o) {
|
| buildCounterPrice--;
|
| }
|
|
|
| -buildUnnamed942() {
|
| +buildUnnamed1371() {
|
| var o = new core.List<api.TestOrderLineItem>();
|
| o.add(buildTestOrderLineItem());
|
| o.add(buildTestOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed942(core.List<api.TestOrderLineItem> o) {
|
| +checkUnnamed1371(core.List<api.TestOrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTestOrderLineItem(o[0]);
|
| checkTestOrderLineItem(o[1]);
|
| }
|
|
|
| -buildUnnamed943() {
|
| +buildUnnamed1372() {
|
| var o = new core.List<api.OrderPromotion>();
|
| o.add(buildOrderPromotion());
|
| o.add(buildOrderPromotion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed943(core.List<api.OrderPromotion> o) {
|
| +checkUnnamed1372(core.List<api.OrderPromotion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotion(o[0]);
|
| checkOrderPromotion(o[1]);
|
| @@ -1667,10 +1667,10 @@ buildTestOrder() {
|
| if (buildCounterTestOrder < 3) {
|
| o.customer = buildTestOrderCustomer();
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed942();
|
| + o.lineItems = buildUnnamed1371();
|
| o.paymentMethod = buildTestOrderPaymentMethod();
|
| o.predefinedDeliveryAddress = "foo";
|
| - o.promotions = buildUnnamed943();
|
| + o.promotions = buildUnnamed1372();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -1684,10 +1684,10 @@ checkTestOrder(api.TestOrder o) {
|
| if (buildCounterTestOrder < 3) {
|
| checkTestOrderCustomer(o.customer);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed942(o.lineItems);
|
| + checkUnnamed1371(o.lineItems);
|
| checkTestOrderPaymentMethod(o.paymentMethod);
|
| unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
|
| - checkUnnamed943(o.promotions);
|
| + checkUnnamed1372(o.promotions);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -1745,14 +1745,14 @@ checkTestOrderLineItem(api.TestOrderLineItem o) {
|
| buildCounterTestOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed944() {
|
| +buildUnnamed1373() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed944(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed1373(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -1775,7 +1775,7 @@ buildTestOrderLineItemProduct() {
|
| o.price = buildPrice();
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed944();
|
| + o.variantAttributes = buildUnnamed1373();
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| return o;
|
| @@ -1796,7 +1796,7 @@ checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) {
|
| checkPrice(o.price);
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed944(o.variantAttributes);
|
| + checkUnnamed1373(o.variantAttributes);
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| }
|
| @@ -1828,14 +1828,14 @@ checkTestOrderPaymentMethod(api.TestOrderPaymentMethod o) {
|
| buildCounterTestOrderPaymentMethod--;
|
| }
|
|
|
| -buildUnnamed945() {
|
| +buildUnnamed1374() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed945(core.List<core.String> o) {
|
| +checkUnnamed1374(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 +2785,7 @@ main() {
|
| var arg_pageToken = "foo";
|
| var arg_placedDateEnd = "foo";
|
| var arg_placedDateStart = "foo";
|
| - var arg_statuses = buildUnnamed945();
|
| + var arg_statuses = buildUnnamed1374();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|