| 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 0bb3ffb8e6f9050fb1801e0e54523312e3f05114..9d7c7b7cfe4e7421ddf1ae56f8378bd270619973 100644
|
| --- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
|
| +++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
|
| @@ -39,14 +39,14 @@ checkAccountBidderLocation(api.AccountBidderLocation o) {
|
| buildCounterAccountBidderLocation--;
|
| }
|
|
|
| -buildUnnamed0() {
|
| +buildUnnamed555() {
|
| var o = new core.List<api.AccountBidderLocation>();
|
| o.add(buildAccountBidderLocation());
|
| o.add(buildAccountBidderLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed0(core.List<api.AccountBidderLocation> o) {
|
| +checkUnnamed555(core.List<api.AccountBidderLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountBidderLocation(o[0]);
|
| checkAccountBidderLocation(o[1]);
|
| @@ -57,7 +57,7 @@ buildAccount() {
|
| var o = new api.Account();
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - o.bidderLocation = buildUnnamed0();
|
| + o.bidderLocation = buildUnnamed555();
|
| o.cookieMatchingNid = "foo";
|
| o.cookieMatchingUrl = "foo";
|
| o.id = 42;
|
| @@ -73,7 +73,7 @@ buildAccount() {
|
| checkAccount(api.Account o) {
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - checkUnnamed0(o.bidderLocation);
|
| + checkUnnamed555(o.bidderLocation);
|
| unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
|
| unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals(42));
|
| @@ -85,14 +85,14 @@ checkAccount(api.Account o) {
|
| buildCounterAccount--;
|
| }
|
|
|
| -buildUnnamed1() {
|
| +buildUnnamed556() {
|
| var o = new core.List<api.Account>();
|
| o.add(buildAccount());
|
| o.add(buildAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1(core.List<api.Account> o) {
|
| +checkUnnamed556(core.List<api.Account> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccount(o[0]);
|
| checkAccount(o[1]);
|
| @@ -103,7 +103,7 @@ buildAccountsList() {
|
| var o = new api.AccountsList();
|
| buildCounterAccountsList++;
|
| if (buildCounterAccountsList < 3) {
|
| - o.items = buildUnnamed1();
|
| + o.items = buildUnnamed556();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountsList--;
|
| @@ -113,20 +113,20 @@ buildAccountsList() {
|
| checkAccountsList(api.AccountsList o) {
|
| buildCounterAccountsList++;
|
| if (buildCounterAccountsList < 3) {
|
| - checkUnnamed1(o.items);
|
| + checkUnnamed556(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountsList--;
|
| }
|
|
|
| -buildUnnamed2() {
|
| +buildUnnamed557() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2(core.List<core.String> o) {
|
| +checkUnnamed557(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'));
|
| @@ -139,7 +139,7 @@ buildBillingInfo() {
|
| if (buildCounterBillingInfo < 3) {
|
| o.accountId = 42;
|
| o.accountName = "foo";
|
| - o.billingId = buildUnnamed2();
|
| + o.billingId = buildUnnamed557();
|
| o.kind = "foo";
|
| }
|
| buildCounterBillingInfo--;
|
| @@ -151,20 +151,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);
|
| + checkUnnamed557(o.billingId);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBillingInfo--;
|
| }
|
|
|
| -buildUnnamed3() {
|
| +buildUnnamed558() {
|
| var o = new core.List<api.BillingInfo>();
|
| o.add(buildBillingInfo());
|
| o.add(buildBillingInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3(core.List<api.BillingInfo> o) {
|
| +checkUnnamed558(core.List<api.BillingInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBillingInfo(o[0]);
|
| checkBillingInfo(o[1]);
|
| @@ -175,7 +175,7 @@ buildBillingInfoList() {
|
| var o = new api.BillingInfoList();
|
| buildCounterBillingInfoList++;
|
| if (buildCounterBillingInfoList < 3) {
|
| - o.items = buildUnnamed3();
|
| + o.items = buildUnnamed558();
|
| o.kind = "foo";
|
| }
|
| buildCounterBillingInfoList--;
|
| @@ -185,59 +185,59 @@ buildBillingInfoList() {
|
| checkBillingInfoList(api.BillingInfoList o) {
|
| buildCounterBillingInfoList++;
|
| if (buildCounterBillingInfoList < 3) {
|
| - checkUnnamed3(o.items);
|
| + checkUnnamed558(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBillingInfoList--;
|
| }
|
|
|
| -buildUnnamed4() {
|
| +buildUnnamed559() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed4(core.List<core.String> o) {
|
| +checkUnnamed559(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() {
|
| +buildUnnamed560() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed5(core.List<core.int> o) {
|
| +checkUnnamed560(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() {
|
| +buildUnnamed561() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed6(core.List<core.String> o) {
|
| +checkUnnamed561(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() {
|
| +buildUnnamed562() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed7(core.List<core.String> o) {
|
| +checkUnnamed562(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'));
|
| @@ -248,7 +248,7 @@ buildCreativeCorrections() {
|
| var o = new api.CreativeCorrections();
|
| buildCounterCreativeCorrections++;
|
| if (buildCounterCreativeCorrections < 3) {
|
| - o.details = buildUnnamed7();
|
| + o.details = buildUnnamed562();
|
| o.reason = "foo";
|
| }
|
| buildCounterCreativeCorrections--;
|
| @@ -258,33 +258,33 @@ buildCreativeCorrections() {
|
| checkCreativeCorrections(api.CreativeCorrections o) {
|
| buildCounterCreativeCorrections++;
|
| if (buildCounterCreativeCorrections < 3) {
|
| - checkUnnamed7(o.details);
|
| + checkUnnamed562(o.details);
|
| unittest.expect(o.reason, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeCorrections--;
|
| }
|
|
|
| -buildUnnamed8() {
|
| +buildUnnamed563() {
|
| var o = new core.List<api.CreativeCorrections>();
|
| o.add(buildCreativeCorrections());
|
| o.add(buildCreativeCorrections());
|
| return o;
|
| }
|
|
|
| -checkUnnamed8(core.List<api.CreativeCorrections> o) {
|
| +checkUnnamed563(core.List<api.CreativeCorrections> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCorrections(o[0]);
|
| checkCreativeCorrections(o[1]);
|
| }
|
|
|
| -buildUnnamed9() {
|
| +buildUnnamed564() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed9(core.List<core.String> o) {
|
| +checkUnnamed564(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'));
|
| @@ -295,7 +295,7 @@ buildCreativeDisapprovalReasons() {
|
| var o = new api.CreativeDisapprovalReasons();
|
| buildCounterCreativeDisapprovalReasons++;
|
| if (buildCounterCreativeDisapprovalReasons < 3) {
|
| - o.details = buildUnnamed9();
|
| + o.details = buildUnnamed564();
|
| o.reason = "foo";
|
| }
|
| buildCounterCreativeDisapprovalReasons--;
|
| @@ -305,20 +305,20 @@ buildCreativeDisapprovalReasons() {
|
| checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
|
| buildCounterCreativeDisapprovalReasons++;
|
| if (buildCounterCreativeDisapprovalReasons < 3) {
|
| - checkUnnamed9(o.details);
|
| + checkUnnamed564(o.details);
|
| unittest.expect(o.reason, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeDisapprovalReasons--;
|
| }
|
|
|
| -buildUnnamed10() {
|
| +buildUnnamed565() {
|
| var o = new core.List<api.CreativeDisapprovalReasons>();
|
| o.add(buildCreativeDisapprovalReasons());
|
| o.add(buildCreativeDisapprovalReasons());
|
| return o;
|
| }
|
|
|
| -checkUnnamed10(core.List<api.CreativeDisapprovalReasons> o) {
|
| +checkUnnamed565(core.List<api.CreativeDisapprovalReasons> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeDisapprovalReasons(o[0]);
|
| checkCreativeDisapprovalReasons(o[1]);
|
| @@ -345,14 +345,14 @@ checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) {
|
| buildCounterCreativeFilteringReasonsReasons--;
|
| }
|
|
|
| -buildUnnamed11() {
|
| +buildUnnamed566() {
|
| var o = new core.List<api.CreativeFilteringReasonsReasons>();
|
| o.add(buildCreativeFilteringReasonsReasons());
|
| o.add(buildCreativeFilteringReasonsReasons());
|
| return o;
|
| }
|
|
|
| -checkUnnamed11(core.List<api.CreativeFilteringReasonsReasons> o) {
|
| +checkUnnamed566(core.List<api.CreativeFilteringReasonsReasons> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeFilteringReasonsReasons(o[0]);
|
| checkCreativeFilteringReasonsReasons(o[1]);
|
| @@ -364,7 +364,7 @@ buildCreativeFilteringReasons() {
|
| buildCounterCreativeFilteringReasons++;
|
| if (buildCounterCreativeFilteringReasons < 3) {
|
| o.date = "foo";
|
| - o.reasons = buildUnnamed11();
|
| + o.reasons = buildUnnamed566();
|
| }
|
| buildCounterCreativeFilteringReasons--;
|
| return o;
|
| @@ -374,58 +374,58 @@ checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
|
| buildCounterCreativeFilteringReasons++;
|
| if (buildCounterCreativeFilteringReasons < 3) {
|
| unittest.expect(o.date, unittest.equals('foo'));
|
| - checkUnnamed11(o.reasons);
|
| + checkUnnamed566(o.reasons);
|
| }
|
| buildCounterCreativeFilteringReasons--;
|
| }
|
|
|
| -buildUnnamed12() {
|
| +buildUnnamed567() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed12(core.List<core.int> o) {
|
| +checkUnnamed567(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));
|
| }
|
|
|
| -buildUnnamed13() {
|
| +buildUnnamed568() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed13(core.List<core.int> o) {
|
| +checkUnnamed568(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));
|
| }
|
|
|
| -buildUnnamed14() {
|
| +buildUnnamed569() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed14(core.List<core.int> o) {
|
| +checkUnnamed569(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() {
|
| +buildUnnamed570() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed15(core.List<core.int> o) {
|
| +checkUnnamed570(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));
|
| @@ -438,22 +438,22 @@ buildCreative() {
|
| if (buildCounterCreative < 3) {
|
| o.HTMLSnippet = "foo";
|
| o.accountId = 42;
|
| - o.advertiserId = buildUnnamed4();
|
| + o.advertiserId = buildUnnamed559();
|
| o.advertiserName = "foo";
|
| o.agencyId = "foo";
|
| - o.attribute = buildUnnamed5();
|
| + o.attribute = buildUnnamed560();
|
| o.buyerCreativeId = "foo";
|
| - o.clickThroughUrl = buildUnnamed6();
|
| - o.corrections = buildUnnamed8();
|
| - o.disapprovalReasons = buildUnnamed10();
|
| + o.clickThroughUrl = buildUnnamed561();
|
| + o.corrections = buildUnnamed563();
|
| + o.disapprovalReasons = buildUnnamed565();
|
| o.filteringReasons = buildCreativeFilteringReasons();
|
| o.height = 42;
|
| o.kind = "foo";
|
| - o.productCategories = buildUnnamed12();
|
| - o.restrictedCategories = buildUnnamed13();
|
| - o.sensitiveCategories = buildUnnamed14();
|
| + o.productCategories = buildUnnamed567();
|
| + o.restrictedCategories = buildUnnamed568();
|
| + o.sensitiveCategories = buildUnnamed569();
|
| o.status = "foo";
|
| - o.vendorType = buildUnnamed15();
|
| + o.vendorType = buildUnnamed570();
|
| o.videoURL = "foo";
|
| o.width = 42;
|
| }
|
| @@ -466,36 +466,36 @@ checkCreative(api.Creative o) {
|
| if (buildCounterCreative < 3) {
|
| unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
|
| unittest.expect(o.accountId, unittest.equals(42));
|
| - checkUnnamed4(o.advertiserId);
|
| + checkUnnamed559(o.advertiserId);
|
| unittest.expect(o.advertiserName, unittest.equals('foo'));
|
| unittest.expect(o.agencyId, unittest.equals('foo'));
|
| - checkUnnamed5(o.attribute);
|
| + checkUnnamed560(o.attribute);
|
| unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
|
| - checkUnnamed6(o.clickThroughUrl);
|
| - checkUnnamed8(o.corrections);
|
| - checkUnnamed10(o.disapprovalReasons);
|
| + checkUnnamed561(o.clickThroughUrl);
|
| + checkUnnamed563(o.corrections);
|
| + checkUnnamed565(o.disapprovalReasons);
|
| checkCreativeFilteringReasons(o.filteringReasons);
|
| unittest.expect(o.height, unittest.equals(42));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed12(o.productCategories);
|
| - checkUnnamed13(o.restrictedCategories);
|
| - checkUnnamed14(o.sensitiveCategories);
|
| + checkUnnamed567(o.productCategories);
|
| + checkUnnamed568(o.restrictedCategories);
|
| + checkUnnamed569(o.sensitiveCategories);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| - checkUnnamed15(o.vendorType);
|
| + checkUnnamed570(o.vendorType);
|
| unittest.expect(o.videoURL, unittest.equals('foo'));
|
| unittest.expect(o.width, unittest.equals(42));
|
| }
|
| buildCounterCreative--;
|
| }
|
|
|
| -buildUnnamed16() {
|
| +buildUnnamed571() {
|
| var o = new core.List<api.Creative>();
|
| o.add(buildCreative());
|
| o.add(buildCreative());
|
| return o;
|
| }
|
|
|
| -checkUnnamed16(core.List<api.Creative> o) {
|
| +checkUnnamed571(core.List<api.Creative> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreative(o[0]);
|
| checkCreative(o[1]);
|
| @@ -506,7 +506,7 @@ buildCreativesList() {
|
| var o = new api.CreativesList();
|
| buildCounterCreativesList++;
|
| if (buildCounterCreativesList < 3) {
|
| - o.items = buildUnnamed16();
|
| + o.items = buildUnnamed571();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -517,7 +517,7 @@ buildCreativesList() {
|
| checkCreativesList(api.CreativesList o) {
|
| buildCounterCreativesList++;
|
| if (buildCounterCreativesList < 3) {
|
| - checkUnnamed16(o.items);
|
| + checkUnnamed571(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -565,14 +565,14 @@ checkDirectDeal(api.DirectDeal o) {
|
| buildCounterDirectDeal--;
|
| }
|
|
|
| -buildUnnamed17() {
|
| +buildUnnamed572() {
|
| var o = new core.List<api.DirectDeal>();
|
| o.add(buildDirectDeal());
|
| o.add(buildDirectDeal());
|
| return o;
|
| }
|
|
|
| -checkUnnamed17(core.List<api.DirectDeal> o) {
|
| +checkUnnamed572(core.List<api.DirectDeal> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectDeal(o[0]);
|
| checkDirectDeal(o[1]);
|
| @@ -583,7 +583,7 @@ buildDirectDealsList() {
|
| var o = new api.DirectDealsList();
|
| buildCounterDirectDealsList++;
|
| if (buildCounterDirectDealsList < 3) {
|
| - o.directDeals = buildUnnamed17();
|
| + o.directDeals = buildUnnamed572();
|
| o.kind = "foo";
|
| }
|
| buildCounterDirectDealsList--;
|
| @@ -593,59 +593,59 @@ buildDirectDealsList() {
|
| checkDirectDealsList(api.DirectDealsList o) {
|
| buildCounterDirectDealsList++;
|
| if (buildCounterDirectDealsList < 3) {
|
| - checkUnnamed17(o.directDeals);
|
| + checkUnnamed572(o.directDeals);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDirectDealsList--;
|
| }
|
|
|
| -buildUnnamed18() {
|
| +buildUnnamed573() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed18(core.List<core.Object> o) {
|
| +checkUnnamed573(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'));
|
| }
|
|
|
| -buildUnnamed19() {
|
| +buildUnnamed574() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed19(core.List<core.Object> o) {
|
| +checkUnnamed574(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'));
|
| }
|
|
|
| -buildUnnamed20() {
|
| +buildUnnamed575() {
|
| 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) {
|
| +checkUnnamed575(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'));
|
| }
|
|
|
| -buildUnnamed21() {
|
| +buildUnnamed576() {
|
| 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) {
|
| +checkUnnamed576(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'));
|
| @@ -656,10 +656,10 @@ buildPerformanceReport() {
|
| var o = new api.PerformanceReport();
|
| buildCounterPerformanceReport++;
|
| if (buildCounterPerformanceReport < 3) {
|
| - o.calloutStatusRate = buildUnnamed18();
|
| - o.cookieMatcherStatusRate = buildUnnamed19();
|
| - o.creativeStatusRate = buildUnnamed20();
|
| - o.hostedMatchStatusRate = buildUnnamed21();
|
| + o.calloutStatusRate = buildUnnamed573();
|
| + o.cookieMatcherStatusRate = buildUnnamed574();
|
| + o.creativeStatusRate = buildUnnamed575();
|
| + o.hostedMatchStatusRate = buildUnnamed576();
|
| o.kind = "foo";
|
| o.latency50thPercentile = 42.0;
|
| o.latency85thPercentile = 42.0;
|
| @@ -680,10 +680,10 @@ buildPerformanceReport() {
|
| checkPerformanceReport(api.PerformanceReport o) {
|
| buildCounterPerformanceReport++;
|
| if (buildCounterPerformanceReport < 3) {
|
| - checkUnnamed18(o.calloutStatusRate);
|
| - checkUnnamed19(o.cookieMatcherStatusRate);
|
| - checkUnnamed20(o.creativeStatusRate);
|
| - checkUnnamed21(o.hostedMatchStatusRate);
|
| + checkUnnamed573(o.calloutStatusRate);
|
| + checkUnnamed574(o.cookieMatcherStatusRate);
|
| + checkUnnamed575(o.creativeStatusRate);
|
| + checkUnnamed576(o.hostedMatchStatusRate);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
|
| unittest.expect(o.latency85thPercentile, unittest.equals(42.0));
|
| @@ -700,14 +700,14 @@ checkPerformanceReport(api.PerformanceReport o) {
|
| buildCounterPerformanceReport--;
|
| }
|
|
|
| -buildUnnamed22() {
|
| +buildUnnamed577() {
|
| var o = new core.List<api.PerformanceReport>();
|
| o.add(buildPerformanceReport());
|
| o.add(buildPerformanceReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed22(core.List<api.PerformanceReport> o) {
|
| +checkUnnamed577(core.List<api.PerformanceReport> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPerformanceReport(o[0]);
|
| checkPerformanceReport(o[1]);
|
| @@ -719,7 +719,7 @@ buildPerformanceReportList() {
|
| buildCounterPerformanceReportList++;
|
| if (buildCounterPerformanceReportList < 3) {
|
| o.kind = "foo";
|
| - o.performanceReport = buildUnnamed22();
|
| + o.performanceReport = buildUnnamed577();
|
| }
|
| buildCounterPerformanceReportList--;
|
| return o;
|
| @@ -729,19 +729,19 @@ checkPerformanceReportList(api.PerformanceReportList o) {
|
| buildCounterPerformanceReportList++;
|
| if (buildCounterPerformanceReportList < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed22(o.performanceReport);
|
| + checkUnnamed577(o.performanceReport);
|
| }
|
| buildCounterPerformanceReportList--;
|
| }
|
|
|
| -buildUnnamed23() {
|
| +buildUnnamed578() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed23(core.List<core.String> o) {
|
| +checkUnnamed578(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'));
|
| @@ -768,40 +768,40 @@ checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
|
| buildCounterPretargetingConfigDimensions--;
|
| }
|
|
|
| -buildUnnamed24() {
|
| +buildUnnamed579() {
|
| var o = new core.List<api.PretargetingConfigDimensions>();
|
| o.add(buildPretargetingConfigDimensions());
|
| o.add(buildPretargetingConfigDimensions());
|
| return o;
|
| }
|
|
|
| -checkUnnamed24(core.List<api.PretargetingConfigDimensions> o) {
|
| +checkUnnamed579(core.List<api.PretargetingConfigDimensions> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfigDimensions(o[0]);
|
| checkPretargetingConfigDimensions(o[1]);
|
| }
|
|
|
| -buildUnnamed25() {
|
| +buildUnnamed580() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed25(core.List<core.String> o) {
|
| +checkUnnamed580(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'));
|
| }
|
|
|
| -buildUnnamed26() {
|
| +buildUnnamed581() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed26(core.List<core.String> o) {
|
| +checkUnnamed581(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'));
|
| @@ -828,105 +828,105 @@ checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
|
| buildCounterPretargetingConfigExcludedPlacements--;
|
| }
|
|
|
| -buildUnnamed27() {
|
| +buildUnnamed582() {
|
| var o = new core.List<api.PretargetingConfigExcludedPlacements>();
|
| o.add(buildPretargetingConfigExcludedPlacements());
|
| o.add(buildPretargetingConfigExcludedPlacements());
|
| return o;
|
| }
|
|
|
| -checkUnnamed27(core.List<api.PretargetingConfigExcludedPlacements> o) {
|
| +checkUnnamed582(core.List<api.PretargetingConfigExcludedPlacements> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfigExcludedPlacements(o[0]);
|
| checkPretargetingConfigExcludedPlacements(o[1]);
|
| }
|
|
|
| -buildUnnamed28() {
|
| +buildUnnamed583() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed28(core.List<core.String> o) {
|
| +checkUnnamed583(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'));
|
| }
|
|
|
| -buildUnnamed29() {
|
| +buildUnnamed584() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed29(core.List<core.String> o) {
|
| +checkUnnamed584(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'));
|
| }
|
|
|
| -buildUnnamed30() {
|
| +buildUnnamed585() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed30(core.List<core.String> o) {
|
| +checkUnnamed585(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() {
|
| +buildUnnamed586() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed31(core.List<core.String> o) {
|
| +checkUnnamed586(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() {
|
| +buildUnnamed587() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed32(core.List<core.String> o) {
|
| +checkUnnamed587(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() {
|
| +buildUnnamed588() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed33(core.List<core.String> o) {
|
| +checkUnnamed588(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() {
|
| +buildUnnamed589() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed34(core.List<core.String> o) {
|
| +checkUnnamed589(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'));
|
| @@ -953,79 +953,79 @@ checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
|
| buildCounterPretargetingConfigPlacements--;
|
| }
|
|
|
| -buildUnnamed35() {
|
| +buildUnnamed590() {
|
| var o = new core.List<api.PretargetingConfigPlacements>();
|
| o.add(buildPretargetingConfigPlacements());
|
| o.add(buildPretargetingConfigPlacements());
|
| return o;
|
| }
|
|
|
| -checkUnnamed35(core.List<api.PretargetingConfigPlacements> o) {
|
| +checkUnnamed590(core.List<api.PretargetingConfigPlacements> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfigPlacements(o[0]);
|
| checkPretargetingConfigPlacements(o[1]);
|
| }
|
|
|
| -buildUnnamed36() {
|
| +buildUnnamed591() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed36(core.List<core.String> o) {
|
| +checkUnnamed591(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() {
|
| +buildUnnamed592() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed37(core.List<core.String> o) {
|
| +checkUnnamed592(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() {
|
| +buildUnnamed593() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed38(core.List<core.String> o) {
|
| +checkUnnamed593(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() {
|
| +buildUnnamed594() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed39(core.List<core.String> o) {
|
| +checkUnnamed594(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() {
|
| +buildUnnamed595() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed40(core.List<core.String> o) {
|
| +checkUnnamed595(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'));
|
| @@ -1039,26 +1039,26 @@ buildPretargetingConfig() {
|
| o.billingId = "foo";
|
| o.configId = "foo";
|
| o.configName = "foo";
|
| - 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.creativeType = buildUnnamed578();
|
| + o.dimensions = buildUnnamed579();
|
| + o.excludedContentLabels = buildUnnamed580();
|
| + o.excludedGeoCriteriaIds = buildUnnamed581();
|
| + o.excludedPlacements = buildUnnamed582();
|
| + o.excludedUserLists = buildUnnamed583();
|
| + o.excludedVerticals = buildUnnamed584();
|
| + o.geoCriteriaIds = buildUnnamed585();
|
| o.isActive = true;
|
| o.kind = "foo";
|
| - 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();
|
| + o.languages = buildUnnamed586();
|
| + o.mobileCarriers = buildUnnamed587();
|
| + o.mobileDevices = buildUnnamed588();
|
| + o.mobileOperatingSystemVersions = buildUnnamed589();
|
| + o.placements = buildUnnamed590();
|
| + o.platforms = buildUnnamed591();
|
| + o.supportedCreativeAttributes = buildUnnamed592();
|
| + o.userLists = buildUnnamed593();
|
| + o.vendorTypes = buildUnnamed594();
|
| + o.verticals = buildUnnamed595();
|
| }
|
| buildCounterPretargetingConfig--;
|
| return o;
|
| @@ -1070,38 +1070,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'));
|
| - checkUnnamed23(o.creativeType);
|
| - checkUnnamed24(o.dimensions);
|
| - checkUnnamed25(o.excludedContentLabels);
|
| - checkUnnamed26(o.excludedGeoCriteriaIds);
|
| - checkUnnamed27(o.excludedPlacements);
|
| - checkUnnamed28(o.excludedUserLists);
|
| - checkUnnamed29(o.excludedVerticals);
|
| - checkUnnamed30(o.geoCriteriaIds);
|
| + checkUnnamed578(o.creativeType);
|
| + checkUnnamed579(o.dimensions);
|
| + checkUnnamed580(o.excludedContentLabels);
|
| + checkUnnamed581(o.excludedGeoCriteriaIds);
|
| + checkUnnamed582(o.excludedPlacements);
|
| + checkUnnamed583(o.excludedUserLists);
|
| + checkUnnamed584(o.excludedVerticals);
|
| + checkUnnamed585(o.geoCriteriaIds);
|
| unittest.expect(o.isActive, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - 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);
|
| + checkUnnamed586(o.languages);
|
| + checkUnnamed587(o.mobileCarriers);
|
| + checkUnnamed588(o.mobileDevices);
|
| + checkUnnamed589(o.mobileOperatingSystemVersions);
|
| + checkUnnamed590(o.placements);
|
| + checkUnnamed591(o.platforms);
|
| + checkUnnamed592(o.supportedCreativeAttributes);
|
| + checkUnnamed593(o.userLists);
|
| + checkUnnamed594(o.vendorTypes);
|
| + checkUnnamed595(o.verticals);
|
| }
|
| buildCounterPretargetingConfig--;
|
| }
|
|
|
| -buildUnnamed41() {
|
| +buildUnnamed596() {
|
| var o = new core.List<api.PretargetingConfig>();
|
| o.add(buildPretargetingConfig());
|
| o.add(buildPretargetingConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed41(core.List<api.PretargetingConfig> o) {
|
| +checkUnnamed596(core.List<api.PretargetingConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPretargetingConfig(o[0]);
|
| checkPretargetingConfig(o[1]);
|
| @@ -1112,7 +1112,7 @@ buildPretargetingConfigList() {
|
| var o = new api.PretargetingConfigList();
|
| buildCounterPretargetingConfigList++;
|
| if (buildCounterPretargetingConfigList < 3) {
|
| - o.items = buildUnnamed41();
|
| + o.items = buildUnnamed596();
|
| o.kind = "foo";
|
| }
|
| buildCounterPretargetingConfigList--;
|
| @@ -1122,33 +1122,33 @@ buildPretargetingConfigList() {
|
| checkPretargetingConfigList(api.PretargetingConfigList o) {
|
| buildCounterPretargetingConfigList++;
|
| if (buildCounterPretargetingConfigList < 3) {
|
| - checkUnnamed41(o.items);
|
| + checkUnnamed596(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterPretargetingConfigList--;
|
| }
|
|
|
| -buildUnnamed42() {
|
| +buildUnnamed597() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed42(core.List<core.int> o) {
|
| +checkUnnamed597(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));
|
| }
|
|
|
| -buildUnnamed43() {
|
| +buildUnnamed598() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed43(core.List<core.String> o) {
|
| +checkUnnamed598(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'));
|
| @@ -1749,8 +1749,8 @@ main() {
|
|
|
| var mock = new common_test.HttpServerMock();
|
| api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
|
| - var arg_accountId = buildUnnamed42();
|
| - var arg_buyerCreativeId = buildUnnamed43();
|
| + var arg_accountId = buildUnnamed597();
|
| + var arg_buyerCreativeId = buildUnnamed598();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_statusFilter = "foo";
|
|
|