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

Unified Diff: generated/googleapis/test/adexchangebuyer/v1_3_test.dart

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month 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
Index: generated/googleapis/test/adexchangebuyer/v1_3_test.dart
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
index e9dfc877190927a52c2daca403ed251712cf6a62..afe03d3d36f855b8ccf2690eaa93924cb964c0ba 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -74,14 +74,14 @@ checkAccountBidderLocation(api.AccountBidderLocation o) {
buildCounterAccountBidderLocation--;
}
-buildUnnamed1038() {
+buildUnnamed1064() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed1038(core.List<api.AccountBidderLocation> o) {
+checkUnnamed1064(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -92,7 +92,7 @@ buildAccount() {
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed1038();
+ o.bidderLocation = buildUnnamed1064();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -108,7 +108,7 @@ buildAccount() {
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1038(o.bidderLocation);
+ checkUnnamed1064(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -120,14 +120,14 @@ checkAccount(api.Account o) {
buildCounterAccount--;
}
-buildUnnamed1039() {
+buildUnnamed1065() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1039(core.List<api.Account> o) {
+checkUnnamed1065(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -138,7 +138,7 @@ buildAccountsList() {
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed1039();
+ o.items = buildUnnamed1065();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -148,20 +148,20 @@ buildAccountsList() {
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed1039(o.items);
+ checkUnnamed1065(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed1040() {
+buildUnnamed1066() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1040(core.List<core.String> o) {
+checkUnnamed1066(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'));
@@ -174,7 +174,7 @@ buildBillingInfo() {
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed1040();
+ o.billingId = buildUnnamed1066();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -186,20 +186,20 @@ checkBillingInfo(api.BillingInfo o) {
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed1040(o.billingId);
+ checkUnnamed1066(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed1041() {
+buildUnnamed1067() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed1041(core.List<api.BillingInfo> o) {
+checkUnnamed1067(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -210,7 +210,7 @@ buildBillingInfoList() {
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed1041();
+ o.items = buildUnnamed1067();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -220,7 +220,7 @@ buildBillingInfoList() {
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed1041(o.items);
+ checkUnnamed1067(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -255,53 +255,53 @@ checkBudget(api.Budget o) {
buildCounterBudget--;
}
-buildUnnamed1042() {
+buildUnnamed1068() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1042(core.List<core.String> o) {
+checkUnnamed1068(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'));
}
-buildUnnamed1043() {
+buildUnnamed1069() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1043(core.List<core.int> o) {
+checkUnnamed1069(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1044() {
+buildUnnamed1070() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1044(core.List<core.String> o) {
+checkUnnamed1070(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'));
}
-buildUnnamed1045() {
+buildUnnamed1071() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1045(core.List<core.String> o) {
+checkUnnamed1071(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'));
@@ -312,7 +312,7 @@ buildCreativeCorrections() {
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.details = buildUnnamed1045();
+ o.details = buildUnnamed1071();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -322,33 +322,33 @@ buildCreativeCorrections() {
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed1045(o.details);
+ checkUnnamed1071(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed1046() {
+buildUnnamed1072() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed1046(core.List<api.CreativeCorrections> o) {
+checkUnnamed1072(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed1047() {
+buildUnnamed1073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1047(core.List<core.String> o) {
+checkUnnamed1073(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'));
@@ -359,7 +359,7 @@ buildCreativeDisapprovalReasons() {
var o = new api.CreativeDisapprovalReasons();
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- o.details = buildUnnamed1047();
+ o.details = buildUnnamed1073();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -369,20 +369,20 @@ buildCreativeDisapprovalReasons() {
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed1047(o.details);
+ checkUnnamed1073(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed1048() {
+buildUnnamed1074() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed1048(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed1074(core.List<api.CreativeDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDisapprovalReasons(o[0]);
checkCreativeDisapprovalReasons(o[1]);
@@ -409,14 +409,14 @@ checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) {
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed1049() {
+buildUnnamed1075() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed1049(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1075(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -428,7 +428,7 @@ buildCreativeFilteringReasons() {
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed1049();
+ o.reasons = buildUnnamed1075();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -438,19 +438,19 @@ checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed1049(o.reasons);
+ checkUnnamed1075(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed1050() {
+buildUnnamed1076() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1050(core.List<core.String> o) {
+checkUnnamed1076(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'));
@@ -502,14 +502,14 @@ checkCreativeNativeAdImage(api.CreativeNativeAdImage o) {
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed1051() {
+buildUnnamed1077() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1051(core.List<core.String> o) {
+checkUnnamed1077(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'));
@@ -550,7 +550,7 @@ buildCreativeNativeAd() {
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed1051();
+ o.impressionTrackingUrl = buildUnnamed1077();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -570,7 +570,7 @@ checkCreativeNativeAd(api.CreativeNativeAd o) {
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed1051(o.impressionTrackingUrl);
+ checkUnnamed1077(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -579,53 +579,53 @@ checkCreativeNativeAd(api.CreativeNativeAd o) {
buildCounterCreativeNativeAd--;
}
-buildUnnamed1052() {
+buildUnnamed1078() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1052(core.List<core.int> o) {
+checkUnnamed1078(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1053() {
+buildUnnamed1079() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1053(core.List<core.int> o) {
+checkUnnamed1079(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1054() {
+buildUnnamed1080() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1054(core.List<core.int> o) {
+checkUnnamed1080(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1055() {
+buildUnnamed1081() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1055(core.List<core.int> o) {
+checkUnnamed1081(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -638,25 +638,25 @@ buildCreative() {
if (buildCounterCreative < 3) {
o.HTMLSnippet = "foo";
o.accountId = 42;
- o.advertiserId = buildUnnamed1042();
+ o.advertiserId = buildUnnamed1068();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed1043();
+ o.attribute = buildUnnamed1069();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed1044();
- o.corrections = buildUnnamed1046();
- o.disapprovalReasons = buildUnnamed1048();
+ o.clickThroughUrl = buildUnnamed1070();
+ o.corrections = buildUnnamed1072();
+ o.disapprovalReasons = buildUnnamed1074();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed1050();
+ o.impressionTrackingUrl = buildUnnamed1076();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed1052();
- o.restrictedCategories = buildUnnamed1053();
- o.sensitiveCategories = buildUnnamed1054();
+ o.productCategories = buildUnnamed1078();
+ o.restrictedCategories = buildUnnamed1079();
+ o.sensitiveCategories = buildUnnamed1080();
o.status = "foo";
- o.vendorType = buildUnnamed1055();
+ o.vendorType = buildUnnamed1081();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -670,25 +670,25 @@ checkCreative(api.Creative o) {
if (buildCounterCreative < 3) {
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
- checkUnnamed1042(o.advertiserId);
+ checkUnnamed1068(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1043(o.attribute);
+ checkUnnamed1069(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed1044(o.clickThroughUrl);
- checkUnnamed1046(o.corrections);
- checkUnnamed1048(o.disapprovalReasons);
+ checkUnnamed1070(o.clickThroughUrl);
+ checkUnnamed1072(o.corrections);
+ checkUnnamed1074(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed1050(o.impressionTrackingUrl);
+ checkUnnamed1076(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed1052(o.productCategories);
- checkUnnamed1053(o.restrictedCategories);
- checkUnnamed1054(o.sensitiveCategories);
+ checkUnnamed1078(o.productCategories);
+ checkUnnamed1079(o.restrictedCategories);
+ checkUnnamed1080(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1055(o.vendorType);
+ checkUnnamed1081(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -696,14 +696,14 @@ checkCreative(api.Creative o) {
buildCounterCreative--;
}
-buildUnnamed1056() {
+buildUnnamed1082() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed1056(core.List<api.Creative> o) {
+checkUnnamed1082(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -714,7 +714,7 @@ buildCreativesList() {
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed1056();
+ o.items = buildUnnamed1082();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@ buildCreativesList() {
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed1056(o.items);
+ checkUnnamed1082(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -779,14 +779,14 @@ checkDirectDeal(api.DirectDeal o) {
buildCounterDirectDeal--;
}
-buildUnnamed1057() {
+buildUnnamed1083() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed1057(core.List<api.DirectDeal> o) {
+checkUnnamed1083(core.List<api.DirectDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectDeal(o[0]);
checkDirectDeal(o[1]);
@@ -797,7 +797,7 @@ buildDirectDealsList() {
var o = new api.DirectDealsList();
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- o.directDeals = buildUnnamed1057();
+ o.directDeals = buildUnnamed1083();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -807,59 +807,59 @@ buildDirectDealsList() {
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed1057(o.directDeals);
+ checkUnnamed1083(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed1058() {
+buildUnnamed1084() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1058(core.List<core.Object> o) {
+checkUnnamed1084(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1059() {
+buildUnnamed1085() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1059(core.List<core.Object> o) {
+checkUnnamed1085(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed1060() {
+buildUnnamed1086() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1060(core.List<core.Object> o) {
+checkUnnamed1086(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1061() {
+buildUnnamed1087() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1061(core.List<core.Object> o) {
+checkUnnamed1087(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
@@ -872,11 +872,11 @@ buildPerformanceReport() {
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed1058();
- o.cookieMatcherStatusRate = buildUnnamed1059();
- o.creativeStatusRate = buildUnnamed1060();
+ o.calloutStatusRate = buildUnnamed1084();
+ o.cookieMatcherStatusRate = buildUnnamed1085();
+ o.creativeStatusRate = buildUnnamed1086();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed1061();
+ o.hostedMatchStatusRate = buildUnnamed1087();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -902,11 +902,11 @@ checkPerformanceReport(api.PerformanceReport o) {
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed1058(o.calloutStatusRate);
- checkUnnamed1059(o.cookieMatcherStatusRate);
- checkUnnamed1060(o.creativeStatusRate);
+ checkUnnamed1084(o.calloutStatusRate);
+ checkUnnamed1085(o.cookieMatcherStatusRate);
+ checkUnnamed1086(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed1061(o.hostedMatchStatusRate);
+ checkUnnamed1087(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -926,14 +926,14 @@ checkPerformanceReport(api.PerformanceReport o) {
buildCounterPerformanceReport--;
}
-buildUnnamed1062() {
+buildUnnamed1088() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed1062(core.List<api.PerformanceReport> o) {
+checkUnnamed1088(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -945,7 +945,7 @@ buildPerformanceReportList() {
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed1062();
+ o.performanceReport = buildUnnamed1088();
}
buildCounterPerformanceReportList--;
return o;
@@ -955,19 +955,19 @@ checkPerformanceReportList(api.PerformanceReportList o) {
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1062(o.performanceReport);
+ checkUnnamed1088(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed1063() {
+buildUnnamed1089() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1063(core.List<core.String> o) {
+checkUnnamed1089(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'));
@@ -994,40 +994,40 @@ checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed1064() {
+buildUnnamed1090() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed1064(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1090(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed1065() {
+buildUnnamed1091() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1065(core.List<core.String> o) {
+checkUnnamed1091(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'));
}
-buildUnnamed1066() {
+buildUnnamed1092() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1066(core.List<core.String> o) {
+checkUnnamed1092(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'));
@@ -1054,105 +1054,105 @@ checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed1067() {
+buildUnnamed1093() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed1067(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed1093(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed1068() {
+buildUnnamed1094() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1068(core.List<core.String> o) {
+checkUnnamed1094(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'));
}
-buildUnnamed1069() {
+buildUnnamed1095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1069(core.List<core.String> o) {
+checkUnnamed1095(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'));
}
-buildUnnamed1070() {
+buildUnnamed1096() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1070(core.List<core.String> o) {
+checkUnnamed1096(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'));
}
-buildUnnamed1071() {
+buildUnnamed1097() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1071(core.List<core.String> o) {
+checkUnnamed1097(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'));
}
-buildUnnamed1072() {
+buildUnnamed1098() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1072(core.List<core.String> o) {
+checkUnnamed1098(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'));
}
-buildUnnamed1073() {
+buildUnnamed1099() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1073(core.List<core.String> o) {
+checkUnnamed1099(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'));
}
-buildUnnamed1074() {
+buildUnnamed1100() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1074(core.List<core.String> o) {
+checkUnnamed1100(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'));
@@ -1179,79 +1179,79 @@ checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
buildCounterPretargetingConfigPlacements--;
}
-buildUnnamed1075() {
+buildUnnamed1101() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed1075(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed1101(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed1076() {
+buildUnnamed1102() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1076(core.List<core.String> o) {
+checkUnnamed1102(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'));
}
-buildUnnamed1077() {
+buildUnnamed1103() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1077(core.List<core.String> o) {
+checkUnnamed1103(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'));
}
-buildUnnamed1078() {
+buildUnnamed1104() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1078(core.List<core.String> o) {
+checkUnnamed1104(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'));
}
-buildUnnamed1079() {
+buildUnnamed1105() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1079(core.List<core.String> o) {
+checkUnnamed1105(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'));
}
-buildUnnamed1080() {
+buildUnnamed1106() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1080(core.List<core.String> o) {
+checkUnnamed1106(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'));
@@ -1265,26 +1265,26 @@ buildPretargetingConfig() {
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed1063();
- o.dimensions = buildUnnamed1064();
- o.excludedContentLabels = buildUnnamed1065();
- o.excludedGeoCriteriaIds = buildUnnamed1066();
- o.excludedPlacements = buildUnnamed1067();
- o.excludedUserLists = buildUnnamed1068();
- o.excludedVerticals = buildUnnamed1069();
- o.geoCriteriaIds = buildUnnamed1070();
+ o.creativeType = buildUnnamed1089();
+ o.dimensions = buildUnnamed1090();
+ o.excludedContentLabels = buildUnnamed1091();
+ o.excludedGeoCriteriaIds = buildUnnamed1092();
+ o.excludedPlacements = buildUnnamed1093();
+ o.excludedUserLists = buildUnnamed1094();
+ o.excludedVerticals = buildUnnamed1095();
+ o.geoCriteriaIds = buildUnnamed1096();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed1071();
- o.mobileCarriers = buildUnnamed1072();
- o.mobileDevices = buildUnnamed1073();
- o.mobileOperatingSystemVersions = buildUnnamed1074();
- o.placements = buildUnnamed1075();
- o.platforms = buildUnnamed1076();
- o.supportedCreativeAttributes = buildUnnamed1077();
- o.userLists = buildUnnamed1078();
- o.vendorTypes = buildUnnamed1079();
- o.verticals = buildUnnamed1080();
+ o.languages = buildUnnamed1097();
+ o.mobileCarriers = buildUnnamed1098();
+ o.mobileDevices = buildUnnamed1099();
+ o.mobileOperatingSystemVersions = buildUnnamed1100();
+ o.placements = buildUnnamed1101();
+ o.platforms = buildUnnamed1102();
+ o.supportedCreativeAttributes = buildUnnamed1103();
+ o.userLists = buildUnnamed1104();
+ o.vendorTypes = buildUnnamed1105();
+ o.verticals = buildUnnamed1106();
}
buildCounterPretargetingConfig--;
return o;
@@ -1296,38 +1296,38 @@ checkPretargetingConfig(api.PretargetingConfig o) {
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed1063(o.creativeType);
- checkUnnamed1064(o.dimensions);
- checkUnnamed1065(o.excludedContentLabels);
- checkUnnamed1066(o.excludedGeoCriteriaIds);
- checkUnnamed1067(o.excludedPlacements);
- checkUnnamed1068(o.excludedUserLists);
- checkUnnamed1069(o.excludedVerticals);
- checkUnnamed1070(o.geoCriteriaIds);
+ checkUnnamed1089(o.creativeType);
+ checkUnnamed1090(o.dimensions);
+ checkUnnamed1091(o.excludedContentLabels);
+ checkUnnamed1092(o.excludedGeoCriteriaIds);
+ checkUnnamed1093(o.excludedPlacements);
+ checkUnnamed1094(o.excludedUserLists);
+ checkUnnamed1095(o.excludedVerticals);
+ checkUnnamed1096(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1071(o.languages);
- checkUnnamed1072(o.mobileCarriers);
- checkUnnamed1073(o.mobileDevices);
- checkUnnamed1074(o.mobileOperatingSystemVersions);
- checkUnnamed1075(o.placements);
- checkUnnamed1076(o.platforms);
- checkUnnamed1077(o.supportedCreativeAttributes);
- checkUnnamed1078(o.userLists);
- checkUnnamed1079(o.vendorTypes);
- checkUnnamed1080(o.verticals);
+ checkUnnamed1097(o.languages);
+ checkUnnamed1098(o.mobileCarriers);
+ checkUnnamed1099(o.mobileDevices);
+ checkUnnamed1100(o.mobileOperatingSystemVersions);
+ checkUnnamed1101(o.placements);
+ checkUnnamed1102(o.platforms);
+ checkUnnamed1103(o.supportedCreativeAttributes);
+ checkUnnamed1104(o.userLists);
+ checkUnnamed1105(o.vendorTypes);
+ checkUnnamed1106(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed1081() {
+buildUnnamed1107() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed1081(core.List<api.PretargetingConfig> o) {
+checkUnnamed1107(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -1338,7 +1338,7 @@ buildPretargetingConfigList() {
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed1081();
+ o.items = buildUnnamed1107();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1348,33 +1348,33 @@ buildPretargetingConfigList() {
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed1081(o.items);
+ checkUnnamed1107(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed1082() {
+buildUnnamed1108() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1082(core.List<core.int> o) {
+checkUnnamed1108(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1083() {
+buildUnnamed1109() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1083(core.List<core.String> o) {
+checkUnnamed1109(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'));
@@ -2203,8 +2203,8 @@ main() {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed1082();
- var arg_buyerCreativeId = buildUnnamed1083();
+ var arg_accountId = buildUnnamed1108();
+ var arg_buyerCreativeId = buildUnnamed1109();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";

Powered by Google App Engine
This is Rietveld 408576698