| 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 39eba4b77753576a2fe1789b236d144834634316..df03d6434d89f7c109489206856663c9b5728095 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--;
|
| }
|
|
|
| -buildUnnamed1499() {
|
| +buildUnnamed1252() {
|
| var o = new core.List<api.Error>();
|
| o.add(buildError());
|
| o.add(buildError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1499(core.List<api.Error> o) {
|
| +checkUnnamed1252(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 = buildUnnamed1499();
|
| + o.errors = buildUnnamed1252();
|
| o.message = "foo";
|
| }
|
| buildCounterErrors--;
|
| @@ -104,59 +104,59 @@ checkErrors(api.Errors o) {
|
| buildCounterErrors++;
|
| if (buildCounterErrors < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1499(o.errors);
|
| + checkUnnamed1252(o.errors);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterErrors--;
|
| }
|
|
|
| -buildUnnamed1500() {
|
| +buildUnnamed1253() {
|
| var o = new core.List<api.OrderLineItem>();
|
| o.add(buildOrderLineItem());
|
| o.add(buildOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1500(core.List<api.OrderLineItem> o) {
|
| +checkUnnamed1253(core.List<api.OrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItem(o[0]);
|
| checkOrderLineItem(o[1]);
|
| }
|
|
|
| -buildUnnamed1501() {
|
| +buildUnnamed1254() {
|
| var o = new core.List<api.OrderPromotion>();
|
| o.add(buildOrderPromotion());
|
| o.add(buildOrderPromotion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1501(core.List<api.OrderPromotion> o) {
|
| +checkUnnamed1254(core.List<api.OrderPromotion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotion(o[0]);
|
| checkOrderPromotion(o[1]);
|
| }
|
|
|
| -buildUnnamed1502() {
|
| +buildUnnamed1255() {
|
| var o = new core.List<api.OrderRefund>();
|
| o.add(buildOrderRefund());
|
| o.add(buildOrderRefund());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1502(core.List<api.OrderRefund> o) {
|
| +checkUnnamed1255(core.List<api.OrderRefund> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderRefund(o[0]);
|
| checkOrderRefund(o[1]);
|
| }
|
|
|
| -buildUnnamed1503() {
|
| +buildUnnamed1256() {
|
| var o = new core.List<api.OrderShipment>();
|
| o.add(buildOrderShipment());
|
| o.add(buildOrderShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1503(core.List<api.OrderShipment> o) {
|
| +checkUnnamed1256(core.List<api.OrderShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipment(o[0]);
|
| checkOrderShipment(o[1]);
|
| @@ -173,16 +173,16 @@ buildOrder() {
|
| o.deliveryDetails = buildOrderDeliveryDetails();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed1500();
|
| + o.lineItems = buildUnnamed1253();
|
| o.merchantId = "foo";
|
| o.merchantOrderId = "foo";
|
| o.netAmount = buildPrice();
|
| o.paymentMethod = buildOrderPaymentMethod();
|
| o.paymentStatus = "foo";
|
| o.placedDate = "foo";
|
| - o.promotions = buildUnnamed1501();
|
| - o.refunds = buildUnnamed1502();
|
| - o.shipments = buildUnnamed1503();
|
| + o.promotions = buildUnnamed1254();
|
| + o.refunds = buildUnnamed1255();
|
| + o.shipments = buildUnnamed1256();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -201,16 +201,16 @@ checkOrder(api.Order o) {
|
| checkOrderDeliveryDetails(o.deliveryDetails);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1500(o.lineItems);
|
| + checkUnnamed1253(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'));
|
| - checkUnnamed1501(o.promotions);
|
| - checkUnnamed1502(o.refunds);
|
| - checkUnnamed1503(o.shipments);
|
| + checkUnnamed1254(o.promotions);
|
| + checkUnnamed1255(o.refunds);
|
| + checkUnnamed1256(o.shipments);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -219,27 +219,27 @@ checkOrder(api.Order o) {
|
| buildCounterOrder--;
|
| }
|
|
|
| -buildUnnamed1504() {
|
| +buildUnnamed1257() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1504(core.List<core.String> o) {
|
| +checkUnnamed1257(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'));
|
| }
|
|
|
| -buildUnnamed1505() {
|
| +buildUnnamed1258() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1505(core.List<core.String> o) {
|
| +checkUnnamed1258(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'));
|
| @@ -251,13 +251,13 @@ buildOrderAddress() {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| o.country = "foo";
|
| - o.fullAddress = buildUnnamed1504();
|
| + o.fullAddress = buildUnnamed1257();
|
| o.isPostOfficeBox = true;
|
| o.locality = "foo";
|
| o.postalCode = "foo";
|
| o.recipientName = "foo";
|
| o.region = "foo";
|
| - o.streetAddress = buildUnnamed1505();
|
| + o.streetAddress = buildUnnamed1258();
|
| }
|
| buildCounterOrderAddress--;
|
| return o;
|
| @@ -267,13 +267,13 @@ checkOrderAddress(api.OrderAddress o) {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| unittest.expect(o.country, unittest.equals('foo'));
|
| - checkUnnamed1504(o.fullAddress);
|
| + checkUnnamed1257(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'));
|
| - checkUnnamed1505(o.streetAddress);
|
| + checkUnnamed1258(o.streetAddress);
|
| }
|
| buildCounterOrderAddress--;
|
| }
|
| @@ -349,27 +349,27 @@ checkOrderDeliveryDetails(api.OrderDeliveryDetails o) {
|
| buildCounterOrderDeliveryDetails--;
|
| }
|
|
|
| -buildUnnamed1506() {
|
| +buildUnnamed1259() {
|
| var o = new core.List<api.OrderCancellation>();
|
| o.add(buildOrderCancellation());
|
| o.add(buildOrderCancellation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1506(core.List<api.OrderCancellation> o) {
|
| +checkUnnamed1259(core.List<api.OrderCancellation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderCancellation(o[0]);
|
| checkOrderCancellation(o[1]);
|
| }
|
|
|
| -buildUnnamed1507() {
|
| +buildUnnamed1260() {
|
| var o = new core.List<api.OrderReturn>();
|
| o.add(buildOrderReturn());
|
| o.add(buildOrderReturn());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1507(core.List<api.OrderReturn> o) {
|
| +checkUnnamed1260(core.List<api.OrderReturn> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderReturn(o[0]);
|
| checkOrderReturn(o[1]);
|
| @@ -380,7 +380,7 @@ buildOrderLineItem() {
|
| var o = new api.OrderLineItem();
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - o.cancellations = buildUnnamed1506();
|
| + o.cancellations = buildUnnamed1259();
|
| o.id = "foo";
|
| o.price = buildPrice();
|
| o.product = buildOrderLineItemProduct();
|
| @@ -391,7 +391,7 @@ buildOrderLineItem() {
|
| o.quantityReturned = 42;
|
| o.quantityShipped = 42;
|
| o.returnInfo = buildOrderLineItemReturnInfo();
|
| - o.returns = buildUnnamed1507();
|
| + o.returns = buildUnnamed1260();
|
| o.shippingDetails = buildOrderLineItemShippingDetails();
|
| o.tax = buildPrice();
|
| }
|
| @@ -402,7 +402,7 @@ buildOrderLineItem() {
|
| checkOrderLineItem(api.OrderLineItem o) {
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - checkUnnamed1506(o.cancellations);
|
| + checkUnnamed1259(o.cancellations);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkPrice(o.price);
|
| checkOrderLineItemProduct(o.product);
|
| @@ -413,21 +413,21 @@ checkOrderLineItem(api.OrderLineItem o) {
|
| unittest.expect(o.quantityReturned, unittest.equals(42));
|
| unittest.expect(o.quantityShipped, unittest.equals(42));
|
| checkOrderLineItemReturnInfo(o.returnInfo);
|
| - checkUnnamed1507(o.returns);
|
| + checkUnnamed1260(o.returns);
|
| checkOrderLineItemShippingDetails(o.shippingDetails);
|
| checkPrice(o.tax);
|
| }
|
| buildCounterOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed1508() {
|
| +buildUnnamed1261() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1508(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed1261(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -452,7 +452,7 @@ buildOrderLineItemProduct() {
|
| o.shownImage = "foo";
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed1508();
|
| + o.variantAttributes = buildUnnamed1261();
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| return o;
|
| @@ -475,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'));
|
| - checkUnnamed1508(o.variantAttributes);
|
| + checkUnnamed1261(o.variantAttributes);
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| }
|
| @@ -601,14 +601,14 @@ checkOrderPaymentMethod(api.OrderPaymentMethod o) {
|
| buildCounterOrderPaymentMethod--;
|
| }
|
|
|
| -buildUnnamed1509() {
|
| +buildUnnamed1262() {
|
| var o = new core.List<api.OrderPromotionBenefit>();
|
| o.add(buildOrderPromotionBenefit());
|
| o.add(buildOrderPromotionBenefit());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1509(core.List<api.OrderPromotionBenefit> o) {
|
| +checkUnnamed1262(core.List<api.OrderPromotionBenefit> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotionBenefit(o[0]);
|
| checkOrderPromotionBenefit(o[1]);
|
| @@ -619,7 +619,7 @@ buildOrderPromotion() {
|
| var o = new api.OrderPromotion();
|
| buildCounterOrderPromotion++;
|
| if (buildCounterOrderPromotion < 3) {
|
| - o.benefits = buildUnnamed1509();
|
| + o.benefits = buildUnnamed1262();
|
| o.effectiveDates = "foo";
|
| o.genericRedemptionCode = "foo";
|
| o.id = "foo";
|
| @@ -634,7 +634,7 @@ buildOrderPromotion() {
|
| checkOrderPromotion(api.OrderPromotion o) {
|
| buildCounterOrderPromotion++;
|
| if (buildCounterOrderPromotion < 3) {
|
| - checkUnnamed1509(o.benefits);
|
| + checkUnnamed1262(o.benefits);
|
| unittest.expect(o.effectiveDates, unittest.equals('foo'));
|
| unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| @@ -645,14 +645,14 @@ checkOrderPromotion(api.OrderPromotion o) {
|
| buildCounterOrderPromotion--;
|
| }
|
|
|
| -buildUnnamed1510() {
|
| +buildUnnamed1263() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1510(core.List<core.String> o) {
|
| +checkUnnamed1263(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'));
|
| @@ -664,7 +664,7 @@ buildOrderPromotionBenefit() {
|
| buildCounterOrderPromotionBenefit++;
|
| if (buildCounterOrderPromotionBenefit < 3) {
|
| o.discount = buildPrice();
|
| - o.offerIds = buildUnnamed1510();
|
| + o.offerIds = buildUnnamed1263();
|
| o.subType = "foo";
|
| o.taxImpact = buildPrice();
|
| o.type = "foo";
|
| @@ -677,7 +677,7 @@ checkOrderPromotionBenefit(api.OrderPromotionBenefit o) {
|
| buildCounterOrderPromotionBenefit++;
|
| if (buildCounterOrderPromotionBenefit < 3) {
|
| checkPrice(o.discount);
|
| - checkUnnamed1510(o.offerIds);
|
| + checkUnnamed1263(o.offerIds);
|
| unittest.expect(o.subType, unittest.equals('foo'));
|
| checkPrice(o.taxImpact);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -739,14 +739,14 @@ checkOrderReturn(api.OrderReturn o) {
|
| buildCounterOrderReturn--;
|
| }
|
|
|
| -buildUnnamed1511() {
|
| +buildUnnamed1264() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1511(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1264(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -761,7 +761,7 @@ buildOrderShipment() {
|
| o.creationDate = "foo";
|
| o.deliveryDate = "foo";
|
| o.id = "foo";
|
| - o.lineItems = buildUnnamed1511();
|
| + o.lineItems = buildUnnamed1264();
|
| o.status = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -776,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'));
|
| - checkUnnamed1511(o.lineItems);
|
| + checkUnnamed1264(o.lineItems);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -999,14 +999,14 @@ checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) {
|
| buildCounterOrdersCreateTestOrderResponse--;
|
| }
|
|
|
| -buildUnnamed1512() {
|
| +buildUnnamed1265() {
|
| var o = new core.List<api.OrdersCustomBatchRequestEntry>();
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1512(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| +checkUnnamed1265(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchRequestEntry(o[0]);
|
| checkOrdersCustomBatchRequestEntry(o[1]);
|
| @@ -1017,7 +1017,7 @@ buildOrdersCustomBatchRequest() {
|
| var o = new api.OrdersCustomBatchRequest();
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed1512();
|
| + o.entries = buildUnnamed1265();
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| return o;
|
| @@ -1026,7 +1026,7 @@ buildOrdersCustomBatchRequest() {
|
| checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - checkUnnamed1512(o.entries);
|
| + checkUnnamed1265(o.entries);
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| }
|
| @@ -1168,14 +1168,14 @@ checkOrdersCustomBatchRequestEntryReturnLineItem(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
|
| }
|
|
|
| -buildUnnamed1513() {
|
| +buildUnnamed1266() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1513(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1266(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -1187,7 +1187,7 @@ buildOrdersCustomBatchRequestEntryShipLineItems() {
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed1513();
|
| + o.lineItems = buildUnnamed1266();
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -1199,7 +1199,7 @@ checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed1513(o.lineItems);
|
| + checkUnnamed1266(o.lineItems);
|
| unittest.expect(o.shipmentId, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -1231,14 +1231,14 @@ checkOrdersCustomBatchRequestEntryUpdateShipment(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
|
| }
|
|
|
| -buildUnnamed1514() {
|
| +buildUnnamed1267() {
|
| var o = new core.List<api.OrdersCustomBatchResponseEntry>();
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1514(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| +checkUnnamed1267(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchResponseEntry(o[0]);
|
| checkOrdersCustomBatchResponseEntry(o[1]);
|
| @@ -1249,7 +1249,7 @@ buildOrdersCustomBatchResponse() {
|
| var o = new api.OrdersCustomBatchResponse();
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed1514();
|
| + o.entries = buildUnnamed1267();
|
| o.kind = "foo";
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -1259,7 +1259,7 @@ buildOrdersCustomBatchResponse() {
|
| checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - checkUnnamed1514(o.entries);
|
| + checkUnnamed1267(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -1334,14 +1334,14 @@ checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
|
| buildCounterOrdersGetTestOrderTemplateResponse--;
|
| }
|
|
|
| -buildUnnamed1515() {
|
| +buildUnnamed1268() {
|
| var o = new core.List<api.Order>();
|
| o.add(buildOrder());
|
| o.add(buildOrder());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1515(core.List<api.Order> o) {
|
| +checkUnnamed1268(core.List<api.Order> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrder(o[0]);
|
| checkOrder(o[1]);
|
| @@ -1354,7 +1354,7 @@ buildOrdersListResponse() {
|
| if (buildCounterOrdersListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed1515();
|
| + o.resources = buildUnnamed1268();
|
| }
|
| buildCounterOrdersListResponse--;
|
| return o;
|
| @@ -1365,7 +1365,7 @@ checkOrdersListResponse(api.OrdersListResponse o) {
|
| if (buildCounterOrdersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1515(o.resources);
|
| + checkUnnamed1268(o.resources);
|
| }
|
| buildCounterOrdersListResponse--;
|
| }
|
| @@ -1464,14 +1464,14 @@ checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) {
|
| buildCounterOrdersReturnLineItemResponse--;
|
| }
|
|
|
| -buildUnnamed1516() {
|
| +buildUnnamed1269() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1516(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed1269(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -1483,7 +1483,7 @@ buildOrdersShipLineItemsRequest() {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed1516();
|
| + o.lineItems = buildUnnamed1269();
|
| o.operationId = "foo";
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| @@ -1496,7 +1496,7 @@ checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed1516(o.lineItems);
|
| + checkUnnamed1269(o.lineItems);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| unittest.expect(o.shipmentId, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| @@ -1636,27 +1636,27 @@ checkPrice(api.Price o) {
|
| buildCounterPrice--;
|
| }
|
|
|
| -buildUnnamed1517() {
|
| +buildUnnamed1270() {
|
| var o = new core.List<api.TestOrderLineItem>();
|
| o.add(buildTestOrderLineItem());
|
| o.add(buildTestOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1517(core.List<api.TestOrderLineItem> o) {
|
| +checkUnnamed1270(core.List<api.TestOrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTestOrderLineItem(o[0]);
|
| checkTestOrderLineItem(o[1]);
|
| }
|
|
|
| -buildUnnamed1518() {
|
| +buildUnnamed1271() {
|
| var o = new core.List<api.OrderPromotion>();
|
| o.add(buildOrderPromotion());
|
| o.add(buildOrderPromotion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1518(core.List<api.OrderPromotion> o) {
|
| +checkUnnamed1271(core.List<api.OrderPromotion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderPromotion(o[0]);
|
| checkOrderPromotion(o[1]);
|
| @@ -1669,10 +1669,10 @@ buildTestOrder() {
|
| if (buildCounterTestOrder < 3) {
|
| o.customer = buildTestOrderCustomer();
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed1517();
|
| + o.lineItems = buildUnnamed1270();
|
| o.paymentMethod = buildTestOrderPaymentMethod();
|
| o.predefinedDeliveryAddress = "foo";
|
| - o.promotions = buildUnnamed1518();
|
| + o.promotions = buildUnnamed1271();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -1686,10 +1686,10 @@ checkTestOrder(api.TestOrder o) {
|
| if (buildCounterTestOrder < 3) {
|
| checkTestOrderCustomer(o.customer);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1517(o.lineItems);
|
| + checkUnnamed1270(o.lineItems);
|
| checkTestOrderPaymentMethod(o.paymentMethod);
|
| unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
|
| - checkUnnamed1518(o.promotions);
|
| + checkUnnamed1271(o.promotions);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -1747,14 +1747,14 @@ checkTestOrderLineItem(api.TestOrderLineItem o) {
|
| buildCounterTestOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed1519() {
|
| +buildUnnamed1272() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1519(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed1272(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -1777,7 +1777,7 @@ buildTestOrderLineItemProduct() {
|
| o.price = buildPrice();
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed1519();
|
| + o.variantAttributes = buildUnnamed1272();
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| return o;
|
| @@ -1798,7 +1798,7 @@ checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) {
|
| checkPrice(o.price);
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed1519(o.variantAttributes);
|
| + checkUnnamed1272(o.variantAttributes);
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| }
|
| @@ -1830,14 +1830,14 @@ checkTestOrderPaymentMethod(api.TestOrderPaymentMethod o) {
|
| buildCounterTestOrderPaymentMethod--;
|
| }
|
|
|
| -buildUnnamed1520() {
|
| +buildUnnamed1273() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1520(core.List<core.String> o) {
|
| +checkUnnamed1273(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'));
|
| @@ -2787,7 +2787,7 @@ main() {
|
| var arg_pageToken = "foo";
|
| var arg_placedDateEnd = "foo";
|
| var arg_placedDateStart = "foo";
|
| - var arg_statuses = buildUnnamed1520();
|
| + var arg_statuses = buildUnnamed1273();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|