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

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

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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 98c25f7b6e7ef90933b3662ccd9dc7de31c724cc..6562a06affdcf4d9617233096620f66077c993fb 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--;
}
-buildUnnamed0() {
+buildUnnamed1003() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed0(core.List<api.AccountBidderLocation> o) {
+checkUnnamed1003(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 = buildUnnamed0();
+ o.bidderLocation = buildUnnamed1003();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -108,7 +108,7 @@ buildAccount() {
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed0(o.bidderLocation);
+ checkUnnamed1003(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--;
}
-buildUnnamed1() {
+buildUnnamed1004() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1(core.List<api.Account> o) {
+checkUnnamed1004(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 = buildUnnamed1();
+ o.items = buildUnnamed1004();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -148,20 +148,20 @@ buildAccountsList() {
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed1(o.items);
+ checkUnnamed1004(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed2() {
+buildUnnamed1005() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2(core.List<core.String> o) {
+checkUnnamed1005(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 = buildUnnamed2();
+ o.billingId = buildUnnamed1005();
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'));
- checkUnnamed2(o.billingId);
+ checkUnnamed1005(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed3() {
+buildUnnamed1006() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed3(core.List<api.BillingInfo> o) {
+checkUnnamed1006(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 = buildUnnamed3();
+ o.items = buildUnnamed1006();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -220,7 +220,7 @@ buildBillingInfoList() {
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed3(o.items);
+ checkUnnamed1006(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -255,53 +255,53 @@ checkBudget(api.Budget o) {
buildCounterBudget--;
}
-buildUnnamed4() {
+buildUnnamed1007() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4(core.List<core.String> o) {
+checkUnnamed1007(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'));
}
-buildUnnamed5() {
+buildUnnamed1008() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed5(core.List<core.int> o) {
+checkUnnamed1008(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));
}
-buildUnnamed6() {
+buildUnnamed1009() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed6(core.List<core.String> o) {
+checkUnnamed1009(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'));
}
-buildUnnamed7() {
+buildUnnamed1010() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed7(core.List<core.String> o) {
+checkUnnamed1010(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 = buildUnnamed7();
+ o.details = buildUnnamed1010();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -322,33 +322,33 @@ buildCreativeCorrections() {
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed7(o.details);
+ checkUnnamed1010(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed8() {
+buildUnnamed1011() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed8(core.List<api.CreativeCorrections> o) {
+checkUnnamed1011(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed9() {
+buildUnnamed1012() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed9(core.List<core.String> o) {
+checkUnnamed1012(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 = buildUnnamed9();
+ o.details = buildUnnamed1012();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -369,20 +369,20 @@ buildCreativeDisapprovalReasons() {
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed9(o.details);
+ checkUnnamed1012(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed10() {
+buildUnnamed1013() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed10(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed1013(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--;
}
-buildUnnamed11() {
+buildUnnamed1014() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed11(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1014(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 = buildUnnamed11();
+ o.reasons = buildUnnamed1014();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -438,19 +438,19 @@ checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed11(o.reasons);
+ checkUnnamed1014(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed12() {
+buildUnnamed1015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed12(core.List<core.String> o) {
+checkUnnamed1015(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--;
}
-buildUnnamed13() {
+buildUnnamed1016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed13(core.List<core.String> o) {
+checkUnnamed1016(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 = buildUnnamed13();
+ o.impressionTrackingUrl = buildUnnamed1016();
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);
- checkUnnamed13(o.impressionTrackingUrl);
+ checkUnnamed1016(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--;
}
-buildUnnamed14() {
+buildUnnamed1017() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed14(core.List<core.int> o) {
+checkUnnamed1017(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));
}
-buildUnnamed15() {
+buildUnnamed1018() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed15(core.List<core.int> o) {
+checkUnnamed1018(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));
}
-buildUnnamed16() {
+buildUnnamed1019() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed16(core.List<core.int> o) {
+checkUnnamed1019(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));
}
-buildUnnamed17() {
+buildUnnamed1020() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed17(core.List<core.int> o) {
+checkUnnamed1020(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 = buildUnnamed4();
+ o.advertiserId = buildUnnamed1007();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed5();
+ o.attribute = buildUnnamed1008();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed6();
- o.corrections = buildUnnamed8();
- o.disapprovalReasons = buildUnnamed10();
+ o.clickThroughUrl = buildUnnamed1009();
+ o.corrections = buildUnnamed1011();
+ o.disapprovalReasons = buildUnnamed1013();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed12();
+ o.impressionTrackingUrl = buildUnnamed1015();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed14();
- o.restrictedCategories = buildUnnamed15();
- o.sensitiveCategories = buildUnnamed16();
+ o.productCategories = buildUnnamed1017();
+ o.restrictedCategories = buildUnnamed1018();
+ o.sensitiveCategories = buildUnnamed1019();
o.status = "foo";
- o.vendorType = buildUnnamed17();
+ o.vendorType = buildUnnamed1020();
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));
- checkUnnamed4(o.advertiserId);
+ checkUnnamed1007(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")));
- checkUnnamed5(o.attribute);
+ checkUnnamed1008(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed6(o.clickThroughUrl);
- checkUnnamed8(o.corrections);
- checkUnnamed10(o.disapprovalReasons);
+ checkUnnamed1009(o.clickThroughUrl);
+ checkUnnamed1011(o.corrections);
+ checkUnnamed1013(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed12(o.impressionTrackingUrl);
+ checkUnnamed1015(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed14(o.productCategories);
- checkUnnamed15(o.restrictedCategories);
- checkUnnamed16(o.sensitiveCategories);
+ checkUnnamed1017(o.productCategories);
+ checkUnnamed1018(o.restrictedCategories);
+ checkUnnamed1019(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed17(o.vendorType);
+ checkUnnamed1020(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--;
}
-buildUnnamed18() {
+buildUnnamed1021() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed18(core.List<api.Creative> o) {
+checkUnnamed1021(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 = buildUnnamed18();
+ o.items = buildUnnamed1021();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@ buildCreativesList() {
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed18(o.items);
+ checkUnnamed1021(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--;
}
-buildUnnamed19() {
+buildUnnamed1022() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed19(core.List<api.DirectDeal> o) {
+checkUnnamed1022(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 = buildUnnamed19();
+ o.directDeals = buildUnnamed1022();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -807,59 +807,59 @@ buildDirectDealsList() {
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed19(o.directDeals);
+ checkUnnamed1022(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed20() {
+buildUnnamed1023() {
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;
}
-checkUnnamed20(core.List<core.Object> o) {
+checkUnnamed1023(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'));
}
-buildUnnamed21() {
+buildUnnamed1024() {
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;
}
-checkUnnamed21(core.List<core.Object> o) {
+checkUnnamed1024(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'));
}
-buildUnnamed22() {
+buildUnnamed1025() {
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;
}
-checkUnnamed22(core.List<core.Object> o) {
+checkUnnamed1025(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'));
}
-buildUnnamed23() {
+buildUnnamed1026() {
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) {
+checkUnnamed1026(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 = buildUnnamed20();
- o.cookieMatcherStatusRate = buildUnnamed21();
- o.creativeStatusRate = buildUnnamed22();
+ o.calloutStatusRate = buildUnnamed1023();
+ o.cookieMatcherStatusRate = buildUnnamed1024();
+ o.creativeStatusRate = buildUnnamed1025();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed23();
+ o.hostedMatchStatusRate = buildUnnamed1026();
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));
- checkUnnamed20(o.calloutStatusRate);
- checkUnnamed21(o.cookieMatcherStatusRate);
- checkUnnamed22(o.creativeStatusRate);
+ checkUnnamed1023(o.calloutStatusRate);
+ checkUnnamed1024(o.cookieMatcherStatusRate);
+ checkUnnamed1025(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed23(o.hostedMatchStatusRate);
+ checkUnnamed1026(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--;
}
-buildUnnamed24() {
+buildUnnamed1027() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed24(core.List<api.PerformanceReport> o) {
+checkUnnamed1027(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 = buildUnnamed24();
+ o.performanceReport = buildUnnamed1027();
}
buildCounterPerformanceReportList--;
return o;
@@ -955,19 +955,19 @@ checkPerformanceReportList(api.PerformanceReportList o) {
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed24(o.performanceReport);
+ checkUnnamed1027(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed25() {
+buildUnnamed1028() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed25(core.List<core.String> o) {
+checkUnnamed1028(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--;
}
-buildUnnamed26() {
+buildUnnamed1029() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed26(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1029(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed27() {
+buildUnnamed1030() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed27(core.List<core.String> o) {
+checkUnnamed1030(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'));
}
-buildUnnamed28() {
+buildUnnamed1031() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed28(core.List<core.String> o) {
+checkUnnamed1031(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--;
}
-buildUnnamed29() {
+buildUnnamed1032() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed29(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed1032(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed30() {
+buildUnnamed1033() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed30(core.List<core.String> o) {
+checkUnnamed1033(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() {
+buildUnnamed1034() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed31(core.List<core.String> o) {
+checkUnnamed1034(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'));
}
-buildUnnamed32() {
+buildUnnamed1035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed32(core.List<core.String> o) {
+checkUnnamed1035(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'));
}
-buildUnnamed33() {
+buildUnnamed1036() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed33(core.List<core.String> o) {
+checkUnnamed1036(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() {
+buildUnnamed1037() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed34(core.List<core.String> o) {
+checkUnnamed1037(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() {
+buildUnnamed1038() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed35(core.List<core.String> o) {
+checkUnnamed1038(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() {
+buildUnnamed1039() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed36(core.List<core.String> o) {
+checkUnnamed1039(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--;
}
-buildUnnamed37() {
+buildUnnamed1040() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed37(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed1040(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed38() {
+buildUnnamed1041() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed38(core.List<core.String> o) {
+checkUnnamed1041(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() {
+buildUnnamed1042() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed39(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'));
}
-buildUnnamed40() {
+buildUnnamed1043() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed40(core.List<core.String> o) {
+checkUnnamed1043(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'));
}
-buildUnnamed41() {
+buildUnnamed1044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed41(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'));
}
-buildUnnamed42() {
+buildUnnamed1045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed42(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'));
@@ -1265,26 +1265,26 @@ buildPretargetingConfig() {
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed25();
- o.dimensions = buildUnnamed26();
- o.excludedContentLabels = buildUnnamed27();
- o.excludedGeoCriteriaIds = buildUnnamed28();
- o.excludedPlacements = buildUnnamed29();
- o.excludedUserLists = buildUnnamed30();
- o.excludedVerticals = buildUnnamed31();
- o.geoCriteriaIds = buildUnnamed32();
+ o.creativeType = buildUnnamed1028();
+ o.dimensions = buildUnnamed1029();
+ o.excludedContentLabels = buildUnnamed1030();
+ o.excludedGeoCriteriaIds = buildUnnamed1031();
+ o.excludedPlacements = buildUnnamed1032();
+ o.excludedUserLists = buildUnnamed1033();
+ o.excludedVerticals = buildUnnamed1034();
+ o.geoCriteriaIds = buildUnnamed1035();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed33();
- o.mobileCarriers = buildUnnamed34();
- o.mobileDevices = buildUnnamed35();
- o.mobileOperatingSystemVersions = buildUnnamed36();
- o.placements = buildUnnamed37();
- o.platforms = buildUnnamed38();
- o.supportedCreativeAttributes = buildUnnamed39();
- o.userLists = buildUnnamed40();
- o.vendorTypes = buildUnnamed41();
- o.verticals = buildUnnamed42();
+ o.languages = buildUnnamed1036();
+ o.mobileCarriers = buildUnnamed1037();
+ o.mobileDevices = buildUnnamed1038();
+ o.mobileOperatingSystemVersions = buildUnnamed1039();
+ o.placements = buildUnnamed1040();
+ o.platforms = buildUnnamed1041();
+ o.supportedCreativeAttributes = buildUnnamed1042();
+ o.userLists = buildUnnamed1043();
+ o.vendorTypes = buildUnnamed1044();
+ o.verticals = buildUnnamed1045();
}
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'));
- checkUnnamed25(o.creativeType);
- checkUnnamed26(o.dimensions);
- checkUnnamed27(o.excludedContentLabels);
- checkUnnamed28(o.excludedGeoCriteriaIds);
- checkUnnamed29(o.excludedPlacements);
- checkUnnamed30(o.excludedUserLists);
- checkUnnamed31(o.excludedVerticals);
- checkUnnamed32(o.geoCriteriaIds);
+ checkUnnamed1028(o.creativeType);
+ checkUnnamed1029(o.dimensions);
+ checkUnnamed1030(o.excludedContentLabels);
+ checkUnnamed1031(o.excludedGeoCriteriaIds);
+ checkUnnamed1032(o.excludedPlacements);
+ checkUnnamed1033(o.excludedUserLists);
+ checkUnnamed1034(o.excludedVerticals);
+ checkUnnamed1035(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed33(o.languages);
- checkUnnamed34(o.mobileCarriers);
- checkUnnamed35(o.mobileDevices);
- checkUnnamed36(o.mobileOperatingSystemVersions);
- checkUnnamed37(o.placements);
- checkUnnamed38(o.platforms);
- checkUnnamed39(o.supportedCreativeAttributes);
- checkUnnamed40(o.userLists);
- checkUnnamed41(o.vendorTypes);
- checkUnnamed42(o.verticals);
+ checkUnnamed1036(o.languages);
+ checkUnnamed1037(o.mobileCarriers);
+ checkUnnamed1038(o.mobileDevices);
+ checkUnnamed1039(o.mobileOperatingSystemVersions);
+ checkUnnamed1040(o.placements);
+ checkUnnamed1041(o.platforms);
+ checkUnnamed1042(o.supportedCreativeAttributes);
+ checkUnnamed1043(o.userLists);
+ checkUnnamed1044(o.vendorTypes);
+ checkUnnamed1045(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed43() {
+buildUnnamed1046() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed43(core.List<api.PretargetingConfig> o) {
+checkUnnamed1046(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 = buildUnnamed43();
+ o.items = buildUnnamed1046();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1348,33 +1348,33 @@ buildPretargetingConfigList() {
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed43(o.items);
+ checkUnnamed1046(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed44() {
+buildUnnamed1047() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed44(core.List<core.int> o) {
+checkUnnamed1047(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));
}
-buildUnnamed45() {
+buildUnnamed1048() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed45(core.List<core.String> o) {
+checkUnnamed1048(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 = buildUnnamed44();
- var arg_buyerCreativeId = buildUnnamed45();
+ var arg_accountId = buildUnnamed1047();
+ var arg_buyerCreativeId = buildUnnamed1048();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";

Powered by Google App Engine
This is Rietveld 408576698