| 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 558a215dbffdc8f22f045af23691930569783831..97f508dd69e811b1c7ba1044401fba9adfbc423e 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--;
|
| }
|
|
|
| -buildUnnamed841() {
|
| +buildUnnamed0() {
|
| var o = new core.List<api.AccountBidderLocation>();
|
| o.add(buildAccountBidderLocation());
|
| o.add(buildAccountBidderLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed841(core.List<api.AccountBidderLocation> o) {
|
| +checkUnnamed0(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 = buildUnnamed841();
|
| + o.bidderLocation = buildUnnamed0();
|
| o.cookieMatchingNid = "foo";
|
| o.cookieMatchingUrl = "foo";
|
| o.id = 42;
|
| @@ -108,7 +108,7 @@ buildAccount() {
|
| checkAccount(api.Account o) {
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - checkUnnamed841(o.bidderLocation);
|
| + checkUnnamed0(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--;
|
| }
|
|
|
| -buildUnnamed842() {
|
| +buildUnnamed1() {
|
| var o = new core.List<api.Account>();
|
| o.add(buildAccount());
|
| o.add(buildAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed842(core.List<api.Account> o) {
|
| +checkUnnamed1(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 = buildUnnamed842();
|
| + o.items = buildUnnamed1();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountsList--;
|
| @@ -148,20 +148,20 @@ buildAccountsList() {
|
| checkAccountsList(api.AccountsList o) {
|
| buildCounterAccountsList++;
|
| if (buildCounterAccountsList < 3) {
|
| - checkUnnamed842(o.items);
|
| + checkUnnamed1(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountsList--;
|
| }
|
|
|
| -buildUnnamed843() {
|
| +buildUnnamed2() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed843(core.List<core.String> o) {
|
| +checkUnnamed2(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 = buildUnnamed843();
|
| + o.billingId = buildUnnamed2();
|
| 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'));
|
| - checkUnnamed843(o.billingId);
|
| + checkUnnamed2(o.billingId);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBillingInfo--;
|
| }
|
|
|
| -buildUnnamed844() {
|
| +buildUnnamed3() {
|
| var o = new core.List<api.BillingInfo>();
|
| o.add(buildBillingInfo());
|
| o.add(buildBillingInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed844(core.List<api.BillingInfo> o) {
|
| +checkUnnamed3(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 = buildUnnamed844();
|
| + o.items = buildUnnamed3();
|
| o.kind = "foo";
|
| }
|
| buildCounterBillingInfoList--;
|
| @@ -220,7 +220,7 @@ buildBillingInfoList() {
|
| checkBillingInfoList(api.BillingInfoList o) {
|
| buildCounterBillingInfoList++;
|
| if (buildCounterBillingInfoList < 3) {
|
| - checkUnnamed844(o.items);
|
| + checkUnnamed3(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBillingInfoList--;
|
| @@ -255,53 +255,53 @@ checkBudget(api.Budget o) {
|
| buildCounterBudget--;
|
| }
|
|
|
| -buildUnnamed845() {
|
| +buildUnnamed4() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed845(core.List<core.String> o) {
|
| +checkUnnamed4(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'));
|
| }
|
|
|
| -buildUnnamed846() {
|
| +buildUnnamed5() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed846(core.List<core.int> o) {
|
| +checkUnnamed5(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));
|
| }
|
|
|
| -buildUnnamed847() {
|
| +buildUnnamed6() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed847(core.List<core.String> o) {
|
| +checkUnnamed6(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'));
|
| }
|
|
|
| -buildUnnamed848() {
|
| +buildUnnamed7() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed848(core.List<core.String> o) {
|
| +checkUnnamed7(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 = buildUnnamed848();
|
| + o.details = buildUnnamed7();
|
| o.reason = "foo";
|
| }
|
| buildCounterCreativeCorrections--;
|
| @@ -322,33 +322,33 @@ buildCreativeCorrections() {
|
| checkCreativeCorrections(api.CreativeCorrections o) {
|
| buildCounterCreativeCorrections++;
|
| if (buildCounterCreativeCorrections < 3) {
|
| - checkUnnamed848(o.details);
|
| + checkUnnamed7(o.details);
|
| unittest.expect(o.reason, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeCorrections--;
|
| }
|
|
|
| -buildUnnamed849() {
|
| +buildUnnamed8() {
|
| var o = new core.List<api.CreativeCorrections>();
|
| o.add(buildCreativeCorrections());
|
| o.add(buildCreativeCorrections());
|
| return o;
|
| }
|
|
|
| -checkUnnamed849(core.List<api.CreativeCorrections> o) {
|
| +checkUnnamed8(core.List<api.CreativeCorrections> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCorrections(o[0]);
|
| checkCreativeCorrections(o[1]);
|
| }
|
|
|
| -buildUnnamed850() {
|
| +buildUnnamed9() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed850(core.List<core.String> o) {
|
| +checkUnnamed9(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 = buildUnnamed850();
|
| + o.details = buildUnnamed9();
|
| o.reason = "foo";
|
| }
|
| buildCounterCreativeDisapprovalReasons--;
|
| @@ -369,20 +369,20 @@ buildCreativeDisapprovalReasons() {
|
| checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
|
| buildCounterCreativeDisapprovalReasons++;
|
| if (buildCounterCreativeDisapprovalReasons < 3) {
|
| - checkUnnamed850(o.details);
|
| + checkUnnamed9(o.details);
|
| unittest.expect(o.reason, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeDisapprovalReasons--;
|
| }
|
|
|
| -buildUnnamed851() {
|
| +buildUnnamed10() {
|
| var o = new core.List<api.CreativeDisapprovalReasons>();
|
| o.add(buildCreativeDisapprovalReasons());
|
| o.add(buildCreativeDisapprovalReasons());
|
| return o;
|
| }
|
|
|
| -checkUnnamed851(core.List<api.CreativeDisapprovalReasons> o) {
|
| +checkUnnamed10(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--;
|
| }
|
|
|
| -buildUnnamed852() {
|
| +buildUnnamed11() {
|
| var o = new core.List<api.CreativeFilteringReasonsReasons>();
|
| o.add(buildCreativeFilteringReasonsReasons());
|
| o.add(buildCreativeFilteringReasonsReasons());
|
| return o;
|
| }
|
|
|
| -checkUnnamed852(core.List<api.CreativeFilteringReasonsReasons> o) {
|
| +checkUnnamed11(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 = buildUnnamed852();
|
| + o.reasons = buildUnnamed11();
|
| }
|
| buildCounterCreativeFilteringReasons--;
|
| return o;
|
| @@ -438,58 +438,58 @@ checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
|
| buildCounterCreativeFilteringReasons++;
|
| if (buildCounterCreativeFilteringReasons < 3) {
|
| unittest.expect(o.date, unittest.equals('foo'));
|
| - checkUnnamed852(o.reasons);
|
| + checkUnnamed11(o.reasons);
|
| }
|
| buildCounterCreativeFilteringReasons--;
|
| }
|
|
|
| -buildUnnamed853() {
|
| +buildUnnamed12() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed853(core.List<core.int> o) {
|
| +checkUnnamed12(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));
|
| }
|
|
|
| -buildUnnamed854() {
|
| +buildUnnamed13() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed854(core.List<core.int> o) {
|
| +checkUnnamed13(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));
|
| }
|
|
|
| -buildUnnamed855() {
|
| +buildUnnamed14() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed855(core.List<core.int> o) {
|
| +checkUnnamed14(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));
|
| }
|
|
|
| -buildUnnamed856() {
|
| +buildUnnamed15() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed856(core.List<core.int> o) {
|
| +checkUnnamed15(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));
|
| @@ -502,22 +502,22 @@ buildCreative() {
|
| if (buildCounterCreative < 3) {
|
| o.HTMLSnippet = "foo";
|
| o.accountId = 42;
|
| - o.advertiserId = buildUnnamed845();
|
| + o.advertiserId = buildUnnamed4();
|
| o.advertiserName = "foo";
|
| o.agencyId = "foo";
|
| - o.attribute = buildUnnamed846();
|
| + o.attribute = buildUnnamed5();
|
| o.buyerCreativeId = "foo";
|
| - o.clickThroughUrl = buildUnnamed847();
|
| - o.corrections = buildUnnamed849();
|
| - o.disapprovalReasons = buildUnnamed851();
|
| + o.clickThroughUrl = buildUnnamed6();
|
| + o.corrections = buildUnnamed8();
|
| + o.disapprovalReasons = buildUnnamed10();
|
| o.filteringReasons = buildCreativeFilteringReasons();
|
| o.height = 42;
|
| o.kind = "foo";
|
| - o.productCategories = buildUnnamed853();
|
| - o.restrictedCategories = buildUnnamed854();
|
| - o.sensitiveCategories = buildUnnamed855();
|
| + o.productCategories = buildUnnamed12();
|
| + o.restrictedCategories = buildUnnamed13();
|
| + o.sensitiveCategories = buildUnnamed14();
|
| o.status = "foo";
|
| - o.vendorType = buildUnnamed856();
|
| + o.vendorType = buildUnnamed15();
|
| o.videoURL = "foo";
|
| o.width = 42;
|
| }
|
| @@ -530,36 +530,36 @@ checkCreative(api.Creative o) {
|
| if (buildCounterCreative < 3) {
|
| unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
|
| unittest.expect(o.accountId, unittest.equals(42));
|
| - checkUnnamed845(o.advertiserId);
|
| + checkUnnamed4(o.advertiserId);
|
| unittest.expect(o.advertiserName, unittest.equals('foo'));
|
| unittest.expect(o.agencyId, unittest.equals('foo'));
|
| - checkUnnamed846(o.attribute);
|
| + checkUnnamed5(o.attribute);
|
| unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
|
| - checkUnnamed847(o.clickThroughUrl);
|
| - checkUnnamed849(o.corrections);
|
| - checkUnnamed851(o.disapprovalReasons);
|
| + checkUnnamed6(o.clickThroughUrl);
|
| + checkUnnamed8(o.corrections);
|
| + checkUnnamed10(o.disapprovalReasons);
|
| checkCreativeFilteringReasons(o.filteringReasons);
|
| unittest.expect(o.height, unittest.equals(42));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed853(o.productCategories);
|
| - checkUnnamed854(o.restrictedCategories);
|
| - checkUnnamed855(o.sensitiveCategories);
|
| + checkUnnamed12(o.productCategories);
|
| + checkUnnamed13(o.restrictedCategories);
|
| + checkUnnamed14(o.sensitiveCategories);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| - checkUnnamed856(o.vendorType);
|
| + checkUnnamed15(o.vendorType);
|
| unittest.expect(o.videoURL, unittest.equals('foo'));
|
| unittest.expect(o.width, unittest.equals(42));
|
| }
|
| buildCounterCreative--;
|
| }
|
|
|
| -buildUnnamed857() {
|
| +buildUnnamed16() {
|
| var o = new core.List<api.Creative>();
|
| o.add(buildCreative());
|
| o.add(buildCreative());
|
| return o;
|
| }
|
|
|
| -checkUnnamed857(core.List<api.Creative> o) {
|
| +checkUnnamed16(core.List<api.Creative> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreative(o[0]);
|
| checkCreative(o[1]);
|
| @@ -570,7 +570,7 @@ buildCreativesList() {
|
| var o = new api.CreativesList();
|
| buildCounterCreativesList++;
|
| if (buildCounterCreativesList < 3) {
|
| - o.items = buildUnnamed857();
|
| + o.items = buildUnnamed16();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -581,7 +581,7 @@ buildCreativesList() {
|
| checkCreativesList(api.CreativesList o) {
|
| buildCounterCreativesList++;
|
| if (buildCounterCreativesList < 3) {
|
| - checkUnnamed857(o.items);
|
| + checkUnnamed16(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -629,14 +629,14 @@ checkDirectDeal(api.DirectDeal o) {
|
| buildCounterDirectDeal--;
|
| }
|
|
|
| -buildUnnamed858() {
|
| +buildUnnamed17() {
|
| var o = new core.List<api.DirectDeal>();
|
| o.add(buildDirectDeal());
|
| o.add(buildDirectDeal());
|
| return o;
|
| }
|
|
|
| -checkUnnamed858(core.List<api.DirectDeal> o) {
|
| +checkUnnamed17(core.List<api.DirectDeal> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectDeal(o[0]);
|
| checkDirectDeal(o[1]);
|
| @@ -647,7 +647,7 @@ buildDirectDealsList() {
|
| var o = new api.DirectDealsList();
|
| buildCounterDirectDealsList++;
|
| if (buildCounterDirectDealsList < 3) {
|
| - o.directDeals = buildUnnamed858();
|
| + o.directDeals = buildUnnamed17();
|
| o.kind = "foo";
|
| }
|
| buildCounterDirectDealsList--;
|
| @@ -657,59 +657,59 @@ buildDirectDealsList() {
|
| checkDirectDealsList(api.DirectDealsList o) {
|
| buildCounterDirectDealsList++;
|
| if (buildCounterDirectDealsList < 3) {
|
| - checkUnnamed858(o.directDeals);
|
| + checkUnnamed17(o.directDeals);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDirectDealsList--;
|
| }
|
|
|
| -buildUnnamed859() {
|
| +buildUnnamed18() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed859(core.List<core.Object> o) {
|
| +checkUnnamed18(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'));
|
| }
|
|
|
| -buildUnnamed860() {
|
| +buildUnnamed19() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed860(core.List<core.Object> o) {
|
| +checkUnnamed19(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'));
|
| }
|
|
|
| -buildUnnamed861() {
|
| +buildUnnamed20() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed861(core.List<core.Object> o) {
|
| +checkUnnamed20(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'));
|
| }
|
|
|
| -buildUnnamed862() {
|
| +buildUnnamed21() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed862(core.List<core.Object> o) {
|
| +checkUnnamed21(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'));
|
| @@ -722,11 +722,11 @@ buildPerformanceReport() {
|
| if (buildCounterPerformanceReport < 3) {
|
| o.bidRate = 42.0;
|
| o.bidRequestRate = 42.0;
|
| - o.calloutStatusRate = buildUnnamed859();
|
| - o.cookieMatcherStatusRate = buildUnnamed860();
|
| - o.creativeStatusRate = buildUnnamed861();
|
| + o.calloutStatusRate = buildUnnamed18();
|
| + o.cookieMatcherStatusRate = buildUnnamed19();
|
| + o.creativeStatusRate = buildUnnamed20();
|
| o.filteredBidRate = 42.0;
|
| - o.hostedMatchStatusRate = buildUnnamed862();
|
| + o.hostedMatchStatusRate = buildUnnamed21();
|
| o.inventoryMatchRate = 42.0;
|
| o.kind = "foo";
|
| o.latency50thPercentile = 42.0;
|
| @@ -752,11 +752,11 @@ checkPerformanceReport(api.PerformanceReport o) {
|
| if (buildCounterPerformanceReport < 3) {
|
| unittest.expect(o.bidRate, unittest.equals(42.0));
|
| unittest.expect(o.bidRequestRate, unittest.equals(42.0));
|
| - checkUnnamed859(o.calloutStatusRate);
|
| - checkUnnamed860(o.cookieMatcherStatusRate);
|
| - checkUnnamed861(o.creativeStatusRate);
|
| + checkUnnamed18(o.calloutStatusRate);
|
| + checkUnnamed19(o.cookieMatcherStatusRate);
|
| + checkUnnamed20(o.creativeStatusRate);
|
| unittest.expect(o.filteredBidRate, unittest.equals(42.0));
|
| - checkUnnamed862(o.hostedMatchStatusRate);
|
| + checkUnnamed21(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));
|
| @@ -776,14 +776,14 @@ checkPerformanceReport(api.PerformanceReport o) {
|
| buildCounterPerformanceReport--;
|
| }
|
|
|
| -buildUnnamed863() {
|
| +buildUnnamed22() {
|
| var o = new core.List<api.PerformanceReport>();
|
| o.add(buildPerformanceReport());
|
| o.add(buildPerformanceReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed863(core.List<api.PerformanceReport> o) {
|
| +checkUnnamed22(core.List<api.PerformanceReport> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPerformanceReport(o[0]);
|
| checkPerformanceReport(o[1]);
|
| @@ -795,7 +795,7 @@ buildPerformanceReportList() {
|
| buildCounterPerformanceReportList++;
|
| if (buildCounterPerformanceReportList < 3) {
|
| o.kind = "foo";
|
| - o.performanceReport = buildUnnamed863();
|
| + o.performanceReport = buildUnnamed22();
|
| }
|
| buildCounterPerformanceReportList--;
|
| return o;
|
| @@ -805,19 +805,19 @@ checkPerformanceReportList(api.PerformanceReportList o) {
|
| buildCounterPerformanceReportList++;
|
| if (buildCounterPerformanceReportList < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed863(o.performanceReport);
|
| + checkUnnamed22(o.performanceReport);
|
| }
|
| buildCounterPerformanceReportList--;
|
| }
|
|
|
| -buildUnnamed864() {
|
| +buildUnnamed23() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed864(core.List<core.String> o) {
|
| +checkUnnamed23(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'));
|
| @@ -844,40 +844,40 @@ checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
|
| buildCounterPretargetingConfigDimensions--;
|
| }
|
|
|
| -buildUnnamed865() {
|
| +buildUnnamed24() {
|
| var o = new core.List<api.PretargetingConfigDimensions>();
|
| o.add(buildPretargetingConfigDimensions());
|
| o.add(buildPretargetingConfigDimensions());
|
| return o;
|
| }
|
|
|
| -checkUnnamed865(core.List<api.PretargetingConfigDimensions> o) {
|
| +checkUnnamed24(core.List<api.PretargetingConfigDimensions> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfigDimensions(o[0]);
|
| checkPretargetingConfigDimensions(o[1]);
|
| }
|
|
|
| -buildUnnamed866() {
|
| +buildUnnamed25() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed866(core.List<core.String> o) {
|
| +checkUnnamed25(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'));
|
| }
|
|
|
| -buildUnnamed867() {
|
| +buildUnnamed26() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed867(core.List<core.String> o) {
|
| +checkUnnamed26(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'));
|
| @@ -904,105 +904,105 @@ checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
|
| buildCounterPretargetingConfigExcludedPlacements--;
|
| }
|
|
|
| -buildUnnamed868() {
|
| +buildUnnamed27() {
|
| var o = new core.List<api.PretargetingConfigExcludedPlacements>();
|
| o.add(buildPretargetingConfigExcludedPlacements());
|
| o.add(buildPretargetingConfigExcludedPlacements());
|
| return o;
|
| }
|
|
|
| -checkUnnamed868(core.List<api.PretargetingConfigExcludedPlacements> o) {
|
| +checkUnnamed27(core.List<api.PretargetingConfigExcludedPlacements> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfigExcludedPlacements(o[0]);
|
| checkPretargetingConfigExcludedPlacements(o[1]);
|
| }
|
|
|
| -buildUnnamed869() {
|
| +buildUnnamed28() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed869(core.List<core.String> o) {
|
| +checkUnnamed28(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'));
|
| }
|
|
|
| -buildUnnamed870() {
|
| +buildUnnamed29() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed870(core.List<core.String> o) {
|
| +checkUnnamed29(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'));
|
| }
|
|
|
| -buildUnnamed871() {
|
| +buildUnnamed30() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed871(core.List<core.String> o) {
|
| +checkUnnamed30(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'));
|
| }
|
|
|
| -buildUnnamed872() {
|
| +buildUnnamed31() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed872(core.List<core.String> o) {
|
| +checkUnnamed31(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'));
|
| }
|
|
|
| -buildUnnamed873() {
|
| +buildUnnamed32() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed873(core.List<core.String> o) {
|
| +checkUnnamed32(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'));
|
| }
|
|
|
| -buildUnnamed874() {
|
| +buildUnnamed33() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed874(core.List<core.String> o) {
|
| +checkUnnamed33(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'));
|
| }
|
|
|
| -buildUnnamed875() {
|
| +buildUnnamed34() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed875(core.List<core.String> o) {
|
| +checkUnnamed34(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'));
|
| @@ -1029,79 +1029,79 @@ checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
|
| buildCounterPretargetingConfigPlacements--;
|
| }
|
|
|
| -buildUnnamed876() {
|
| +buildUnnamed35() {
|
| var o = new core.List<api.PretargetingConfigPlacements>();
|
| o.add(buildPretargetingConfigPlacements());
|
| o.add(buildPretargetingConfigPlacements());
|
| return o;
|
| }
|
|
|
| -checkUnnamed876(core.List<api.PretargetingConfigPlacements> o) {
|
| +checkUnnamed35(core.List<api.PretargetingConfigPlacements> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfigPlacements(o[0]);
|
| checkPretargetingConfigPlacements(o[1]);
|
| }
|
|
|
| -buildUnnamed877() {
|
| +buildUnnamed36() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed877(core.List<core.String> o) {
|
| +checkUnnamed36(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'));
|
| }
|
|
|
| -buildUnnamed878() {
|
| +buildUnnamed37() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed878(core.List<core.String> o) {
|
| +checkUnnamed37(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'));
|
| }
|
|
|
| -buildUnnamed879() {
|
| +buildUnnamed38() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed879(core.List<core.String> o) {
|
| +checkUnnamed38(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'));
|
| }
|
|
|
| -buildUnnamed880() {
|
| +buildUnnamed39() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed880(core.List<core.String> o) {
|
| +checkUnnamed39(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'));
|
| }
|
|
|
| -buildUnnamed881() {
|
| +buildUnnamed40() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed881(core.List<core.String> o) {
|
| +checkUnnamed40(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'));
|
| @@ -1115,26 +1115,26 @@ buildPretargetingConfig() {
|
| o.billingId = "foo";
|
| o.configId = "foo";
|
| o.configName = "foo";
|
| - o.creativeType = buildUnnamed864();
|
| - o.dimensions = buildUnnamed865();
|
| - o.excludedContentLabels = buildUnnamed866();
|
| - o.excludedGeoCriteriaIds = buildUnnamed867();
|
| - o.excludedPlacements = buildUnnamed868();
|
| - o.excludedUserLists = buildUnnamed869();
|
| - o.excludedVerticals = buildUnnamed870();
|
| - o.geoCriteriaIds = buildUnnamed871();
|
| + o.creativeType = buildUnnamed23();
|
| + o.dimensions = buildUnnamed24();
|
| + o.excludedContentLabels = buildUnnamed25();
|
| + o.excludedGeoCriteriaIds = buildUnnamed26();
|
| + o.excludedPlacements = buildUnnamed27();
|
| + o.excludedUserLists = buildUnnamed28();
|
| + o.excludedVerticals = buildUnnamed29();
|
| + o.geoCriteriaIds = buildUnnamed30();
|
| o.isActive = true;
|
| o.kind = "foo";
|
| - o.languages = buildUnnamed872();
|
| - o.mobileCarriers = buildUnnamed873();
|
| - o.mobileDevices = buildUnnamed874();
|
| - o.mobileOperatingSystemVersions = buildUnnamed875();
|
| - o.placements = buildUnnamed876();
|
| - o.platforms = buildUnnamed877();
|
| - o.supportedCreativeAttributes = buildUnnamed878();
|
| - o.userLists = buildUnnamed879();
|
| - o.vendorTypes = buildUnnamed880();
|
| - o.verticals = buildUnnamed881();
|
| + o.languages = buildUnnamed31();
|
| + o.mobileCarriers = buildUnnamed32();
|
| + o.mobileDevices = buildUnnamed33();
|
| + o.mobileOperatingSystemVersions = buildUnnamed34();
|
| + o.placements = buildUnnamed35();
|
| + o.platforms = buildUnnamed36();
|
| + o.supportedCreativeAttributes = buildUnnamed37();
|
| + o.userLists = buildUnnamed38();
|
| + o.vendorTypes = buildUnnamed39();
|
| + o.verticals = buildUnnamed40();
|
| }
|
| buildCounterPretargetingConfig--;
|
| return o;
|
| @@ -1146,38 +1146,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'));
|
| - checkUnnamed864(o.creativeType);
|
| - checkUnnamed865(o.dimensions);
|
| - checkUnnamed866(o.excludedContentLabels);
|
| - checkUnnamed867(o.excludedGeoCriteriaIds);
|
| - checkUnnamed868(o.excludedPlacements);
|
| - checkUnnamed869(o.excludedUserLists);
|
| - checkUnnamed870(o.excludedVerticals);
|
| - checkUnnamed871(o.geoCriteriaIds);
|
| + checkUnnamed23(o.creativeType);
|
| + checkUnnamed24(o.dimensions);
|
| + checkUnnamed25(o.excludedContentLabels);
|
| + checkUnnamed26(o.excludedGeoCriteriaIds);
|
| + checkUnnamed27(o.excludedPlacements);
|
| + checkUnnamed28(o.excludedUserLists);
|
| + checkUnnamed29(o.excludedVerticals);
|
| + checkUnnamed30(o.geoCriteriaIds);
|
| unittest.expect(o.isActive, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed872(o.languages);
|
| - checkUnnamed873(o.mobileCarriers);
|
| - checkUnnamed874(o.mobileDevices);
|
| - checkUnnamed875(o.mobileOperatingSystemVersions);
|
| - checkUnnamed876(o.placements);
|
| - checkUnnamed877(o.platforms);
|
| - checkUnnamed878(o.supportedCreativeAttributes);
|
| - checkUnnamed879(o.userLists);
|
| - checkUnnamed880(o.vendorTypes);
|
| - checkUnnamed881(o.verticals);
|
| + checkUnnamed31(o.languages);
|
| + checkUnnamed32(o.mobileCarriers);
|
| + checkUnnamed33(o.mobileDevices);
|
| + checkUnnamed34(o.mobileOperatingSystemVersions);
|
| + checkUnnamed35(o.placements);
|
| + checkUnnamed36(o.platforms);
|
| + checkUnnamed37(o.supportedCreativeAttributes);
|
| + checkUnnamed38(o.userLists);
|
| + checkUnnamed39(o.vendorTypes);
|
| + checkUnnamed40(o.verticals);
|
| }
|
| buildCounterPretargetingConfig--;
|
| }
|
|
|
| -buildUnnamed882() {
|
| +buildUnnamed41() {
|
| var o = new core.List<api.PretargetingConfig>();
|
| o.add(buildPretargetingConfig());
|
| o.add(buildPretargetingConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed882(core.List<api.PretargetingConfig> o) {
|
| +checkUnnamed41(core.List<api.PretargetingConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfig(o[0]);
|
| checkPretargetingConfig(o[1]);
|
| @@ -1188,7 +1188,7 @@ buildPretargetingConfigList() {
|
| var o = new api.PretargetingConfigList();
|
| buildCounterPretargetingConfigList++;
|
| if (buildCounterPretargetingConfigList < 3) {
|
| - o.items = buildUnnamed882();
|
| + o.items = buildUnnamed41();
|
| o.kind = "foo";
|
| }
|
| buildCounterPretargetingConfigList--;
|
| @@ -1198,33 +1198,33 @@ buildPretargetingConfigList() {
|
| checkPretargetingConfigList(api.PretargetingConfigList o) {
|
| buildCounterPretargetingConfigList++;
|
| if (buildCounterPretargetingConfigList < 3) {
|
| - checkUnnamed882(o.items);
|
| + checkUnnamed41(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterPretargetingConfigList--;
|
| }
|
|
|
| -buildUnnamed883() {
|
| +buildUnnamed42() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed883(core.List<core.int> o) {
|
| +checkUnnamed42(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));
|
| }
|
|
|
| -buildUnnamed884() {
|
| +buildUnnamed43() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed884(core.List<core.String> o) {
|
| +checkUnnamed43(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'));
|
| @@ -2017,8 +2017,8 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
|
| - var arg_accountId = buildUnnamed883();
|
| - var arg_buyerCreativeId = buildUnnamed884();
|
| + var arg_accountId = buildUnnamed42();
|
| + var arg_buyerCreativeId = buildUnnamed43();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_statusFilter = "foo";
|
|
|