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