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

Unified Diff: generated/googleapis/test/manufacturers/v1_test.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/test/logging/v2_test.dart ('k') | generated/googleapis/test/mirror/v1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/test/manufacturers/v1_test.dart
diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart
index b61de5b457f0d78929e49e91cbf80b417a62cf2a..f73a210f0cd5645c10b9f5df94b4f3232a4b7f86 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -51,79 +51,79 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1587() {
+buildUnnamed1604() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed1587(core.List<api.Image> o) {
+checkUnnamed1604(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
}
-buildUnnamed1588() {
+buildUnnamed1605() {
var o = new core.List<api.FeatureDescription>();
o.add(buildFeatureDescription());
o.add(buildFeatureDescription());
return o;
}
-checkUnnamed1588(core.List<api.FeatureDescription> o) {
+checkUnnamed1605(core.List<api.FeatureDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeatureDescription(o[0]);
checkFeatureDescription(o[1]);
}
-buildUnnamed1589() {
+buildUnnamed1606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1589(core.List<core.String> o) {
+checkUnnamed1606(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'));
}
-buildUnnamed1590() {
+buildUnnamed1607() {
var o = new core.List<api.ProductDetail>();
o.add(buildProductDetail());
o.add(buildProductDetail());
return o;
}
-checkUnnamed1590(core.List<api.ProductDetail> o) {
+checkUnnamed1607(core.List<api.ProductDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDetail(o[0]);
checkProductDetail(o[1]);
}
-buildUnnamed1591() {
+buildUnnamed1608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1591(core.List<core.String> o) {
+checkUnnamed1608(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'));
}
-buildUnnamed1592() {
+buildUnnamed1609() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1592(core.List<core.String> o) {
+checkUnnamed1609(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'));
@@ -134,7 +134,7 @@ buildAttributes() {
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.additionalImageLink = buildUnnamed1587();
+ o.additionalImageLink = buildUnnamed1604();
o.ageGroup = "foo";
o.brand = "foo";
o.capacity = buildCapacity();
@@ -142,30 +142,31 @@ buildAttributes() {
o.count = buildCount();
o.description = "foo";
o.disclosureDate = "foo";
- o.featureDescription = buildUnnamed1588();
+ o.featureDescription = buildUnnamed1605();
o.flavor = "foo";
o.format = "foo";
o.gender = "foo";
- o.gtin = buildUnnamed1589();
+ o.gtin = buildUnnamed1606();
o.imageLink = buildImage();
o.itemGroupId = "foo";
o.material = "foo";
o.mpn = "foo";
o.pattern = "foo";
- o.productDetail = buildUnnamed1590();
+ o.productDetail = buildUnnamed1607();
o.productLine = "foo";
o.productName = "foo";
o.productPageUrl = "foo";
- o.productType = buildUnnamed1591();
+ o.productType = buildUnnamed1608();
o.releaseDate = "foo";
o.scent = "foo";
o.size = "foo";
o.sizeSystem = "foo";
o.sizeType = "foo";
o.suggestedRetailPrice = buildPrice();
+ o.targetAccountId = "foo";
o.theme = "foo";
o.title = "foo";
- o.videoLink = buildUnnamed1592();
+ o.videoLink = buildUnnamed1609();
}
buildCounterAttributes--;
return o;
@@ -174,7 +175,7 @@ buildAttributes() {
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1587(o.additionalImageLink);
+ checkUnnamed1604(o.additionalImageLink);
unittest.expect(o.ageGroup, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
checkCapacity(o.capacity);
@@ -182,30 +183,31 @@ checkAttributes(api.Attributes o) {
checkCount(o.count);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.disclosureDate, unittest.equals('foo'));
- checkUnnamed1588(o.featureDescription);
+ checkUnnamed1605(o.featureDescription);
unittest.expect(o.flavor, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed1589(o.gtin);
+ checkUnnamed1606(o.gtin);
checkImage(o.imageLink);
unittest.expect(o.itemGroupId, unittest.equals('foo'));
unittest.expect(o.material, unittest.equals('foo'));
unittest.expect(o.mpn, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed1590(o.productDetail);
+ checkUnnamed1607(o.productDetail);
unittest.expect(o.productLine, unittest.equals('foo'));
unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.productPageUrl, unittest.equals('foo'));
- checkUnnamed1591(o.productType);
+ checkUnnamed1608(o.productType);
unittest.expect(o.releaseDate, unittest.equals('foo'));
unittest.expect(o.scent, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals('foo'));
unittest.expect(o.sizeSystem, unittest.equals('foo'));
unittest.expect(o.sizeType, unittest.equals('foo'));
checkPrice(o.suggestedRetailPrice);
+ unittest.expect(o.targetAccountId, unittest.equals('foo'));
unittest.expect(o.theme, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1592(o.videoLink);
+ checkUnnamed1609(o.videoLink);
}
buildCounterAttributes--;
}
@@ -342,14 +344,14 @@ checkIssue(api.Issue o) {
buildCounterIssue--;
}
-buildUnnamed1593() {
+buildUnnamed1610() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1593(core.List<api.Product> o) {
+checkUnnamed1610(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -361,7 +363,7 @@ buildListProductsResponse() {
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed1593();
+ o.products = buildUnnamed1610();
}
buildCounterListProductsResponse--;
return o;
@@ -371,7 +373,7 @@ checkListProductsResponse(api.ListProductsResponse o) {
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1593(o.products);
+ checkUnnamed1610(o.products);
}
buildCounterListProductsResponse--;
}
@@ -397,27 +399,27 @@ checkPrice(api.Price o) {
buildCounterPrice--;
}
-buildUnnamed1594() {
+buildUnnamed1611() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed1594(core.List<api.Issue> o) {
+checkUnnamed1611(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed1595() {
+buildUnnamed1612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1595(core.List<core.String> o) {
+checkUnnamed1612(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'));
@@ -430,8 +432,8 @@ buildProduct() {
if (buildCounterProduct < 3) {
o.contentLanguage = "foo";
o.finalAttributes = buildAttributes();
- o.issues = buildUnnamed1594();
- o.manuallyDeletedAttributes = buildUnnamed1595();
+ o.issues = buildUnnamed1611();
+ o.manuallyDeletedAttributes = buildUnnamed1612();
o.manuallyProvidedAttributes = buildAttributes();
o.name = "foo";
o.parent = "foo";
@@ -448,8 +450,8 @@ checkProduct(api.Product o) {
if (buildCounterProduct < 3) {
unittest.expect(o.contentLanguage, unittest.equals('foo'));
checkAttributes(o.finalAttributes);
- checkUnnamed1594(o.issues);
- checkUnnamed1595(o.manuallyDeletedAttributes);
+ checkUnnamed1611(o.issues);
+ checkUnnamed1612(o.manuallyDeletedAttributes);
checkAttributes(o.manuallyProvidedAttributes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
@@ -682,8 +684,8 @@ main() {
var mock = new HttpServerMock();
api.AccountsProductsResourceApi res = new api.ManufacturersApi(mock).accounts.products;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -711,8 +713,8 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -721,7 +723,7 @@ main() {
var resp = convert.JSON.encode(buildListProductsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListProductsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListProductsResponse response) {
checkListProductsResponse(response);
})));
});
« no previous file with comments | « generated/googleapis/test/logging/v2_test.dart ('k') | generated/googleapis/test/mirror/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698