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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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/pubspec.yaml ('k') | generated/googleapis/test/adexchangebuyer/v1_4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f9f3cd640a1f1b585085687bf7e5fe7424f9bd61..c8c2772b9d99a96deeae91bed0a2c20d1eadc9b5 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--;
}
-buildUnnamed1183() {
+buildUnnamed1440() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed1183(core.List<api.AccountBidderLocation> o) {
+checkUnnamed1440(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 = buildUnnamed1183();
+ o.bidderLocation = buildUnnamed1440();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -108,7 +108,7 @@ buildAccount() {
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1183(o.bidderLocation);
+ checkUnnamed1440(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--;
}
-buildUnnamed1184() {
+buildUnnamed1441() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1184(core.List<api.Account> o) {
+checkUnnamed1441(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 = buildUnnamed1184();
+ o.items = buildUnnamed1441();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -148,20 +148,20 @@ buildAccountsList() {
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed1184(o.items);
+ checkUnnamed1441(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed1185() {
+buildUnnamed1442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1185(core.List<core.String> o) {
+checkUnnamed1442(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 = buildUnnamed1185();
+ o.billingId = buildUnnamed1442();
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'));
- checkUnnamed1185(o.billingId);
+ checkUnnamed1442(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed1186() {
+buildUnnamed1443() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed1186(core.List<api.BillingInfo> o) {
+checkUnnamed1443(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 = buildUnnamed1186();
+ o.items = buildUnnamed1443();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -220,7 +220,7 @@ buildBillingInfoList() {
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed1186(o.items);
+ checkUnnamed1443(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -255,53 +255,53 @@ checkBudget(api.Budget o) {
buildCounterBudget--;
}
-buildUnnamed1187() {
+buildUnnamed1444() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1187(core.List<core.String> o) {
+checkUnnamed1444(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'));
}
-buildUnnamed1188() {
+buildUnnamed1445() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1188(core.List<core.int> o) {
+checkUnnamed1445(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));
}
-buildUnnamed1189() {
+buildUnnamed1446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1189(core.List<core.String> o) {
+checkUnnamed1446(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'));
}
-buildUnnamed1190() {
+buildUnnamed1447() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1190(core.List<core.String> o) {
+checkUnnamed1447(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 = buildUnnamed1190();
+ o.details = buildUnnamed1447();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -322,33 +322,33 @@ buildCreativeCorrections() {
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed1190(o.details);
+ checkUnnamed1447(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed1191() {
+buildUnnamed1448() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed1191(core.List<api.CreativeCorrections> o) {
+checkUnnamed1448(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed1192() {
+buildUnnamed1449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1192(core.List<core.String> o) {
+checkUnnamed1449(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 = buildUnnamed1192();
+ o.details = buildUnnamed1449();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -369,20 +369,20 @@ buildCreativeDisapprovalReasons() {
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed1192(o.details);
+ checkUnnamed1449(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed1193() {
+buildUnnamed1450() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed1193(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed1450(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--;
}
-buildUnnamed1194() {
+buildUnnamed1451() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed1194(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1451(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 = buildUnnamed1194();
+ o.reasons = buildUnnamed1451();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -438,19 +438,19 @@ checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed1194(o.reasons);
+ checkUnnamed1451(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed1195() {
+buildUnnamed1452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1195(core.List<core.String> o) {
+checkUnnamed1452(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--;
}
-buildUnnamed1196() {
+buildUnnamed1453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1196(core.List<core.String> o) {
+checkUnnamed1453(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 = buildUnnamed1196();
+ o.impressionTrackingUrl = buildUnnamed1453();
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);
- checkUnnamed1196(o.impressionTrackingUrl);
+ checkUnnamed1453(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--;
}
-buildUnnamed1197() {
+buildUnnamed1454() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1197(core.List<core.int> o) {
+checkUnnamed1454(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));
}
-buildUnnamed1198() {
+buildUnnamed1455() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1198(core.List<core.int> o) {
+checkUnnamed1455(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));
}
-buildUnnamed1199() {
+buildUnnamed1456() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1199(core.List<core.int> o) {
+checkUnnamed1456(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));
}
-buildUnnamed1200() {
+buildUnnamed1457() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1200(core.List<core.int> o) {
+checkUnnamed1457(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 = buildUnnamed1187();
+ o.advertiserId = buildUnnamed1444();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed1188();
+ o.attribute = buildUnnamed1445();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed1189();
- o.corrections = buildUnnamed1191();
- o.disapprovalReasons = buildUnnamed1193();
+ o.clickThroughUrl = buildUnnamed1446();
+ o.corrections = buildUnnamed1448();
+ o.disapprovalReasons = buildUnnamed1450();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed1195();
+ o.impressionTrackingUrl = buildUnnamed1452();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed1197();
- o.restrictedCategories = buildUnnamed1198();
- o.sensitiveCategories = buildUnnamed1199();
+ o.productCategories = buildUnnamed1454();
+ o.restrictedCategories = buildUnnamed1455();
+ o.sensitiveCategories = buildUnnamed1456();
o.status = "foo";
- o.vendorType = buildUnnamed1200();
+ o.vendorType = buildUnnamed1457();
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));
- checkUnnamed1187(o.advertiserId);
+ checkUnnamed1444(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")));
- checkUnnamed1188(o.attribute);
+ checkUnnamed1445(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed1189(o.clickThroughUrl);
- checkUnnamed1191(o.corrections);
- checkUnnamed1193(o.disapprovalReasons);
+ checkUnnamed1446(o.clickThroughUrl);
+ checkUnnamed1448(o.corrections);
+ checkUnnamed1450(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed1195(o.impressionTrackingUrl);
+ checkUnnamed1452(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed1197(o.productCategories);
- checkUnnamed1198(o.restrictedCategories);
- checkUnnamed1199(o.sensitiveCategories);
+ checkUnnamed1454(o.productCategories);
+ checkUnnamed1455(o.restrictedCategories);
+ checkUnnamed1456(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1200(o.vendorType);
+ checkUnnamed1457(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--;
}
-buildUnnamed1201() {
+buildUnnamed1458() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed1201(core.List<api.Creative> o) {
+checkUnnamed1458(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 = buildUnnamed1201();
+ o.items = buildUnnamed1458();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@ buildCreativesList() {
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed1201(o.items);
+ checkUnnamed1458(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -739,6 +739,7 @@ buildDirectDeal() {
if (buildCounterDirectDeal < 3) {
o.accountId = 42;
o.advertiser = "foo";
+ o.allowsAlcohol = true;
o.currencyCode = "foo";
o.dealTier = "foo";
o.endTime = "foo";
@@ -760,6 +761,7 @@ checkDirectDeal(api.DirectDeal o) {
if (buildCounterDirectDeal < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.advertiser, unittest.equals('foo'));
+ unittest.expect(o.allowsAlcohol, unittest.isTrue);
unittest.expect(o.currencyCode, unittest.equals('foo'));
unittest.expect(o.dealTier, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
@@ -775,14 +777,14 @@ checkDirectDeal(api.DirectDeal o) {
buildCounterDirectDeal--;
}
-buildUnnamed1202() {
+buildUnnamed1459() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed1202(core.List<api.DirectDeal> o) {
+checkUnnamed1459(core.List<api.DirectDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectDeal(o[0]);
checkDirectDeal(o[1]);
@@ -793,7 +795,7 @@ buildDirectDealsList() {
var o = new api.DirectDealsList();
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- o.directDeals = buildUnnamed1202();
+ o.directDeals = buildUnnamed1459();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -803,59 +805,59 @@ buildDirectDealsList() {
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed1202(o.directDeals);
+ checkUnnamed1459(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed1203() {
+buildUnnamed1460() {
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;
}
-checkUnnamed1203(core.List<core.Object> o) {
+checkUnnamed1460(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'));
}
-buildUnnamed1204() {
+buildUnnamed1461() {
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;
}
-checkUnnamed1204(core.List<core.Object> o) {
+checkUnnamed1461(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'));
}
-buildUnnamed1205() {
+buildUnnamed1462() {
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;
}
-checkUnnamed1205(core.List<core.Object> o) {
+checkUnnamed1462(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'));
}
-buildUnnamed1206() {
+buildUnnamed1463() {
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;
}
-checkUnnamed1206(core.List<core.Object> o) {
+checkUnnamed1463(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'));
@@ -868,11 +870,11 @@ buildPerformanceReport() {
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed1203();
- o.cookieMatcherStatusRate = buildUnnamed1204();
- o.creativeStatusRate = buildUnnamed1205();
+ o.calloutStatusRate = buildUnnamed1460();
+ o.cookieMatcherStatusRate = buildUnnamed1461();
+ o.creativeStatusRate = buildUnnamed1462();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed1206();
+ o.hostedMatchStatusRate = buildUnnamed1463();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -898,11 +900,11 @@ checkPerformanceReport(api.PerformanceReport o) {
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed1203(o.calloutStatusRate);
- checkUnnamed1204(o.cookieMatcherStatusRate);
- checkUnnamed1205(o.creativeStatusRate);
+ checkUnnamed1460(o.calloutStatusRate);
+ checkUnnamed1461(o.cookieMatcherStatusRate);
+ checkUnnamed1462(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed1206(o.hostedMatchStatusRate);
+ checkUnnamed1463(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));
@@ -922,14 +924,14 @@ checkPerformanceReport(api.PerformanceReport o) {
buildCounterPerformanceReport--;
}
-buildUnnamed1207() {
+buildUnnamed1464() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed1207(core.List<api.PerformanceReport> o) {
+checkUnnamed1464(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -941,7 +943,7 @@ buildPerformanceReportList() {
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed1207();
+ o.performanceReport = buildUnnamed1464();
}
buildCounterPerformanceReportList--;
return o;
@@ -951,19 +953,19 @@ checkPerformanceReportList(api.PerformanceReportList o) {
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1207(o.performanceReport);
+ checkUnnamed1464(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed1208() {
+buildUnnamed1465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1208(core.List<core.String> o) {
+checkUnnamed1465(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'));
@@ -990,40 +992,40 @@ checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed1209() {
+buildUnnamed1466() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed1209(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1466(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed1210() {
+buildUnnamed1467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1210(core.List<core.String> o) {
+checkUnnamed1467(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'));
}
-buildUnnamed1211() {
+buildUnnamed1468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1211(core.List<core.String> o) {
+checkUnnamed1468(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'));
@@ -1050,105 +1052,105 @@ checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed1212() {
+buildUnnamed1469() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed1212(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed1469(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed1213() {
+buildUnnamed1470() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1213(core.List<core.String> o) {
+checkUnnamed1470(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'));
}
-buildUnnamed1214() {
+buildUnnamed1471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1214(core.List<core.String> o) {
+checkUnnamed1471(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'));
}
-buildUnnamed1215() {
+buildUnnamed1472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1215(core.List<core.String> o) {
+checkUnnamed1472(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'));
}
-buildUnnamed1216() {
+buildUnnamed1473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1216(core.List<core.String> o) {
+checkUnnamed1473(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'));
}
-buildUnnamed1217() {
+buildUnnamed1474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1217(core.List<core.String> o) {
+checkUnnamed1474(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'));
}
-buildUnnamed1218() {
+buildUnnamed1475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1218(core.List<core.String> o) {
+checkUnnamed1475(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'));
}
-buildUnnamed1219() {
+buildUnnamed1476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1219(core.List<core.String> o) {
+checkUnnamed1476(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'));
@@ -1175,79 +1177,79 @@ checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
buildCounterPretargetingConfigPlacements--;
}
-buildUnnamed1220() {
+buildUnnamed1477() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed1220(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed1477(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed1221() {
+buildUnnamed1478() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1221(core.List<core.String> o) {
+checkUnnamed1478(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'));
}
-buildUnnamed1222() {
+buildUnnamed1479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1222(core.List<core.String> o) {
+checkUnnamed1479(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'));
}
-buildUnnamed1223() {
+buildUnnamed1480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1223(core.List<core.String> o) {
+checkUnnamed1480(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'));
}
-buildUnnamed1224() {
+buildUnnamed1481() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1224(core.List<core.String> o) {
+checkUnnamed1481(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'));
}
-buildUnnamed1225() {
+buildUnnamed1482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1225(core.List<core.String> o) {
+checkUnnamed1482(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'));
@@ -1261,26 +1263,26 @@ buildPretargetingConfig() {
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed1208();
- o.dimensions = buildUnnamed1209();
- o.excludedContentLabels = buildUnnamed1210();
- o.excludedGeoCriteriaIds = buildUnnamed1211();
- o.excludedPlacements = buildUnnamed1212();
- o.excludedUserLists = buildUnnamed1213();
- o.excludedVerticals = buildUnnamed1214();
- o.geoCriteriaIds = buildUnnamed1215();
+ o.creativeType = buildUnnamed1465();
+ o.dimensions = buildUnnamed1466();
+ o.excludedContentLabels = buildUnnamed1467();
+ o.excludedGeoCriteriaIds = buildUnnamed1468();
+ o.excludedPlacements = buildUnnamed1469();
+ o.excludedUserLists = buildUnnamed1470();
+ o.excludedVerticals = buildUnnamed1471();
+ o.geoCriteriaIds = buildUnnamed1472();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed1216();
- o.mobileCarriers = buildUnnamed1217();
- o.mobileDevices = buildUnnamed1218();
- o.mobileOperatingSystemVersions = buildUnnamed1219();
- o.placements = buildUnnamed1220();
- o.platforms = buildUnnamed1221();
- o.supportedCreativeAttributes = buildUnnamed1222();
- o.userLists = buildUnnamed1223();
- o.vendorTypes = buildUnnamed1224();
- o.verticals = buildUnnamed1225();
+ o.languages = buildUnnamed1473();
+ o.mobileCarriers = buildUnnamed1474();
+ o.mobileDevices = buildUnnamed1475();
+ o.mobileOperatingSystemVersions = buildUnnamed1476();
+ o.placements = buildUnnamed1477();
+ o.platforms = buildUnnamed1478();
+ o.supportedCreativeAttributes = buildUnnamed1479();
+ o.userLists = buildUnnamed1480();
+ o.vendorTypes = buildUnnamed1481();
+ o.verticals = buildUnnamed1482();
}
buildCounterPretargetingConfig--;
return o;
@@ -1292,38 +1294,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'));
- checkUnnamed1208(o.creativeType);
- checkUnnamed1209(o.dimensions);
- checkUnnamed1210(o.excludedContentLabels);
- checkUnnamed1211(o.excludedGeoCriteriaIds);
- checkUnnamed1212(o.excludedPlacements);
- checkUnnamed1213(o.excludedUserLists);
- checkUnnamed1214(o.excludedVerticals);
- checkUnnamed1215(o.geoCriteriaIds);
+ checkUnnamed1465(o.creativeType);
+ checkUnnamed1466(o.dimensions);
+ checkUnnamed1467(o.excludedContentLabels);
+ checkUnnamed1468(o.excludedGeoCriteriaIds);
+ checkUnnamed1469(o.excludedPlacements);
+ checkUnnamed1470(o.excludedUserLists);
+ checkUnnamed1471(o.excludedVerticals);
+ checkUnnamed1472(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1216(o.languages);
- checkUnnamed1217(o.mobileCarriers);
- checkUnnamed1218(o.mobileDevices);
- checkUnnamed1219(o.mobileOperatingSystemVersions);
- checkUnnamed1220(o.placements);
- checkUnnamed1221(o.platforms);
- checkUnnamed1222(o.supportedCreativeAttributes);
- checkUnnamed1223(o.userLists);
- checkUnnamed1224(o.vendorTypes);
- checkUnnamed1225(o.verticals);
+ checkUnnamed1473(o.languages);
+ checkUnnamed1474(o.mobileCarriers);
+ checkUnnamed1475(o.mobileDevices);
+ checkUnnamed1476(o.mobileOperatingSystemVersions);
+ checkUnnamed1477(o.placements);
+ checkUnnamed1478(o.platforms);
+ checkUnnamed1479(o.supportedCreativeAttributes);
+ checkUnnamed1480(o.userLists);
+ checkUnnamed1481(o.vendorTypes);
+ checkUnnamed1482(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed1226() {
+buildUnnamed1483() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed1226(core.List<api.PretargetingConfig> o) {
+checkUnnamed1483(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -1334,7 +1336,7 @@ buildPretargetingConfigList() {
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed1226();
+ o.items = buildUnnamed1483();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1344,33 +1346,33 @@ buildPretargetingConfigList() {
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed1226(o.items);
+ checkUnnamed1483(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed1227() {
+buildUnnamed1484() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1227(core.List<core.int> o) {
+checkUnnamed1484(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));
}
-buildUnnamed1228() {
+buildUnnamed1485() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1228(core.List<core.String> o) {
+checkUnnamed1485(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'));
@@ -2199,8 +2201,8 @@ main() {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed1227();
- var arg_buyerCreativeId = buildUnnamed1228();
+ var arg_accountId = buildUnnamed1484();
+ var arg_buyerCreativeId = buildUnnamed1485();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";
« no previous file with comments | « generated/googleapis/pubspec.yaml ('k') | generated/googleapis/test/adexchangebuyer/v1_4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698