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

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

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 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
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 e0a0059f5ecaff6bc9e848f2e76137867478fd2c..e9dfc877190927a52c2daca403ed251712cf6a62 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--;
}
-buildUnnamed3() {
+buildUnnamed1038() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed3(core.List<api.AccountBidderLocation> o) {
+checkUnnamed1038(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 = buildUnnamed3();
+ o.bidderLocation = buildUnnamed1038();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -108,7 +108,7 @@ buildAccount() {
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed3(o.bidderLocation);
+ checkUnnamed1038(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--;
}
-buildUnnamed4() {
+buildUnnamed1039() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed4(core.List<api.Account> o) {
+checkUnnamed1039(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 = buildUnnamed4();
+ o.items = buildUnnamed1039();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -148,20 +148,20 @@ buildAccountsList() {
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed4(o.items);
+ checkUnnamed1039(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed5() {
+buildUnnamed1040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5(core.List<core.String> o) {
+checkUnnamed1040(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 = buildUnnamed5();
+ o.billingId = buildUnnamed1040();
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'));
- checkUnnamed5(o.billingId);
+ checkUnnamed1040(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed6() {
+buildUnnamed1041() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed6(core.List<api.BillingInfo> o) {
+checkUnnamed1041(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 = buildUnnamed6();
+ o.items = buildUnnamed1041();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -220,7 +220,7 @@ buildBillingInfoList() {
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed6(o.items);
+ checkUnnamed1041(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -255,53 +255,53 @@ checkBudget(api.Budget o) {
buildCounterBudget--;
}
-buildUnnamed7() {
+buildUnnamed1042() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed7(core.List<core.String> o) {
+checkUnnamed1042(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'));
}
-buildUnnamed8() {
+buildUnnamed1043() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed8(core.List<core.int> o) {
+checkUnnamed1043(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));
}
-buildUnnamed9() {
+buildUnnamed1044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed9(core.List<core.String> o) {
+checkUnnamed1044(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'));
}
-buildUnnamed10() {
+buildUnnamed1045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed10(core.List<core.String> o) {
+checkUnnamed1045(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 = buildUnnamed10();
+ o.details = buildUnnamed1045();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -322,33 +322,33 @@ buildCreativeCorrections() {
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed10(o.details);
+ checkUnnamed1045(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed11() {
+buildUnnamed1046() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed11(core.List<api.CreativeCorrections> o) {
+checkUnnamed1046(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed12() {
+buildUnnamed1047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed12(core.List<core.String> o) {
+checkUnnamed1047(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 = buildUnnamed12();
+ o.details = buildUnnamed1047();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -369,20 +369,20 @@ buildCreativeDisapprovalReasons() {
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed12(o.details);
+ checkUnnamed1047(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed13() {
+buildUnnamed1048() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed13(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed1048(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--;
}
-buildUnnamed14() {
+buildUnnamed1049() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed14(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1049(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 = buildUnnamed14();
+ o.reasons = buildUnnamed1049();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -438,19 +438,19 @@ checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed14(o.reasons);
+ checkUnnamed1049(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed15() {
+buildUnnamed1050() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed15(core.List<core.String> o) {
+checkUnnamed1050(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--;
}
-buildUnnamed16() {
+buildUnnamed1051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed16(core.List<core.String> o) {
+checkUnnamed1051(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 = buildUnnamed16();
+ o.impressionTrackingUrl = buildUnnamed1051();
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);
- checkUnnamed16(o.impressionTrackingUrl);
+ checkUnnamed1051(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--;
}
-buildUnnamed17() {
+buildUnnamed1052() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed17(core.List<core.int> o) {
+checkUnnamed1052(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));
}
-buildUnnamed18() {
+buildUnnamed1053() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed18(core.List<core.int> o) {
+checkUnnamed1053(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));
}
-buildUnnamed19() {
+buildUnnamed1054() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed19(core.List<core.int> o) {
+checkUnnamed1054(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));
}
-buildUnnamed20() {
+buildUnnamed1055() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed20(core.List<core.int> o) {
+checkUnnamed1055(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 = buildUnnamed7();
+ o.advertiserId = buildUnnamed1042();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed8();
+ o.attribute = buildUnnamed1043();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed9();
- o.corrections = buildUnnamed11();
- o.disapprovalReasons = buildUnnamed13();
+ o.clickThroughUrl = buildUnnamed1044();
+ o.corrections = buildUnnamed1046();
+ o.disapprovalReasons = buildUnnamed1048();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed15();
+ o.impressionTrackingUrl = buildUnnamed1050();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed17();
- o.restrictedCategories = buildUnnamed18();
- o.sensitiveCategories = buildUnnamed19();
+ o.productCategories = buildUnnamed1052();
+ o.restrictedCategories = buildUnnamed1053();
+ o.sensitiveCategories = buildUnnamed1054();
o.status = "foo";
- o.vendorType = buildUnnamed20();
+ o.vendorType = buildUnnamed1055();
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));
- checkUnnamed7(o.advertiserId);
+ checkUnnamed1042(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")));
- checkUnnamed8(o.attribute);
+ checkUnnamed1043(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed9(o.clickThroughUrl);
- checkUnnamed11(o.corrections);
- checkUnnamed13(o.disapprovalReasons);
+ checkUnnamed1044(o.clickThroughUrl);
+ checkUnnamed1046(o.corrections);
+ checkUnnamed1048(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed15(o.impressionTrackingUrl);
+ checkUnnamed1050(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed17(o.productCategories);
- checkUnnamed18(o.restrictedCategories);
- checkUnnamed19(o.sensitiveCategories);
+ checkUnnamed1052(o.productCategories);
+ checkUnnamed1053(o.restrictedCategories);
+ checkUnnamed1054(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed20(o.vendorType);
+ checkUnnamed1055(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--;
}
-buildUnnamed21() {
+buildUnnamed1056() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed21(core.List<api.Creative> o) {
+checkUnnamed1056(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 = buildUnnamed21();
+ o.items = buildUnnamed1056();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@ buildCreativesList() {
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed21(o.items);
+ checkUnnamed1056(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--;
}
-buildUnnamed22() {
+buildUnnamed1057() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed22(core.List<api.DirectDeal> o) {
+checkUnnamed1057(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 = buildUnnamed22();
+ o.directDeals = buildUnnamed1057();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -807,59 +807,59 @@ buildDirectDealsList() {
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed22(o.directDeals);
+ checkUnnamed1057(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed23() {
+buildUnnamed1058() {
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;
}
-checkUnnamed23(core.List<core.Object> o) {
+checkUnnamed1058(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'));
}
-buildUnnamed24() {
+buildUnnamed1059() {
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;
}
-checkUnnamed24(core.List<core.Object> o) {
+checkUnnamed1059(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'));
}
-buildUnnamed25() {
+buildUnnamed1060() {
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;
}
-checkUnnamed25(core.List<core.Object> o) {
+checkUnnamed1060(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'));
}
-buildUnnamed26() {
+buildUnnamed1061() {
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;
}
-checkUnnamed26(core.List<core.Object> o) {
+checkUnnamed1061(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 = buildUnnamed23();
- o.cookieMatcherStatusRate = buildUnnamed24();
- o.creativeStatusRate = buildUnnamed25();
+ o.calloutStatusRate = buildUnnamed1058();
+ o.cookieMatcherStatusRate = buildUnnamed1059();
+ o.creativeStatusRate = buildUnnamed1060();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed26();
+ o.hostedMatchStatusRate = buildUnnamed1061();
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));
- checkUnnamed23(o.calloutStatusRate);
- checkUnnamed24(o.cookieMatcherStatusRate);
- checkUnnamed25(o.creativeStatusRate);
+ checkUnnamed1058(o.calloutStatusRate);
+ checkUnnamed1059(o.cookieMatcherStatusRate);
+ checkUnnamed1060(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed26(o.hostedMatchStatusRate);
+ checkUnnamed1061(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--;
}
-buildUnnamed27() {
+buildUnnamed1062() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed27(core.List<api.PerformanceReport> o) {
+checkUnnamed1062(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 = buildUnnamed27();
+ o.performanceReport = buildUnnamed1062();
}
buildCounterPerformanceReportList--;
return o;
@@ -955,19 +955,19 @@ checkPerformanceReportList(api.PerformanceReportList o) {
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed27(o.performanceReport);
+ checkUnnamed1062(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed28() {
+buildUnnamed1063() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed28(core.List<core.String> o) {
+checkUnnamed1063(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--;
}
-buildUnnamed29() {
+buildUnnamed1064() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed29(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1064(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed30() {
+buildUnnamed1065() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed30(core.List<core.String> o) {
+checkUnnamed1065(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'));
}
-buildUnnamed31() {
+buildUnnamed1066() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed31(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'));
@@ -1054,105 +1054,105 @@ checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed32() {
+buildUnnamed1067() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed32(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed1067(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed33() {
+buildUnnamed1068() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed33(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'));
}
-buildUnnamed34() {
+buildUnnamed1069() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed34(core.List<core.String> o) {
+checkUnnamed1069(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'));
}
-buildUnnamed35() {
+buildUnnamed1070() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed35(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'));
}
-buildUnnamed36() {
+buildUnnamed1071() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed36(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'));
}
-buildUnnamed37() {
+buildUnnamed1072() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed37(core.List<core.String> o) {
+checkUnnamed1072(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'));
}
-buildUnnamed38() {
+buildUnnamed1073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed38(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'));
}
-buildUnnamed39() {
+buildUnnamed1074() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed39(core.List<core.String> o) {
+checkUnnamed1074(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--;
}
-buildUnnamed40() {
+buildUnnamed1075() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed40(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed1075(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed41() {
+buildUnnamed1076() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed41(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'));
}
-buildUnnamed42() {
+buildUnnamed1077() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed42(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'));
}
-buildUnnamed43() {
+buildUnnamed1078() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed43(core.List<core.String> o) {
+checkUnnamed1078(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'));
}
-buildUnnamed44() {
+buildUnnamed1079() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed44(core.List<core.String> o) {
+checkUnnamed1079(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'));
}
-buildUnnamed45() {
+buildUnnamed1080() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed45(core.List<core.String> o) {
+checkUnnamed1080(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 = buildUnnamed28();
- o.dimensions = buildUnnamed29();
- o.excludedContentLabels = buildUnnamed30();
- o.excludedGeoCriteriaIds = buildUnnamed31();
- o.excludedPlacements = buildUnnamed32();
- o.excludedUserLists = buildUnnamed33();
- o.excludedVerticals = buildUnnamed34();
- o.geoCriteriaIds = buildUnnamed35();
+ 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.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed36();
- o.mobileCarriers = buildUnnamed37();
- o.mobileDevices = buildUnnamed38();
- o.mobileOperatingSystemVersions = buildUnnamed39();
- o.placements = buildUnnamed40();
- o.platforms = buildUnnamed41();
- o.supportedCreativeAttributes = buildUnnamed42();
- o.userLists = buildUnnamed43();
- o.vendorTypes = buildUnnamed44();
- o.verticals = buildUnnamed45();
+ 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();
}
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'));
- checkUnnamed28(o.creativeType);
- checkUnnamed29(o.dimensions);
- checkUnnamed30(o.excludedContentLabels);
- checkUnnamed31(o.excludedGeoCriteriaIds);
- checkUnnamed32(o.excludedPlacements);
- checkUnnamed33(o.excludedUserLists);
- checkUnnamed34(o.excludedVerticals);
- checkUnnamed35(o.geoCriteriaIds);
+ checkUnnamed1063(o.creativeType);
+ checkUnnamed1064(o.dimensions);
+ checkUnnamed1065(o.excludedContentLabels);
+ checkUnnamed1066(o.excludedGeoCriteriaIds);
+ checkUnnamed1067(o.excludedPlacements);
+ checkUnnamed1068(o.excludedUserLists);
+ checkUnnamed1069(o.excludedVerticals);
+ checkUnnamed1070(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed36(o.languages);
- checkUnnamed37(o.mobileCarriers);
- checkUnnamed38(o.mobileDevices);
- checkUnnamed39(o.mobileOperatingSystemVersions);
- checkUnnamed40(o.placements);
- checkUnnamed41(o.platforms);
- checkUnnamed42(o.supportedCreativeAttributes);
- checkUnnamed43(o.userLists);
- checkUnnamed44(o.vendorTypes);
- checkUnnamed45(o.verticals);
+ 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);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed46() {
+buildUnnamed1081() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed46(core.List<api.PretargetingConfig> o) {
+checkUnnamed1081(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 = buildUnnamed46();
+ o.items = buildUnnamed1081();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1348,33 +1348,33 @@ buildPretargetingConfigList() {
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed46(o.items);
+ checkUnnamed1081(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed47() {
+buildUnnamed1082() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed47(core.List<core.int> o) {
+checkUnnamed1082(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));
}
-buildUnnamed48() {
+buildUnnamed1083() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed48(core.List<core.String> o) {
+checkUnnamed1083(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 = buildUnnamed47();
- var arg_buyerCreativeId = buildUnnamed48();
+ var arg_accountId = buildUnnamed1082();
+ var arg_buyerCreativeId = buildUnnamed1083();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";

Powered by Google App Engine
This is Rietveld 408576698