| Index: generated/googleapis/test/dfareporting/v2_1_test.dart
|
| diff --git a/generated/googleapis/test/dfareporting/v2_0_test.dart b/generated/googleapis/test/dfareporting/v2_1_test.dart
|
| similarity index 82%
|
| copy from generated/googleapis/test/dfareporting/v2_0_test.dart
|
| copy to generated/googleapis/test/dfareporting/v2_1_test.dart
|
| index f196da1587798e0fa08db9c53097e71ca1241f96..1d710e18f70d5492178e4518d40e51ae4269c826 100644
|
| --- a/generated/googleapis/test/dfareporting/v2_0_test.dart
|
| +++ b/generated/googleapis/test/dfareporting/v2_1_test.dart
|
| @@ -1,4 +1,4 @@
|
| -library googleapis.dfareporting.v2_0.test;
|
| +library googleapis.dfareporting.v2_1.test;
|
|
|
| import "dart:core" as core;
|
| import "dart:collection" as collection;
|
| @@ -9,7 +9,7 @@ import 'package:http/http.dart' as http;
|
| import 'package:http/testing.dart' as http_testing;
|
| import 'package:unittest/unittest.dart' as unittest;
|
|
|
| -import 'package:googleapis/dfareporting/v2_0.dart' as api;
|
| +import 'package:googleapis/dfareporting/v2_1.dart' as api;
|
|
|
| class HttpServerMock extends http.BaseClient {
|
| core.Function _callback;
|
| @@ -51,27 +51,27 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed258() {
|
| +buildUnnamed1042() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed258(core.List<core.String> o) {
|
| +checkUnnamed1042(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed259() {
|
| +buildUnnamed1043() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed259(core.List<core.String> o) {
|
| +checkUnnamed1043(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -82,12 +82,12 @@ buildAccount() {
|
| var o = new api.Account();
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - o.accountPermissionIds = buildUnnamed258();
|
| + o.accountPermissionIds = buildUnnamed1042();
|
| o.accountProfile = "foo";
|
| o.active = true;
|
| o.activeAdsLimitTier = "foo";
|
| o.activeViewOptOut = true;
|
| - o.availablePermissionIds = buildUnnamed259();
|
| + o.availablePermissionIds = buildUnnamed1043();
|
| o.comscoreVceEnabled = true;
|
| o.countryId = "foo";
|
| o.currencyId = "foo";
|
| @@ -109,12 +109,12 @@ buildAccount() {
|
| checkAccount(api.Account o) {
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - checkUnnamed258(o.accountPermissionIds);
|
| + checkUnnamed1042(o.accountPermissionIds);
|
| unittest.expect(o.accountProfile, unittest.equals('foo'));
|
| unittest.expect(o.active, unittest.isTrue);
|
| unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
|
| unittest.expect(o.activeViewOptOut, unittest.isTrue);
|
| - checkUnnamed259(o.availablePermissionIds);
|
| + checkUnnamed1043(o.availablePermissionIds);
|
| unittest.expect(o.comscoreVceEnabled, unittest.isTrue);
|
| unittest.expect(o.countryId, unittest.equals('foo'));
|
| unittest.expect(o.currencyId, unittest.equals('foo'));
|
| @@ -159,14 +159,14 @@ checkAccountActiveAdSummary(api.AccountActiveAdSummary o) {
|
| buildCounterAccountActiveAdSummary--;
|
| }
|
|
|
| -buildUnnamed260() {
|
| +buildUnnamed1044() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed260(core.List<core.String> o) {
|
| +checkUnnamed1044(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -177,7 +177,7 @@ buildAccountPermission() {
|
| var o = new api.AccountPermission();
|
| buildCounterAccountPermission++;
|
| if (buildCounterAccountPermission < 3) {
|
| - o.accountProfiles = buildUnnamed260();
|
| + o.accountProfiles = buildUnnamed1044();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.level = "foo";
|
| @@ -191,7 +191,7 @@ buildAccountPermission() {
|
| checkAccountPermission(api.AccountPermission o) {
|
| buildCounterAccountPermission++;
|
| if (buildCounterAccountPermission < 3) {
|
| - checkUnnamed260(o.accountProfiles);
|
| + checkUnnamed1044(o.accountProfiles);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.level, unittest.equals('foo'));
|
| @@ -224,14 +224,14 @@ checkAccountPermissionGroup(api.AccountPermissionGroup o) {
|
| buildCounterAccountPermissionGroup--;
|
| }
|
|
|
| -buildUnnamed261() {
|
| +buildUnnamed1045() {
|
| var o = new core.List<api.AccountPermissionGroup>();
|
| o.add(buildAccountPermissionGroup());
|
| o.add(buildAccountPermissionGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed261(core.List<api.AccountPermissionGroup> o) {
|
| +checkUnnamed1045(core.List<api.AccountPermissionGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountPermissionGroup(o[0]);
|
| checkAccountPermissionGroup(o[1]);
|
| @@ -242,7 +242,7 @@ buildAccountPermissionGroupsListResponse() {
|
| var o = new api.AccountPermissionGroupsListResponse();
|
| buildCounterAccountPermissionGroupsListResponse++;
|
| if (buildCounterAccountPermissionGroupsListResponse < 3) {
|
| - o.accountPermissionGroups = buildUnnamed261();
|
| + o.accountPermissionGroups = buildUnnamed1045();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountPermissionGroupsListResponse--;
|
| @@ -252,20 +252,20 @@ buildAccountPermissionGroupsListResponse() {
|
| checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse o) {
|
| buildCounterAccountPermissionGroupsListResponse++;
|
| if (buildCounterAccountPermissionGroupsListResponse < 3) {
|
| - checkUnnamed261(o.accountPermissionGroups);
|
| + checkUnnamed1045(o.accountPermissionGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountPermissionGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed262() {
|
| +buildUnnamed1046() {
|
| var o = new core.List<api.AccountPermission>();
|
| o.add(buildAccountPermission());
|
| o.add(buildAccountPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed262(core.List<api.AccountPermission> o) {
|
| +checkUnnamed1046(core.List<api.AccountPermission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountPermission(o[0]);
|
| checkAccountPermission(o[1]);
|
| @@ -276,7 +276,7 @@ buildAccountPermissionsListResponse() {
|
| var o = new api.AccountPermissionsListResponse();
|
| buildCounterAccountPermissionsListResponse++;
|
| if (buildCounterAccountPermissionsListResponse < 3) {
|
| - o.accountPermissions = buildUnnamed262();
|
| + o.accountPermissions = buildUnnamed1046();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountPermissionsListResponse--;
|
| @@ -286,7 +286,7 @@ buildAccountPermissionsListResponse() {
|
| checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
|
| buildCounterAccountPermissionsListResponse++;
|
| if (buildCounterAccountPermissionsListResponse < 3) {
|
| - checkUnnamed262(o.accountPermissions);
|
| + checkUnnamed1046(o.accountPermissions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountPermissionsListResponse--;
|
| @@ -341,14 +341,14 @@ checkAccountUserProfile(api.AccountUserProfile o) {
|
| buildCounterAccountUserProfile--;
|
| }
|
|
|
| -buildUnnamed263() {
|
| +buildUnnamed1047() {
|
| var o = new core.List<api.AccountUserProfile>();
|
| o.add(buildAccountUserProfile());
|
| o.add(buildAccountUserProfile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed263(core.List<api.AccountUserProfile> o) {
|
| +checkUnnamed1047(core.List<api.AccountUserProfile> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountUserProfile(o[0]);
|
| checkAccountUserProfile(o[1]);
|
| @@ -359,7 +359,7 @@ buildAccountUserProfilesListResponse() {
|
| var o = new api.AccountUserProfilesListResponse();
|
| buildCounterAccountUserProfilesListResponse++;
|
| if (buildCounterAccountUserProfilesListResponse < 3) {
|
| - o.accountUserProfiles = buildUnnamed263();
|
| + o.accountUserProfiles = buildUnnamed1047();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -370,21 +370,21 @@ buildAccountUserProfilesListResponse() {
|
| checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
|
| buildCounterAccountUserProfilesListResponse++;
|
| if (buildCounterAccountUserProfilesListResponse < 3) {
|
| - checkUnnamed263(o.accountUserProfiles);
|
| + checkUnnamed1047(o.accountUserProfiles);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterAccountUserProfilesListResponse--;
|
| }
|
|
|
| -buildUnnamed264() {
|
| +buildUnnamed1048() {
|
| var o = new core.List<api.Account>();
|
| o.add(buildAccount());
|
| o.add(buildAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed264(core.List<api.Account> o) {
|
| +checkUnnamed1048(core.List<api.Account> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccount(o[0]);
|
| checkAccount(o[1]);
|
| @@ -395,7 +395,7 @@ buildAccountsListResponse() {
|
| var o = new api.AccountsListResponse();
|
| buildCounterAccountsListResponse++;
|
| if (buildCounterAccountsListResponse < 3) {
|
| - o.accounts = buildUnnamed264();
|
| + o.accounts = buildUnnamed1048();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -406,34 +406,34 @@ buildAccountsListResponse() {
|
| checkAccountsListResponse(api.AccountsListResponse o) {
|
| buildCounterAccountsListResponse++;
|
| if (buildCounterAccountsListResponse < 3) {
|
| - checkUnnamed264(o.accounts);
|
| + checkUnnamed1048(o.accounts);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterAccountsListResponse--;
|
| }
|
|
|
| -buildUnnamed265() {
|
| +buildUnnamed1049() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed265(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1049(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed266() {
|
| +buildUnnamed1050() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed266(core.List<core.String> o) {
|
| +checkUnnamed1050(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -444,9 +444,9 @@ buildActivities() {
|
| var o = new api.Activities();
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| - o.filters = buildUnnamed265();
|
| + o.filters = buildUnnamed1049();
|
| o.kind = "foo";
|
| - o.metricNames = buildUnnamed266();
|
| + o.metricNames = buildUnnamed1050();
|
| }
|
| buildCounterActivities--;
|
| return o;
|
| @@ -455,47 +455,47 @@ buildActivities() {
|
| checkActivities(api.Activities o) {
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| - checkUnnamed265(o.filters);
|
| + checkUnnamed1049(o.filters);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed266(o.metricNames);
|
| + checkUnnamed1050(o.metricNames);
|
| }
|
| buildCounterActivities--;
|
| }
|
|
|
| -buildUnnamed267() {
|
| +buildUnnamed1051() {
|
| var o = new core.List<api.CreativeGroupAssignment>();
|
| o.add(buildCreativeGroupAssignment());
|
| o.add(buildCreativeGroupAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed267(core.List<api.CreativeGroupAssignment> o) {
|
| +checkUnnamed1051(core.List<api.CreativeGroupAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeGroupAssignment(o[0]);
|
| checkCreativeGroupAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed268() {
|
| +buildUnnamed1052() {
|
| var o = new core.List<api.EventTagOverride>();
|
| o.add(buildEventTagOverride());
|
| o.add(buildEventTagOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed268(core.List<api.EventTagOverride> o) {
|
| +checkUnnamed1052(core.List<api.EventTagOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEventTagOverride(o[0]);
|
| checkEventTagOverride(o[1]);
|
| }
|
|
|
| -buildUnnamed269() {
|
| +buildUnnamed1053() {
|
| var o = new core.List<api.PlacementAssignment>();
|
| o.add(buildPlacementAssignment());
|
| o.add(buildPlacementAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed269(core.List<api.PlacementAssignment> o) {
|
| +checkUnnamed1053(core.List<api.PlacementAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementAssignment(o[0]);
|
| checkPlacementAssignment(o[1]);
|
| @@ -519,14 +519,14 @@ buildAd() {
|
| o.comments = "foo";
|
| o.compatibility = "foo";
|
| o.createInfo = buildLastModifiedInfo();
|
| - o.creativeGroupAssignments = buildUnnamed267();
|
| + o.creativeGroupAssignments = buildUnnamed1051();
|
| o.creativeRotation = buildCreativeRotation();
|
| o.dayPartTargeting = buildDayPartTargeting();
|
| o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
|
| o.deliverySchedule = buildDeliverySchedule();
|
| o.dynamicClickTracker = true;
|
| o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.eventTagOverrides = buildUnnamed268();
|
| + o.eventTagOverrides = buildUnnamed1052();
|
| o.geoTargeting = buildGeoTargeting();
|
| o.id = "foo";
|
| o.idDimensionValue = buildDimensionValue();
|
| @@ -534,7 +534,7 @@ buildAd() {
|
| o.kind = "foo";
|
| o.lastModifiedInfo = buildLastModifiedInfo();
|
| o.name = "foo";
|
| - o.placementAssignments = buildUnnamed269();
|
| + o.placementAssignments = buildUnnamed1053();
|
| o.remarketingListExpression = buildListTargetingExpression();
|
| o.size = buildSize();
|
| o.sslCompliant = true;
|
| @@ -564,14 +564,14 @@ checkAd(api.Ad o) {
|
| unittest.expect(o.comments, unittest.equals('foo'));
|
| unittest.expect(o.compatibility, unittest.equals('foo'));
|
| checkLastModifiedInfo(o.createInfo);
|
| - checkUnnamed267(o.creativeGroupAssignments);
|
| + checkUnnamed1051(o.creativeGroupAssignments);
|
| checkCreativeRotation(o.creativeRotation);
|
| checkDayPartTargeting(o.dayPartTargeting);
|
| checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
|
| checkDeliverySchedule(o.deliverySchedule);
|
| unittest.expect(o.dynamicClickTracker, unittest.isTrue);
|
| unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - checkUnnamed268(o.eventTagOverrides);
|
| + checkUnnamed1052(o.eventTagOverrides);
|
| checkGeoTargeting(o.geoTargeting);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkDimensionValue(o.idDimensionValue);
|
| @@ -579,7 +579,7 @@ checkAd(api.Ad o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkLastModifiedInfo(o.lastModifiedInfo);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed269(o.placementAssignments);
|
| + checkUnnamed1053(o.placementAssignments);
|
| checkListTargetingExpression(o.remarketingListExpression);
|
| checkSize(o.size);
|
| unittest.expect(o.sslCompliant, unittest.isTrue);
|
| @@ -592,14 +592,47 @@ checkAd(api.Ad o) {
|
| buildCounterAd--;
|
| }
|
|
|
| -buildUnnamed270() {
|
| +core.int buildCounterAdSlot = 0;
|
| +buildAdSlot() {
|
| + var o = new api.AdSlot();
|
| + buildCounterAdSlot++;
|
| + if (buildCounterAdSlot < 3) {
|
| + o.comment = "foo";
|
| + o.compatibility = "foo";
|
| + o.height = "foo";
|
| + o.linkedPlacementId = "foo";
|
| + o.name = "foo";
|
| + o.paymentSourceType = "foo";
|
| + o.primary = true;
|
| + o.width = "foo";
|
| + }
|
| + buildCounterAdSlot--;
|
| + return o;
|
| +}
|
| +
|
| +checkAdSlot(api.AdSlot o) {
|
| + buildCounterAdSlot++;
|
| + if (buildCounterAdSlot < 3) {
|
| + unittest.expect(o.comment, unittest.equals('foo'));
|
| + unittest.expect(o.compatibility, unittest.equals('foo'));
|
| + unittest.expect(o.height, unittest.equals('foo'));
|
| + unittest.expect(o.linkedPlacementId, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.paymentSourceType, unittest.equals('foo'));
|
| + unittest.expect(o.primary, unittest.isTrue);
|
| + unittest.expect(o.width, unittest.equals('foo'));
|
| + }
|
| + buildCounterAdSlot--;
|
| +}
|
| +
|
| +buildUnnamed1054() {
|
| var o = new core.List<api.Ad>();
|
| o.add(buildAd());
|
| o.add(buildAd());
|
| return o;
|
| }
|
|
|
| -checkUnnamed270(core.List<api.Ad> o) {
|
| +checkUnnamed1054(core.List<api.Ad> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAd(o[0]);
|
| checkAd(o[1]);
|
| @@ -610,7 +643,7 @@ buildAdsListResponse() {
|
| var o = new api.AdsListResponse();
|
| buildCounterAdsListResponse++;
|
| if (buildCounterAdsListResponse < 3) {
|
| - o.ads = buildUnnamed270();
|
| + o.ads = buildUnnamed1054();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -621,7 +654,7 @@ buildAdsListResponse() {
|
| checkAdsListResponse(api.AdsListResponse o) {
|
| buildCounterAdsListResponse++;
|
| if (buildCounterAdsListResponse < 3) {
|
| - checkUnnamed270(o.ads);
|
| + checkUnnamed1054(o.ads);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -644,6 +677,7 @@ buildAdvertiser() {
|
| o.idDimensionValue = buildDimensionValue();
|
| o.kind = "foo";
|
| o.name = "foo";
|
| + o.originalFloodlightConfigurationId = "foo";
|
| o.status = "foo";
|
| o.subaccountId = "foo";
|
| }
|
| @@ -665,6 +699,7 @@ checkAdvertiser(api.Advertiser o) {
|
| checkDimensionValue(o.idDimensionValue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.originalFloodlightConfigurationId, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| }
|
| @@ -696,14 +731,14 @@ checkAdvertiserGroup(api.AdvertiserGroup o) {
|
| buildCounterAdvertiserGroup--;
|
| }
|
|
|
| -buildUnnamed271() {
|
| +buildUnnamed1055() {
|
| var o = new core.List<api.AdvertiserGroup>();
|
| o.add(buildAdvertiserGroup());
|
| o.add(buildAdvertiserGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed271(core.List<api.AdvertiserGroup> o) {
|
| +checkUnnamed1055(core.List<api.AdvertiserGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdvertiserGroup(o[0]);
|
| checkAdvertiserGroup(o[1]);
|
| @@ -714,7 +749,7 @@ buildAdvertiserGroupsListResponse() {
|
| var o = new api.AdvertiserGroupsListResponse();
|
| buildCounterAdvertiserGroupsListResponse++;
|
| if (buildCounterAdvertiserGroupsListResponse < 3) {
|
| - o.advertiserGroups = buildUnnamed271();
|
| + o.advertiserGroups = buildUnnamed1055();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -725,21 +760,21 @@ buildAdvertiserGroupsListResponse() {
|
| checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
|
| buildCounterAdvertiserGroupsListResponse++;
|
| if (buildCounterAdvertiserGroupsListResponse < 3) {
|
| - checkUnnamed271(o.advertiserGroups);
|
| + checkUnnamed1055(o.advertiserGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterAdvertiserGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed272() {
|
| +buildUnnamed1056() {
|
| var o = new core.List<api.Advertiser>();
|
| o.add(buildAdvertiser());
|
| o.add(buildAdvertiser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed272(core.List<api.Advertiser> o) {
|
| +checkUnnamed1056(core.List<api.Advertiser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdvertiser(o[0]);
|
| checkAdvertiser(o[1]);
|
| @@ -750,7 +785,7 @@ buildAdvertisersListResponse() {
|
| var o = new api.AdvertisersListResponse();
|
| buildCounterAdvertisersListResponse++;
|
| if (buildCounterAdvertisersListResponse < 3) {
|
| - o.advertisers = buildUnnamed272();
|
| + o.advertisers = buildUnnamed1056();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -761,7 +796,7 @@ buildAdvertisersListResponse() {
|
| checkAdvertisersListResponse(api.AdvertisersListResponse o) {
|
| buildCounterAdvertisersListResponse++;
|
| if (buildCounterAdvertisersListResponse < 3) {
|
| - checkUnnamed272(o.advertisers);
|
| + checkUnnamed1056(o.advertisers);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -791,14 +826,14 @@ checkAudienceSegment(api.AudienceSegment o) {
|
| buildCounterAudienceSegment--;
|
| }
|
|
|
| -buildUnnamed273() {
|
| +buildUnnamed1057() {
|
| var o = new core.List<api.AudienceSegment>();
|
| o.add(buildAudienceSegment());
|
| o.add(buildAudienceSegment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed273(core.List<api.AudienceSegment> o) {
|
| +checkUnnamed1057(core.List<api.AudienceSegment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAudienceSegment(o[0]);
|
| checkAudienceSegment(o[1]);
|
| @@ -809,7 +844,7 @@ buildAudienceSegmentGroup() {
|
| var o = new api.AudienceSegmentGroup();
|
| buildCounterAudienceSegmentGroup++;
|
| if (buildCounterAudienceSegmentGroup < 3) {
|
| - o.audienceSegments = buildUnnamed273();
|
| + o.audienceSegments = buildUnnamed1057();
|
| o.id = "foo";
|
| o.name = "foo";
|
| }
|
| @@ -820,7 +855,7 @@ buildAudienceSegmentGroup() {
|
| checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
|
| buildCounterAudienceSegmentGroup++;
|
| if (buildCounterAudienceSegmentGroup < 3) {
|
| - checkUnnamed273(o.audienceSegments);
|
| + checkUnnamed1057(o.audienceSegments);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| @@ -856,14 +891,14 @@ checkBrowser(api.Browser o) {
|
| buildCounterBrowser--;
|
| }
|
|
|
| -buildUnnamed274() {
|
| +buildUnnamed1058() {
|
| var o = new core.List<api.Browser>();
|
| o.add(buildBrowser());
|
| o.add(buildBrowser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed274(core.List<api.Browser> o) {
|
| +checkUnnamed1058(core.List<api.Browser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBrowser(o[0]);
|
| checkBrowser(o[1]);
|
| @@ -874,7 +909,7 @@ buildBrowsersListResponse() {
|
| var o = new api.BrowsersListResponse();
|
| buildCounterBrowsersListResponse++;
|
| if (buildCounterBrowsersListResponse < 3) {
|
| - o.browsers = buildUnnamed274();
|
| + o.browsers = buildUnnamed1058();
|
| o.kind = "foo";
|
| }
|
| buildCounterBrowsersListResponse--;
|
| @@ -884,72 +919,72 @@ buildBrowsersListResponse() {
|
| checkBrowsersListResponse(api.BrowsersListResponse o) {
|
| buildCounterBrowsersListResponse++;
|
| if (buildCounterBrowsersListResponse < 3) {
|
| - checkUnnamed274(o.browsers);
|
| + checkUnnamed1058(o.browsers);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBrowsersListResponse--;
|
| }
|
|
|
| -buildUnnamed275() {
|
| +buildUnnamed1059() {
|
| var o = new core.List<api.CreativeOptimizationConfiguration>();
|
| o.add(buildCreativeOptimizationConfiguration());
|
| o.add(buildCreativeOptimizationConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed275(core.List<api.CreativeOptimizationConfiguration> o) {
|
| +checkUnnamed1059(core.List<api.CreativeOptimizationConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeOptimizationConfiguration(o[0]);
|
| checkCreativeOptimizationConfiguration(o[1]);
|
| }
|
|
|
| -buildUnnamed276() {
|
| +buildUnnamed1060() {
|
| var o = new core.List<api.AudienceSegmentGroup>();
|
| o.add(buildAudienceSegmentGroup());
|
| o.add(buildAudienceSegmentGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed276(core.List<api.AudienceSegmentGroup> o) {
|
| +checkUnnamed1060(core.List<api.AudienceSegmentGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAudienceSegmentGroup(o[0]);
|
| checkAudienceSegmentGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed277() {
|
| +buildUnnamed1061() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed277(core.List<core.String> o) {
|
| +checkUnnamed1061(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'));
|
| }
|
|
|
| -buildUnnamed278() {
|
| +buildUnnamed1062() {
|
| var o = new core.List<api.EventTagOverride>();
|
| o.add(buildEventTagOverride());
|
| o.add(buildEventTagOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed278(core.List<api.EventTagOverride> o) {
|
| +checkUnnamed1062(core.List<api.EventTagOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEventTagOverride(o[0]);
|
| checkEventTagOverride(o[1]);
|
| }
|
|
|
| -buildUnnamed279() {
|
| +buildUnnamed1063() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed279(core.List<core.String> o) {
|
| +checkUnnamed1063(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -961,22 +996,22 @@ buildCampaign() {
|
| buildCounterCampaign++;
|
| if (buildCounterCampaign < 3) {
|
| o.accountId = "foo";
|
| - o.additionalCreativeOptimizationConfigurations = buildUnnamed275();
|
| + o.additionalCreativeOptimizationConfigurations = buildUnnamed1059();
|
| o.advertiserGroupId = "foo";
|
| o.advertiserId = "foo";
|
| o.advertiserIdDimensionValue = buildDimensionValue();
|
| o.archived = true;
|
| - o.audienceSegmentGroups = buildUnnamed276();
|
| + o.audienceSegmentGroups = buildUnnamed1060();
|
| o.billingInvoiceCode = "foo";
|
| o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
|
| o.comment = "foo";
|
| o.comscoreVceEnabled = true;
|
| o.createInfo = buildLastModifiedInfo();
|
| - o.creativeGroupIds = buildUnnamed277();
|
| + o.creativeGroupIds = buildUnnamed1061();
|
| o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration();
|
| o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
|
| o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| - o.eventTagOverrides = buildUnnamed278();
|
| + o.eventTagOverrides = buildUnnamed1062();
|
| o.externalId = "foo";
|
| o.id = "foo";
|
| o.idDimensionValue = buildDimensionValue();
|
| @@ -987,7 +1022,7 @@ buildCampaign() {
|
| o.nielsenOcrEnabled = true;
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.subaccountId = "foo";
|
| - o.traffickerEmails = buildUnnamed279();
|
| + o.traffickerEmails = buildUnnamed1063();
|
| }
|
| buildCounterCampaign--;
|
| return o;
|
| @@ -997,22 +1032,22 @@ checkCampaign(api.Campaign o) {
|
| buildCounterCampaign++;
|
| if (buildCounterCampaign < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| - checkUnnamed275(o.additionalCreativeOptimizationConfigurations);
|
| + checkUnnamed1059(o.additionalCreativeOptimizationConfigurations);
|
| unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
|
| unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| checkDimensionValue(o.advertiserIdDimensionValue);
|
| unittest.expect(o.archived, unittest.isTrue);
|
| - checkUnnamed276(o.audienceSegmentGroups);
|
| + checkUnnamed1060(o.audienceSegmentGroups);
|
| unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
|
| checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
|
| unittest.expect(o.comment, unittest.equals('foo'));
|
| unittest.expect(o.comscoreVceEnabled, unittest.isTrue);
|
| checkLastModifiedInfo(o.createInfo);
|
| - checkUnnamed277(o.creativeGroupIds);
|
| + checkUnnamed1061(o.creativeGroupIds);
|
| checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
|
| checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
|
| unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| - checkUnnamed278(o.eventTagOverrides);
|
| + checkUnnamed1062(o.eventTagOverrides);
|
| unittest.expect(o.externalId, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkDimensionValue(o.idDimensionValue);
|
| @@ -1023,7 +1058,7 @@ checkCampaign(api.Campaign o) {
|
| unittest.expect(o.nielsenOcrEnabled, unittest.isTrue);
|
| unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| - checkUnnamed279(o.traffickerEmails);
|
| + checkUnnamed1063(o.traffickerEmails);
|
| }
|
| buildCounterCampaign--;
|
| }
|
| @@ -1049,14 +1084,14 @@ checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) {
|
| buildCounterCampaignCreativeAssociation--;
|
| }
|
|
|
| -buildUnnamed280() {
|
| +buildUnnamed1064() {
|
| var o = new core.List<api.CampaignCreativeAssociation>();
|
| o.add(buildCampaignCreativeAssociation());
|
| o.add(buildCampaignCreativeAssociation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed280(core.List<api.CampaignCreativeAssociation> o) {
|
| +checkUnnamed1064(core.List<api.CampaignCreativeAssociation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCampaignCreativeAssociation(o[0]);
|
| checkCampaignCreativeAssociation(o[1]);
|
| @@ -1067,7 +1102,7 @@ buildCampaignCreativeAssociationsListResponse() {
|
| var o = new api.CampaignCreativeAssociationsListResponse();
|
| buildCounterCampaignCreativeAssociationsListResponse++;
|
| if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
|
| - o.campaignCreativeAssociations = buildUnnamed280();
|
| + o.campaignCreativeAssociations = buildUnnamed1064();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1078,21 +1113,21 @@ buildCampaignCreativeAssociationsListResponse() {
|
| checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsListResponse o) {
|
| buildCounterCampaignCreativeAssociationsListResponse++;
|
| if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
|
| - checkUnnamed280(o.campaignCreativeAssociations);
|
| + checkUnnamed1064(o.campaignCreativeAssociations);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCampaignCreativeAssociationsListResponse--;
|
| }
|
|
|
| -buildUnnamed281() {
|
| +buildUnnamed1065() {
|
| var o = new core.List<api.Campaign>();
|
| o.add(buildCampaign());
|
| o.add(buildCampaign());
|
| return o;
|
| }
|
|
|
| -checkUnnamed281(core.List<api.Campaign> o) {
|
| +checkUnnamed1065(core.List<api.Campaign> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCampaign(o[0]);
|
| checkCampaign(o[1]);
|
| @@ -1103,7 +1138,7 @@ buildCampaignsListResponse() {
|
| var o = new api.CampaignsListResponse();
|
| buildCounterCampaignsListResponse++;
|
| if (buildCounterCampaignsListResponse < 3) {
|
| - o.campaigns = buildUnnamed281();
|
| + o.campaigns = buildUnnamed1065();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1114,7 +1149,7 @@ buildCampaignsListResponse() {
|
| checkCampaignsListResponse(api.CampaignsListResponse o) {
|
| buildCounterCampaignsListResponse++;
|
| if (buildCounterCampaignsListResponse < 3) {
|
| - checkUnnamed281(o.campaigns);
|
| + checkUnnamed1065(o.campaigns);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -1166,14 +1201,14 @@ checkChangeLog(api.ChangeLog o) {
|
| buildCounterChangeLog--;
|
| }
|
|
|
| -buildUnnamed282() {
|
| +buildUnnamed1066() {
|
| var o = new core.List<api.ChangeLog>();
|
| o.add(buildChangeLog());
|
| o.add(buildChangeLog());
|
| return o;
|
| }
|
|
|
| -checkUnnamed282(core.List<api.ChangeLog> o) {
|
| +checkUnnamed1066(core.List<api.ChangeLog> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChangeLog(o[0]);
|
| checkChangeLog(o[1]);
|
| @@ -1184,7 +1219,7 @@ buildChangeLogsListResponse() {
|
| var o = new api.ChangeLogsListResponse();
|
| buildCounterChangeLogsListResponse++;
|
| if (buildCounterChangeLogsListResponse < 3) {
|
| - o.changeLogs = buildUnnamed282();
|
| + o.changeLogs = buildUnnamed1066();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1195,21 +1230,21 @@ buildChangeLogsListResponse() {
|
| checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
|
| buildCounterChangeLogsListResponse++;
|
| if (buildCounterChangeLogsListResponse < 3) {
|
| - checkUnnamed282(o.changeLogs);
|
| + checkUnnamed1066(o.changeLogs);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterChangeLogsListResponse--;
|
| }
|
|
|
| -buildUnnamed283() {
|
| +buildUnnamed1067() {
|
| var o = new core.List<api.City>();
|
| o.add(buildCity());
|
| o.add(buildCity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed283(core.List<api.City> o) {
|
| +checkUnnamed1067(core.List<api.City> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCity(o[0]);
|
| checkCity(o[1]);
|
| @@ -1220,7 +1255,7 @@ buildCitiesListResponse() {
|
| var o = new api.CitiesListResponse();
|
| buildCounterCitiesListResponse++;
|
| if (buildCounterCitiesListResponse < 3) {
|
| - o.cities = buildUnnamed283();
|
| + o.cities = buildUnnamed1067();
|
| o.kind = "foo";
|
| }
|
| buildCounterCitiesListResponse--;
|
| @@ -1230,7 +1265,7 @@ buildCitiesListResponse() {
|
| checkCitiesListResponse(api.CitiesListResponse o) {
|
| buildCounterCitiesListResponse++;
|
| if (buildCounterCitiesListResponse < 3) {
|
| - checkUnnamed283(o.cities);
|
| + checkUnnamed1067(o.cities);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterCitiesListResponse--;
|
| @@ -1411,14 +1446,14 @@ checkConnectionType(api.ConnectionType o) {
|
| buildCounterConnectionType--;
|
| }
|
|
|
| -buildUnnamed284() {
|
| +buildUnnamed1068() {
|
| var o = new core.List<api.ConnectionType>();
|
| o.add(buildConnectionType());
|
| o.add(buildConnectionType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed284(core.List<api.ConnectionType> o) {
|
| +checkUnnamed1068(core.List<api.ConnectionType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConnectionType(o[0]);
|
| checkConnectionType(o[1]);
|
| @@ -1429,7 +1464,7 @@ buildConnectionTypesListResponse() {
|
| var o = new api.ConnectionTypesListResponse();
|
| buildCounterConnectionTypesListResponse++;
|
| if (buildCounterConnectionTypesListResponse < 3) {
|
| - o.connectionTypes = buildUnnamed284();
|
| + o.connectionTypes = buildUnnamed1068();
|
| o.kind = "foo";
|
| }
|
| buildCounterConnectionTypesListResponse--;
|
| @@ -1439,20 +1474,20 @@ buildConnectionTypesListResponse() {
|
| checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
|
| buildCounterConnectionTypesListResponse++;
|
| if (buildCounterConnectionTypesListResponse < 3) {
|
| - checkUnnamed284(o.connectionTypes);
|
| + checkUnnamed1068(o.connectionTypes);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterConnectionTypesListResponse--;
|
| }
|
|
|
| -buildUnnamed285() {
|
| +buildUnnamed1069() {
|
| var o = new core.List<api.ContentCategory>();
|
| o.add(buildContentCategory());
|
| o.add(buildContentCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed285(core.List<api.ContentCategory> o) {
|
| +checkUnnamed1069(core.List<api.ContentCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContentCategory(o[0]);
|
| checkContentCategory(o[1]);
|
| @@ -1463,7 +1498,7 @@ buildContentCategoriesListResponse() {
|
| var o = new api.ContentCategoriesListResponse();
|
| buildCounterContentCategoriesListResponse++;
|
| if (buildCounterContentCategoriesListResponse < 3) {
|
| - o.contentCategories = buildUnnamed285();
|
| + o.contentCategories = buildUnnamed1069();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1474,7 +1509,7 @@ buildContentCategoriesListResponse() {
|
| checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
|
| buildCounterContentCategoriesListResponse++;
|
| if (buildCounterContentCategoriesListResponse < 3) {
|
| - checkUnnamed285(o.contentCategories);
|
| + checkUnnamed1069(o.contentCategories);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -1487,7 +1522,6 @@ buildContentCategory() {
|
| buildCounterContentCategory++;
|
| if (buildCounterContentCategory < 3) {
|
| o.accountId = "foo";
|
| - o.description = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| @@ -1500,7 +1534,6 @@ checkContentCategory(api.ContentCategory o) {
|
| buildCounterContentCategory++;
|
| if (buildCounterContentCategory < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| - unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -1508,14 +1541,14 @@ checkContentCategory(api.ContentCategory o) {
|
| buildCounterContentCategory--;
|
| }
|
|
|
| -buildUnnamed286() {
|
| +buildUnnamed1070() {
|
| var o = new core.List<api.Country>();
|
| o.add(buildCountry());
|
| o.add(buildCountry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed286(core.List<api.Country> o) {
|
| +checkUnnamed1070(core.List<api.Country> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCountry(o[0]);
|
| checkCountry(o[1]);
|
| @@ -1526,7 +1559,7 @@ buildCountriesListResponse() {
|
| var o = new api.CountriesListResponse();
|
| buildCounterCountriesListResponse++;
|
| if (buildCounterCountriesListResponse < 3) {
|
| - o.countries = buildUnnamed286();
|
| + o.countries = buildUnnamed1070();
|
| o.kind = "foo";
|
| }
|
| buildCounterCountriesListResponse--;
|
| @@ -1536,7 +1569,7 @@ buildCountriesListResponse() {
|
| checkCountriesListResponse(api.CountriesListResponse o) {
|
| buildCounterCountriesListResponse++;
|
| if (buildCounterCountriesListResponse < 3) {
|
| - checkUnnamed286(o.countries);
|
| + checkUnnamed1070(o.countries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterCountriesListResponse--;
|
| @@ -1569,157 +1602,157 @@ checkCountry(api.Country o) {
|
| buildCounterCountry--;
|
| }
|
|
|
| -buildUnnamed287() {
|
| +buildUnnamed1071() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed287(core.List<core.String> o) {
|
| +checkUnnamed1071(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed288() {
|
| +buildUnnamed1072() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed288(core.List<core.String> o) {
|
| +checkUnnamed1072(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed289() {
|
| +buildUnnamed1073() {
|
| var o = new core.List<api.ClickTag>();
|
| o.add(buildClickTag());
|
| o.add(buildClickTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed289(core.List<api.ClickTag> o) {
|
| +checkUnnamed1073(core.List<api.ClickTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClickTag(o[0]);
|
| checkClickTag(o[1]);
|
| }
|
|
|
| -buildUnnamed290() {
|
| +buildUnnamed1074() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed290(core.List<core.String> o) {
|
| +checkUnnamed1074(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed291() {
|
| +buildUnnamed1075() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed291(core.List<core.String> o) {
|
| +checkUnnamed1075(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'));
|
| }
|
|
|
| -buildUnnamed292() {
|
| +buildUnnamed1076() {
|
| var o = new core.List<api.CreativeCustomEvent>();
|
| o.add(buildCreativeCustomEvent());
|
| o.add(buildCreativeCustomEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed292(core.List<api.CreativeCustomEvent> o) {
|
| +checkUnnamed1076(core.List<api.CreativeCustomEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCustomEvent(o[0]);
|
| checkCreativeCustomEvent(o[1]);
|
| }
|
|
|
| -buildUnnamed293() {
|
| +buildUnnamed1077() {
|
| var o = new core.List<api.CreativeAsset>();
|
| o.add(buildCreativeAsset());
|
| o.add(buildCreativeAsset());
|
| return o;
|
| }
|
|
|
| -checkUnnamed293(core.List<api.CreativeAsset> o) {
|
| +checkUnnamed1077(core.List<api.CreativeAsset> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeAsset(o[0]);
|
| checkCreativeAsset(o[1]);
|
| }
|
|
|
| -buildUnnamed294() {
|
| +buildUnnamed1078() {
|
| var o = new core.List<api.CreativeFieldAssignment>();
|
| o.add(buildCreativeFieldAssignment());
|
| o.add(buildCreativeFieldAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed294(core.List<api.CreativeFieldAssignment> o) {
|
| +checkUnnamed1078(core.List<api.CreativeFieldAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeFieldAssignment(o[0]);
|
| checkCreativeFieldAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed295() {
|
| +buildUnnamed1079() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed295(core.List<core.String> o) {
|
| +checkUnnamed1079(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed296() {
|
| +buildUnnamed1080() {
|
| var o = new core.List<api.CreativeCustomEvent>();
|
| o.add(buildCreativeCustomEvent());
|
| o.add(buildCreativeCustomEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed296(core.List<api.CreativeCustomEvent> o) {
|
| +checkUnnamed1080(core.List<api.CreativeCustomEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCustomEvent(o[0]);
|
| checkCreativeCustomEvent(o[1]);
|
| }
|
|
|
| -buildUnnamed297() {
|
| +buildUnnamed1081() {
|
| var o = new core.List<api.ThirdPartyTrackingUrl>();
|
| o.add(buildThirdPartyTrackingUrl());
|
| o.add(buildThirdPartyTrackingUrl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed297(core.List<api.ThirdPartyTrackingUrl> o) {
|
| +checkUnnamed1081(core.List<api.ThirdPartyTrackingUrl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThirdPartyTrackingUrl(o[0]);
|
| checkThirdPartyTrackingUrl(o[1]);
|
| }
|
|
|
| -buildUnnamed298() {
|
| +buildUnnamed1082() {
|
| var o = new core.List<api.CreativeCustomEvent>();
|
| o.add(buildCreativeCustomEvent());
|
| o.add(buildCreativeCustomEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed298(core.List<api.CreativeCustomEvent> o) {
|
| +checkUnnamed1082(core.List<api.CreativeCustomEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCustomEvent(o[0]);
|
| checkCreativeCustomEvent(o[1]);
|
| @@ -1733,7 +1766,7 @@ buildCreative() {
|
| o.accountId = "foo";
|
| o.active = true;
|
| o.adParameters = "foo";
|
| - o.adTagKeys = buildUnnamed287();
|
| + o.adTagKeys = buildUnnamed1071();
|
| o.advertiserId = "foo";
|
| o.allowScriptAccess = true;
|
| o.archived = true;
|
| @@ -1742,18 +1775,19 @@ buildCreative() {
|
| o.autoAdvanceImages = true;
|
| o.backgroundColor = "foo";
|
| o.backupImageClickThroughUrl = "foo";
|
| - o.backupImageFeatures = buildUnnamed288();
|
| + o.backupImageFeatures = buildUnnamed1072();
|
| o.backupImageReportingLabel = "foo";
|
| o.backupImageTargetWindow = buildTargetWindow();
|
| - o.clickTags = buildUnnamed289();
|
| + o.clickTags = buildUnnamed1073();
|
| o.commercialId = "foo";
|
| - o.companionCreatives = buildUnnamed290();
|
| - o.compatibility = buildUnnamed291();
|
| - o.counterCustomEvents = buildUnnamed292();
|
| - o.creativeAssets = buildUnnamed293();
|
| - o.creativeFieldAssignments = buildUnnamed294();
|
| - o.customKeyValues = buildUnnamed295();
|
| - o.exitCustomEvents = buildUnnamed296();
|
| + o.companionCreatives = buildUnnamed1074();
|
| + o.compatibility = buildUnnamed1075();
|
| + o.convertFlashToHtml5 = true;
|
| + o.counterCustomEvents = buildUnnamed1076();
|
| + o.creativeAssets = buildUnnamed1077();
|
| + o.creativeFieldAssignments = buildUnnamed1078();
|
| + o.customKeyValues = buildUnnamed1079();
|
| + o.exitCustomEvents = buildUnnamed1080();
|
| o.fsCommand = buildFsCommand();
|
| o.htmlCode = "foo";
|
| o.htmlCodeLocked = true;
|
| @@ -1778,8 +1812,8 @@ buildCreative() {
|
| o.subaccountId = "foo";
|
| o.thirdPartyBackupImageImpressionsUrl = "foo";
|
| o.thirdPartyRichMediaImpressionsUrl = "foo";
|
| - o.thirdPartyUrls = buildUnnamed297();
|
| - o.timerCustomEvents = buildUnnamed298();
|
| + o.thirdPartyUrls = buildUnnamed1081();
|
| + o.timerCustomEvents = buildUnnamed1082();
|
| o.totalFileSize = "foo";
|
| o.type = "foo";
|
| o.version = 42;
|
| @@ -1796,7 +1830,7 @@ checkCreative(api.Creative o) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| unittest.expect(o.active, unittest.isTrue);
|
| unittest.expect(o.adParameters, unittest.equals('foo'));
|
| - checkUnnamed287(o.adTagKeys);
|
| + checkUnnamed1071(o.adTagKeys);
|
| unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| unittest.expect(o.allowScriptAccess, unittest.isTrue);
|
| unittest.expect(o.archived, unittest.isTrue);
|
| @@ -1805,18 +1839,19 @@ checkCreative(api.Creative o) {
|
| unittest.expect(o.autoAdvanceImages, unittest.isTrue);
|
| unittest.expect(o.backgroundColor, unittest.equals('foo'));
|
| unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
|
| - checkUnnamed288(o.backupImageFeatures);
|
| + checkUnnamed1072(o.backupImageFeatures);
|
| unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
|
| checkTargetWindow(o.backupImageTargetWindow);
|
| - checkUnnamed289(o.clickTags);
|
| + checkUnnamed1073(o.clickTags);
|
| unittest.expect(o.commercialId, unittest.equals('foo'));
|
| - checkUnnamed290(o.companionCreatives);
|
| - checkUnnamed291(o.compatibility);
|
| - checkUnnamed292(o.counterCustomEvents);
|
| - checkUnnamed293(o.creativeAssets);
|
| - checkUnnamed294(o.creativeFieldAssignments);
|
| - checkUnnamed295(o.customKeyValues);
|
| - checkUnnamed296(o.exitCustomEvents);
|
| + checkUnnamed1074(o.companionCreatives);
|
| + checkUnnamed1075(o.compatibility);
|
| + unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
|
| + checkUnnamed1076(o.counterCustomEvents);
|
| + checkUnnamed1077(o.creativeAssets);
|
| + checkUnnamed1078(o.creativeFieldAssignments);
|
| + checkUnnamed1079(o.customKeyValues);
|
| + checkUnnamed1080(o.exitCustomEvents);
|
| checkFsCommand(o.fsCommand);
|
| unittest.expect(o.htmlCode, unittest.equals('foo'));
|
| unittest.expect(o.htmlCodeLocked, unittest.isTrue);
|
| @@ -1841,8 +1876,8 @@ checkCreative(api.Creative o) {
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
|
| unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
|
| - checkUnnamed297(o.thirdPartyUrls);
|
| - checkUnnamed298(o.timerCustomEvents);
|
| + checkUnnamed1081(o.thirdPartyUrls);
|
| + checkUnnamed1082(o.timerCustomEvents);
|
| unittest.expect(o.totalFileSize, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals(42));
|
| @@ -1852,14 +1887,14 @@ checkCreative(api.Creative o) {
|
| buildCounterCreative--;
|
| }
|
|
|
| -buildUnnamed299() {
|
| +buildUnnamed1083() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed299(core.List<core.String> o) {
|
| +checkUnnamed1083(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1880,7 +1915,7 @@ buildCreativeAsset() {
|
| o.childAssetType = "foo";
|
| o.collapsedSize = buildSize();
|
| o.customStartTimeValue = 42;
|
| - o.detectedFeatures = buildUnnamed299();
|
| + o.detectedFeatures = buildUnnamed1083();
|
| o.displayType = "foo";
|
| o.duration = 42;
|
| o.durationType = "foo";
|
| @@ -1930,7 +1965,7 @@ checkCreativeAsset(api.CreativeAsset o) {
|
| unittest.expect(o.childAssetType, unittest.equals('foo'));
|
| checkSize(o.collapsedSize);
|
| unittest.expect(o.customStartTimeValue, unittest.equals(42));
|
| - checkUnnamed299(o.detectedFeatures);
|
| + checkUnnamed1083(o.detectedFeatures);
|
| unittest.expect(o.displayType, unittest.equals('foo'));
|
| unittest.expect(o.duration, unittest.equals(42));
|
| unittest.expect(o.durationType, unittest.equals('foo'));
|
| @@ -1987,40 +2022,40 @@ checkCreativeAssetId(api.CreativeAssetId o) {
|
| buildCounterCreativeAssetId--;
|
| }
|
|
|
| -buildUnnamed300() {
|
| +buildUnnamed1084() {
|
| var o = new core.List<api.ClickTag>();
|
| o.add(buildClickTag());
|
| o.add(buildClickTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed300(core.List<api.ClickTag> o) {
|
| +checkUnnamed1084(core.List<api.ClickTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClickTag(o[0]);
|
| checkClickTag(o[1]);
|
| }
|
|
|
| -buildUnnamed301() {
|
| +buildUnnamed1085() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed301(core.List<core.String> o) {
|
| +checkUnnamed1085(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'));
|
| }
|
|
|
| -buildUnnamed302() {
|
| +buildUnnamed1086() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed302(core.List<core.String> o) {
|
| +checkUnnamed1086(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'));
|
| @@ -2032,10 +2067,10 @@ buildCreativeAssetMetadata() {
|
| buildCounterCreativeAssetMetadata++;
|
| if (buildCounterCreativeAssetMetadata < 3) {
|
| o.assetIdentifier = buildCreativeAssetId();
|
| - o.clickTags = buildUnnamed300();
|
| - o.detectedFeatures = buildUnnamed301();
|
| + o.clickTags = buildUnnamed1084();
|
| + o.detectedFeatures = buildUnnamed1085();
|
| o.kind = "foo";
|
| - o.warnedValidationRules = buildUnnamed302();
|
| + o.warnedValidationRules = buildUnnamed1086();
|
| }
|
| buildCounterCreativeAssetMetadata--;
|
| return o;
|
| @@ -2045,48 +2080,48 @@ checkCreativeAssetMetadata(api.CreativeAssetMetadata o) {
|
| buildCounterCreativeAssetMetadata++;
|
| if (buildCounterCreativeAssetMetadata < 3) {
|
| checkCreativeAssetId(o.assetIdentifier);
|
| - checkUnnamed300(o.clickTags);
|
| - checkUnnamed301(o.detectedFeatures);
|
| + checkUnnamed1084(o.clickTags);
|
| + checkUnnamed1085(o.detectedFeatures);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed302(o.warnedValidationRules);
|
| + checkUnnamed1086(o.warnedValidationRules);
|
| }
|
| buildCounterCreativeAssetMetadata--;
|
| }
|
|
|
| -buildUnnamed303() {
|
| +buildUnnamed1087() {
|
| var o = new core.List<api.CompanionClickThroughOverride>();
|
| o.add(buildCompanionClickThroughOverride());
|
| o.add(buildCompanionClickThroughOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed303(core.List<api.CompanionClickThroughOverride> o) {
|
| +checkUnnamed1087(core.List<api.CompanionClickThroughOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCompanionClickThroughOverride(o[0]);
|
| checkCompanionClickThroughOverride(o[1]);
|
| }
|
|
|
| -buildUnnamed304() {
|
| +buildUnnamed1088() {
|
| var o = new core.List<api.CreativeGroupAssignment>();
|
| o.add(buildCreativeGroupAssignment());
|
| o.add(buildCreativeGroupAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed304(core.List<api.CreativeGroupAssignment> o) {
|
| +checkUnnamed1088(core.List<api.CreativeGroupAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeGroupAssignment(o[0]);
|
| checkCreativeGroupAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed305() {
|
| +buildUnnamed1089() {
|
| var o = new core.List<api.RichMediaExitOverride>();
|
| o.add(buildRichMediaExitOverride());
|
| o.add(buildRichMediaExitOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed305(core.List<api.RichMediaExitOverride> o) {
|
| +checkUnnamed1089(core.List<api.RichMediaExitOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRichMediaExitOverride(o[0]);
|
| checkRichMediaExitOverride(o[1]);
|
| @@ -2100,12 +2135,12 @@ buildCreativeAssignment() {
|
| o.active = true;
|
| o.applyEventTags = true;
|
| o.clickThroughUrl = buildClickThroughUrl();
|
| - o.companionCreativeOverrides = buildUnnamed303();
|
| - o.creativeGroupAssignments = buildUnnamed304();
|
| + o.companionCreativeOverrides = buildUnnamed1087();
|
| + o.creativeGroupAssignments = buildUnnamed1088();
|
| o.creativeId = "foo";
|
| o.creativeIdDimensionValue = buildDimensionValue();
|
| o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.richMediaExitOverrides = buildUnnamed305();
|
| + o.richMediaExitOverrides = buildUnnamed1089();
|
| o.sequence = 42;
|
| o.sslCompliant = true;
|
| o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -2121,12 +2156,12 @@ checkCreativeAssignment(api.CreativeAssignment o) {
|
| unittest.expect(o.active, unittest.isTrue);
|
| unittest.expect(o.applyEventTags, unittest.isTrue);
|
| checkClickThroughUrl(o.clickThroughUrl);
|
| - checkUnnamed303(o.companionCreativeOverrides);
|
| - checkUnnamed304(o.creativeGroupAssignments);
|
| + checkUnnamed1087(o.companionCreativeOverrides);
|
| + checkUnnamed1088(o.creativeGroupAssignments);
|
| unittest.expect(o.creativeId, unittest.equals('foo'));
|
| checkDimensionValue(o.creativeIdDimensionValue);
|
| unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - checkUnnamed305(o.richMediaExitOverrides);
|
| + checkUnnamed1089(o.richMediaExitOverrides);
|
| unittest.expect(o.sequence, unittest.equals(42));
|
| unittest.expect(o.sslCompliant, unittest.isTrue);
|
| unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| @@ -2247,14 +2282,14 @@ checkCreativeFieldValue(api.CreativeFieldValue o) {
|
| buildCounterCreativeFieldValue--;
|
| }
|
|
|
| -buildUnnamed306() {
|
| +buildUnnamed1090() {
|
| var o = new core.List<api.CreativeFieldValue>();
|
| o.add(buildCreativeFieldValue());
|
| o.add(buildCreativeFieldValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed306(core.List<api.CreativeFieldValue> o) {
|
| +checkUnnamed1090(core.List<api.CreativeFieldValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeFieldValue(o[0]);
|
| checkCreativeFieldValue(o[1]);
|
| @@ -2265,7 +2300,7 @@ buildCreativeFieldValuesListResponse() {
|
| var o = new api.CreativeFieldValuesListResponse();
|
| buildCounterCreativeFieldValuesListResponse++;
|
| if (buildCounterCreativeFieldValuesListResponse < 3) {
|
| - o.creativeFieldValues = buildUnnamed306();
|
| + o.creativeFieldValues = buildUnnamed1090();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2276,21 +2311,21 @@ buildCreativeFieldValuesListResponse() {
|
| checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
|
| buildCounterCreativeFieldValuesListResponse++;
|
| if (buildCounterCreativeFieldValuesListResponse < 3) {
|
| - checkUnnamed306(o.creativeFieldValues);
|
| + checkUnnamed1090(o.creativeFieldValues);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeFieldValuesListResponse--;
|
| }
|
|
|
| -buildUnnamed307() {
|
| +buildUnnamed1091() {
|
| var o = new core.List<api.CreativeField>();
|
| o.add(buildCreativeField());
|
| o.add(buildCreativeField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed307(core.List<api.CreativeField> o) {
|
| +checkUnnamed1091(core.List<api.CreativeField> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeField(o[0]);
|
| checkCreativeField(o[1]);
|
| @@ -2301,7 +2336,7 @@ buildCreativeFieldsListResponse() {
|
| var o = new api.CreativeFieldsListResponse();
|
| buildCounterCreativeFieldsListResponse++;
|
| if (buildCounterCreativeFieldsListResponse < 3) {
|
| - o.creativeFields = buildUnnamed307();
|
| + o.creativeFields = buildUnnamed1091();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2312,7 +2347,7 @@ buildCreativeFieldsListResponse() {
|
| checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
|
| buildCounterCreativeFieldsListResponse++;
|
| if (buildCounterCreativeFieldsListResponse < 3) {
|
| - checkUnnamed307(o.creativeFields);
|
| + checkUnnamed1091(o.creativeFields);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -2373,14 +2408,14 @@ checkCreativeGroupAssignment(api.CreativeGroupAssignment o) {
|
| buildCounterCreativeGroupAssignment--;
|
| }
|
|
|
| -buildUnnamed308() {
|
| +buildUnnamed1092() {
|
| var o = new core.List<api.CreativeGroup>();
|
| o.add(buildCreativeGroup());
|
| o.add(buildCreativeGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed308(core.List<api.CreativeGroup> o) {
|
| +checkUnnamed1092(core.List<api.CreativeGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeGroup(o[0]);
|
| checkCreativeGroup(o[1]);
|
| @@ -2391,7 +2426,7 @@ buildCreativeGroupsListResponse() {
|
| var o = new api.CreativeGroupsListResponse();
|
| buildCounterCreativeGroupsListResponse++;
|
| if (buildCounterCreativeGroupsListResponse < 3) {
|
| - o.creativeGroups = buildUnnamed308();
|
| + o.creativeGroups = buildUnnamed1092();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2402,21 +2437,21 @@ buildCreativeGroupsListResponse() {
|
| checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
|
| buildCounterCreativeGroupsListResponse++;
|
| if (buildCounterCreativeGroupsListResponse < 3) {
|
| - checkUnnamed308(o.creativeGroups);
|
| + checkUnnamed1092(o.creativeGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed309() {
|
| +buildUnnamed1093() {
|
| var o = new core.List<api.OptimizationActivity>();
|
| o.add(buildOptimizationActivity());
|
| o.add(buildOptimizationActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed309(core.List<api.OptimizationActivity> o) {
|
| +checkUnnamed1093(core.List<api.OptimizationActivity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOptimizationActivity(o[0]);
|
| checkOptimizationActivity(o[1]);
|
| @@ -2429,7 +2464,7 @@ buildCreativeOptimizationConfiguration() {
|
| if (buildCounterCreativeOptimizationConfiguration < 3) {
|
| o.id = "foo";
|
| o.name = "foo";
|
| - o.optimizationActivitys = buildUnnamed309();
|
| + o.optimizationActivitys = buildUnnamed1093();
|
| o.optimizationModel = "foo";
|
| }
|
| buildCounterCreativeOptimizationConfiguration--;
|
| @@ -2441,20 +2476,20 @@ checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
|
| if (buildCounterCreativeOptimizationConfiguration < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed309(o.optimizationActivitys);
|
| + checkUnnamed1093(o.optimizationActivitys);
|
| unittest.expect(o.optimizationModel, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeOptimizationConfiguration--;
|
| }
|
|
|
| -buildUnnamed310() {
|
| +buildUnnamed1094() {
|
| var o = new core.List<api.CreativeAssignment>();
|
| o.add(buildCreativeAssignment());
|
| o.add(buildCreativeAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed310(core.List<api.CreativeAssignment> o) {
|
| +checkUnnamed1094(core.List<api.CreativeAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeAssignment(o[0]);
|
| checkCreativeAssignment(o[1]);
|
| @@ -2465,7 +2500,7 @@ buildCreativeRotation() {
|
| var o = new api.CreativeRotation();
|
| buildCounterCreativeRotation++;
|
| if (buildCounterCreativeRotation < 3) {
|
| - o.creativeAssignments = buildUnnamed310();
|
| + o.creativeAssignments = buildUnnamed1094();
|
| o.creativeOptimizationConfigurationId = "foo";
|
| o.type = "foo";
|
| o.weightCalculationStrategy = "foo";
|
| @@ -2477,7 +2512,7 @@ buildCreativeRotation() {
|
| checkCreativeRotation(api.CreativeRotation o) {
|
| buildCounterCreativeRotation++;
|
| if (buildCounterCreativeRotation < 3) {
|
| - checkUnnamed310(o.creativeAssignments);
|
| + checkUnnamed1094(o.creativeAssignments);
|
| unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| unittest.expect(o.weightCalculationStrategy, unittest.equals('foo'));
|
| @@ -2506,14 +2541,14 @@ checkCreativeSettings(api.CreativeSettings o) {
|
| buildCounterCreativeSettings--;
|
| }
|
|
|
| -buildUnnamed311() {
|
| +buildUnnamed1095() {
|
| var o = new core.List<api.Creative>();
|
| o.add(buildCreative());
|
| o.add(buildCreative());
|
| return o;
|
| }
|
|
|
| -checkUnnamed311(core.List<api.Creative> o) {
|
| +checkUnnamed1095(core.List<api.Creative> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreative(o[0]);
|
| checkCreative(o[1]);
|
| @@ -2524,7 +2559,7 @@ buildCreativesListResponse() {
|
| var o = new api.CreativesListResponse();
|
| buildCounterCreativesListResponse++;
|
| if (buildCounterCreativesListResponse < 3) {
|
| - o.creatives = buildUnnamed311();
|
| + o.creatives = buildUnnamed1095();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2535,60 +2570,60 @@ buildCreativesListResponse() {
|
| checkCreativesListResponse(api.CreativesListResponse o) {
|
| buildCounterCreativesListResponse++;
|
| if (buildCounterCreativesListResponse < 3) {
|
| - checkUnnamed311(o.creatives);
|
| + checkUnnamed1095(o.creatives);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCreativesListResponse--;
|
| }
|
|
|
| -buildUnnamed312() {
|
| +buildUnnamed1096() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed312(core.List<api.Dimension> o) {
|
| +checkUnnamed1096(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed313() {
|
| +buildUnnamed1097() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed313(core.List<api.Dimension> o) {
|
| +checkUnnamed1097(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed314() {
|
| +buildUnnamed1098() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed314(core.List<api.Metric> o) {
|
| +checkUnnamed1098(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed315() {
|
| +buildUnnamed1099() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed315(core.List<api.Metric> o) {
|
| +checkUnnamed1099(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -2599,11 +2634,11 @@ buildCrossDimensionReachReportCompatibleFields() {
|
| var o = new api.CrossDimensionReachReportCompatibleFields();
|
| buildCounterCrossDimensionReachReportCompatibleFields++;
|
| if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
|
| - o.breakdown = buildUnnamed312();
|
| - o.dimensionFilters = buildUnnamed313();
|
| + o.breakdown = buildUnnamed1096();
|
| + o.dimensionFilters = buildUnnamed1097();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed314();
|
| - o.overlapMetrics = buildUnnamed315();
|
| + o.metrics = buildUnnamed1098();
|
| + o.overlapMetrics = buildUnnamed1099();
|
| }
|
| buildCounterCrossDimensionReachReportCompatibleFields--;
|
| return o;
|
| @@ -2612,23 +2647,23 @@ buildCrossDimensionReachReportCompatibleFields() {
|
| checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) {
|
| buildCounterCrossDimensionReachReportCompatibleFields++;
|
| if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
|
| - checkUnnamed312(o.breakdown);
|
| - checkUnnamed313(o.dimensionFilters);
|
| + checkUnnamed1096(o.breakdown);
|
| + checkUnnamed1097(o.dimensionFilters);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed314(o.metrics);
|
| - checkUnnamed315(o.overlapMetrics);
|
| + checkUnnamed1098(o.metrics);
|
| + checkUnnamed1099(o.overlapMetrics);
|
| }
|
| buildCounterCrossDimensionReachReportCompatibleFields--;
|
| }
|
|
|
| -buildUnnamed316() {
|
| +buildUnnamed1100() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed316(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1100(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| @@ -2639,7 +2674,7 @@ buildCustomRichMediaEvents() {
|
| var o = new api.CustomRichMediaEvents();
|
| buildCounterCustomRichMediaEvents++;
|
| if (buildCounterCustomRichMediaEvents < 3) {
|
| - o.filteredEventIds = buildUnnamed316();
|
| + o.filteredEventIds = buildUnnamed1100();
|
| o.kind = "foo";
|
| }
|
| buildCounterCustomRichMediaEvents--;
|
| @@ -2649,7 +2684,7 @@ buildCustomRichMediaEvents() {
|
| checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
|
| buildCounterCustomRichMediaEvents++;
|
| if (buildCounterCustomRichMediaEvents < 3) {
|
| - checkUnnamed316(o.filteredEventIds);
|
| + checkUnnamed1100(o.filteredEventIds);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterCustomRichMediaEvents--;
|
| @@ -2680,27 +2715,27 @@ checkDateRange(api.DateRange o) {
|
| buildCounterDateRange--;
|
| }
|
|
|
| -buildUnnamed317() {
|
| +buildUnnamed1101() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed317(core.List<core.String> o) {
|
| +checkUnnamed1101(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'));
|
| }
|
|
|
| -buildUnnamed318() {
|
| +buildUnnamed1102() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed318(core.List<core.int> o) {
|
| +checkUnnamed1102(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));
|
| @@ -2711,8 +2746,8 @@ buildDayPartTargeting() {
|
| var o = new api.DayPartTargeting();
|
| buildCounterDayPartTargeting++;
|
| if (buildCounterDayPartTargeting < 3) {
|
| - o.daysOfWeek = buildUnnamed317();
|
| - o.hoursOfDay = buildUnnamed318();
|
| + o.daysOfWeek = buildUnnamed1101();
|
| + o.hoursOfDay = buildUnnamed1102();
|
| o.userLocalTime = true;
|
| }
|
| buildCounterDayPartTargeting--;
|
| @@ -2722,8 +2757,8 @@ buildDayPartTargeting() {
|
| checkDayPartTargeting(api.DayPartTargeting o) {
|
| buildCounterDayPartTargeting++;
|
| if (buildCounterDayPartTargeting < 3) {
|
| - checkUnnamed317(o.daysOfWeek);
|
| - checkUnnamed318(o.hoursOfDay);
|
| + checkUnnamed1101(o.daysOfWeek);
|
| + checkUnnamed1102(o.hoursOfDay);
|
| unittest.expect(o.userLocalTime, unittest.isTrue);
|
| }
|
| buildCounterDayPartTargeting--;
|
| @@ -2875,14 +2910,14 @@ checkDimensionValue(api.DimensionValue o) {
|
| buildCounterDimensionValue--;
|
| }
|
|
|
| -buildUnnamed319() {
|
| +buildUnnamed1103() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed319(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1103(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| @@ -2894,7 +2929,7 @@ buildDimensionValueList() {
|
| buildCounterDimensionValueList++;
|
| if (buildCounterDimensionValueList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed319();
|
| + o.items = buildUnnamed1103();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2906,21 +2941,21 @@ checkDimensionValueList(api.DimensionValueList o) {
|
| buildCounterDimensionValueList++;
|
| if (buildCounterDimensionValueList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed319(o.items);
|
| + checkUnnamed1103(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterDimensionValueList--;
|
| }
|
|
|
| -buildUnnamed320() {
|
| +buildUnnamed1104() {
|
| var o = new core.List<api.DimensionFilter>();
|
| o.add(buildDimensionFilter());
|
| o.add(buildDimensionFilter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed320(core.List<api.DimensionFilter> o) {
|
| +checkUnnamed1104(core.List<api.DimensionFilter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionFilter(o[0]);
|
| checkDimensionFilter(o[1]);
|
| @@ -2933,7 +2968,7 @@ buildDimensionValueRequest() {
|
| if (buildCounterDimensionValueRequest < 3) {
|
| o.dimensionName = "foo";
|
| o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| - o.filters = buildUnnamed320();
|
| + o.filters = buildUnnamed1104();
|
| o.kind = "foo";
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| }
|
| @@ -2946,47 +2981,47 @@ checkDimensionValueRequest(api.DimensionValueRequest o) {
|
| if (buildCounterDimensionValueRequest < 3) {
|
| unittest.expect(o.dimensionName, unittest.equals('foo'));
|
| unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| - checkUnnamed320(o.filters);
|
| + checkUnnamed1104(o.filters);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| }
|
| buildCounterDimensionValueRequest--;
|
| }
|
|
|
| -buildUnnamed321() {
|
| +buildUnnamed1105() {
|
| var o = new core.List<api.DirectorySiteContactAssignment>();
|
| o.add(buildDirectorySiteContactAssignment());
|
| o.add(buildDirectorySiteContactAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed321(core.List<api.DirectorySiteContactAssignment> o) {
|
| +checkUnnamed1105(core.List<api.DirectorySiteContactAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectorySiteContactAssignment(o[0]);
|
| checkDirectorySiteContactAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed322() {
|
| +buildUnnamed1106() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed322(core.List<core.String> o) {
|
| +checkUnnamed1106(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'));
|
| }
|
|
|
| -buildUnnamed323() {
|
| +buildUnnamed1107() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed323(core.List<core.String> o) {
|
| +checkUnnamed1107(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'));
|
| @@ -2998,14 +3033,14 @@ buildDirectorySite() {
|
| buildCounterDirectorySite++;
|
| if (buildCounterDirectorySite < 3) {
|
| o.active = true;
|
| - o.contactAssignments = buildUnnamed321();
|
| + o.contactAssignments = buildUnnamed1105();
|
| o.countryId = "foo";
|
| o.currencyId = "foo";
|
| o.description = "foo";
|
| o.id = "foo";
|
| o.idDimensionValue = buildDimensionValue();
|
| - o.inpageTagFormats = buildUnnamed322();
|
| - o.interstitialTagFormats = buildUnnamed323();
|
| + o.inpageTagFormats = buildUnnamed1106();
|
| + o.interstitialTagFormats = buildUnnamed1107();
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.parentId = "foo";
|
| @@ -3020,14 +3055,14 @@ checkDirectorySite(api.DirectorySite o) {
|
| buildCounterDirectorySite++;
|
| if (buildCounterDirectorySite < 3) {
|
| unittest.expect(o.active, unittest.isTrue);
|
| - checkUnnamed321(o.contactAssignments);
|
| + checkUnnamed1105(o.contactAssignments);
|
| unittest.expect(o.countryId, unittest.equals('foo'));
|
| unittest.expect(o.currencyId, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkDimensionValue(o.idDimensionValue);
|
| - checkUnnamed322(o.inpageTagFormats);
|
| - checkUnnamed323(o.interstitialTagFormats);
|
| + checkUnnamed1106(o.inpageTagFormats);
|
| + checkUnnamed1107(o.interstitialTagFormats);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.parentId, unittest.equals('foo'));
|
| @@ -3042,12 +3077,15 @@ buildDirectorySiteContact() {
|
| var o = new api.DirectorySiteContact();
|
| buildCounterDirectorySiteContact++;
|
| if (buildCounterDirectorySiteContact < 3) {
|
| + o.address = "foo";
|
| o.email = "foo";
|
| o.firstName = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.lastName = "foo";
|
| + o.phone = "foo";
|
| o.role = "foo";
|
| + o.title = "foo";
|
| o.type = "foo";
|
| }
|
| buildCounterDirectorySiteContact--;
|
| @@ -3057,12 +3095,15 @@ buildDirectorySiteContact() {
|
| checkDirectorySiteContact(api.DirectorySiteContact o) {
|
| buildCounterDirectorySiteContact++;
|
| if (buildCounterDirectorySiteContact < 3) {
|
| + unittest.expect(o.address, unittest.equals('foo'));
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| unittest.expect(o.firstName, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.lastName, unittest.equals('foo'));
|
| + unittest.expect(o.phone, unittest.equals('foo'));
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| + unittest.expect(o.title, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterDirectorySiteContact--;
|
| @@ -3089,14 +3130,14 @@ checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) {
|
| buildCounterDirectorySiteContactAssignment--;
|
| }
|
|
|
| -buildUnnamed324() {
|
| +buildUnnamed1108() {
|
| var o = new core.List<api.DirectorySiteContact>();
|
| o.add(buildDirectorySiteContact());
|
| o.add(buildDirectorySiteContact());
|
| return o;
|
| }
|
|
|
| -checkUnnamed324(core.List<api.DirectorySiteContact> o) {
|
| +checkUnnamed1108(core.List<api.DirectorySiteContact> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectorySiteContact(o[0]);
|
| checkDirectorySiteContact(o[1]);
|
| @@ -3107,7 +3148,7 @@ buildDirectorySiteContactsListResponse() {
|
| var o = new api.DirectorySiteContactsListResponse();
|
| buildCounterDirectorySiteContactsListResponse++;
|
| if (buildCounterDirectorySiteContactsListResponse < 3) {
|
| - o.directorySiteContacts = buildUnnamed324();
|
| + o.directorySiteContacts = buildUnnamed1108();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3118,7 +3159,7 @@ buildDirectorySiteContactsListResponse() {
|
| checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o) {
|
| buildCounterDirectorySiteContactsListResponse++;
|
| if (buildCounterDirectorySiteContactsListResponse < 3) {
|
| - checkUnnamed324(o.directorySiteContacts);
|
| + checkUnnamed1108(o.directorySiteContacts);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -3156,14 +3197,14 @@ checkDirectorySiteSettings(api.DirectorySiteSettings o) {
|
| buildCounterDirectorySiteSettings--;
|
| }
|
|
|
| -buildUnnamed325() {
|
| +buildUnnamed1109() {
|
| var o = new core.List<api.DirectorySite>();
|
| o.add(buildDirectorySite());
|
| o.add(buildDirectorySite());
|
| return o;
|
| }
|
|
|
| -checkUnnamed325(core.List<api.DirectorySite> o) {
|
| +checkUnnamed1109(core.List<api.DirectorySite> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectorySite(o[0]);
|
| checkDirectorySite(o[1]);
|
| @@ -3174,7 +3215,7 @@ buildDirectorySitesListResponse() {
|
| var o = new api.DirectorySitesListResponse();
|
| buildCounterDirectorySitesListResponse++;
|
| if (buildCounterDirectorySitesListResponse < 3) {
|
| - o.directorySites = buildUnnamed325();
|
| + o.directorySites = buildUnnamed1109();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3185,21 +3226,21 @@ buildDirectorySitesListResponse() {
|
| checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
|
| buildCounterDirectorySitesListResponse++;
|
| if (buildCounterDirectorySitesListResponse < 3) {
|
| - checkUnnamed325(o.directorySites);
|
| + checkUnnamed1109(o.directorySites);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterDirectorySitesListResponse--;
|
| }
|
|
|
| -buildUnnamed326() {
|
| +buildUnnamed1110() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed326(core.List<core.String> o) {
|
| +checkUnnamed1110(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'));
|
| @@ -3220,7 +3261,7 @@ buildEventTag() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.siteFilterType = "foo";
|
| - o.siteIds = buildUnnamed326();
|
| + o.siteIds = buildUnnamed1110();
|
| o.sslCompliant = true;
|
| o.status = "foo";
|
| o.subaccountId = "foo";
|
| @@ -3245,7 +3286,7 @@ checkEventTag(api.EventTag o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.siteFilterType, unittest.equals('foo'));
|
| - checkUnnamed326(o.siteIds);
|
| + checkUnnamed1110(o.siteIds);
|
| unittest.expect(o.sslCompliant, unittest.isTrue);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| @@ -3277,14 +3318,14 @@ checkEventTagOverride(api.EventTagOverride o) {
|
| buildCounterEventTagOverride--;
|
| }
|
|
|
| -buildUnnamed327() {
|
| +buildUnnamed1111() {
|
| var o = new core.List<api.EventTag>();
|
| o.add(buildEventTag());
|
| o.add(buildEventTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed327(core.List<api.EventTag> o) {
|
| +checkUnnamed1111(core.List<api.EventTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEventTag(o[0]);
|
| checkEventTag(o[1]);
|
| @@ -3295,7 +3336,7 @@ buildEventTagsListResponse() {
|
| var o = new api.EventTagsListResponse();
|
| buildCounterEventTagsListResponse++;
|
| if (buildCounterEventTagsListResponse < 3) {
|
| - o.eventTags = buildUnnamed327();
|
| + o.eventTags = buildUnnamed1111();
|
| o.kind = "foo";
|
| }
|
| buildCounterEventTagsListResponse--;
|
| @@ -3305,7 +3346,7 @@ buildEventTagsListResponse() {
|
| checkEventTagsListResponse(api.EventTagsListResponse o) {
|
| buildCounterEventTagsListResponse++;
|
| if (buildCounterEventTagsListResponse < 3) {
|
| - checkUnnamed327(o.eventTags);
|
| + checkUnnamed1111(o.eventTags);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterEventTagsListResponse--;
|
| @@ -3369,14 +3410,14 @@ checkFile(api.File o) {
|
| buildCounterFile--;
|
| }
|
|
|
| -buildUnnamed328() {
|
| +buildUnnamed1112() {
|
| var o = new core.List<api.File>();
|
| o.add(buildFile());
|
| o.add(buildFile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed328(core.List<api.File> o) {
|
| +checkUnnamed1112(core.List<api.File> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFile(o[0]);
|
| checkFile(o[1]);
|
| @@ -3388,7 +3429,7 @@ buildFileList() {
|
| buildCounterFileList++;
|
| if (buildCounterFileList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed328();
|
| + o.items = buildUnnamed1112();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3400,13 +3441,38 @@ checkFileList(api.FileList o) {
|
| buildCounterFileList++;
|
| if (buildCounterFileList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed328(o.items);
|
| + checkUnnamed1112(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterFileList--;
|
| }
|
|
|
| +core.int buildCounterFlight = 0;
|
| +buildFlight() {
|
| + var o = new api.Flight();
|
| + buildCounterFlight++;
|
| + if (buildCounterFlight < 3) {
|
| + o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| + o.rateOrCost = "foo";
|
| + o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| + o.units = "foo";
|
| + }
|
| + buildCounterFlight--;
|
| + return o;
|
| +}
|
| +
|
| +checkFlight(api.Flight o) {
|
| + buildCounterFlight++;
|
| + if (buildCounterFlight < 3) {
|
| + unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| + unittest.expect(o.rateOrCost, unittest.equals('foo'));
|
| + unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| + unittest.expect(o.units, unittest.equals('foo'));
|
| + }
|
| + buildCounterFlight--;
|
| +}
|
| +
|
| core.int buildCounterFloodlightActivitiesGenerateTagResponse = 0;
|
| buildFloodlightActivitiesGenerateTagResponse() {
|
| var o = new api.FloodlightActivitiesGenerateTagResponse();
|
| @@ -3428,14 +3494,14 @@ checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
|
| buildCounterFloodlightActivitiesGenerateTagResponse--;
|
| }
|
|
|
| -buildUnnamed329() {
|
| +buildUnnamed1113() {
|
| var o = new core.List<api.FloodlightActivity>();
|
| o.add(buildFloodlightActivity());
|
| o.add(buildFloodlightActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed329(core.List<api.FloodlightActivity> o) {
|
| +checkUnnamed1113(core.List<api.FloodlightActivity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivity(o[0]);
|
| checkFloodlightActivity(o[1]);
|
| @@ -3446,7 +3512,7 @@ buildFloodlightActivitiesListResponse() {
|
| var o = new api.FloodlightActivitiesListResponse();
|
| buildCounterFloodlightActivitiesListResponse++;
|
| if (buildCounterFloodlightActivitiesListResponse < 3) {
|
| - o.floodlightActivities = buildUnnamed329();
|
| + o.floodlightActivities = buildUnnamed1113();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3457,47 +3523,47 @@ buildFloodlightActivitiesListResponse() {
|
| checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
|
| buildCounterFloodlightActivitiesListResponse++;
|
| if (buildCounterFloodlightActivitiesListResponse < 3) {
|
| - checkUnnamed329(o.floodlightActivities);
|
| + checkUnnamed1113(o.floodlightActivities);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterFloodlightActivitiesListResponse--;
|
| }
|
|
|
| -buildUnnamed330() {
|
| +buildUnnamed1114() {
|
| var o = new core.List<api.FloodlightActivityDynamicTag>();
|
| o.add(buildFloodlightActivityDynamicTag());
|
| o.add(buildFloodlightActivityDynamicTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed330(core.List<api.FloodlightActivityDynamicTag> o) {
|
| +checkUnnamed1114(core.List<api.FloodlightActivityDynamicTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivityDynamicTag(o[0]);
|
| checkFloodlightActivityDynamicTag(o[1]);
|
| }
|
|
|
| -buildUnnamed331() {
|
| +buildUnnamed1115() {
|
| var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
|
| o.add(buildFloodlightActivityPublisherDynamicTag());
|
| o.add(buildFloodlightActivityPublisherDynamicTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed331(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
|
| +checkUnnamed1115(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivityPublisherDynamicTag(o[0]);
|
| checkFloodlightActivityPublisherDynamicTag(o[1]);
|
| }
|
|
|
| -buildUnnamed332() {
|
| +buildUnnamed1116() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed332(core.List<core.String> o) {
|
| +checkUnnamed1116(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'));
|
| @@ -3513,7 +3579,7 @@ buildFloodlightActivity() {
|
| o.advertiserIdDimensionValue = buildDimensionValue();
|
| o.cacheBustingType = "foo";
|
| o.countingMethod = "foo";
|
| - o.defaultTags = buildUnnamed330();
|
| + o.defaultTags = buildUnnamed1114();
|
| o.expectedUrl = "foo";
|
| o.floodlightActivityGroupId = "foo";
|
| o.floodlightActivityGroupName = "foo";
|
| @@ -3528,14 +3594,14 @@ buildFloodlightActivity() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.notes = "foo";
|
| - o.publisherTags = buildUnnamed331();
|
| + o.publisherTags = buildUnnamed1115();
|
| o.secure = true;
|
| o.sslCompliant = true;
|
| o.sslRequired = true;
|
| o.subaccountId = "foo";
|
| o.tagFormat = "foo";
|
| o.tagString = "foo";
|
| - o.userDefinedVariableTypes = buildUnnamed332();
|
| + o.userDefinedVariableTypes = buildUnnamed1116();
|
| }
|
| buildCounterFloodlightActivity--;
|
| return o;
|
| @@ -3549,7 +3615,7 @@ checkFloodlightActivity(api.FloodlightActivity o) {
|
| checkDimensionValue(o.advertiserIdDimensionValue);
|
| unittest.expect(o.cacheBustingType, unittest.equals('foo'));
|
| unittest.expect(o.countingMethod, unittest.equals('foo'));
|
| - checkUnnamed330(o.defaultTags);
|
| + checkUnnamed1114(o.defaultTags);
|
| unittest.expect(o.expectedUrl, unittest.equals('foo'));
|
| unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
|
| unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
|
| @@ -3564,14 +3630,14 @@ checkFloodlightActivity(api.FloodlightActivity o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.notes, unittest.equals('foo'));
|
| - checkUnnamed331(o.publisherTags);
|
| + checkUnnamed1115(o.publisherTags);
|
| unittest.expect(o.secure, unittest.isTrue);
|
| unittest.expect(o.sslCompliant, unittest.isTrue);
|
| unittest.expect(o.sslRequired, unittest.isTrue);
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| unittest.expect(o.tagFormat, unittest.equals('foo'));
|
| unittest.expect(o.tagString, unittest.equals('foo'));
|
| - checkUnnamed332(o.userDefinedVariableTypes);
|
| + checkUnnamed1116(o.userDefinedVariableTypes);
|
| }
|
| buildCounterFloodlightActivity--;
|
| }
|
| @@ -3640,14 +3706,14 @@ checkFloodlightActivityGroup(api.FloodlightActivityGroup o) {
|
| buildCounterFloodlightActivityGroup--;
|
| }
|
|
|
| -buildUnnamed333() {
|
| +buildUnnamed1117() {
|
| var o = new core.List<api.FloodlightActivityGroup>();
|
| o.add(buildFloodlightActivityGroup());
|
| o.add(buildFloodlightActivityGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed333(core.List<api.FloodlightActivityGroup> o) {
|
| +checkUnnamed1117(core.List<api.FloodlightActivityGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivityGroup(o[0]);
|
| checkFloodlightActivityGroup(o[1]);
|
| @@ -3658,7 +3724,7 @@ buildFloodlightActivityGroupsListResponse() {
|
| var o = new api.FloodlightActivityGroupsListResponse();
|
| buildCounterFloodlightActivityGroupsListResponse++;
|
| if (buildCounterFloodlightActivityGroupsListResponse < 3) {
|
| - o.floodlightActivityGroups = buildUnnamed333();
|
| + o.floodlightActivityGroups = buildUnnamed1117();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3669,7 +3735,7 @@ buildFloodlightActivityGroupsListResponse() {
|
| checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListResponse o) {
|
| buildCounterFloodlightActivityGroupsListResponse++;
|
| if (buildCounterFloodlightActivityGroupsListResponse < 3) {
|
| - checkUnnamed333(o.floodlightActivityGroups);
|
| + checkUnnamed1117(o.floodlightActivityGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -3705,27 +3771,27 @@ checkFloodlightActivityPublisherDynamicTag(api.FloodlightActivityPublisherDynami
|
| buildCounterFloodlightActivityPublisherDynamicTag--;
|
| }
|
|
|
| -buildUnnamed334() {
|
| +buildUnnamed1118() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed334(core.List<core.String> o) {
|
| +checkUnnamed1118(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'));
|
| }
|
|
|
| -buildUnnamed335() {
|
| +buildUnnamed1119() {
|
| var o = new core.List<api.UserDefinedVariableConfiguration>();
|
| o.add(buildUserDefinedVariableConfiguration());
|
| o.add(buildUserDefinedVariableConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed335(core.List<api.UserDefinedVariableConfiguration> o) {
|
| +checkUnnamed1119(core.List<api.UserDefinedVariableConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserDefinedVariableConfiguration(o[0]);
|
| checkUserDefinedVariableConfiguration(o[1]);
|
| @@ -3749,10 +3815,10 @@ buildFloodlightConfiguration() {
|
| o.naturalSearchConversionAttributionOption = "foo";
|
| o.omnitureSettings = buildOmnitureSettings();
|
| o.sslRequired = true;
|
| - o.standardVariableTypes = buildUnnamed334();
|
| + o.standardVariableTypes = buildUnnamed1118();
|
| o.subaccountId = "foo";
|
| o.tagSettings = buildTagSettings();
|
| - o.userDefinedVariableConfigurations = buildUnnamed335();
|
| + o.userDefinedVariableConfigurations = buildUnnamed1119();
|
| }
|
| buildCounterFloodlightConfiguration--;
|
| return o;
|
| @@ -3774,22 +3840,22 @@ checkFloodlightConfiguration(api.FloodlightConfiguration o) {
|
| unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals('foo'));
|
| checkOmnitureSettings(o.omnitureSettings);
|
| unittest.expect(o.sslRequired, unittest.isTrue);
|
| - checkUnnamed334(o.standardVariableTypes);
|
| + checkUnnamed1118(o.standardVariableTypes);
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| checkTagSettings(o.tagSettings);
|
| - checkUnnamed335(o.userDefinedVariableConfigurations);
|
| + checkUnnamed1119(o.userDefinedVariableConfigurations);
|
| }
|
| buildCounterFloodlightConfiguration--;
|
| }
|
|
|
| -buildUnnamed336() {
|
| +buildUnnamed1120() {
|
| var o = new core.List<api.FloodlightConfiguration>();
|
| o.add(buildFloodlightConfiguration());
|
| o.add(buildFloodlightConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed336(core.List<api.FloodlightConfiguration> o) {
|
| +checkUnnamed1120(core.List<api.FloodlightConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightConfiguration(o[0]);
|
| checkFloodlightConfiguration(o[1]);
|
| @@ -3800,7 +3866,7 @@ buildFloodlightConfigurationsListResponse() {
|
| var o = new api.FloodlightConfigurationsListResponse();
|
| buildCounterFloodlightConfigurationsListResponse++;
|
| if (buildCounterFloodlightConfigurationsListResponse < 3) {
|
| - o.floodlightConfigurations = buildUnnamed336();
|
| + o.floodlightConfigurations = buildUnnamed1120();
|
| o.kind = "foo";
|
| }
|
| buildCounterFloodlightConfigurationsListResponse--;
|
| @@ -3810,46 +3876,46 @@ buildFloodlightConfigurationsListResponse() {
|
| checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListResponse o) {
|
| buildCounterFloodlightConfigurationsListResponse++;
|
| if (buildCounterFloodlightConfigurationsListResponse < 3) {
|
| - checkUnnamed336(o.floodlightConfigurations);
|
| + checkUnnamed1120(o.floodlightConfigurations);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterFloodlightConfigurationsListResponse--;
|
| }
|
|
|
| -buildUnnamed337() {
|
| +buildUnnamed1121() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed337(core.List<api.Dimension> o) {
|
| +checkUnnamed1121(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed338() {
|
| +buildUnnamed1122() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed338(core.List<api.Dimension> o) {
|
| +checkUnnamed1122(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed339() {
|
| +buildUnnamed1123() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed339(core.List<api.Metric> o) {
|
| +checkUnnamed1123(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -3860,10 +3926,10 @@ buildFloodlightReportCompatibleFields() {
|
| var o = new api.FloodlightReportCompatibleFields();
|
| buildCounterFloodlightReportCompatibleFields++;
|
| if (buildCounterFloodlightReportCompatibleFields < 3) {
|
| - o.dimensionFilters = buildUnnamed337();
|
| - o.dimensions = buildUnnamed338();
|
| + o.dimensionFilters = buildUnnamed1121();
|
| + o.dimensions = buildUnnamed1122();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed339();
|
| + o.metrics = buildUnnamed1123();
|
| }
|
| buildCounterFloodlightReportCompatibleFields--;
|
| return o;
|
| @@ -3872,10 +3938,10 @@ buildFloodlightReportCompatibleFields() {
|
| checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
|
| buildCounterFloodlightReportCompatibleFields++;
|
| if (buildCounterFloodlightReportCompatibleFields < 3) {
|
| - checkUnnamed337(o.dimensionFilters);
|
| - checkUnnamed338(o.dimensions);
|
| + checkUnnamed1121(o.dimensionFilters);
|
| + checkUnnamed1122(o.dimensions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed339(o.metrics);
|
| + checkUnnamed1123(o.metrics);
|
| }
|
| buildCounterFloodlightReportCompatibleFields--;
|
| }
|
| @@ -3928,66 +3994,66 @@ checkFsCommand(api.FsCommand o) {
|
| buildCounterFsCommand--;
|
| }
|
|
|
| -buildUnnamed340() {
|
| +buildUnnamed1124() {
|
| var o = new core.List<api.City>();
|
| o.add(buildCity());
|
| o.add(buildCity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed340(core.List<api.City> o) {
|
| +checkUnnamed1124(core.List<api.City> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCity(o[0]);
|
| checkCity(o[1]);
|
| }
|
|
|
| -buildUnnamed341() {
|
| +buildUnnamed1125() {
|
| var o = new core.List<api.Country>();
|
| o.add(buildCountry());
|
| o.add(buildCountry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed341(core.List<api.Country> o) {
|
| +checkUnnamed1125(core.List<api.Country> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCountry(o[0]);
|
| checkCountry(o[1]);
|
| }
|
|
|
| -buildUnnamed342() {
|
| +buildUnnamed1126() {
|
| var o = new core.List<api.Metro>();
|
| o.add(buildMetro());
|
| o.add(buildMetro());
|
| return o;
|
| }
|
|
|
| -checkUnnamed342(core.List<api.Metro> o) {
|
| +checkUnnamed1126(core.List<api.Metro> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetro(o[0]);
|
| checkMetro(o[1]);
|
| }
|
|
|
| -buildUnnamed343() {
|
| +buildUnnamed1127() {
|
| var o = new core.List<api.PostalCode>();
|
| o.add(buildPostalCode());
|
| o.add(buildPostalCode());
|
| return o;
|
| }
|
|
|
| -checkUnnamed343(core.List<api.PostalCode> o) {
|
| +checkUnnamed1127(core.List<api.PostalCode> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPostalCode(o[0]);
|
| checkPostalCode(o[1]);
|
| }
|
|
|
| -buildUnnamed344() {
|
| +buildUnnamed1128() {
|
| var o = new core.List<api.Region>();
|
| o.add(buildRegion());
|
| o.add(buildRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed344(core.List<api.Region> o) {
|
| +checkUnnamed1128(core.List<api.Region> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRegion(o[0]);
|
| checkRegion(o[1]);
|
| @@ -3998,12 +4064,12 @@ buildGeoTargeting() {
|
| var o = new api.GeoTargeting();
|
| buildCounterGeoTargeting++;
|
| if (buildCounterGeoTargeting < 3) {
|
| - o.cities = buildUnnamed340();
|
| - o.countries = buildUnnamed341();
|
| + o.cities = buildUnnamed1124();
|
| + o.countries = buildUnnamed1125();
|
| o.excludeCountries = true;
|
| - o.metros = buildUnnamed342();
|
| - o.postalCodes = buildUnnamed343();
|
| - o.regions = buildUnnamed344();
|
| + o.metros = buildUnnamed1126();
|
| + o.postalCodes = buildUnnamed1127();
|
| + o.regions = buildUnnamed1128();
|
| }
|
| buildCounterGeoTargeting--;
|
| return o;
|
| @@ -4012,16 +4078,120 @@ buildGeoTargeting() {
|
| checkGeoTargeting(api.GeoTargeting o) {
|
| buildCounterGeoTargeting++;
|
| if (buildCounterGeoTargeting < 3) {
|
| - checkUnnamed340(o.cities);
|
| - checkUnnamed341(o.countries);
|
| + checkUnnamed1124(o.cities);
|
| + checkUnnamed1125(o.countries);
|
| unittest.expect(o.excludeCountries, unittest.isTrue);
|
| - checkUnnamed342(o.metros);
|
| - checkUnnamed343(o.postalCodes);
|
| - checkUnnamed344(o.regions);
|
| + checkUnnamed1126(o.metros);
|
| + checkUnnamed1127(o.postalCodes);
|
| + checkUnnamed1128(o.regions);
|
| }
|
| buildCounterGeoTargeting--;
|
| }
|
|
|
| +buildUnnamed1129() {
|
| + var o = new core.List<api.AdSlot>();
|
| + o.add(buildAdSlot());
|
| + o.add(buildAdSlot());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1129(core.List<api.AdSlot> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkAdSlot(o[0]);
|
| + checkAdSlot(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterInventoryItem = 0;
|
| +buildInventoryItem() {
|
| + var o = new api.InventoryItem();
|
| + buildCounterInventoryItem++;
|
| + if (buildCounterInventoryItem < 3) {
|
| + o.accountId = "foo";
|
| + o.adSlots = buildUnnamed1129();
|
| + o.advertiserId = "foo";
|
| + o.contentCategoryId = "foo";
|
| + o.estimatedClickThroughRate = "foo";
|
| + o.estimatedConversionRate = "foo";
|
| + o.id = "foo";
|
| + o.inPlan = true;
|
| + o.kind = "foo";
|
| + o.lastModifiedInfo = buildLastModifiedInfo();
|
| + o.name = "foo";
|
| + o.negotiationChannelId = "foo";
|
| + o.orderId = "foo";
|
| + o.placementStrategyId = "foo";
|
| + o.pricing = buildPricing();
|
| + o.projectId = "foo";
|
| + o.rfpId = "foo";
|
| + o.siteId = "foo";
|
| + o.subaccountId = "foo";
|
| + }
|
| + buildCounterInventoryItem--;
|
| + return o;
|
| +}
|
| +
|
| +checkInventoryItem(api.InventoryItem o) {
|
| + buildCounterInventoryItem++;
|
| + if (buildCounterInventoryItem < 3) {
|
| + unittest.expect(o.accountId, unittest.equals('foo'));
|
| + checkUnnamed1129(o.adSlots);
|
| + unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| + unittest.expect(o.contentCategoryId, unittest.equals('foo'));
|
| + unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
|
| + unittest.expect(o.estimatedConversionRate, unittest.equals('foo'));
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + unittest.expect(o.inPlan, unittest.isTrue);
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + checkLastModifiedInfo(o.lastModifiedInfo);
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.negotiationChannelId, unittest.equals('foo'));
|
| + unittest.expect(o.orderId, unittest.equals('foo'));
|
| + unittest.expect(o.placementStrategyId, unittest.equals('foo'));
|
| + checkPricing(o.pricing);
|
| + unittest.expect(o.projectId, unittest.equals('foo'));
|
| + unittest.expect(o.rfpId, unittest.equals('foo'));
|
| + unittest.expect(o.siteId, unittest.equals('foo'));
|
| + unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| + }
|
| + buildCounterInventoryItem--;
|
| +}
|
| +
|
| +buildUnnamed1130() {
|
| + var o = new core.List<api.InventoryItem>();
|
| + o.add(buildInventoryItem());
|
| + o.add(buildInventoryItem());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1130(core.List<api.InventoryItem> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkInventoryItem(o[0]);
|
| + checkInventoryItem(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterInventoryItemsListResponse = 0;
|
| +buildInventoryItemsListResponse() {
|
| + var o = new api.InventoryItemsListResponse();
|
| + buildCounterInventoryItemsListResponse++;
|
| + if (buildCounterInventoryItemsListResponse < 3) {
|
| + o.inventoryItems = buildUnnamed1130();
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + }
|
| + buildCounterInventoryItemsListResponse--;
|
| + return o;
|
| +}
|
| +
|
| +checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
|
| + buildCounterInventoryItemsListResponse++;
|
| + if (buildCounterInventoryItemsListResponse < 3) {
|
| + checkUnnamed1130(o.inventoryItems);
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + }
|
| + buildCounterInventoryItemsListResponse--;
|
| +}
|
| +
|
| core.int buildCounterKeyValueTargetingExpression = 0;
|
| buildKeyValueTargetingExpression() {
|
| var o = new api.KeyValueTargetingExpression();
|
| @@ -4068,14 +4238,14 @@ checkLandingPage(api.LandingPage o) {
|
| buildCounterLandingPage--;
|
| }
|
|
|
| -buildUnnamed345() {
|
| +buildUnnamed1131() {
|
| var o = new core.List<api.LandingPage>();
|
| o.add(buildLandingPage());
|
| o.add(buildLandingPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed345(core.List<api.LandingPage> o) {
|
| +checkUnnamed1131(core.List<api.LandingPage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLandingPage(o[0]);
|
| checkLandingPage(o[1]);
|
| @@ -4087,7 +4257,7 @@ buildLandingPagesListResponse() {
|
| buildCounterLandingPagesListResponse++;
|
| if (buildCounterLandingPagesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.landingPages = buildUnnamed345();
|
| + o.landingPages = buildUnnamed1131();
|
| }
|
| buildCounterLandingPagesListResponse--;
|
| return o;
|
| @@ -4097,7 +4267,7 @@ checkLandingPagesListResponse(api.LandingPagesListResponse o) {
|
| buildCounterLandingPagesListResponse++;
|
| if (buildCounterLandingPagesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed345(o.landingPages);
|
| + checkUnnamed1131(o.landingPages);
|
| }
|
| buildCounterLandingPagesListResponse--;
|
| }
|
| @@ -4121,6 +4291,107 @@ checkLastModifiedInfo(api.LastModifiedInfo o) {
|
| buildCounterLastModifiedInfo--;
|
| }
|
|
|
| +buildUnnamed1132() {
|
| + var o = new core.List<api.ListPopulationTerm>();
|
| + o.add(buildListPopulationTerm());
|
| + o.add(buildListPopulationTerm());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1132(core.List<api.ListPopulationTerm> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkListPopulationTerm(o[0]);
|
| + checkListPopulationTerm(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterListPopulationClause = 0;
|
| +buildListPopulationClause() {
|
| + var o = new api.ListPopulationClause();
|
| + buildCounterListPopulationClause++;
|
| + if (buildCounterListPopulationClause < 3) {
|
| + o.terms = buildUnnamed1132();
|
| + }
|
| + buildCounterListPopulationClause--;
|
| + return o;
|
| +}
|
| +
|
| +checkListPopulationClause(api.ListPopulationClause o) {
|
| + buildCounterListPopulationClause++;
|
| + if (buildCounterListPopulationClause < 3) {
|
| + checkUnnamed1132(o.terms);
|
| + }
|
| + buildCounterListPopulationClause--;
|
| +}
|
| +
|
| +buildUnnamed1133() {
|
| + var o = new core.List<api.ListPopulationClause>();
|
| + o.add(buildListPopulationClause());
|
| + o.add(buildListPopulationClause());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1133(core.List<api.ListPopulationClause> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkListPopulationClause(o[0]);
|
| + checkListPopulationClause(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterListPopulationRule = 0;
|
| +buildListPopulationRule() {
|
| + var o = new api.ListPopulationRule();
|
| + buildCounterListPopulationRule++;
|
| + if (buildCounterListPopulationRule < 3) {
|
| + o.floodlightActivityId = "foo";
|
| + o.floodlightActivityName = "foo";
|
| + o.listPopulationClauses = buildUnnamed1133();
|
| + }
|
| + buildCounterListPopulationRule--;
|
| + return o;
|
| +}
|
| +
|
| +checkListPopulationRule(api.ListPopulationRule o) {
|
| + buildCounterListPopulationRule++;
|
| + if (buildCounterListPopulationRule < 3) {
|
| + unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
|
| + unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
|
| + checkUnnamed1133(o.listPopulationClauses);
|
| + }
|
| + buildCounterListPopulationRule--;
|
| +}
|
| +
|
| +core.int buildCounterListPopulationTerm = 0;
|
| +buildListPopulationTerm() {
|
| + var o = new api.ListPopulationTerm();
|
| + buildCounterListPopulationTerm++;
|
| + if (buildCounterListPopulationTerm < 3) {
|
| + o.contains = true;
|
| + o.negation = true;
|
| + o.operator = "foo";
|
| + o.remarketingListId = "foo";
|
| + o.type = "foo";
|
| + o.value = "foo";
|
| + o.variableFriendlyName = "foo";
|
| + o.variableName = "foo";
|
| + }
|
| + buildCounterListPopulationTerm--;
|
| + return o;
|
| +}
|
| +
|
| +checkListPopulationTerm(api.ListPopulationTerm o) {
|
| + buildCounterListPopulationTerm++;
|
| + if (buildCounterListPopulationTerm < 3) {
|
| + unittest.expect(o.contains, unittest.isTrue);
|
| + unittest.expect(o.negation, unittest.isTrue);
|
| + unittest.expect(o.operator, unittest.equals('foo'));
|
| + unittest.expect(o.remarketingListId, unittest.equals('foo'));
|
| + unittest.expect(o.type, unittest.equals('foo'));
|
| + unittest.expect(o.value, unittest.equals('foo'));
|
| + unittest.expect(o.variableFriendlyName, unittest.equals('foo'));
|
| + unittest.expect(o.variableName, unittest.equals('foo'));
|
| + }
|
| + buildCounterListPopulationTerm--;
|
| +}
|
| +
|
| core.int buildCounterListTargetingExpression = 0;
|
| buildListTargetingExpression() {
|
| var o = new api.ListTargetingExpression();
|
| @@ -4213,14 +4484,14 @@ checkMetro(api.Metro o) {
|
| buildCounterMetro--;
|
| }
|
|
|
| -buildUnnamed346() {
|
| +buildUnnamed1134() {
|
| var o = new core.List<api.Metro>();
|
| o.add(buildMetro());
|
| o.add(buildMetro());
|
| return o;
|
| }
|
|
|
| -checkUnnamed346(core.List<api.Metro> o) {
|
| +checkUnnamed1134(core.List<api.Metro> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetro(o[0]);
|
| checkMetro(o[1]);
|
| @@ -4232,7 +4503,7 @@ buildMetrosListResponse() {
|
| buildCounterMetrosListResponse++;
|
| if (buildCounterMetrosListResponse < 3) {
|
| o.kind = "foo";
|
| - o.metros = buildUnnamed346();
|
| + o.metros = buildUnnamed1134();
|
| }
|
| buildCounterMetrosListResponse--;
|
| return o;
|
| @@ -4242,7 +4513,7 @@ checkMetrosListResponse(api.MetrosListResponse o) {
|
| buildCounterMetrosListResponse++;
|
| if (buildCounterMetrosListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed346(o.metros);
|
| + checkUnnamed1134(o.metros);
|
| }
|
| buildCounterMetrosListResponse--;
|
| }
|
| @@ -4274,14 +4545,14 @@ checkMobileCarrier(api.MobileCarrier o) {
|
| buildCounterMobileCarrier--;
|
| }
|
|
|
| -buildUnnamed347() {
|
| +buildUnnamed1135() {
|
| var o = new core.List<api.MobileCarrier>();
|
| o.add(buildMobileCarrier());
|
| o.add(buildMobileCarrier());
|
| return o;
|
| }
|
|
|
| -checkUnnamed347(core.List<api.MobileCarrier> o) {
|
| +checkUnnamed1135(core.List<api.MobileCarrier> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMobileCarrier(o[0]);
|
| checkMobileCarrier(o[1]);
|
| @@ -4293,7 +4564,7 @@ buildMobileCarriersListResponse() {
|
| buildCounterMobileCarriersListResponse++;
|
| if (buildCounterMobileCarriersListResponse < 3) {
|
| o.kind = "foo";
|
| - o.mobileCarriers = buildUnnamed347();
|
| + o.mobileCarriers = buildUnnamed1135();
|
| }
|
| buildCounterMobileCarriersListResponse--;
|
| return o;
|
| @@ -4303,19 +4574,19 @@ checkMobileCarriersListResponse(api.MobileCarriersListResponse o) {
|
| buildCounterMobileCarriersListResponse++;
|
| if (buildCounterMobileCarriersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed347(o.mobileCarriers);
|
| + checkUnnamed1135(o.mobileCarriers);
|
| }
|
| buildCounterMobileCarriersListResponse--;
|
| }
|
|
|
| -buildUnnamed348() {
|
| +buildUnnamed1136() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed348(core.List<core.String> o) {
|
| +checkUnnamed1136(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'));
|
| @@ -4327,7 +4598,7 @@ buildObjectFilter() {
|
| buildCounterObjectFilter++;
|
| if (buildCounterObjectFilter < 3) {
|
| o.kind = "foo";
|
| - o.objectIds = buildUnnamed348();
|
| + o.objectIds = buildUnnamed1136();
|
| o.status = "foo";
|
| }
|
| buildCounterObjectFilter--;
|
| @@ -4338,7 +4609,7 @@ checkObjectFilter(api.ObjectFilter o) {
|
| buildCounterObjectFilter++;
|
| if (buildCounterObjectFilter < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed348(o.objectIds);
|
| + checkUnnamed1136(o.objectIds);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterObjectFilter--;
|
| @@ -4442,14 +4713,14 @@ checkOperatingSystemVersion(api.OperatingSystemVersion o) {
|
| buildCounterOperatingSystemVersion--;
|
| }
|
|
|
| -buildUnnamed349() {
|
| +buildUnnamed1137() {
|
| var o = new core.List<api.OperatingSystemVersion>();
|
| o.add(buildOperatingSystemVersion());
|
| o.add(buildOperatingSystemVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed349(core.List<api.OperatingSystemVersion> o) {
|
| +checkUnnamed1137(core.List<api.OperatingSystemVersion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystemVersion(o[0]);
|
| checkOperatingSystemVersion(o[1]);
|
| @@ -4461,7 +4732,7 @@ buildOperatingSystemVersionsListResponse() {
|
| buildCounterOperatingSystemVersionsListResponse++;
|
| if (buildCounterOperatingSystemVersionsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.operatingSystemVersions = buildUnnamed349();
|
| + o.operatingSystemVersions = buildUnnamed1137();
|
| }
|
| buildCounterOperatingSystemVersionsListResponse--;
|
| return o;
|
| @@ -4471,19 +4742,19 @@ checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
|
| buildCounterOperatingSystemVersionsListResponse++;
|
| if (buildCounterOperatingSystemVersionsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed349(o.operatingSystemVersions);
|
| + checkUnnamed1137(o.operatingSystemVersions);
|
| }
|
| buildCounterOperatingSystemVersionsListResponse--;
|
| }
|
|
|
| -buildUnnamed350() {
|
| +buildUnnamed1138() {
|
| var o = new core.List<api.OperatingSystem>();
|
| o.add(buildOperatingSystem());
|
| o.add(buildOperatingSystem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed350(core.List<api.OperatingSystem> o) {
|
| +checkUnnamed1138(core.List<api.OperatingSystem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystem(o[0]);
|
| checkOperatingSystem(o[1]);
|
| @@ -4495,7 +4766,7 @@ buildOperatingSystemsListResponse() {
|
| buildCounterOperatingSystemsListResponse++;
|
| if (buildCounterOperatingSystemsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.operatingSystems = buildUnnamed350();
|
| + o.operatingSystems = buildUnnamed1138();
|
| }
|
| buildCounterOperatingSystemsListResponse--;
|
| return o;
|
| @@ -4505,7 +4776,7 @@ checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) {
|
| buildCounterOperatingSystemsListResponse++;
|
| if (buildCounterOperatingSystemsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed350(o.operatingSystems);
|
| + checkUnnamed1138(o.operatingSystems);
|
| }
|
| buildCounterOperatingSystemsListResponse--;
|
| }
|
| @@ -4533,182 +4804,450 @@ checkOptimizationActivity(api.OptimizationActivity o) {
|
| buildCounterOptimizationActivity--;
|
| }
|
|
|
| -buildUnnamed351() {
|
| - var o = new core.List<api.Dimension>();
|
| - o.add(buildDimension());
|
| - o.add(buildDimension());
|
| +buildUnnamed1139() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed351(core.List<api.Dimension> o) {
|
| +checkUnnamed1139(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkDimension(o[0]);
|
| - checkDimension(o[1]);
|
| + unittest.expect(o[0], unittest.equals('foo'));
|
| + unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed352() {
|
| - var o = new core.List<api.Dimension>();
|
| - o.add(buildDimension());
|
| - o.add(buildDimension());
|
| +buildUnnamed1140() {
|
| + var o = new core.List<api.OrderContact>();
|
| + o.add(buildOrderContact());
|
| + o.add(buildOrderContact());
|
| return o;
|
| }
|
|
|
| -checkUnnamed352(core.List<api.Dimension> o) {
|
| +checkUnnamed1140(core.List<api.OrderContact> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkDimension(o[0]);
|
| - checkDimension(o[1]);
|
| + checkOrderContact(o[0]);
|
| + checkOrderContact(o[1]);
|
| }
|
|
|
| -buildUnnamed353() {
|
| - var o = new core.List<api.Metric>();
|
| - o.add(buildMetric());
|
| - o.add(buildMetric());
|
| +buildUnnamed1141() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed353(core.List<api.Metric> o) {
|
| +checkUnnamed1141(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkMetric(o[0]);
|
| - checkMetric(o[1]);
|
| + unittest.expect(o[0], unittest.equals('foo'));
|
| + unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed354() {
|
| - var o = new core.List<api.Dimension>();
|
| - o.add(buildDimension());
|
| - o.add(buildDimension());
|
| +buildUnnamed1142() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed354(core.List<api.Dimension> o) {
|
| +checkUnnamed1142(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkDimension(o[0]);
|
| - checkDimension(o[1]);
|
| + unittest.expect(o[0], unittest.equals('foo'));
|
| + unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -core.int buildCounterPathToConversionReportCompatibleFields = 0;
|
| -buildPathToConversionReportCompatibleFields() {
|
| - var o = new api.PathToConversionReportCompatibleFields();
|
| - buildCounterPathToConversionReportCompatibleFields++;
|
| - if (buildCounterPathToConversionReportCompatibleFields < 3) {
|
| - o.conversionDimensions = buildUnnamed351();
|
| - o.customFloodlightVariables = buildUnnamed352();
|
| +core.int buildCounterOrder = 0;
|
| +buildOrder() {
|
| + var o = new api.Order();
|
| + buildCounterOrder++;
|
| + if (buildCounterOrder < 3) {
|
| + o.accountId = "foo";
|
| + o.advertiserId = "foo";
|
| + o.approverUserProfileIds = buildUnnamed1139();
|
| + o.buyerInvoiceId = "foo";
|
| + o.buyerOrganizationName = "foo";
|
| + o.comments = "foo";
|
| + o.contacts = buildUnnamed1140();
|
| + o.id = "foo";
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed353();
|
| - o.perInteractionDimensions = buildUnnamed354();
|
| + o.lastModifiedInfo = buildLastModifiedInfo();
|
| + o.name = "foo";
|
| + o.notes = "foo";
|
| + o.planningTermId = "foo";
|
| + o.projectId = "foo";
|
| + o.sellerOrderId = "foo";
|
| + o.sellerOrganizationName = "foo";
|
| + o.siteId = buildUnnamed1141();
|
| + o.siteNames = buildUnnamed1142();
|
| + o.subaccountId = "foo";
|
| + o.termsAndConditions = "foo";
|
| }
|
| - buildCounterPathToConversionReportCompatibleFields--;
|
| + buildCounterOrder--;
|
| return o;
|
| }
|
|
|
| -checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
|
| - buildCounterPathToConversionReportCompatibleFields++;
|
| - if (buildCounterPathToConversionReportCompatibleFields < 3) {
|
| - checkUnnamed351(o.conversionDimensions);
|
| - checkUnnamed352(o.customFloodlightVariables);
|
| +checkOrder(api.Order o) {
|
| + buildCounterOrder++;
|
| + if (buildCounterOrder < 3) {
|
| + unittest.expect(o.accountId, unittest.equals('foo'));
|
| + unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| + checkUnnamed1139(o.approverUserProfileIds);
|
| + unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
|
| + unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
|
| + unittest.expect(o.comments, unittest.equals('foo'));
|
| + checkUnnamed1140(o.contacts);
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed353(o.metrics);
|
| - checkUnnamed354(o.perInteractionDimensions);
|
| + checkLastModifiedInfo(o.lastModifiedInfo);
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.notes, unittest.equals('foo'));
|
| + unittest.expect(o.planningTermId, unittest.equals('foo'));
|
| + unittest.expect(o.projectId, unittest.equals('foo'));
|
| + unittest.expect(o.sellerOrderId, unittest.equals('foo'));
|
| + unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
|
| + checkUnnamed1141(o.siteId);
|
| + checkUnnamed1142(o.siteNames);
|
| + unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| + unittest.expect(o.termsAndConditions, unittest.equals('foo'));
|
| }
|
| - buildCounterPathToConversionReportCompatibleFields--;
|
| + buildCounterOrder--;
|
| +}
|
| +
|
| +core.int buildCounterOrderContact = 0;
|
| +buildOrderContact() {
|
| + var o = new api.OrderContact();
|
| + buildCounterOrderContact++;
|
| + if (buildCounterOrderContact < 3) {
|
| + o.contactInfo = "foo";
|
| + o.contactName = "foo";
|
| + o.contactTitle = "foo";
|
| + o.contactType = "foo";
|
| + o.signatureUserProfileId = "foo";
|
| + }
|
| + buildCounterOrderContact--;
|
| + return o;
|
| +}
|
| +
|
| +checkOrderContact(api.OrderContact o) {
|
| + buildCounterOrderContact++;
|
| + if (buildCounterOrderContact < 3) {
|
| + unittest.expect(o.contactInfo, unittest.equals('foo'));
|
| + unittest.expect(o.contactName, unittest.equals('foo'));
|
| + unittest.expect(o.contactTitle, unittest.equals('foo'));
|
| + unittest.expect(o.contactType, unittest.equals('foo'));
|
| + unittest.expect(o.signatureUserProfileId, unittest.equals('foo'));
|
| + }
|
| + buildCounterOrderContact--;
|
| }
|
|
|
| -buildUnnamed355() {
|
| +buildUnnamed1143() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed355(core.List<core.String> o) {
|
| +checkUnnamed1143(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'));
|
| }
|
|
|
| -core.int buildCounterPlacement = 0;
|
| -buildPlacement() {
|
| - var o = new api.Placement();
|
| - buildCounterPlacement++;
|
| - if (buildCounterPlacement < 3) {
|
| +core.int buildCounterOrderDocument = 0;
|
| +buildOrderDocument() {
|
| + var o = new api.OrderDocument();
|
| + buildCounterOrderDocument++;
|
| + if (buildCounterOrderDocument < 3) {
|
| o.accountId = "foo";
|
| o.advertiserId = "foo";
|
| - o.advertiserIdDimensionValue = buildDimensionValue();
|
| - o.archived = true;
|
| - o.campaignId = "foo";
|
| - o.campaignIdDimensionValue = buildDimensionValue();
|
| - o.comment = "foo";
|
| - o.compatibility = "foo";
|
| - o.contentCategoryId = "foo";
|
| - o.createInfo = buildLastModifiedInfo();
|
| - o.directorySiteId = "foo";
|
| - o.directorySiteIdDimensionValue = buildDimensionValue();
|
| - o.externalId = "foo";
|
| + o.amendedOrderDocumentId = "foo";
|
| + o.approvedByUserProfileIds = buildUnnamed1143();
|
| + o.cancelled = true;
|
| + o.createdInfo = buildLastModifiedInfo();
|
| + o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.id = "foo";
|
| - o.idDimensionValue = buildDimensionValue();
|
| - o.keyName = "foo";
|
| o.kind = "foo";
|
| - o.lastModifiedInfo = buildLastModifiedInfo();
|
| - o.lookbackConfiguration = buildLookbackConfiguration();
|
| - o.name = "foo";
|
| - o.paymentApproved = true;
|
| - o.paymentSource = "foo";
|
| - o.placementGroupId = "foo";
|
| - o.placementGroupIdDimensionValue = buildDimensionValue();
|
| - o.placementStrategyId = "foo";
|
| - o.pricingSchedule = buildPricingSchedule();
|
| - o.primary = true;
|
| - o.publisherUpdateInfo = buildLastModifiedInfo();
|
| - o.siteId = "foo";
|
| - o.siteIdDimensionValue = buildDimensionValue();
|
| - o.size = buildSize();
|
| - o.sslRequired = true;
|
| - o.status = "foo";
|
| + o.orderId = "foo";
|
| + o.projectId = "foo";
|
| + o.signed = true;
|
| o.subaccountId = "foo";
|
| - o.tagFormats = buildUnnamed355();
|
| - o.tagSetting = buildTagSetting();
|
| + o.title = "foo";
|
| + o.type = "foo";
|
| }
|
| - buildCounterPlacement--;
|
| + buildCounterOrderDocument--;
|
| return o;
|
| }
|
|
|
| -checkPlacement(api.Placement o) {
|
| - buildCounterPlacement++;
|
| - if (buildCounterPlacement < 3) {
|
| +checkOrderDocument(api.OrderDocument o) {
|
| + buildCounterOrderDocument++;
|
| + if (buildCounterOrderDocument < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| - checkDimensionValue(o.advertiserIdDimensionValue);
|
| - unittest.expect(o.archived, unittest.isTrue);
|
| - unittest.expect(o.campaignId, unittest.equals('foo'));
|
| - checkDimensionValue(o.campaignIdDimensionValue);
|
| - unittest.expect(o.comment, unittest.equals('foo'));
|
| - unittest.expect(o.compatibility, unittest.equals('foo'));
|
| - unittest.expect(o.contentCategoryId, unittest.equals('foo'));
|
| - checkLastModifiedInfo(o.createInfo);
|
| - unittest.expect(o.directorySiteId, unittest.equals('foo'));
|
| - checkDimensionValue(o.directorySiteIdDimensionValue);
|
| - unittest.expect(o.externalId, unittest.equals('foo'));
|
| + unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
|
| + checkUnnamed1143(o.approvedByUserProfileIds);
|
| + unittest.expect(o.cancelled, unittest.isTrue);
|
| + checkLastModifiedInfo(o.createdInfo);
|
| + unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkDimensionValue(o.idDimensionValue);
|
| - unittest.expect(o.keyName, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkLastModifiedInfo(o.lastModifiedInfo);
|
| - checkLookbackConfiguration(o.lookbackConfiguration);
|
| - unittest.expect(o.name, unittest.equals('foo'));
|
| - unittest.expect(o.paymentApproved, unittest.isTrue);
|
| - unittest.expect(o.paymentSource, unittest.equals('foo'));
|
| - unittest.expect(o.placementGroupId, unittest.equals('foo'));
|
| - checkDimensionValue(o.placementGroupIdDimensionValue);
|
| - unittest.expect(o.placementStrategyId, unittest.equals('foo'));
|
| - checkPricingSchedule(o.pricingSchedule);
|
| - unittest.expect(o.primary, unittest.isTrue);
|
| - checkLastModifiedInfo(o.publisherUpdateInfo);
|
| + unittest.expect(o.orderId, unittest.equals('foo'));
|
| + unittest.expect(o.projectId, unittest.equals('foo'));
|
| + unittest.expect(o.signed, unittest.isTrue);
|
| + unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| + unittest.expect(o.title, unittest.equals('foo'));
|
| + unittest.expect(o.type, unittest.equals('foo'));
|
| + }
|
| + buildCounterOrderDocument--;
|
| +}
|
| +
|
| +buildUnnamed1144() {
|
| + var o = new core.List<api.OrderDocument>();
|
| + o.add(buildOrderDocument());
|
| + o.add(buildOrderDocument());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1144(core.List<api.OrderDocument> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkOrderDocument(o[0]);
|
| + checkOrderDocument(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterOrderDocumentsListResponse = 0;
|
| +buildOrderDocumentsListResponse() {
|
| + var o = new api.OrderDocumentsListResponse();
|
| + buildCounterOrderDocumentsListResponse++;
|
| + if (buildCounterOrderDocumentsListResponse < 3) {
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + o.orderDocuments = buildUnnamed1144();
|
| + }
|
| + buildCounterOrderDocumentsListResponse--;
|
| + return o;
|
| +}
|
| +
|
| +checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) {
|
| + buildCounterOrderDocumentsListResponse++;
|
| + if (buildCounterOrderDocumentsListResponse < 3) {
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + checkUnnamed1144(o.orderDocuments);
|
| + }
|
| + buildCounterOrderDocumentsListResponse--;
|
| +}
|
| +
|
| +buildUnnamed1145() {
|
| + var o = new core.List<api.Order>();
|
| + o.add(buildOrder());
|
| + o.add(buildOrder());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1145(core.List<api.Order> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkOrder(o[0]);
|
| + checkOrder(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterOrdersListResponse = 0;
|
| +buildOrdersListResponse() {
|
| + var o = new api.OrdersListResponse();
|
| + buildCounterOrdersListResponse++;
|
| + if (buildCounterOrdersListResponse < 3) {
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + o.orders = buildUnnamed1145();
|
| + }
|
| + buildCounterOrdersListResponse--;
|
| + return o;
|
| +}
|
| +
|
| +checkOrdersListResponse(api.OrdersListResponse o) {
|
| + buildCounterOrdersListResponse++;
|
| + if (buildCounterOrdersListResponse < 3) {
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + checkUnnamed1145(o.orders);
|
| + }
|
| + buildCounterOrdersListResponse--;
|
| +}
|
| +
|
| +buildUnnamed1146() {
|
| + var o = new core.List<api.Dimension>();
|
| + o.add(buildDimension());
|
| + o.add(buildDimension());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1146(core.List<api.Dimension> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkDimension(o[0]);
|
| + checkDimension(o[1]);
|
| +}
|
| +
|
| +buildUnnamed1147() {
|
| + var o = new core.List<api.Dimension>();
|
| + o.add(buildDimension());
|
| + o.add(buildDimension());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1147(core.List<api.Dimension> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkDimension(o[0]);
|
| + checkDimension(o[1]);
|
| +}
|
| +
|
| +buildUnnamed1148() {
|
| + var o = new core.List<api.Metric>();
|
| + o.add(buildMetric());
|
| + o.add(buildMetric());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1148(core.List<api.Metric> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkMetric(o[0]);
|
| + checkMetric(o[1]);
|
| +}
|
| +
|
| +buildUnnamed1149() {
|
| + var o = new core.List<api.Dimension>();
|
| + o.add(buildDimension());
|
| + o.add(buildDimension());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1149(core.List<api.Dimension> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkDimension(o[0]);
|
| + checkDimension(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterPathToConversionReportCompatibleFields = 0;
|
| +buildPathToConversionReportCompatibleFields() {
|
| + var o = new api.PathToConversionReportCompatibleFields();
|
| + buildCounterPathToConversionReportCompatibleFields++;
|
| + if (buildCounterPathToConversionReportCompatibleFields < 3) {
|
| + o.conversionDimensions = buildUnnamed1146();
|
| + o.customFloodlightVariables = buildUnnamed1147();
|
| + o.kind = "foo";
|
| + o.metrics = buildUnnamed1148();
|
| + o.perInteractionDimensions = buildUnnamed1149();
|
| + }
|
| + buildCounterPathToConversionReportCompatibleFields--;
|
| + return o;
|
| +}
|
| +
|
| +checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
|
| + buildCounterPathToConversionReportCompatibleFields++;
|
| + if (buildCounterPathToConversionReportCompatibleFields < 3) {
|
| + checkUnnamed1146(o.conversionDimensions);
|
| + checkUnnamed1147(o.customFloodlightVariables);
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + checkUnnamed1148(o.metrics);
|
| + checkUnnamed1149(o.perInteractionDimensions);
|
| + }
|
| + buildCounterPathToConversionReportCompatibleFields--;
|
| +}
|
| +
|
| +buildUnnamed1150() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1150(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'));
|
| +}
|
| +
|
| +core.int buildCounterPlacement = 0;
|
| +buildPlacement() {
|
| + var o = new api.Placement();
|
| + buildCounterPlacement++;
|
| + if (buildCounterPlacement < 3) {
|
| + o.accountId = "foo";
|
| + o.advertiserId = "foo";
|
| + o.advertiserIdDimensionValue = buildDimensionValue();
|
| + o.archived = true;
|
| + o.campaignId = "foo";
|
| + o.campaignIdDimensionValue = buildDimensionValue();
|
| + o.comment = "foo";
|
| + o.compatibility = "foo";
|
| + o.contentCategoryId = "foo";
|
| + o.createInfo = buildLastModifiedInfo();
|
| + o.directorySiteId = "foo";
|
| + o.directorySiteIdDimensionValue = buildDimensionValue();
|
| + o.externalId = "foo";
|
| + o.id = "foo";
|
| + o.idDimensionValue = buildDimensionValue();
|
| + o.keyName = "foo";
|
| + o.kind = "foo";
|
| + o.lastModifiedInfo = buildLastModifiedInfo();
|
| + o.lookbackConfiguration = buildLookbackConfiguration();
|
| + o.name = "foo";
|
| + o.paymentApproved = true;
|
| + o.paymentSource = "foo";
|
| + o.placementGroupId = "foo";
|
| + o.placementGroupIdDimensionValue = buildDimensionValue();
|
| + o.placementStrategyId = "foo";
|
| + o.pricingSchedule = buildPricingSchedule();
|
| + o.primary = true;
|
| + o.publisherUpdateInfo = buildLastModifiedInfo();
|
| + o.siteId = "foo";
|
| + o.siteIdDimensionValue = buildDimensionValue();
|
| + o.size = buildSize();
|
| + o.sslRequired = true;
|
| + o.status = "foo";
|
| + o.subaccountId = "foo";
|
| + o.tagFormats = buildUnnamed1150();
|
| + o.tagSetting = buildTagSetting();
|
| + }
|
| + buildCounterPlacement--;
|
| + return o;
|
| +}
|
| +
|
| +checkPlacement(api.Placement o) {
|
| + buildCounterPlacement++;
|
| + if (buildCounterPlacement < 3) {
|
| + unittest.expect(o.accountId, unittest.equals('foo'));
|
| + unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| + checkDimensionValue(o.advertiserIdDimensionValue);
|
| + unittest.expect(o.archived, unittest.isTrue);
|
| + unittest.expect(o.campaignId, unittest.equals('foo'));
|
| + checkDimensionValue(o.campaignIdDimensionValue);
|
| + unittest.expect(o.comment, unittest.equals('foo'));
|
| + unittest.expect(o.compatibility, unittest.equals('foo'));
|
| + unittest.expect(o.contentCategoryId, unittest.equals('foo'));
|
| + checkLastModifiedInfo(o.createInfo);
|
| + unittest.expect(o.directorySiteId, unittest.equals('foo'));
|
| + checkDimensionValue(o.directorySiteIdDimensionValue);
|
| + unittest.expect(o.externalId, unittest.equals('foo'));
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + checkDimensionValue(o.idDimensionValue);
|
| + unittest.expect(o.keyName, unittest.equals('foo'));
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + checkLastModifiedInfo(o.lastModifiedInfo);
|
| + checkLookbackConfiguration(o.lookbackConfiguration);
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.paymentApproved, unittest.isTrue);
|
| + unittest.expect(o.paymentSource, unittest.equals('foo'));
|
| + unittest.expect(o.placementGroupId, unittest.equals('foo'));
|
| + checkDimensionValue(o.placementGroupIdDimensionValue);
|
| + unittest.expect(o.placementStrategyId, unittest.equals('foo'));
|
| + checkPricingSchedule(o.pricingSchedule);
|
| + unittest.expect(o.primary, unittest.isTrue);
|
| + checkLastModifiedInfo(o.publisherUpdateInfo);
|
| unittest.expect(o.siteId, unittest.equals('foo'));
|
| checkDimensionValue(o.siteIdDimensionValue);
|
| checkSize(o.size);
|
| unittest.expect(o.sslRequired, unittest.isTrue);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| - checkUnnamed355(o.tagFormats);
|
| + checkUnnamed1150(o.tagFormats);
|
| checkTagSetting(o.tagSetting);
|
| }
|
| buildCounterPlacement--;
|
| @@ -4739,14 +5278,14 @@ checkPlacementAssignment(api.PlacementAssignment o) {
|
| buildCounterPlacementAssignment--;
|
| }
|
|
|
| -buildUnnamed356() {
|
| +buildUnnamed1151() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed356(core.List<core.String> o) {
|
| +checkUnnamed1151(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'));
|
| @@ -4763,7 +5302,7 @@ buildPlacementGroup() {
|
| o.archived = true;
|
| o.campaignId = "foo";
|
| o.campaignIdDimensionValue = buildDimensionValue();
|
| - o.childPlacementIds = buildUnnamed356();
|
| + o.childPlacementIds = buildUnnamed1151();
|
| o.comment = "foo";
|
| o.contentCategoryId = "foo";
|
| o.createInfo = buildLastModifiedInfo();
|
| @@ -4798,7 +5337,7 @@ checkPlacementGroup(api.PlacementGroup o) {
|
| unittest.expect(o.archived, unittest.isTrue);
|
| unittest.expect(o.campaignId, unittest.equals('foo'));
|
| checkDimensionValue(o.campaignIdDimensionValue);
|
| - checkUnnamed356(o.childPlacementIds);
|
| + checkUnnamed1151(o.childPlacementIds);
|
| unittest.expect(o.comment, unittest.equals('foo'));
|
| unittest.expect(o.contentCategoryId, unittest.equals('foo'));
|
| checkLastModifiedInfo(o.createInfo);
|
| @@ -4823,14 +5362,14 @@ checkPlacementGroup(api.PlacementGroup o) {
|
| buildCounterPlacementGroup--;
|
| }
|
|
|
| -buildUnnamed357() {
|
| +buildUnnamed1152() {
|
| var o = new core.List<api.PlacementGroup>();
|
| o.add(buildPlacementGroup());
|
| o.add(buildPlacementGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed357(core.List<api.PlacementGroup> o) {
|
| +checkUnnamed1152(core.List<api.PlacementGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementGroup(o[0]);
|
| checkPlacementGroup(o[1]);
|
| @@ -4843,7 +5382,7 @@ buildPlacementGroupsListResponse() {
|
| if (buildCounterPlacementGroupsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.placementGroups = buildUnnamed357();
|
| + o.placementGroups = buildUnnamed1152();
|
| }
|
| buildCounterPlacementGroupsListResponse--;
|
| return o;
|
| @@ -4854,19 +5393,19 @@ checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) {
|
| if (buildCounterPlacementGroupsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed357(o.placementGroups);
|
| + checkUnnamed1152(o.placementGroups);
|
| }
|
| buildCounterPlacementGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed358() {
|
| +buildUnnamed1153() {
|
| var o = new core.List<api.PlacementStrategy>();
|
| o.add(buildPlacementStrategy());
|
| o.add(buildPlacementStrategy());
|
| return o;
|
| }
|
|
|
| -checkUnnamed358(core.List<api.PlacementStrategy> o) {
|
| +checkUnnamed1153(core.List<api.PlacementStrategy> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementStrategy(o[0]);
|
| checkPlacementStrategy(o[1]);
|
| @@ -4879,7 +5418,7 @@ buildPlacementStrategiesListResponse() {
|
| if (buildCounterPlacementStrategiesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.placementStrategies = buildUnnamed358();
|
| + o.placementStrategies = buildUnnamed1153();
|
| }
|
| buildCounterPlacementStrategiesListResponse--;
|
| return o;
|
| @@ -4890,7 +5429,7 @@ checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) {
|
| if (buildCounterPlacementStrategiesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed358(o.placementStrategies);
|
| + checkUnnamed1153(o.placementStrategies);
|
| }
|
| buildCounterPlacementStrategiesListResponse--;
|
| }
|
| @@ -4920,14 +5459,14 @@ checkPlacementStrategy(api.PlacementStrategy o) {
|
| buildCounterPlacementStrategy--;
|
| }
|
|
|
| -buildUnnamed359() {
|
| +buildUnnamed1154() {
|
| var o = new core.List<api.TagData>();
|
| o.add(buildTagData());
|
| o.add(buildTagData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed359(core.List<api.TagData> o) {
|
| +checkUnnamed1154(core.List<api.TagData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTagData(o[0]);
|
| checkTagData(o[1]);
|
| @@ -4939,7 +5478,7 @@ buildPlacementTag() {
|
| buildCounterPlacementTag++;
|
| if (buildCounterPlacementTag < 3) {
|
| o.placementId = "foo";
|
| - o.tagDatas = buildUnnamed359();
|
| + o.tagDatas = buildUnnamed1154();
|
| }
|
| buildCounterPlacementTag--;
|
| return o;
|
| @@ -4949,19 +5488,19 @@ checkPlacementTag(api.PlacementTag o) {
|
| buildCounterPlacementTag++;
|
| if (buildCounterPlacementTag < 3) {
|
| unittest.expect(o.placementId, unittest.equals('foo'));
|
| - checkUnnamed359(o.tagDatas);
|
| + checkUnnamed1154(o.tagDatas);
|
| }
|
| buildCounterPlacementTag--;
|
| }
|
|
|
| -buildUnnamed360() {
|
| +buildUnnamed1155() {
|
| var o = new core.List<api.PlacementTag>();
|
| o.add(buildPlacementTag());
|
| o.add(buildPlacementTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed360(core.List<api.PlacementTag> o) {
|
| +checkUnnamed1155(core.List<api.PlacementTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementTag(o[0]);
|
| checkPlacementTag(o[1]);
|
| @@ -4973,7 +5512,7 @@ buildPlacementsGenerateTagsResponse() {
|
| buildCounterPlacementsGenerateTagsResponse++;
|
| if (buildCounterPlacementsGenerateTagsResponse < 3) {
|
| o.kind = "foo";
|
| - o.placementTags = buildUnnamed360();
|
| + o.placementTags = buildUnnamed1155();
|
| }
|
| buildCounterPlacementsGenerateTagsResponse--;
|
| return o;
|
| @@ -4983,19 +5522,19 @@ checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) {
|
| buildCounterPlacementsGenerateTagsResponse++;
|
| if (buildCounterPlacementsGenerateTagsResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed360(o.placementTags);
|
| + checkUnnamed1155(o.placementTags);
|
| }
|
| buildCounterPlacementsGenerateTagsResponse--;
|
| }
|
|
|
| -buildUnnamed361() {
|
| +buildUnnamed1156() {
|
| var o = new core.List<api.Placement>();
|
| o.add(buildPlacement());
|
| o.add(buildPlacement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed361(core.List<api.Placement> o) {
|
| +checkUnnamed1156(core.List<api.Placement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacement(o[0]);
|
| checkPlacement(o[1]);
|
| @@ -5008,7 +5547,7 @@ buildPlacementsListResponse() {
|
| if (buildCounterPlacementsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.placements = buildUnnamed361();
|
| + o.placements = buildUnnamed1156();
|
| }
|
| buildCounterPlacementsListResponse--;
|
| return o;
|
| @@ -5019,7 +5558,7 @@ checkPlacementsListResponse(api.PlacementsListResponse o) {
|
| if (buildCounterPlacementsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed361(o.placements);
|
| + checkUnnamed1156(o.placements);
|
| }
|
| buildCounterPlacementsListResponse--;
|
| }
|
| @@ -5047,14 +5586,14 @@ checkPlatformType(api.PlatformType o) {
|
| buildCounterPlatformType--;
|
| }
|
|
|
| -buildUnnamed362() {
|
| +buildUnnamed1157() {
|
| var o = new core.List<api.PlatformType>();
|
| o.add(buildPlatformType());
|
| o.add(buildPlatformType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed362(core.List<api.PlatformType> o) {
|
| +checkUnnamed1157(core.List<api.PlatformType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlatformType(o[0]);
|
| checkPlatformType(o[1]);
|
| @@ -5066,7 +5605,7 @@ buildPlatformTypesListResponse() {
|
| buildCounterPlatformTypesListResponse++;
|
| if (buildCounterPlatformTypesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.platformTypes = buildUnnamed362();
|
| + o.platformTypes = buildUnnamed1157();
|
| }
|
| buildCounterPlatformTypesListResponse--;
|
| return o;
|
| @@ -5076,7 +5615,7 @@ checkPlatformTypesListResponse(api.PlatformTypesListResponse o) {
|
| buildCounterPlatformTypesListResponse++;
|
| if (buildCounterPlatformTypesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed362(o.platformTypes);
|
| + checkUnnamed1157(o.platformTypes);
|
| }
|
| buildCounterPlatformTypesListResponse--;
|
| }
|
| @@ -5121,6 +5660,7 @@ buildPostalCode() {
|
| var o = new api.PostalCode();
|
| buildCounterPostalCode++;
|
| if (buildCounterPostalCode < 3) {
|
| + o.code = "foo";
|
| o.countryCode = "foo";
|
| o.countryDartId = "foo";
|
| o.id = "foo";
|
| @@ -5133,6 +5673,7 @@ buildPostalCode() {
|
| checkPostalCode(api.PostalCode o) {
|
| buildCounterPostalCode++;
|
| if (buildCounterPostalCode < 3) {
|
| + unittest.expect(o.code, unittest.equals('foo'));
|
| unittest.expect(o.countryCode, unittest.equals('foo'));
|
| unittest.expect(o.countryDartId, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| @@ -5141,14 +5682,14 @@ checkPostalCode(api.PostalCode o) {
|
| buildCounterPostalCode--;
|
| }
|
|
|
| -buildUnnamed363() {
|
| +buildUnnamed1158() {
|
| var o = new core.List<api.PostalCode>();
|
| o.add(buildPostalCode());
|
| o.add(buildPostalCode());
|
| return o;
|
| }
|
|
|
| -checkUnnamed363(core.List<api.PostalCode> o) {
|
| +checkUnnamed1158(core.List<api.PostalCode> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPostalCode(o[0]);
|
| checkPostalCode(o[1]);
|
| @@ -5160,7 +5701,7 @@ buildPostalCodesListResponse() {
|
| buildCounterPostalCodesListResponse++;
|
| if (buildCounterPostalCodesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.postalCodes = buildUnnamed363();
|
| + o.postalCodes = buildUnnamed1158();
|
| }
|
| buildCounterPostalCodesListResponse--;
|
| return o;
|
| @@ -5170,19 +5711,61 @@ checkPostalCodesListResponse(api.PostalCodesListResponse o) {
|
| buildCounterPostalCodesListResponse++;
|
| if (buildCounterPostalCodesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed363(o.postalCodes);
|
| + checkUnnamed1158(o.postalCodes);
|
| }
|
| buildCounterPostalCodesListResponse--;
|
| }
|
|
|
| -buildUnnamed364() {
|
| +buildUnnamed1159() {
|
| + var o = new core.List<api.Flight>();
|
| + o.add(buildFlight());
|
| + o.add(buildFlight());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1159(core.List<api.Flight> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkFlight(o[0]);
|
| + checkFlight(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterPricing = 0;
|
| +buildPricing() {
|
| + var o = new api.Pricing();
|
| + buildCounterPricing++;
|
| + if (buildCounterPricing < 3) {
|
| + o.capCostType = "foo";
|
| + o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| + o.flights = buildUnnamed1159();
|
| + o.groupType = "foo";
|
| + o.pricingType = "foo";
|
| + o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| + }
|
| + buildCounterPricing--;
|
| + return o;
|
| +}
|
| +
|
| +checkPricing(api.Pricing o) {
|
| + buildCounterPricing++;
|
| + if (buildCounterPricing < 3) {
|
| + unittest.expect(o.capCostType, unittest.equals('foo'));
|
| + unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| + checkUnnamed1159(o.flights);
|
| + unittest.expect(o.groupType, unittest.equals('foo'));
|
| + unittest.expect(o.pricingType, unittest.equals('foo'));
|
| + unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| + }
|
| + buildCounterPricing--;
|
| +}
|
| +
|
| +buildUnnamed1160() {
|
| var o = new core.List<api.PricingSchedulePricingPeriod>();
|
| o.add(buildPricingSchedulePricingPeriod());
|
| o.add(buildPricingSchedulePricingPeriod());
|
| return o;
|
| }
|
|
|
| -checkUnnamed364(core.List<api.PricingSchedulePricingPeriod> o) {
|
| +checkUnnamed1160(core.List<api.PricingSchedulePricingPeriod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPricingSchedulePricingPeriod(o[0]);
|
| checkPricingSchedulePricingPeriod(o[1]);
|
| @@ -5198,7 +5781,7 @@ buildPricingSchedule() {
|
| o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.flighted = true;
|
| o.floodlightActivityId = "foo";
|
| - o.pricingPeriods = buildUnnamed364();
|
| + o.pricingPeriods = buildUnnamed1160();
|
| o.pricingType = "foo";
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| @@ -5215,7 +5798,7 @@ checkPricingSchedule(api.PricingSchedule o) {
|
| unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| unittest.expect(o.flighted, unittest.isTrue);
|
| unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
|
| - checkUnnamed364(o.pricingPeriods);
|
| + checkUnnamed1160(o.pricingPeriods);
|
| unittest.expect(o.pricingType, unittest.equals('foo'));
|
| unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| @@ -5250,27 +5833,27 @@ checkPricingSchedulePricingPeriod(api.PricingSchedulePricingPeriod o) {
|
| buildCounterPricingSchedulePricingPeriod--;
|
| }
|
|
|
| -buildUnnamed365() {
|
| +buildUnnamed1161() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed365(core.List<core.String> o) {
|
| +checkUnnamed1161(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'));
|
| }
|
|
|
| -buildUnnamed366() {
|
| +buildUnnamed1162() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed366(core.List<core.String> o) {
|
| +checkUnnamed1162(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'));
|
| @@ -5281,12 +5864,12 @@ buildProgrammaticSetting() {
|
| var o = new api.ProgrammaticSetting();
|
| buildCounterProgrammaticSetting++;
|
| if (buildCounterProgrammaticSetting < 3) {
|
| - o.adxDealIds = buildUnnamed365();
|
| + o.adxDealIds = buildUnnamed1161();
|
| o.insertionOrderId = "foo";
|
| o.insertionOrderIdStatus = true;
|
| o.mediaCostNanos = "foo";
|
| o.programmatic = true;
|
| - o.traffickerEmails = buildUnnamed366();
|
| + o.traffickerEmails = buildUnnamed1162();
|
| }
|
| buildCounterProgrammaticSetting--;
|
| return o;
|
| @@ -5295,76 +5878,171 @@ buildProgrammaticSetting() {
|
| checkProgrammaticSetting(api.ProgrammaticSetting o) {
|
| buildCounterProgrammaticSetting++;
|
| if (buildCounterProgrammaticSetting < 3) {
|
| - checkUnnamed365(o.adxDealIds);
|
| + checkUnnamed1161(o.adxDealIds);
|
| unittest.expect(o.insertionOrderId, unittest.equals('foo'));
|
| unittest.expect(o.insertionOrderIdStatus, unittest.isTrue);
|
| unittest.expect(o.mediaCostNanos, unittest.equals('foo'));
|
| unittest.expect(o.programmatic, unittest.isTrue);
|
| - checkUnnamed366(o.traffickerEmails);
|
| + checkUnnamed1162(o.traffickerEmails);
|
| }
|
| buildCounterProgrammaticSetting--;
|
| }
|
|
|
| -buildUnnamed367() {
|
| +core.int buildCounterProject = 0;
|
| +buildProject() {
|
| + var o = new api.Project();
|
| + buildCounterProject++;
|
| + if (buildCounterProject < 3) {
|
| + o.accountId = "foo";
|
| + o.advertiserId = "foo";
|
| + o.audienceAgeGroup = "foo";
|
| + o.audienceGender = "foo";
|
| + o.budget = "foo";
|
| + o.clientBillingCode = "foo";
|
| + o.clientName = "foo";
|
| + o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| + o.id = "foo";
|
| + o.kind = "foo";
|
| + o.lastModifiedInfo = buildLastModifiedInfo();
|
| + o.name = "foo";
|
| + o.overview = "foo";
|
| + o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| + o.subaccountId = "foo";
|
| + o.targetClicks = "foo";
|
| + o.targetConversions = "foo";
|
| + o.targetCpaNanos = "foo";
|
| + o.targetCpcNanos = "foo";
|
| + o.targetCpmNanos = "foo";
|
| + o.targetImpressions = "foo";
|
| + }
|
| + buildCounterProject--;
|
| + return o;
|
| +}
|
| +
|
| +checkProject(api.Project o) {
|
| + buildCounterProject++;
|
| + if (buildCounterProject < 3) {
|
| + unittest.expect(o.accountId, unittest.equals('foo'));
|
| + unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| + unittest.expect(o.audienceAgeGroup, unittest.equals('foo'));
|
| + unittest.expect(o.audienceGender, unittest.equals('foo'));
|
| + unittest.expect(o.budget, unittest.equals('foo'));
|
| + unittest.expect(o.clientBillingCode, unittest.equals('foo'));
|
| + unittest.expect(o.clientName, unittest.equals('foo'));
|
| + unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + checkLastModifiedInfo(o.lastModifiedInfo);
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.overview, unittest.equals('foo'));
|
| + unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| + unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| + unittest.expect(o.targetClicks, unittest.equals('foo'));
|
| + unittest.expect(o.targetConversions, unittest.equals('foo'));
|
| + unittest.expect(o.targetCpaNanos, unittest.equals('foo'));
|
| + unittest.expect(o.targetCpcNanos, unittest.equals('foo'));
|
| + unittest.expect(o.targetCpmNanos, unittest.equals('foo'));
|
| + unittest.expect(o.targetImpressions, unittest.equals('foo'));
|
| + }
|
| + buildCounterProject--;
|
| +}
|
| +
|
| +buildUnnamed1163() {
|
| + var o = new core.List<api.Project>();
|
| + o.add(buildProject());
|
| + o.add(buildProject());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1163(core.List<api.Project> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkProject(o[0]);
|
| + checkProject(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterProjectsListResponse = 0;
|
| +buildProjectsListResponse() {
|
| + var o = new api.ProjectsListResponse();
|
| + buildCounterProjectsListResponse++;
|
| + if (buildCounterProjectsListResponse < 3) {
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + o.projects = buildUnnamed1163();
|
| + }
|
| + buildCounterProjectsListResponse--;
|
| + return o;
|
| +}
|
| +
|
| +checkProjectsListResponse(api.ProjectsListResponse o) {
|
| + buildCounterProjectsListResponse++;
|
| + if (buildCounterProjectsListResponse < 3) {
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + checkUnnamed1163(o.projects);
|
| + }
|
| + buildCounterProjectsListResponse--;
|
| +}
|
| +
|
| +buildUnnamed1164() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed367(core.List<api.Dimension> o) {
|
| +checkUnnamed1164(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed368() {
|
| +buildUnnamed1165() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed368(core.List<api.Dimension> o) {
|
| +checkUnnamed1165(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed369() {
|
| +buildUnnamed1166() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed369(core.List<api.Metric> o) {
|
| +checkUnnamed1166(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed370() {
|
| +buildUnnamed1167() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed370(core.List<api.Metric> o) {
|
| +checkUnnamed1167(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed371() {
|
| +buildUnnamed1168() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed371(core.List<api.Metric> o) {
|
| +checkUnnamed1168(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -5375,12 +6053,12 @@ buildReachReportCompatibleFields() {
|
| var o = new api.ReachReportCompatibleFields();
|
| buildCounterReachReportCompatibleFields++;
|
| if (buildCounterReachReportCompatibleFields < 3) {
|
| - o.dimensionFilters = buildUnnamed367();
|
| - o.dimensions = buildUnnamed368();
|
| + o.dimensionFilters = buildUnnamed1164();
|
| + o.dimensions = buildUnnamed1165();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed369();
|
| - o.pivotedActivityMetrics = buildUnnamed370();
|
| - o.reachByFrequencyMetrics = buildUnnamed371();
|
| + o.metrics = buildUnnamed1166();
|
| + o.pivotedActivityMetrics = buildUnnamed1167();
|
| + o.reachByFrequencyMetrics = buildUnnamed1168();
|
| }
|
| buildCounterReachReportCompatibleFields--;
|
| return o;
|
| @@ -5389,12 +6067,12 @@ buildReachReportCompatibleFields() {
|
| checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
|
| buildCounterReachReportCompatibleFields++;
|
| if (buildCounterReachReportCompatibleFields < 3) {
|
| - checkUnnamed367(o.dimensionFilters);
|
| - checkUnnamed368(o.dimensions);
|
| + checkUnnamed1164(o.dimensionFilters);
|
| + checkUnnamed1165(o.dimensions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed369(o.metrics);
|
| - checkUnnamed370(o.pivotedActivityMetrics);
|
| - checkUnnamed371(o.reachByFrequencyMetrics);
|
| + checkUnnamed1166(o.metrics);
|
| + checkUnnamed1167(o.pivotedActivityMetrics);
|
| + checkUnnamed1168(o.reachByFrequencyMetrics);
|
| }
|
| buildCounterReachReportCompatibleFields--;
|
| }
|
| @@ -5451,14 +6129,14 @@ checkRegion(api.Region o) {
|
| buildCounterRegion--;
|
| }
|
|
|
| -buildUnnamed372() {
|
| +buildUnnamed1169() {
|
| var o = new core.List<api.Region>();
|
| o.add(buildRegion());
|
| o.add(buildRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed372(core.List<api.Region> o) {
|
| +checkUnnamed1169(core.List<api.Region> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRegion(o[0]);
|
| checkRegion(o[1]);
|
| @@ -5470,7 +6148,7 @@ buildRegionsListResponse() {
|
| buildCounterRegionsListResponse++;
|
| if (buildCounterRegionsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.regions = buildUnnamed372();
|
| + o.regions = buildUnnamed1169();
|
| }
|
| buildCounterRegionsListResponse--;
|
| return o;
|
| @@ -5480,45 +6158,175 @@ checkRegionsListResponse(api.RegionsListResponse o) {
|
| buildCounterRegionsListResponse++;
|
| if (buildCounterRegionsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed372(o.regions);
|
| + checkUnnamed1169(o.regions);
|
| }
|
| buildCounterRegionsListResponse--;
|
| }
|
|
|
| -buildUnnamed373() {
|
| - var o = new core.List<api.DimensionValue>();
|
| - o.add(buildDimensionValue());
|
| - o.add(buildDimensionValue());
|
| - return o;
|
| -}
|
| +core.int buildCounterRemarketingList = 0;
|
| +buildRemarketingList() {
|
| + var o = new api.RemarketingList();
|
| + buildCounterRemarketingList++;
|
| + if (buildCounterRemarketingList < 3) {
|
| + o.accountId = "foo";
|
| + o.active = true;
|
| + o.advertiserId = "foo";
|
| + o.advertiserIdDimensionValue = buildDimensionValue();
|
| + o.description = "foo";
|
| + o.id = "foo";
|
| + o.kind = "foo";
|
| + o.lifeSpan = "foo";
|
| + o.listPopulationRule = buildListPopulationRule();
|
| + o.listSize = "foo";
|
| + o.listSource = "foo";
|
| + o.name = "foo";
|
| + o.subaccountId = "foo";
|
| + }
|
| + buildCounterRemarketingList--;
|
| + return o;
|
| +}
|
| +
|
| +checkRemarketingList(api.RemarketingList o) {
|
| + buildCounterRemarketingList++;
|
| + if (buildCounterRemarketingList < 3) {
|
| + unittest.expect(o.accountId, unittest.equals('foo'));
|
| + unittest.expect(o.active, unittest.isTrue);
|
| + unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| + checkDimensionValue(o.advertiserIdDimensionValue);
|
| + unittest.expect(o.description, unittest.equals('foo'));
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.lifeSpan, unittest.equals('foo'));
|
| + checkListPopulationRule(o.listPopulationRule);
|
| + unittest.expect(o.listSize, unittest.equals('foo'));
|
| + unittest.expect(o.listSource, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| + }
|
| + buildCounterRemarketingList--;
|
| +}
|
| +
|
| +buildUnnamed1170() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1170(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'));
|
| +}
|
| +
|
| +buildUnnamed1171() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1171(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'));
|
| +}
|
| +
|
| +core.int buildCounterRemarketingListShare = 0;
|
| +buildRemarketingListShare() {
|
| + var o = new api.RemarketingListShare();
|
| + buildCounterRemarketingListShare++;
|
| + if (buildCounterRemarketingListShare < 3) {
|
| + o.kind = "foo";
|
| + o.remarketingListId = "foo";
|
| + o.sharedAccountIds = buildUnnamed1170();
|
| + o.sharedAdvertiserIds = buildUnnamed1171();
|
| + }
|
| + buildCounterRemarketingListShare--;
|
| + return o;
|
| +}
|
| +
|
| +checkRemarketingListShare(api.RemarketingListShare o) {
|
| + buildCounterRemarketingListShare++;
|
| + if (buildCounterRemarketingListShare < 3) {
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.remarketingListId, unittest.equals('foo'));
|
| + checkUnnamed1170(o.sharedAccountIds);
|
| + checkUnnamed1171(o.sharedAdvertiserIds);
|
| + }
|
| + buildCounterRemarketingListShare--;
|
| +}
|
| +
|
| +buildUnnamed1172() {
|
| + var o = new core.List<api.RemarketingList>();
|
| + o.add(buildRemarketingList());
|
| + o.add(buildRemarketingList());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1172(core.List<api.RemarketingList> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRemarketingList(o[0]);
|
| + checkRemarketingList(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterRemarketingListsListResponse = 0;
|
| +buildRemarketingListsListResponse() {
|
| + var o = new api.RemarketingListsListResponse();
|
| + buildCounterRemarketingListsListResponse++;
|
| + if (buildCounterRemarketingListsListResponse < 3) {
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + o.remarketingLists = buildUnnamed1172();
|
| + }
|
| + buildCounterRemarketingListsListResponse--;
|
| + return o;
|
| +}
|
| +
|
| +checkRemarketingListsListResponse(api.RemarketingListsListResponse o) {
|
| + buildCounterRemarketingListsListResponse++;
|
| + if (buildCounterRemarketingListsListResponse < 3) {
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + checkUnnamed1172(o.remarketingLists);
|
| + }
|
| + buildCounterRemarketingListsListResponse--;
|
| +}
|
|
|
| -checkUnnamed373(core.List<api.DimensionValue> o) {
|
| +buildUnnamed1173() {
|
| + var o = new core.List<api.DimensionValue>();
|
| + o.add(buildDimensionValue());
|
| + o.add(buildDimensionValue());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1173(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed374() {
|
| +buildUnnamed1174() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed374(core.List<api.SortedDimension> o) {
|
| +checkUnnamed1174(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed375() {
|
| +buildUnnamed1175() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed375(core.List<core.String> o) {
|
| +checkUnnamed1175(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'));
|
| @@ -5532,9 +6340,9 @@ buildReportCriteria() {
|
| o.activities = buildActivities();
|
| o.customRichMediaEvents = buildCustomRichMediaEvents();
|
| o.dateRange = buildDateRange();
|
| - o.dimensionFilters = buildUnnamed373();
|
| - o.dimensions = buildUnnamed374();
|
| - o.metricNames = buildUnnamed375();
|
| + o.dimensionFilters = buildUnnamed1173();
|
| + o.dimensions = buildUnnamed1174();
|
| + o.metricNames = buildUnnamed1175();
|
| }
|
| buildCounterReportCriteria--;
|
| return o;
|
| @@ -5546,60 +6354,60 @@ checkReportCriteria(api.ReportCriteria o) {
|
| checkActivities(o.activities);
|
| checkCustomRichMediaEvents(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| - checkUnnamed373(o.dimensionFilters);
|
| - checkUnnamed374(o.dimensions);
|
| - checkUnnamed375(o.metricNames);
|
| + checkUnnamed1173(o.dimensionFilters);
|
| + checkUnnamed1174(o.dimensions);
|
| + checkUnnamed1175(o.metricNames);
|
| }
|
| buildCounterReportCriteria--;
|
| }
|
|
|
| -buildUnnamed376() {
|
| +buildUnnamed1176() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed376(core.List<api.SortedDimension> o) {
|
| +checkUnnamed1176(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed377() {
|
| +buildUnnamed1177() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed377(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1177(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed378() {
|
| +buildUnnamed1178() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed378(core.List<core.String> o) {
|
| +checkUnnamed1178(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'));
|
| }
|
|
|
| -buildUnnamed379() {
|
| +buildUnnamed1179() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed379(core.List<core.String> o) {
|
| +checkUnnamed1179(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'));
|
| @@ -5610,12 +6418,12 @@ buildReportCrossDimensionReachCriteria() {
|
| var o = new api.ReportCrossDimensionReachCriteria();
|
| buildCounterReportCrossDimensionReachCriteria++;
|
| if (buildCounterReportCrossDimensionReachCriteria < 3) {
|
| - o.breakdown = buildUnnamed376();
|
| + o.breakdown = buildUnnamed1176();
|
| o.dateRange = buildDateRange();
|
| o.dimension = "foo";
|
| - o.dimensionFilters = buildUnnamed377();
|
| - o.metricNames = buildUnnamed378();
|
| - o.overlapMetricNames = buildUnnamed379();
|
| + o.dimensionFilters = buildUnnamed1177();
|
| + o.metricNames = buildUnnamed1178();
|
| + o.overlapMetricNames = buildUnnamed1179();
|
| o.pivoted = true;
|
| }
|
| buildCounterReportCrossDimensionReachCriteria--;
|
| @@ -5625,25 +6433,25 @@ buildReportCrossDimensionReachCriteria() {
|
| checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) {
|
| buildCounterReportCrossDimensionReachCriteria++;
|
| if (buildCounterReportCrossDimensionReachCriteria < 3) {
|
| - checkUnnamed376(o.breakdown);
|
| + checkUnnamed1176(o.breakdown);
|
| checkDateRange(o.dateRange);
|
| unittest.expect(o.dimension, unittest.equals('foo'));
|
| - checkUnnamed377(o.dimensionFilters);
|
| - checkUnnamed378(o.metricNames);
|
| - checkUnnamed379(o.overlapMetricNames);
|
| + checkUnnamed1177(o.dimensionFilters);
|
| + checkUnnamed1178(o.metricNames);
|
| + checkUnnamed1179(o.overlapMetricNames);
|
| unittest.expect(o.pivoted, unittest.isTrue);
|
| }
|
| buildCounterReportCrossDimensionReachCriteria--;
|
| }
|
|
|
| -buildUnnamed380() {
|
| +buildUnnamed1180() {
|
| var o = new core.List<api.Recipient>();
|
| o.add(buildRecipient());
|
| o.add(buildRecipient());
|
| return o;
|
| }
|
|
|
| -checkUnnamed380(core.List<api.Recipient> o) {
|
| +checkUnnamed1180(core.List<api.Recipient> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRecipient(o[0]);
|
| checkRecipient(o[1]);
|
| @@ -5657,7 +6465,7 @@ buildReportDelivery() {
|
| o.emailOwner = true;
|
| o.emailOwnerDeliveryType = "foo";
|
| o.message = "foo";
|
| - o.recipients = buildUnnamed380();
|
| + o.recipients = buildUnnamed1180();
|
| }
|
| buildCounterReportDelivery--;
|
| return o;
|
| @@ -5669,58 +6477,58 @@ checkReportDelivery(api.ReportDelivery o) {
|
| unittest.expect(o.emailOwner, unittest.isTrue);
|
| unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| - checkUnnamed380(o.recipients);
|
| + checkUnnamed1180(o.recipients);
|
| }
|
| buildCounterReportDelivery--;
|
| }
|
|
|
| -buildUnnamed381() {
|
| +buildUnnamed1181() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed381(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1181(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed382() {
|
| +buildUnnamed1182() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed382(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1182(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed383() {
|
| +buildUnnamed1183() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed383(core.List<api.SortedDimension> o) {
|
| +checkUnnamed1183(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed384() {
|
| +buildUnnamed1184() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed384(core.List<core.String> o) {
|
| +checkUnnamed1184(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'));
|
| @@ -5754,12 +6562,12 @@ buildReportFloodlightCriteria() {
|
| var o = new api.ReportFloodlightCriteria();
|
| buildCounterReportFloodlightCriteria++;
|
| if (buildCounterReportFloodlightCriteria < 3) {
|
| - o.customRichMediaEvents = buildUnnamed381();
|
| + o.customRichMediaEvents = buildUnnamed1181();
|
| o.dateRange = buildDateRange();
|
| - o.dimensionFilters = buildUnnamed382();
|
| - o.dimensions = buildUnnamed383();
|
| + o.dimensionFilters = buildUnnamed1182();
|
| + o.dimensions = buildUnnamed1183();
|
| o.floodlightConfigId = buildDimensionValue();
|
| - o.metricNames = buildUnnamed384();
|
| + o.metricNames = buildUnnamed1184();
|
| o.reportProperties = buildReportFloodlightCriteriaReportProperties();
|
| }
|
| buildCounterReportFloodlightCriteria--;
|
| @@ -5769,90 +6577,90 @@ buildReportFloodlightCriteria() {
|
| checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
|
| buildCounterReportFloodlightCriteria++;
|
| if (buildCounterReportFloodlightCriteria < 3) {
|
| - checkUnnamed381(o.customRichMediaEvents);
|
| + checkUnnamed1181(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| - checkUnnamed382(o.dimensionFilters);
|
| - checkUnnamed383(o.dimensions);
|
| + checkUnnamed1182(o.dimensionFilters);
|
| + checkUnnamed1183(o.dimensions);
|
| checkDimensionValue(o.floodlightConfigId);
|
| - checkUnnamed384(o.metricNames);
|
| + checkUnnamed1184(o.metricNames);
|
| checkReportFloodlightCriteriaReportProperties(o.reportProperties);
|
| }
|
| buildCounterReportFloodlightCriteria--;
|
| }
|
|
|
| -buildUnnamed385() {
|
| +buildUnnamed1185() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed385(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1185(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed386() {
|
| +buildUnnamed1186() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed386(core.List<api.SortedDimension> o) {
|
| +checkUnnamed1186(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed387() {
|
| +buildUnnamed1187() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed387(core.List<api.SortedDimension> o) {
|
| +checkUnnamed1187(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed388() {
|
| +buildUnnamed1188() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed388(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1188(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed389() {
|
| +buildUnnamed1189() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed389(core.List<core.String> o) {
|
| +checkUnnamed1189(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'));
|
| }
|
|
|
| -buildUnnamed390() {
|
| +buildUnnamed1190() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed390(core.List<api.SortedDimension> o) {
|
| +checkUnnamed1190(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| @@ -5898,14 +6706,14 @@ buildReportPathToConversionCriteria() {
|
| var o = new api.ReportPathToConversionCriteria();
|
| buildCounterReportPathToConversionCriteria++;
|
| if (buildCounterReportPathToConversionCriteria < 3) {
|
| - o.activityFilters = buildUnnamed385();
|
| - o.conversionDimensions = buildUnnamed386();
|
| - o.customFloodlightVariables = buildUnnamed387();
|
| - o.customRichMediaEvents = buildUnnamed388();
|
| + o.activityFilters = buildUnnamed1185();
|
| + o.conversionDimensions = buildUnnamed1186();
|
| + o.customFloodlightVariables = buildUnnamed1187();
|
| + o.customRichMediaEvents = buildUnnamed1188();
|
| o.dateRange = buildDateRange();
|
| o.floodlightConfigId = buildDimensionValue();
|
| - o.metricNames = buildUnnamed389();
|
| - o.perInteractionDimensions = buildUnnamed390();
|
| + o.metricNames = buildUnnamed1189();
|
| + o.perInteractionDimensions = buildUnnamed1190();
|
| o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
|
| }
|
| buildCounterReportPathToConversionCriteria--;
|
| @@ -5915,66 +6723,66 @@ buildReportPathToConversionCriteria() {
|
| checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
|
| buildCounterReportPathToConversionCriteria++;
|
| if (buildCounterReportPathToConversionCriteria < 3) {
|
| - checkUnnamed385(o.activityFilters);
|
| - checkUnnamed386(o.conversionDimensions);
|
| - checkUnnamed387(o.customFloodlightVariables);
|
| - checkUnnamed388(o.customRichMediaEvents);
|
| + checkUnnamed1185(o.activityFilters);
|
| + checkUnnamed1186(o.conversionDimensions);
|
| + checkUnnamed1187(o.customFloodlightVariables);
|
| + checkUnnamed1188(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| checkDimensionValue(o.floodlightConfigId);
|
| - checkUnnamed389(o.metricNames);
|
| - checkUnnamed390(o.perInteractionDimensions);
|
| + checkUnnamed1189(o.metricNames);
|
| + checkUnnamed1190(o.perInteractionDimensions);
|
| checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
|
| }
|
| buildCounterReportPathToConversionCriteria--;
|
| }
|
|
|
| -buildUnnamed391() {
|
| +buildUnnamed1191() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed391(core.List<api.DimensionValue> o) {
|
| +checkUnnamed1191(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed392() {
|
| +buildUnnamed1192() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed392(core.List<api.SortedDimension> o) {
|
| +checkUnnamed1192(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed393() {
|
| +buildUnnamed1193() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed393(core.List<core.String> o) {
|
| +checkUnnamed1193(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'));
|
| }
|
|
|
| -buildUnnamed394() {
|
| +buildUnnamed1194() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed394(core.List<core.String> o) {
|
| +checkUnnamed1194(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'));
|
| @@ -5988,11 +6796,11 @@ buildReportReachCriteria() {
|
| o.activities = buildActivities();
|
| o.customRichMediaEvents = buildCustomRichMediaEvents();
|
| o.dateRange = buildDateRange();
|
| - o.dimensionFilters = buildUnnamed391();
|
| - o.dimensions = buildUnnamed392();
|
| + o.dimensionFilters = buildUnnamed1191();
|
| + o.dimensions = buildUnnamed1192();
|
| o.enableAllDimensionCombinations = true;
|
| - o.metricNames = buildUnnamed393();
|
| - o.reachByFrequencyMetricNames = buildUnnamed394();
|
| + o.metricNames = buildUnnamed1193();
|
| + o.reachByFrequencyMetricNames = buildUnnamed1194();
|
| }
|
| buildCounterReportReachCriteria--;
|
| return o;
|
| @@ -6004,23 +6812,23 @@ checkReportReachCriteria(api.ReportReachCriteria o) {
|
| checkActivities(o.activities);
|
| checkCustomRichMediaEvents(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| - checkUnnamed391(o.dimensionFilters);
|
| - checkUnnamed392(o.dimensions);
|
| + checkUnnamed1191(o.dimensionFilters);
|
| + checkUnnamed1192(o.dimensions);
|
| unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
|
| - checkUnnamed393(o.metricNames);
|
| - checkUnnamed394(o.reachByFrequencyMetricNames);
|
| + checkUnnamed1193(o.metricNames);
|
| + checkUnnamed1194(o.reachByFrequencyMetricNames);
|
| }
|
| buildCounterReportReachCriteria--;
|
| }
|
|
|
| -buildUnnamed395() {
|
| +buildUnnamed1195() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed395(core.List<core.String> o) {
|
| +checkUnnamed1195(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'));
|
| @@ -6035,7 +6843,7 @@ buildReportSchedule() {
|
| o.every = 42;
|
| o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.repeats = "foo";
|
| - o.repeatsOnWeekDays = buildUnnamed395();
|
| + o.repeatsOnWeekDays = buildUnnamed1195();
|
| o.runsOnDayOfMonth = "foo";
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| }
|
| @@ -6050,7 +6858,7 @@ checkReportSchedule(api.ReportSchedule o) {
|
| unittest.expect(o.every, unittest.equals(42));
|
| unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| unittest.expect(o.repeats, unittest.equals('foo'));
|
| - checkUnnamed395(o.repeatsOnWeekDays);
|
| + checkUnnamed1195(o.repeatsOnWeekDays);
|
| unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
|
| unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| }
|
| @@ -6110,53 +6918,53 @@ checkReport(api.Report o) {
|
| buildCounterReport--;
|
| }
|
|
|
| -buildUnnamed396() {
|
| +buildUnnamed1196() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed396(core.List<api.Dimension> o) {
|
| +checkUnnamed1196(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed397() {
|
| +buildUnnamed1197() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed397(core.List<api.Dimension> o) {
|
| +checkUnnamed1197(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed398() {
|
| +buildUnnamed1198() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed398(core.List<api.Metric> o) {
|
| +checkUnnamed1198(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed399() {
|
| +buildUnnamed1199() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed399(core.List<api.Metric> o) {
|
| +checkUnnamed1199(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -6167,11 +6975,11 @@ buildReportCompatibleFields() {
|
| var o = new api.ReportCompatibleFields();
|
| buildCounterReportCompatibleFields++;
|
| if (buildCounterReportCompatibleFields < 3) {
|
| - o.dimensionFilters = buildUnnamed396();
|
| - o.dimensions = buildUnnamed397();
|
| + o.dimensionFilters = buildUnnamed1196();
|
| + o.dimensions = buildUnnamed1197();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed398();
|
| - o.pivotedActivityMetrics = buildUnnamed399();
|
| + o.metrics = buildUnnamed1198();
|
| + o.pivotedActivityMetrics = buildUnnamed1199();
|
| }
|
| buildCounterReportCompatibleFields--;
|
| return o;
|
| @@ -6180,23 +6988,23 @@ buildReportCompatibleFields() {
|
| checkReportCompatibleFields(api.ReportCompatibleFields o) {
|
| buildCounterReportCompatibleFields++;
|
| if (buildCounterReportCompatibleFields < 3) {
|
| - checkUnnamed396(o.dimensionFilters);
|
| - checkUnnamed397(o.dimensions);
|
| + checkUnnamed1196(o.dimensionFilters);
|
| + checkUnnamed1197(o.dimensions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed398(o.metrics);
|
| - checkUnnamed399(o.pivotedActivityMetrics);
|
| + checkUnnamed1198(o.metrics);
|
| + checkUnnamed1199(o.pivotedActivityMetrics);
|
| }
|
| buildCounterReportCompatibleFields--;
|
| }
|
|
|
| -buildUnnamed400() {
|
| +buildUnnamed1200() {
|
| var o = new core.List<api.Report>();
|
| o.add(buildReport());
|
| o.add(buildReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed400(core.List<api.Report> o) {
|
| +checkUnnamed1200(core.List<api.Report> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReport(o[0]);
|
| checkReport(o[1]);
|
| @@ -6208,7 +7016,7 @@ buildReportList() {
|
| buildCounterReportList++;
|
| if (buildCounterReportList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed400();
|
| + o.items = buildUnnamed1200();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -6220,7 +7028,7 @@ checkReportList(api.ReportList o) {
|
| buildCounterReportList++;
|
| if (buildCounterReportList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed400(o.items);
|
| + checkUnnamed1200(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -6273,14 +7081,14 @@ checkRichMediaExitOverride(api.RichMediaExitOverride o) {
|
| buildCounterRichMediaExitOverride--;
|
| }
|
|
|
| -buildUnnamed401() {
|
| +buildUnnamed1201() {
|
| var o = new core.List<api.SiteContact>();
|
| o.add(buildSiteContact());
|
| o.add(buildSiteContact());
|
| return o;
|
| }
|
|
|
| -checkUnnamed401(core.List<api.SiteContact> o) {
|
| +checkUnnamed1201(core.List<api.SiteContact> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSiteContact(o[0]);
|
| checkSiteContact(o[1]);
|
| @@ -6300,7 +7108,7 @@ buildSite() {
|
| o.keyName = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.siteContacts = buildUnnamed401();
|
| + o.siteContacts = buildUnnamed1201();
|
| o.siteSettings = buildSiteSettings();
|
| o.subaccountId = "foo";
|
| }
|
| @@ -6320,7 +7128,7 @@ checkSite(api.Site o) {
|
| unittest.expect(o.keyName, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed401(o.siteContacts);
|
| + checkUnnamed1201(o.siteContacts);
|
| checkSiteSettings(o.siteSettings);
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| }
|
| @@ -6332,11 +7140,14 @@ buildSiteContact() {
|
| var o = new api.SiteContact();
|
| buildCounterSiteContact++;
|
| if (buildCounterSiteContact < 3) {
|
| + o.address = "foo";
|
| o.contactType = "foo";
|
| o.email = "foo";
|
| o.firstName = "foo";
|
| o.id = "foo";
|
| o.lastName = "foo";
|
| + o.phone = "foo";
|
| + o.title = "foo";
|
| }
|
| buildCounterSiteContact--;
|
| return o;
|
| @@ -6345,11 +7156,14 @@ buildSiteContact() {
|
| checkSiteContact(api.SiteContact o) {
|
| buildCounterSiteContact++;
|
| if (buildCounterSiteContact < 3) {
|
| + unittest.expect(o.address, unittest.equals('foo'));
|
| unittest.expect(o.contactType, unittest.equals('foo'));
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| unittest.expect(o.firstName, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.lastName, unittest.equals('foo'));
|
| + unittest.expect(o.phone, unittest.equals('foo'));
|
| + unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| buildCounterSiteContact--;
|
| }
|
| @@ -6383,14 +7197,14 @@ checkSiteSettings(api.SiteSettings o) {
|
| buildCounterSiteSettings--;
|
| }
|
|
|
| -buildUnnamed402() {
|
| +buildUnnamed1202() {
|
| var o = new core.List<api.Site>();
|
| o.add(buildSite());
|
| o.add(buildSite());
|
| return o;
|
| }
|
|
|
| -checkUnnamed402(core.List<api.Site> o) {
|
| +checkUnnamed1202(core.List<api.Site> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSite(o[0]);
|
| checkSite(o[1]);
|
| @@ -6403,7 +7217,7 @@ buildSitesListResponse() {
|
| if (buildCounterSitesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.sites = buildUnnamed402();
|
| + o.sites = buildUnnamed1202();
|
| }
|
| buildCounterSitesListResponse--;
|
| return o;
|
| @@ -6414,7 +7228,7 @@ checkSitesListResponse(api.SitesListResponse o) {
|
| if (buildCounterSitesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed402(o.sites);
|
| + checkUnnamed1202(o.sites);
|
| }
|
| buildCounterSitesListResponse--;
|
| }
|
| @@ -6446,14 +7260,14 @@ checkSize(api.Size o) {
|
| buildCounterSize--;
|
| }
|
|
|
| -buildUnnamed403() {
|
| +buildUnnamed1203() {
|
| var o = new core.List<api.Size>();
|
| o.add(buildSize());
|
| o.add(buildSize());
|
| return o;
|
| }
|
|
|
| -checkUnnamed403(core.List<api.Size> o) {
|
| +checkUnnamed1203(core.List<api.Size> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSize(o[0]);
|
| checkSize(o[1]);
|
| @@ -6465,7 +7279,7 @@ buildSizesListResponse() {
|
| buildCounterSizesListResponse++;
|
| if (buildCounterSizesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.sizes = buildUnnamed403();
|
| + o.sizes = buildUnnamed1203();
|
| }
|
| buildCounterSizesListResponse--;
|
| return o;
|
| @@ -6475,7 +7289,7 @@ checkSizesListResponse(api.SizesListResponse o) {
|
| buildCounterSizesListResponse++;
|
| if (buildCounterSizesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed403(o.sizes);
|
| + checkUnnamed1203(o.sizes);
|
| }
|
| buildCounterSizesListResponse--;
|
| }
|
| @@ -6503,14 +7317,14 @@ checkSortedDimension(api.SortedDimension o) {
|
| buildCounterSortedDimension--;
|
| }
|
|
|
| -buildUnnamed404() {
|
| +buildUnnamed1204() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed404(core.List<core.String> o) {
|
| +checkUnnamed1204(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'));
|
| @@ -6522,7 +7336,7 @@ buildSubaccount() {
|
| buildCounterSubaccount++;
|
| if (buildCounterSubaccount < 3) {
|
| o.accountId = "foo";
|
| - o.availablePermissionIds = buildUnnamed404();
|
| + o.availablePermissionIds = buildUnnamed1204();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| @@ -6535,7 +7349,7 @@ checkSubaccount(api.Subaccount o) {
|
| buildCounterSubaccount++;
|
| if (buildCounterSubaccount < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| - checkUnnamed404(o.availablePermissionIds);
|
| + checkUnnamed1204(o.availablePermissionIds);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -6543,14 +7357,14 @@ checkSubaccount(api.Subaccount o) {
|
| buildCounterSubaccount--;
|
| }
|
|
|
| -buildUnnamed405() {
|
| +buildUnnamed1205() {
|
| var o = new core.List<api.Subaccount>();
|
| o.add(buildSubaccount());
|
| o.add(buildSubaccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed405(core.List<api.Subaccount> o) {
|
| +checkUnnamed1205(core.List<api.Subaccount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubaccount(o[0]);
|
| checkSubaccount(o[1]);
|
| @@ -6563,7 +7377,7 @@ buildSubaccountsListResponse() {
|
| if (buildCounterSubaccountsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.subaccounts = buildUnnamed405();
|
| + o.subaccounts = buildUnnamed1205();
|
| }
|
| buildCounterSubaccountsListResponse--;
|
| return o;
|
| @@ -6574,7 +7388,7 @@ checkSubaccountsListResponse(api.SubaccountsListResponse o) {
|
| if (buildCounterSubaccountsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed405(o.subaccounts);
|
| + checkUnnamed1205(o.subaccounts);
|
| }
|
| buildCounterSubaccountsListResponse--;
|
| }
|
| @@ -6673,79 +7487,156 @@ checkTargetWindow(api.TargetWindow o) {
|
| buildCounterTargetWindow--;
|
| }
|
|
|
| -buildUnnamed406() {
|
| +core.int buildCounterTargetableRemarketingList = 0;
|
| +buildTargetableRemarketingList() {
|
| + var o = new api.TargetableRemarketingList();
|
| + buildCounterTargetableRemarketingList++;
|
| + if (buildCounterTargetableRemarketingList < 3) {
|
| + o.accountId = "foo";
|
| + o.active = true;
|
| + o.advertiserId = "foo";
|
| + o.advertiserIdDimensionValue = buildDimensionValue();
|
| + o.description = "foo";
|
| + o.id = "foo";
|
| + o.kind = "foo";
|
| + o.lifeSpan = "foo";
|
| + o.listSize = "foo";
|
| + o.listSource = "foo";
|
| + o.name = "foo";
|
| + o.subaccountId = "foo";
|
| + }
|
| + buildCounterTargetableRemarketingList--;
|
| + return o;
|
| +}
|
| +
|
| +checkTargetableRemarketingList(api.TargetableRemarketingList o) {
|
| + buildCounterTargetableRemarketingList++;
|
| + if (buildCounterTargetableRemarketingList < 3) {
|
| + unittest.expect(o.accountId, unittest.equals('foo'));
|
| + unittest.expect(o.active, unittest.isTrue);
|
| + unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| + checkDimensionValue(o.advertiserIdDimensionValue);
|
| + unittest.expect(o.description, unittest.equals('foo'));
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.lifeSpan, unittest.equals('foo'));
|
| + unittest.expect(o.listSize, unittest.equals('foo'));
|
| + unittest.expect(o.listSource, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| + }
|
| + buildCounterTargetableRemarketingList--;
|
| +}
|
| +
|
| +buildUnnamed1206() {
|
| + var o = new core.List<api.TargetableRemarketingList>();
|
| + o.add(buildTargetableRemarketingList());
|
| + o.add(buildTargetableRemarketingList());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1206(core.List<api.TargetableRemarketingList> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkTargetableRemarketingList(o[0]);
|
| + checkTargetableRemarketingList(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterTargetableRemarketingListsListResponse = 0;
|
| +buildTargetableRemarketingListsListResponse() {
|
| + var o = new api.TargetableRemarketingListsListResponse();
|
| + buildCounterTargetableRemarketingListsListResponse++;
|
| + if (buildCounterTargetableRemarketingListsListResponse < 3) {
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + o.targetableRemarketingLists = buildUnnamed1206();
|
| + }
|
| + buildCounterTargetableRemarketingListsListResponse--;
|
| + return o;
|
| +}
|
| +
|
| +checkTargetableRemarketingListsListResponse(api.TargetableRemarketingListsListResponse o) {
|
| + buildCounterTargetableRemarketingListsListResponse++;
|
| + if (buildCounterTargetableRemarketingListsListResponse < 3) {
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + checkUnnamed1206(o.targetableRemarketingLists);
|
| + }
|
| + buildCounterTargetableRemarketingListsListResponse--;
|
| +}
|
| +
|
| +buildUnnamed1207() {
|
| var o = new core.List<api.Browser>();
|
| o.add(buildBrowser());
|
| o.add(buildBrowser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed406(core.List<api.Browser> o) {
|
| +checkUnnamed1207(core.List<api.Browser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBrowser(o[0]);
|
| checkBrowser(o[1]);
|
| }
|
|
|
| -buildUnnamed407() {
|
| +buildUnnamed1208() {
|
| var o = new core.List<api.ConnectionType>();
|
| o.add(buildConnectionType());
|
| o.add(buildConnectionType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed407(core.List<api.ConnectionType> o) {
|
| +checkUnnamed1208(core.List<api.ConnectionType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConnectionType(o[0]);
|
| checkConnectionType(o[1]);
|
| }
|
|
|
| -buildUnnamed408() {
|
| +buildUnnamed1209() {
|
| var o = new core.List<api.MobileCarrier>();
|
| o.add(buildMobileCarrier());
|
| o.add(buildMobileCarrier());
|
| return o;
|
| }
|
|
|
| -checkUnnamed408(core.List<api.MobileCarrier> o) {
|
| +checkUnnamed1209(core.List<api.MobileCarrier> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMobileCarrier(o[0]);
|
| checkMobileCarrier(o[1]);
|
| }
|
|
|
| -buildUnnamed409() {
|
| +buildUnnamed1210() {
|
| var o = new core.List<api.OperatingSystemVersion>();
|
| o.add(buildOperatingSystemVersion());
|
| o.add(buildOperatingSystemVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed409(core.List<api.OperatingSystemVersion> o) {
|
| +checkUnnamed1210(core.List<api.OperatingSystemVersion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystemVersion(o[0]);
|
| checkOperatingSystemVersion(o[1]);
|
| }
|
|
|
| -buildUnnamed410() {
|
| +buildUnnamed1211() {
|
| var o = new core.List<api.OperatingSystem>();
|
| o.add(buildOperatingSystem());
|
| o.add(buildOperatingSystem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed410(core.List<api.OperatingSystem> o) {
|
| +checkUnnamed1211(core.List<api.OperatingSystem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystem(o[0]);
|
| checkOperatingSystem(o[1]);
|
| }
|
|
|
| -buildUnnamed411() {
|
| +buildUnnamed1212() {
|
| var o = new core.List<api.PlatformType>();
|
| o.add(buildPlatformType());
|
| o.add(buildPlatformType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed411(core.List<api.PlatformType> o) {
|
| +checkUnnamed1212(core.List<api.PlatformType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlatformType(o[0]);
|
| checkPlatformType(o[1]);
|
| @@ -6756,12 +7647,12 @@ buildTechnologyTargeting() {
|
| var o = new api.TechnologyTargeting();
|
| buildCounterTechnologyTargeting++;
|
| if (buildCounterTechnologyTargeting < 3) {
|
| - o.browsers = buildUnnamed406();
|
| - o.connectionTypes = buildUnnamed407();
|
| - o.mobileCarriers = buildUnnamed408();
|
| - o.operatingSystemVersions = buildUnnamed409();
|
| - o.operatingSystems = buildUnnamed410();
|
| - o.platformTypes = buildUnnamed411();
|
| + o.browsers = buildUnnamed1207();
|
| + o.connectionTypes = buildUnnamed1208();
|
| + o.mobileCarriers = buildUnnamed1209();
|
| + o.operatingSystemVersions = buildUnnamed1210();
|
| + o.operatingSystems = buildUnnamed1211();
|
| + o.platformTypes = buildUnnamed1212();
|
| }
|
| buildCounterTechnologyTargeting--;
|
| return o;
|
| @@ -6770,12 +7661,12 @@ buildTechnologyTargeting() {
|
| checkTechnologyTargeting(api.TechnologyTargeting o) {
|
| buildCounterTechnologyTargeting++;
|
| if (buildCounterTechnologyTargeting < 3) {
|
| - checkUnnamed406(o.browsers);
|
| - checkUnnamed407(o.connectionTypes);
|
| - checkUnnamed408(o.mobileCarriers);
|
| - checkUnnamed409(o.operatingSystemVersions);
|
| - checkUnnamed410(o.operatingSystems);
|
| - checkUnnamed411(o.platformTypes);
|
| + checkUnnamed1207(o.browsers);
|
| + checkUnnamed1208(o.connectionTypes);
|
| + checkUnnamed1209(o.mobileCarriers);
|
| + checkUnnamed1210(o.operatingSystemVersions);
|
| + checkUnnamed1211(o.operatingSystems);
|
| + checkUnnamed1212(o.platformTypes);
|
| }
|
| buildCounterTechnologyTargeting--;
|
| }
|
| @@ -6857,14 +7748,14 @@ checkUserProfile(api.UserProfile o) {
|
| buildCounterUserProfile--;
|
| }
|
|
|
| -buildUnnamed412() {
|
| +buildUnnamed1213() {
|
| var o = new core.List<api.UserProfile>();
|
| o.add(buildUserProfile());
|
| o.add(buildUserProfile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed412(core.List<api.UserProfile> o) {
|
| +checkUnnamed1213(core.List<api.UserProfile> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserProfile(o[0]);
|
| checkUserProfile(o[1]);
|
| @@ -6876,7 +7767,7 @@ buildUserProfileList() {
|
| buildCounterUserProfileList++;
|
| if (buildCounterUserProfileList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed412();
|
| + o.items = buildUnnamed1213();
|
| o.kind = "foo";
|
| }
|
| buildCounterUserProfileList--;
|
| @@ -6887,20 +7778,20 @@ checkUserProfileList(api.UserProfileList o) {
|
| buildCounterUserProfileList++;
|
| if (buildCounterUserProfileList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed412(o.items);
|
| + checkUnnamed1213(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterUserProfileList--;
|
| }
|
|
|
| -buildUnnamed413() {
|
| +buildUnnamed1214() {
|
| var o = new core.List<api.UserRolePermission>();
|
| o.add(buildUserRolePermission());
|
| o.add(buildUserRolePermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed413(core.List<api.UserRolePermission> o) {
|
| +checkUnnamed1214(core.List<api.UserRolePermission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRolePermission(o[0]);
|
| checkUserRolePermission(o[1]);
|
| @@ -6917,7 +7808,7 @@ buildUserRole() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.parentUserRoleId = "foo";
|
| - o.permissions = buildUnnamed413();
|
| + o.permissions = buildUnnamed1214();
|
| o.subaccountId = "foo";
|
| }
|
| buildCounterUserRole--;
|
| @@ -6933,7 +7824,7 @@ checkUserRole(api.UserRole o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
|
| - checkUnnamed413(o.permissions);
|
| + checkUnnamed1214(o.permissions);
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| }
|
| buildCounterUserRole--;
|
| @@ -6989,14 +7880,14 @@ checkUserRolePermissionGroup(api.UserRolePermissionGroup o) {
|
| buildCounterUserRolePermissionGroup--;
|
| }
|
|
|
| -buildUnnamed414() {
|
| +buildUnnamed1215() {
|
| var o = new core.List<api.UserRolePermissionGroup>();
|
| o.add(buildUserRolePermissionGroup());
|
| o.add(buildUserRolePermissionGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed414(core.List<api.UserRolePermissionGroup> o) {
|
| +checkUnnamed1215(core.List<api.UserRolePermissionGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRolePermissionGroup(o[0]);
|
| checkUserRolePermissionGroup(o[1]);
|
| @@ -7008,7 +7899,7 @@ buildUserRolePermissionGroupsListResponse() {
|
| buildCounterUserRolePermissionGroupsListResponse++;
|
| if (buildCounterUserRolePermissionGroupsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.userRolePermissionGroups = buildUnnamed414();
|
| + o.userRolePermissionGroups = buildUnnamed1215();
|
| }
|
| buildCounterUserRolePermissionGroupsListResponse--;
|
| return o;
|
| @@ -7018,19 +7909,19 @@ checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
|
| buildCounterUserRolePermissionGroupsListResponse++;
|
| if (buildCounterUserRolePermissionGroupsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed414(o.userRolePermissionGroups);
|
| + checkUnnamed1215(o.userRolePermissionGroups);
|
| }
|
| buildCounterUserRolePermissionGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed415() {
|
| +buildUnnamed1216() {
|
| var o = new core.List<api.UserRolePermission>();
|
| o.add(buildUserRolePermission());
|
| o.add(buildUserRolePermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed415(core.List<api.UserRolePermission> o) {
|
| +checkUnnamed1216(core.List<api.UserRolePermission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRolePermission(o[0]);
|
| checkUserRolePermission(o[1]);
|
| @@ -7042,7 +7933,7 @@ buildUserRolePermissionsListResponse() {
|
| buildCounterUserRolePermissionsListResponse++;
|
| if (buildCounterUserRolePermissionsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.userRolePermissions = buildUnnamed415();
|
| + o.userRolePermissions = buildUnnamed1216();
|
| }
|
| buildCounterUserRolePermissionsListResponse--;
|
| return o;
|
| @@ -7052,19 +7943,19 @@ checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) {
|
| buildCounterUserRolePermissionsListResponse++;
|
| if (buildCounterUserRolePermissionsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed415(o.userRolePermissions);
|
| + checkUnnamed1216(o.userRolePermissions);
|
| }
|
| buildCounterUserRolePermissionsListResponse--;
|
| }
|
|
|
| -buildUnnamed416() {
|
| +buildUnnamed1217() {
|
| var o = new core.List<api.UserRole>();
|
| o.add(buildUserRole());
|
| o.add(buildUserRole());
|
| return o;
|
| }
|
|
|
| -checkUnnamed416(core.List<api.UserRole> o) {
|
| +checkUnnamed1217(core.List<api.UserRole> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRole(o[0]);
|
| checkUserRole(o[1]);
|
| @@ -7077,7 +7968,7 @@ buildUserRolesListResponse() {
|
| if (buildCounterUserRolesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.userRoles = buildUnnamed416();
|
| + o.userRoles = buildUnnamed1217();
|
| }
|
| buildCounterUserRolesListResponse--;
|
| return o;
|
| @@ -7088,994 +7979,1124 @@ checkUserRolesListResponse(api.UserRolesListResponse o) {
|
| if (buildCounterUserRolesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed416(o.userRoles);
|
| + checkUnnamed1217(o.userRoles);
|
| }
|
| buildCounterUserRolesListResponse--;
|
| }
|
|
|
| -buildUnnamed417() {
|
| +buildUnnamed1218() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1218(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'));
|
| +}
|
| +
|
| +buildUnnamed1219() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1219(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'));
|
| +}
|
| +
|
| +buildUnnamed1220() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1220(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'));
|
| +}
|
| +
|
| +buildUnnamed1221() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1221(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'));
|
| +}
|
| +
|
| +buildUnnamed1222() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1222(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'));
|
| +}
|
| +
|
| +buildUnnamed1223() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1223(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'));
|
| +}
|
| +
|
| +buildUnnamed1224() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1224(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'));
|
| +}
|
| +
|
| +buildUnnamed1225() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1225(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'));
|
| +}
|
| +
|
| +buildUnnamed1226() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1226(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'));
|
| +}
|
| +
|
| +buildUnnamed1227() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1227(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'));
|
| +}
|
| +
|
| +buildUnnamed1228() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed417(core.List<core.String> o) {
|
| +checkUnnamed1228(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'));
|
| }
|
|
|
| -buildUnnamed418() {
|
| +buildUnnamed1229() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed418(core.List<core.String> o) {
|
| +checkUnnamed1229(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'));
|
| }
|
|
|
| -buildUnnamed419() {
|
| +buildUnnamed1230() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed419(core.List<core.String> o) {
|
| +checkUnnamed1230(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'));
|
| }
|
|
|
| -buildUnnamed420() {
|
| +buildUnnamed1231() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed420(core.List<core.String> o) {
|
| +checkUnnamed1231(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'));
|
| }
|
|
|
| -buildUnnamed421() {
|
| +buildUnnamed1232() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed421(core.List<core.String> o) {
|
| +checkUnnamed1232(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'));
|
| }
|
|
|
| -buildUnnamed422() {
|
| +buildUnnamed1233() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed422(core.List<core.String> o) {
|
| +checkUnnamed1233(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'));
|
| }
|
|
|
| -buildUnnamed423() {
|
| +buildUnnamed1234() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed423(core.List<core.String> o) {
|
| +checkUnnamed1234(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'));
|
| }
|
|
|
| -buildUnnamed424() {
|
| +buildUnnamed1235() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed424(core.List<core.String> o) {
|
| +checkUnnamed1235(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'));
|
| }
|
|
|
| -buildUnnamed425() {
|
| +buildUnnamed1236() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed425(core.List<core.String> o) {
|
| +checkUnnamed1236(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'));
|
| }
|
|
|
| -buildUnnamed426() {
|
| +buildUnnamed1237() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed426(core.List<core.String> o) {
|
| +checkUnnamed1237(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'));
|
| }
|
|
|
| -buildUnnamed427() {
|
| +buildUnnamed1238() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed427(core.List<core.String> o) {
|
| +checkUnnamed1238(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'));
|
| }
|
|
|
| -buildUnnamed428() {
|
| +buildUnnamed1239() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed428(core.List<core.String> o) {
|
| +checkUnnamed1239(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'));
|
| }
|
|
|
| -buildUnnamed429() {
|
| +buildUnnamed1240() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed429(core.List<core.String> o) {
|
| +checkUnnamed1240(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'));
|
| }
|
|
|
| -buildUnnamed430() {
|
| +buildUnnamed1241() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed430(core.List<core.String> o) {
|
| +checkUnnamed1241(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'));
|
| }
|
|
|
| -buildUnnamed431() {
|
| +buildUnnamed1242() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed431(core.List<core.String> o) {
|
| +checkUnnamed1242(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'));
|
| }
|
|
|
| -buildUnnamed432() {
|
| +buildUnnamed1243() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed432(core.List<core.String> o) {
|
| +checkUnnamed1243(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'));
|
| }
|
|
|
| -buildUnnamed433() {
|
| +buildUnnamed1244() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed433(core.List<core.String> o) {
|
| +checkUnnamed1244(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'));
|
| }
|
|
|
| -buildUnnamed434() {
|
| +buildUnnamed1245() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed434(core.List<core.String> o) {
|
| +checkUnnamed1245(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'));
|
| }
|
|
|
| -buildUnnamed435() {
|
| +buildUnnamed1246() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed435(core.List<core.String> o) {
|
| +checkUnnamed1246(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'));
|
| }
|
|
|
| -buildUnnamed436() {
|
| +buildUnnamed1247() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed436(core.List<core.String> o) {
|
| +checkUnnamed1247(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'));
|
| }
|
|
|
| -buildUnnamed437() {
|
| +buildUnnamed1248() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed437(core.List<core.String> o) {
|
| +checkUnnamed1248(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'));
|
| }
|
|
|
| -buildUnnamed438() {
|
| +buildUnnamed1249() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed438(core.List<core.String> o) {
|
| +checkUnnamed1249(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'));
|
| }
|
|
|
| -buildUnnamed439() {
|
| +buildUnnamed1250() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed439(core.List<core.String> o) {
|
| +checkUnnamed1250(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'));
|
| }
|
|
|
| -buildUnnamed440() {
|
| +buildUnnamed1251() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed440(core.List<core.String> o) {
|
| +checkUnnamed1251(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'));
|
| }
|
|
|
| -buildUnnamed441() {
|
| +buildUnnamed1252() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed441(core.List<core.String> o) {
|
| +checkUnnamed1252(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'));
|
| }
|
|
|
| -buildUnnamed442() {
|
| +buildUnnamed1253() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed442(core.List<core.String> o) {
|
| +checkUnnamed1253(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'));
|
| }
|
|
|
| -buildUnnamed443() {
|
| +buildUnnamed1254() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed443(core.List<core.String> o) {
|
| +checkUnnamed1254(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'));
|
| }
|
|
|
| -buildUnnamed444() {
|
| +buildUnnamed1255() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed444(core.List<core.String> o) {
|
| +checkUnnamed1255(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'));
|
| }
|
|
|
| -buildUnnamed445() {
|
| +buildUnnamed1256() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed445(core.List<core.String> o) {
|
| +checkUnnamed1256(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'));
|
| }
|
|
|
| -buildUnnamed446() {
|
| +buildUnnamed1257() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed446(core.List<core.String> o) {
|
| +checkUnnamed1257(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'));
|
| }
|
|
|
| -buildUnnamed447() {
|
| +buildUnnamed1258() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed447(core.List<core.String> o) {
|
| +checkUnnamed1258(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'));
|
| }
|
|
|
| -buildUnnamed448() {
|
| +buildUnnamed1259() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed448(core.List<core.String> o) {
|
| +checkUnnamed1259(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'));
|
| }
|
|
|
| -buildUnnamed449() {
|
| +buildUnnamed1260() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed449(core.List<core.String> o) {
|
| +checkUnnamed1260(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'));
|
| }
|
|
|
| -buildUnnamed450() {
|
| +buildUnnamed1261() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed450(core.List<core.String> o) {
|
| +checkUnnamed1261(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'));
|
| }
|
|
|
| -buildUnnamed451() {
|
| +buildUnnamed1262() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed451(core.List<core.String> o) {
|
| +checkUnnamed1262(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'));
|
| }
|
|
|
| -buildUnnamed452() {
|
| +buildUnnamed1263() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed452(core.List<core.String> o) {
|
| +checkUnnamed1263(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'));
|
| }
|
|
|
| -buildUnnamed453() {
|
| +buildUnnamed1264() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed453(core.List<core.String> o) {
|
| +checkUnnamed1264(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'));
|
| }
|
|
|
| -buildUnnamed454() {
|
| +buildUnnamed1265() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed454(core.List<core.String> o) {
|
| +checkUnnamed1265(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'));
|
| }
|
|
|
| -buildUnnamed455() {
|
| +buildUnnamed1266() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed455(core.List<core.String> o) {
|
| +checkUnnamed1266(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'));
|
| }
|
|
|
| -buildUnnamed456() {
|
| +buildUnnamed1267() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed456(core.List<core.String> o) {
|
| +checkUnnamed1267(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'));
|
| }
|
|
|
| -buildUnnamed457() {
|
| +buildUnnamed1268() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed457(core.List<core.String> o) {
|
| +checkUnnamed1268(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'));
|
| }
|
|
|
| -buildUnnamed458() {
|
| +buildUnnamed1269() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed458(core.List<core.String> o) {
|
| +checkUnnamed1269(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'));
|
| }
|
|
|
| -buildUnnamed459() {
|
| +buildUnnamed1270() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed459(core.List<core.String> o) {
|
| +checkUnnamed1270(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'));
|
| }
|
|
|
| -buildUnnamed460() {
|
| +buildUnnamed1271() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed460(core.List<core.String> o) {
|
| +checkUnnamed1271(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'));
|
| }
|
|
|
| -buildUnnamed461() {
|
| +buildUnnamed1272() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed461(core.List<core.String> o) {
|
| +checkUnnamed1272(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'));
|
| }
|
|
|
| -buildUnnamed462() {
|
| +buildUnnamed1273() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed462(core.List<core.String> o) {
|
| +checkUnnamed1273(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'));
|
| }
|
|
|
| -buildUnnamed463() {
|
| +buildUnnamed1274() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed463(core.List<core.String> o) {
|
| +checkUnnamed1274(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'));
|
| }
|
|
|
| -buildUnnamed464() {
|
| +buildUnnamed1275() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed464(core.List<core.String> o) {
|
| +checkUnnamed1275(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'));
|
| }
|
|
|
| -buildUnnamed465() {
|
| +buildUnnamed1276() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed465(core.List<core.String> o) {
|
| +checkUnnamed1276(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'));
|
| }
|
|
|
| -buildUnnamed466() {
|
| +buildUnnamed1277() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed466(core.List<core.String> o) {
|
| +checkUnnamed1277(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'));
|
| }
|
|
|
| -buildUnnamed467() {
|
| +buildUnnamed1278() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed467(core.List<core.String> o) {
|
| +checkUnnamed1278(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'));
|
| }
|
|
|
| -buildUnnamed468() {
|
| +buildUnnamed1279() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed468(core.List<core.String> o) {
|
| +checkUnnamed1279(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'));
|
| }
|
|
|
| -buildUnnamed469() {
|
| +buildUnnamed1280() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed469(core.List<core.String> o) {
|
| +checkUnnamed1280(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'));
|
| }
|
|
|
| -buildUnnamed470() {
|
| +buildUnnamed1281() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed470(core.List<core.String> o) {
|
| +checkUnnamed1281(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'));
|
| }
|
|
|
| -buildUnnamed471() {
|
| +buildUnnamed1282() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed471(core.List<core.String> o) {
|
| +checkUnnamed1282(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'));
|
| }
|
|
|
| -buildUnnamed472() {
|
| +buildUnnamed1283() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed472(core.List<core.String> o) {
|
| +checkUnnamed1283(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'));
|
| }
|
|
|
| -buildUnnamed473() {
|
| +buildUnnamed1284() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed473(core.List<core.String> o) {
|
| +checkUnnamed1284(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'));
|
| }
|
|
|
| -buildUnnamed474() {
|
| +buildUnnamed1285() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed474(core.List<core.String> o) {
|
| +checkUnnamed1285(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'));
|
| }
|
|
|
| -buildUnnamed475() {
|
| +buildUnnamed1286() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed475(core.List<core.String> o) {
|
| +checkUnnamed1286(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'));
|
| }
|
|
|
| -buildUnnamed476() {
|
| +buildUnnamed1287() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed476(core.List<core.String> o) {
|
| +checkUnnamed1287(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'));
|
| }
|
|
|
| -buildUnnamed477() {
|
| +buildUnnamed1288() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed477(core.List<core.String> o) {
|
| +checkUnnamed1288(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'));
|
| }
|
|
|
| -buildUnnamed478() {
|
| +buildUnnamed1289() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed478(core.List<core.String> o) {
|
| +checkUnnamed1289(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'));
|
| }
|
|
|
| -buildUnnamed479() {
|
| +buildUnnamed1290() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed479(core.List<core.String> o) {
|
| +checkUnnamed1290(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'));
|
| }
|
|
|
| -buildUnnamed480() {
|
| +buildUnnamed1291() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed480(core.List<core.String> o) {
|
| +checkUnnamed1291(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'));
|
| }
|
|
|
| -buildUnnamed481() {
|
| +buildUnnamed1292() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed481(core.List<core.String> o) {
|
| +checkUnnamed1292(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'));
|
| }
|
|
|
| -buildUnnamed482() {
|
| +buildUnnamed1293() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed482(core.List<core.String> o) {
|
| +checkUnnamed1293(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'));
|
| }
|
|
|
| -buildUnnamed483() {
|
| +buildUnnamed1294() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed483(core.List<core.String> o) {
|
| +checkUnnamed1294(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'));
|
| }
|
|
|
| -buildUnnamed484() {
|
| +buildUnnamed1295() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed484(core.List<core.String> o) {
|
| +checkUnnamed1295(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'));
|
| }
|
|
|
| -buildUnnamed485() {
|
| +buildUnnamed1296() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed485(core.List<core.String> o) {
|
| +checkUnnamed1296(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'));
|
| }
|
|
|
| -buildUnnamed486() {
|
| +buildUnnamed1297() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed486(core.List<core.String> o) {
|
| +checkUnnamed1297(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'));
|
| }
|
|
|
| -buildUnnamed487() {
|
| +buildUnnamed1298() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed487(core.List<core.String> o) {
|
| +checkUnnamed1298(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'));
|
| }
|
|
|
| -buildUnnamed488() {
|
| +buildUnnamed1299() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed488(core.List<core.String> o) {
|
| +checkUnnamed1299(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'));
|
| }
|
|
|
| -buildUnnamed489() {
|
| +buildUnnamed1300() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed489(core.List<core.String> o) {
|
| +checkUnnamed1300(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'));
|
| }
|
|
|
| -buildUnnamed490() {
|
| +buildUnnamed1301() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed490(core.List<core.String> o) {
|
| +checkUnnamed1301(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'));
|
| }
|
|
|
| -buildUnnamed491() {
|
| +buildUnnamed1302() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed491(core.List<core.String> o) {
|
| +checkUnnamed1302(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'));
|
| }
|
|
|
| -buildUnnamed492() {
|
| +buildUnnamed1303() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed492(core.List<core.String> o) {
|
| +checkUnnamed1303(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'));
|
| @@ -8182,6 +9203,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-AdSlot", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildAdSlot();
|
| + var od = new api.AdSlot.fromJson(o.toJson());
|
| + checkAdSlot(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-AdsListResponse", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildAdsListResponse();
|
| @@ -8812,6 +9842,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-Flight", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildFlight();
|
| + var od = new api.Flight.fromJson(o.toJson());
|
| + checkFlight(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-FloodlightActivitiesGenerateTagResponse", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildFloodlightActivitiesGenerateTagResponse();
|
| @@ -8929,6 +9968,24 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-InventoryItem", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildInventoryItem();
|
| + var od = new api.InventoryItem.fromJson(o.toJson());
|
| + checkInventoryItem(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-InventoryItemsListResponse", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildInventoryItemsListResponse();
|
| + var od = new api.InventoryItemsListResponse.fromJson(o.toJson());
|
| + checkInventoryItemsListResponse(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-KeyValueTargetingExpression", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildKeyValueTargetingExpression();
|
| @@ -8965,11 +10022,38 @@ main() {
|
| });
|
|
|
|
|
| - unittest.group("obj-schema-ListTargetingExpression", () {
|
| + unittest.group("obj-schema-ListPopulationClause", () {
|
| unittest.test("to-json--from-json", () {
|
| - var o = buildListTargetingExpression();
|
| - var od = new api.ListTargetingExpression.fromJson(o.toJson());
|
| - checkListTargetingExpression(od);
|
| + var o = buildListPopulationClause();
|
| + var od = new api.ListPopulationClause.fromJson(o.toJson());
|
| + checkListPopulationClause(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-ListPopulationRule", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildListPopulationRule();
|
| + var od = new api.ListPopulationRule.fromJson(o.toJson());
|
| + checkListPopulationRule(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-ListPopulationTerm", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildListPopulationTerm();
|
| + var od = new api.ListPopulationTerm.fromJson(o.toJson());
|
| + checkListPopulationTerm(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-ListTargetingExpression", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildListTargetingExpression();
|
| + var od = new api.ListTargetingExpression.fromJson(o.toJson());
|
| + checkListTargetingExpression(od);
|
| });
|
| });
|
|
|
| @@ -9100,6 +10184,51 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-Order", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildOrder();
|
| + var od = new api.Order.fromJson(o.toJson());
|
| + checkOrder(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-OrderContact", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildOrderContact();
|
| + var od = new api.OrderContact.fromJson(o.toJson());
|
| + checkOrderContact(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-OrderDocument", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildOrderDocument();
|
| + var od = new api.OrderDocument.fromJson(o.toJson());
|
| + checkOrderDocument(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-OrderDocumentsListResponse", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildOrderDocumentsListResponse();
|
| + var od = new api.OrderDocumentsListResponse.fromJson(o.toJson());
|
| + checkOrderDocumentsListResponse(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-OrdersListResponse", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildOrdersListResponse();
|
| + var od = new api.OrdersListResponse.fromJson(o.toJson());
|
| + checkOrdersListResponse(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-PathToConversionReportCompatibleFields", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildPathToConversionReportCompatibleFields();
|
| @@ -9235,6 +10364,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-Pricing", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildPricing();
|
| + var od = new api.Pricing.fromJson(o.toJson());
|
| + checkPricing(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-PricingSchedule", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildPricingSchedule();
|
| @@ -9262,6 +10400,24 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-Project", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildProject();
|
| + var od = new api.Project.fromJson(o.toJson());
|
| + checkProject(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-ProjectsListResponse", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildProjectsListResponse();
|
| + var od = new api.ProjectsListResponse.fromJson(o.toJson());
|
| + checkProjectsListResponse(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-ReachReportCompatibleFields", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildReachReportCompatibleFields();
|
| @@ -9298,6 +10454,33 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-RemarketingList", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRemarketingList();
|
| + var od = new api.RemarketingList.fromJson(o.toJson());
|
| + checkRemarketingList(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RemarketingListShare", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRemarketingListShare();
|
| + var od = new api.RemarketingListShare.fromJson(o.toJson());
|
| + checkRemarketingListShare(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RemarketingListsListResponse", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRemarketingListsListResponse();
|
| + var od = new api.RemarketingListsListResponse.fromJson(o.toJson());
|
| + checkRemarketingListsListResponse(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-ReportCriteria", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildReportCriteria();
|
| @@ -9541,6 +10724,24 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-TargetableRemarketingList", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildTargetableRemarketingList();
|
| + var od = new api.TargetableRemarketingList.fromJson(o.toJson());
|
| + checkTargetableRemarketingList(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-TargetableRemarketingListsListResponse", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildTargetableRemarketingListsListResponse();
|
| + var od = new api.TargetableRemarketingListsListResponse.fromJson(o.toJson());
|
| + checkTargetableRemarketingListsListResponse(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-TechnologyTargeting", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildTechnologyTargeting();
|
| @@ -9654,7 +10855,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -9715,7 +10916,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -9771,7 +10972,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -9829,7 +11030,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -9885,7 +11086,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -9943,7 +11144,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -9987,13 +11188,70 @@ main() {
|
| })));
|
| });
|
|
|
| + unittest.test("method--insert", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
|
| + var arg_request = buildAccountUserProfile();
|
| + var arg_profileId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.AccountUserProfile.fromJson(json);
|
| + checkAccountUserProfile(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/accountUserProfiles", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/accountUserProfiles"));
|
| + pathOffset += 20;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildAccountUserProfile());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.AccountUserProfile response) {
|
| + checkAccountUserProfile(response);
|
| + })));
|
| + });
|
| +
|
| unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
|
| var arg_profileId = "foo";
|
| var arg_active = true;
|
| - var arg_ids = buildUnnamed417();
|
| + var arg_ids = buildUnnamed1218();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -10008,7 +11266,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10075,7 +11333,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10133,7 +11391,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10191,7 +11449,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10241,7 +11499,7 @@ main() {
|
| api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
|
| var arg_profileId = "foo";
|
| var arg_active = true;
|
| - var arg_ids = buildUnnamed418();
|
| + var arg_ids = buildUnnamed1219();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -10254,7 +11512,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10319,7 +11577,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10377,7 +11635,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10435,7 +11693,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10495,7 +11753,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10544,27 +11802,27 @@ main() {
|
| var arg_active = true;
|
| var arg_advertiserId = "foo";
|
| var arg_archived = true;
|
| - var arg_audienceSegmentIds = buildUnnamed419();
|
| - var arg_campaignIds = buildUnnamed420();
|
| + var arg_audienceSegmentIds = buildUnnamed1220();
|
| + var arg_campaignIds = buildUnnamed1221();
|
| var arg_compatibility = "foo";
|
| - var arg_creativeIds = buildUnnamed421();
|
| - var arg_creativeOptimizationConfigurationIds = buildUnnamed422();
|
| + var arg_creativeIds = buildUnnamed1222();
|
| + var arg_creativeOptimizationConfigurationIds = buildUnnamed1223();
|
| var arg_creativeType = "foo";
|
| var arg_dynamicClickTracker = true;
|
| - var arg_ids = buildUnnamed423();
|
| - var arg_landingPageIds = buildUnnamed424();
|
| + var arg_ids = buildUnnamed1224();
|
| + var arg_landingPageIds = buildUnnamed1225();
|
| var arg_maxResults = 42;
|
| var arg_overriddenEventTagId = "foo";
|
| var arg_pageToken = "foo";
|
| - var arg_placementIds = buildUnnamed425();
|
| - var arg_remarketingListIds = buildUnnamed426();
|
| + var arg_placementIds = buildUnnamed1226();
|
| + var arg_remarketingListIds = buildUnnamed1227();
|
| var arg_searchString = "foo";
|
| - var arg_sizeIds = buildUnnamed427();
|
| + var arg_sizeIds = buildUnnamed1228();
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| var arg_sslCompliant = true;
|
| var arg_sslRequired = true;
|
| - var arg_type = buildUnnamed428();
|
| + var arg_type = buildUnnamed1229();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -10572,7 +11830,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10654,7 +11912,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10712,7 +11970,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10770,7 +12028,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10825,7 +12083,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10885,7 +12143,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -10931,7 +12189,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed429();
|
| + var arg_ids = buildUnnamed1230();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -10944,7 +12202,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11008,7 +12266,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11066,7 +12324,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11124,7 +12382,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11184,7 +12442,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11230,9 +12488,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserGroupIds = buildUnnamed430();
|
| - var arg_floodlightConfigurationIds = buildUnnamed431();
|
| - var arg_ids = buildUnnamed432();
|
| + var arg_advertiserGroupIds = buildUnnamed1231();
|
| + var arg_floodlightConfigurationIds = buildUnnamed1232();
|
| + var arg_ids = buildUnnamed1233();
|
| var arg_includeAdvertisersWithoutGroupsOnly = true;
|
| var arg_maxResults = 42;
|
| var arg_onlyParent = true;
|
| @@ -11249,7 +12507,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11319,7 +12577,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11377,7 +12635,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11434,7 +12692,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11496,7 +12754,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11560,7 +12818,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11628,7 +12886,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11690,7 +12948,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11738,12 +12996,12 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserGroupIds = buildUnnamed433();
|
| - var arg_advertiserIds = buildUnnamed434();
|
| + var arg_advertiserGroupIds = buildUnnamed1234();
|
| + var arg_advertiserIds = buildUnnamed1235();
|
| var arg_archived = true;
|
| var arg_atLeastOneOptimizationActivity = true;
|
| - var arg_excludedIds = buildUnnamed435();
|
| - var arg_ids = buildUnnamed436();
|
| + var arg_excludedIds = buildUnnamed1236();
|
| + var arg_ids = buildUnnamed1237();
|
| var arg_maxResults = 42;
|
| var arg_overriddenEventTagId = "foo";
|
| var arg_pageToken = "foo";
|
| @@ -11758,7 +13016,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11829,7 +13087,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11887,7 +13145,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11945,7 +13203,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -11995,15 +13253,15 @@ main() {
|
| api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
|
| var arg_profileId = "foo";
|
| var arg_action = "foo";
|
| - var arg_ids = buildUnnamed437();
|
| + var arg_ids = buildUnnamed1238();
|
| var arg_maxChangeTime = "foo";
|
| var arg_maxResults = 42;
|
| var arg_minChangeTime = "foo";
|
| - var arg_objectIds = buildUnnamed438();
|
| + var arg_objectIds = buildUnnamed1239();
|
| var arg_objectType = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| - var arg_userProfileIds = buildUnnamed439();
|
| + var arg_userProfileIds = buildUnnamed1240();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -12011,7 +13269,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12071,10 +13329,10 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
|
| var arg_profileId = "foo";
|
| - var arg_countryDartIds = buildUnnamed440();
|
| - var arg_dartIds = buildUnnamed441();
|
| + var arg_countryDartIds = buildUnnamed1241();
|
| + var arg_dartIds = buildUnnamed1242();
|
| var arg_namePrefix = "foo";
|
| - var arg_regionDartIds = buildUnnamed442();
|
| + var arg_regionDartIds = buildUnnamed1243();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -12082,7 +13340,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12131,6 +13389,63 @@ main() {
|
|
|
|
|
| unittest.group("resource-ConnectionTypesResourceApi", () {
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connectionTypes;
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/connectionTypes/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/connectionTypes/"));
|
| + pathOffset += 17;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildConnectionType());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.ConnectionType response) {
|
| + checkConnectionType(response);
|
| + })));
|
| + });
|
| +
|
| unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| @@ -12143,7 +13458,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12201,7 +13516,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12256,7 +13571,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12316,7 +13631,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12362,7 +13677,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed443();
|
| + var arg_ids = buildUnnamed1244();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -12375,7 +13690,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12439,7 +13754,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12497,7 +13812,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12555,7 +13870,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12611,7 +13926,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12675,7 +13990,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12741,7 +14056,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12804,7 +14119,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12872,7 +14187,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -12926,7 +14241,7 @@ main() {
|
| api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
|
| var arg_profileId = "foo";
|
| var arg_creativeFieldId = "foo";
|
| - var arg_ids = buildUnnamed444();
|
| + var arg_ids = buildUnnamed1245();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -12939,7 +14254,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13011,7 +14326,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13077,7 +14392,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13142,7 +14457,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13197,7 +14512,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13257,7 +14572,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13303,8 +14618,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed445();
|
| - var arg_ids = buildUnnamed446();
|
| + var arg_advertiserIds = buildUnnamed1246();
|
| + var arg_ids = buildUnnamed1247();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -13317,7 +14632,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13382,7 +14697,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13440,7 +14755,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13498,7 +14813,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13558,7 +14873,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13604,9 +14919,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed447();
|
| + var arg_advertiserIds = buildUnnamed1248();
|
| var arg_groupNumber = 42;
|
| - var arg_ids = buildUnnamed448();
|
| + var arg_ids = buildUnnamed1249();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -13619,7 +14934,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13685,7 +15000,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13743,7 +15058,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13801,7 +15116,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13861,7 +15176,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -13911,18 +15226,18 @@ main() {
|
| var arg_advertiserId = "foo";
|
| var arg_archived = true;
|
| var arg_campaignId = "foo";
|
| - var arg_companionCreativeIds = buildUnnamed449();
|
| - var arg_creativeFieldIds = buildUnnamed450();
|
| - var arg_ids = buildUnnamed451();
|
| + var arg_companionCreativeIds = buildUnnamed1250();
|
| + var arg_creativeFieldIds = buildUnnamed1251();
|
| + var arg_ids = buildUnnamed1252();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| - var arg_renderingIds = buildUnnamed452();
|
| + var arg_renderingIds = buildUnnamed1253();
|
| var arg_searchString = "foo";
|
| - var arg_sizeIds = buildUnnamed453();
|
| + var arg_sizeIds = buildUnnamed1254();
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| var arg_studioCreativeId = "foo";
|
| - var arg_types = buildUnnamed454();
|
| + var arg_types = buildUnnamed1255();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -13930,7 +15245,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14004,7 +15319,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14062,7 +15377,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14125,7 +15440,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14185,7 +15500,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14234,8 +15549,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).directorySiteContacts;
|
| var arg_profileId = "foo";
|
| - var arg_directorySiteIds = buildUnnamed455();
|
| - var arg_ids = buildUnnamed456();
|
| + var arg_directorySiteIds = buildUnnamed1256();
|
| + var arg_ids = buildUnnamed1257();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -14248,7 +15563,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14313,7 +15628,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14357,6 +15672,63 @@ main() {
|
| })));
|
| });
|
|
|
| + unittest.test("method--insert", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).directorySites;
|
| + var arg_request = buildDirectorySite();
|
| + var arg_profileId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.DirectorySite.fromJson(json);
|
| + checkDirectorySite(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/directorySites", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/directorySites"));
|
| + pathOffset += 15;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildDirectorySite());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.DirectorySite response) {
|
| + checkDirectorySite(response);
|
| + })));
|
| + });
|
| +
|
| unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| @@ -14368,7 +15740,7 @@ main() {
|
| var arg_active = true;
|
| var arg_countryId = "foo";
|
| var arg_dfpNetworkCode = "foo";
|
| - var arg_ids = buildUnnamed457();
|
| + var arg_ids = buildUnnamed1258();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_parentId = "foo";
|
| @@ -14382,7 +15754,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14453,7 +15825,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14508,7 +15880,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14568,7 +15940,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14619,8 +15991,8 @@ main() {
|
| var arg_campaignId = "foo";
|
| var arg_definitionsOnly = true;
|
| var arg_enabled = true;
|
| - var arg_eventTagTypes = buildUnnamed458();
|
| - var arg_ids = buildUnnamed459();
|
| + var arg_eventTagTypes = buildUnnamed1259();
|
| + var arg_ids = buildUnnamed1260();
|
| var arg_searchString = "foo";
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| @@ -14631,7 +16003,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14699,7 +16071,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14757,7 +16129,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14817,7 +16189,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("reports/"));
|
| pathOffset += 8;
|
| @@ -14878,7 +16250,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14941,7 +16313,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -14996,7 +16368,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15051,7 +16423,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15111,7 +16483,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15158,12 +16530,12 @@ main() {
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_profileId = "foo";
|
| var arg_advertiserId = "foo";
|
| - var arg_floodlightActivityGroupIds = buildUnnamed460();
|
| + var arg_floodlightActivityGroupIds = buildUnnamed1261();
|
| var arg_floodlightActivityGroupName = "foo";
|
| var arg_floodlightActivityGroupTagString = "foo";
|
| var arg_floodlightActivityGroupType = "foo";
|
| var arg_floodlightConfigurationId = "foo";
|
| - var arg_ids = buildUnnamed461();
|
| + var arg_ids = buildUnnamed1262();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -15177,7 +16549,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15248,7 +16620,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15306,7 +16678,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15364,7 +16736,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15419,7 +16791,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15479,7 +16851,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15527,7 +16899,7 @@ main() {
|
| var arg_profileId = "foo";
|
| var arg_advertiserId = "foo";
|
| var arg_floodlightConfigurationId = "foo";
|
| - var arg_ids = buildUnnamed462();
|
| + var arg_ids = buildUnnamed1263();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -15541,7 +16913,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15608,7 +16980,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15666,7 +17038,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15724,7 +17096,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15773,7 +17145,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed463();
|
| + var arg_ids = buildUnnamed1264();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -15781,7 +17153,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15840,7 +17212,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15898,7 +17270,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -15942,13 +17314,13 @@ main() {
|
| });
|
|
|
|
|
| - unittest.group("resource-LandingPagesResourceApi", () {
|
| - unittest.test("method--delete", () {
|
| + unittest.group("resource-InventoryItemsResourceApi", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| + api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventoryItems;
|
| var arg_profileId = "foo";
|
| - var arg_campaignId = "foo";
|
| + var arg_projectId = "foo";
|
| var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -15957,24 +17329,170 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/campaigns/", pathOffset);
|
| + index = path.indexOf("/projects/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/campaigns/"));
|
| - pathOffset += 11;
|
| - index = path.indexOf("/landingPages/", pathOffset);
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/projects/"));
|
| + pathOffset += 10;
|
| + index = path.indexOf("/inventoryItems/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_campaignId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals("/landingPages/"));
|
| - pathOffset += 14;
|
| + unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/inventoryItems/"));
|
| + pathOffset += 16;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildInventoryItem());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_projectId, arg_id).then(unittest.expectAsync(((api.InventoryItem response) {
|
| + checkInventoryItem(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventoryItems;
|
| + var arg_profileId = "foo";
|
| + var arg_projectId = "foo";
|
| + var arg_ids = buildUnnamed1265();
|
| + var arg_inPlan = true;
|
| + var arg_maxResults = 42;
|
| + var arg_orderId = buildUnnamed1266();
|
| + var arg_pageToken = "foo";
|
| + var arg_siteId = buildUnnamed1267();
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/projects/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/projects/"));
|
| + pathOffset += 10;
|
| + index = path.indexOf("/inventoryItems", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/inventoryItems"));
|
| + pathOffset += 15;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| + unittest.expect(queryMap["inPlan"].first, unittest.equals("$arg_inPlan"));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildInventoryItemsListResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_profileId, arg_projectId, ids: arg_ids, inPlan: arg_inPlan, maxResults: arg_maxResults, orderId: arg_orderId, pageToken: arg_pageToken, siteId: arg_siteId, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.InventoryItemsListResponse response) {
|
| + checkInventoryItemsListResponse(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-LandingPagesResourceApi", () {
|
| + unittest.test("method--delete", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| + var arg_profileId = "foo";
|
| + var arg_campaignId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/campaigns/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/campaigns/"));
|
| + pathOffset += 11;
|
| + index = path.indexOf("/landingPages/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_campaignId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals("/landingPages/"));
|
| + pathOffset += 14;
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| pathOffset = path.length;
|
| unittest.expect(subPart, unittest.equals("$arg_id"));
|
| @@ -16020,7 +17538,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -16088,7 +17606,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -16149,7 +17667,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -16215,7 +17733,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -16281,7 +17799,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -16345,7 +17863,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -16390,11 +17908,12 @@ main() {
|
|
|
|
|
| unittest.group("resource-MobileCarriersResourceApi", () {
|
| - unittest.test("method--list", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCarriers;
|
| var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -16402,17 +17921,20 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/mobileCarriers", pathOffset);
|
| + index = path.indexOf("/mobileCarriers/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/mobileCarriers"));
|
| - pathOffset += 15;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/mobileCarriers/"));
|
| + pathOffset += 16;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16435,22 +17957,18 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildMobileCarriersListResponse());
|
| + var resp = convert.JSON.encode(buildMobileCarrier());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId).then(unittest.expectAsync(((api.MobileCarriersListResponse response) {
|
| - checkMobileCarriersListResponse(response);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.MobileCarrier response) {
|
| + checkMobileCarrier(response);
|
| })));
|
| });
|
|
|
| - });
|
| -
|
| -
|
| - unittest.group("resource-OperatingSystemVersionsResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock).operatingSystemVersions;
|
| + api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCarriers;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -16459,17 +17977,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/operatingSystemVersions", pathOffset);
|
| + index = path.indexOf("/mobileCarriers", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.equals("/operatingSystemVersions"));
|
| - pathOffset += 24;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/mobileCarriers"));
|
| + pathOffset += 15;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16492,23 +18010,24 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildOperatingSystemVersionsListResponse());
|
| + var resp = convert.JSON.encode(buildMobileCarriersListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId).then(unittest.expectAsync(((api.OperatingSystemVersionsListResponse response) {
|
| - checkOperatingSystemVersionsListResponse(response);
|
| + res.list(arg_profileId).then(unittest.expectAsync(((api.MobileCarriersListResponse response) {
|
| + checkMobileCarriersListResponse(response);
|
| })));
|
| });
|
|
|
| });
|
|
|
|
|
| - unittest.group("resource-OperatingSystemsResourceApi", () {
|
| - unittest.test("method--list", () {
|
| + unittest.group("resource-OperatingSystemVersionsResourceApi", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operatingSystems;
|
| + api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock).operatingSystemVersions;
|
| var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -16516,17 +18035,20 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/operatingSystems", pathOffset);
|
| + index = path.indexOf("/operatingSystemVersions/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/operatingSystems"));
|
| - pathOffset += 17;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.equals("/operatingSystemVersions/"));
|
| + pathOffset += 25;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16549,24 +18071,19 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildOperatingSystemsListResponse());
|
| + var resp = convert.JSON.encode(buildOperatingSystemVersion());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId).then(unittest.expectAsync(((api.OperatingSystemsListResponse response) {
|
| - checkOperatingSystemsListResponse(response);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.OperatingSystemVersion response) {
|
| + checkOperatingSystemVersion(response);
|
| })));
|
| });
|
|
|
| - });
|
| -
|
| -
|
| - unittest.group("resource-PlacementGroupsResourceApi", () {
|
| - unittest.test("method--get", () {
|
| + unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| + api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock).operatingSystemVersions;
|
| var arg_profileId = "foo";
|
| - var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -16574,20 +18091,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementGroups/", pathOffset);
|
| + index = path.indexOf("/operatingSystemVersions", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/placementGroups/"));
|
| - pathOffset += 17;
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| - pathOffset = path.length;
|
| - unittest.expect(subPart, unittest.equals("$arg_id"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.equals("/operatingSystemVersions"));
|
| + pathOffset += 24;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16610,41 +18124,45 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementGroup());
|
| + var resp = convert.JSON.encode(buildOperatingSystemVersionsListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| - checkPlacementGroup(response);
|
| + res.list(arg_profileId).then(unittest.expectAsync(((api.OperatingSystemVersionsListResponse response) {
|
| + checkOperatingSystemVersionsListResponse(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--insert", () {
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-OperatingSystemsResourceApi", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| - var arg_request = buildPlacementGroup();
|
| + api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operatingSystems;
|
| var arg_profileId = "foo";
|
| + var arg_dartId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.PlacementGroup.fromJson(json);
|
| - checkPlacementGroup(obj);
|
| -
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementGroups", pathOffset);
|
| + index = path.indexOf("/operatingSystems/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| - pathOffset += 16;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("/operatingSystems/"));
|
| + pathOffset += 18;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_dartId"));
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16667,34 +18185,19 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementGroup());
|
| + var resp = convert.JSON.encode(buildOperatingSystem());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| - checkPlacementGroup(response);
|
| + res.get(arg_profileId, arg_dartId).then(unittest.expectAsync(((api.OperatingSystem response) {
|
| + checkOperatingSystem(response);
|
| })));
|
| });
|
|
|
| unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| + api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operatingSystems;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed464();
|
| - var arg_archived = true;
|
| - var arg_campaignIds = buildUnnamed465();
|
| - var arg_contentCategoryIds = buildUnnamed466();
|
| - var arg_directorySiteIds = buildUnnamed467();
|
| - var arg_ids = buildUnnamed468();
|
| - var arg_maxResults = 42;
|
| - var arg_pageToken = "foo";
|
| - var arg_placementGroupType = "foo";
|
| - var arg_placementStrategyIds = buildUnnamed469();
|
| - var arg_pricingTypes = buildUnnamed470();
|
| - var arg_searchString = "foo";
|
| - var arg_siteIds = buildUnnamed471();
|
| - var arg_sortField = "foo";
|
| - var arg_sortOrder = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -16702,17 +18205,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementGroups", pathOffset);
|
| + index = path.indexOf("/operatingSystems", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| - pathOffset += 16;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/operatingSystems"));
|
| + pathOffset += 17;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16730,44 +18233,1258 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
|
| - unittest.expect(queryMap["archived"].first, unittest.equals("$arg_archived"));
|
| - unittest.expect(queryMap["campaignIds"], unittest.equals(arg_campaignIds));
|
| - unittest.expect(queryMap["contentCategoryIds"], unittest.equals(arg_contentCategoryIds));
|
| - unittest.expect(queryMap["directorySiteIds"], unittest.equals(arg_directorySiteIds));
|
| - unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| - unittest.expect(queryMap["placementGroupType"].first, unittest.equals(arg_placementGroupType));
|
| - unittest.expect(queryMap["placementStrategyIds"], unittest.equals(arg_placementStrategyIds));
|
| - unittest.expect(queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
|
| - unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| - unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
|
| - unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| - unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementGroupsListResponse());
|
| + var resp = convert.JSON.encode(buildOperatingSystemsListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId, advertiserIds: arg_advertiserIds, archived: arg_archived, campaignIds: arg_campaignIds, contentCategoryIds: arg_contentCategoryIds, directorySiteIds: arg_directorySiteIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, placementGroupType: arg_placementGroupType, placementStrategyIds: arg_placementStrategyIds, pricingTypes: arg_pricingTypes, searchString: arg_searchString, siteIds: arg_siteIds, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.PlacementGroupsListResponse response) {
|
| - checkPlacementGroupsListResponse(response);
|
| + res.list(arg_profileId).then(unittest.expectAsync(((api.OperatingSystemsListResponse response) {
|
| + checkOperatingSystemsListResponse(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--patch", () {
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-OrderDocumentsResourceApi", () {
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDocuments;
|
| + var arg_profileId = "foo";
|
| + var arg_projectId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/projects/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/projects/"));
|
| + pathOffset += 10;
|
| + index = path.indexOf("/orderDocuments/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/orderDocuments/"));
|
| + pathOffset += 16;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOrderDocument());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_projectId, arg_id).then(unittest.expectAsync(((api.OrderDocument response) {
|
| + checkOrderDocument(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDocuments;
|
| + var arg_profileId = "foo";
|
| + var arg_projectId = "foo";
|
| + var arg_approved = true;
|
| + var arg_ids = buildUnnamed1268();
|
| + var arg_maxResults = 42;
|
| + var arg_orderId = buildUnnamed1269();
|
| + var arg_pageToken = "foo";
|
| + var arg_searchString = "foo";
|
| + var arg_siteId = buildUnnamed1270();
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/projects/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/projects/"));
|
| + pathOffset += 10;
|
| + index = path.indexOf("/orderDocuments", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/orderDocuments"));
|
| + pathOffset += 15;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["approved"].first, unittest.equals("$arg_approved"));
|
| + unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| + unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOrderDocumentsListResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_profileId, arg_projectId, approved: arg_approved, ids: arg_ids, maxResults: arg_maxResults, orderId: arg_orderId, pageToken: arg_pageToken, searchString: arg_searchString, siteId: arg_siteId, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.OrderDocumentsListResponse response) {
|
| + checkOrderDocumentsListResponse(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-OrdersResourceApi", () {
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
|
| + var arg_profileId = "foo";
|
| + var arg_projectId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/projects/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/projects/"));
|
| + pathOffset += 10;
|
| + index = path.indexOf("/orders/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/orders/"));
|
| + pathOffset += 8;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOrder());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_projectId, arg_id).then(unittest.expectAsync(((api.Order response) {
|
| + checkOrder(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
|
| + var arg_profileId = "foo";
|
| + var arg_projectId = "foo";
|
| + var arg_ids = buildUnnamed1271();
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| + var arg_searchString = "foo";
|
| + var arg_siteId = buildUnnamed1272();
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/projects/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/projects/"));
|
| + pathOffset += 10;
|
| + index = path.indexOf("/orders", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/orders"));
|
| + pathOffset += 7;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| + unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOrdersListResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_profileId, arg_projectId, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, siteId: arg_siteId, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.OrdersListResponse response) {
|
| + checkOrdersListResponse(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-PlacementGroupsResourceApi", () {
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementGroups/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/placementGroups/"));
|
| + pathOffset += 17;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementGroup());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| + checkPlacementGroup(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--insert", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| + var arg_request = buildPlacementGroup();
|
| + var arg_profileId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.PlacementGroup.fromJson(json);
|
| + checkPlacementGroup(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementGroups", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| + pathOffset += 16;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementGroup());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| + checkPlacementGroup(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| + var arg_profileId = "foo";
|
| + var arg_advertiserIds = buildUnnamed1273();
|
| + var arg_archived = true;
|
| + var arg_campaignIds = buildUnnamed1274();
|
| + var arg_contentCategoryIds = buildUnnamed1275();
|
| + var arg_directorySiteIds = buildUnnamed1276();
|
| + var arg_ids = buildUnnamed1277();
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| + var arg_placementGroupType = "foo";
|
| + var arg_placementStrategyIds = buildUnnamed1278();
|
| + var arg_pricingTypes = buildUnnamed1279();
|
| + var arg_searchString = "foo";
|
| + var arg_siteIds = buildUnnamed1280();
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementGroups", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| + pathOffset += 16;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
|
| + unittest.expect(queryMap["archived"].first, unittest.equals("$arg_archived"));
|
| + unittest.expect(queryMap["campaignIds"], unittest.equals(arg_campaignIds));
|
| + unittest.expect(queryMap["contentCategoryIds"], unittest.equals(arg_contentCategoryIds));
|
| + unittest.expect(queryMap["directorySiteIds"], unittest.equals(arg_directorySiteIds));
|
| + unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["placementGroupType"].first, unittest.equals(arg_placementGroupType));
|
| + unittest.expect(queryMap["placementStrategyIds"], unittest.equals(arg_placementStrategyIds));
|
| + unittest.expect(queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
|
| + unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| + unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementGroupsListResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_profileId, advertiserIds: arg_advertiserIds, archived: arg_archived, campaignIds: arg_campaignIds, contentCategoryIds: arg_contentCategoryIds, directorySiteIds: arg_directorySiteIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, placementGroupType: arg_placementGroupType, placementStrategyIds: arg_placementStrategyIds, pricingTypes: arg_pricingTypes, searchString: arg_searchString, siteIds: arg_siteIds, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.PlacementGroupsListResponse response) {
|
| + checkPlacementGroupsListResponse(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--patch", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| + var arg_request = buildPlacementGroup();
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.PlacementGroup.fromJson(json);
|
| + checkPlacementGroup(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementGroups", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| + pathOffset += 16;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementGroup());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| + checkPlacementGroup(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--update", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| + var arg_request = buildPlacementGroup();
|
| + var arg_profileId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.PlacementGroup.fromJson(json);
|
| + checkPlacementGroup(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementGroups", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| + pathOffset += 16;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementGroup());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| + checkPlacementGroup(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-PlacementStrategiesResourceApi", () {
|
| + unittest.test("method--delete", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementStrategies/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("/placementStrategies/"));
|
| + pathOffset += 21;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = "";
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.delete(arg_profileId, arg_id).then(unittest.expectAsync((_) {}));
|
| + });
|
| +
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementStrategies/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("/placementStrategies/"));
|
| + pathOffset += 21;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| + checkPlacementStrategy(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--insert", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + var arg_request = buildPlacementStrategy();
|
| + var arg_profileId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.PlacementStrategy.fromJson(json);
|
| + checkPlacementStrategy(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementStrategies", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| + pathOffset += 20;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| + checkPlacementStrategy(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + var arg_profileId = "foo";
|
| + var arg_ids = buildUnnamed1281();
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| + var arg_searchString = "foo";
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementStrategies", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| + pathOffset += 20;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementStrategiesListResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_profileId, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.PlacementStrategiesListResponse response) {
|
| + checkPlacementStrategiesListResponse(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--patch", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + var arg_request = buildPlacementStrategy();
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.PlacementStrategy.fromJson(json);
|
| + checkPlacementStrategy(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementStrategies", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| + pathOffset += 20;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| + checkPlacementStrategy(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--update", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + var arg_request = buildPlacementStrategy();
|
| + var arg_profileId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.PlacementStrategy.fromJson(json);
|
| + checkPlacementStrategy(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placementStrategies", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| + pathOffset += 20;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| + checkPlacementStrategy(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-PlacementsResourceApi", () {
|
| + unittest.test("method--generatetags", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + var arg_profileId = "foo";
|
| + var arg_campaignId = "foo";
|
| + var arg_placementIds = buildUnnamed1282();
|
| + var arg_tagFormats = buildUnnamed1283();
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placements/generatetags", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.equals("/placements/generatetags"));
|
| + pathOffset += 24;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["campaignId"].first, unittest.equals(arg_campaignId));
|
| + unittest.expect(queryMap["placementIds"], unittest.equals(arg_placementIds));
|
| + unittest.expect(queryMap["tagFormats"], unittest.equals(arg_tagFormats));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementsGenerateTagsResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.generatetags(arg_profileId, campaignId: arg_campaignId, placementIds: arg_placementIds, tagFormats: arg_tagFormats).then(unittest.expectAsync(((api.PlacementsGenerateTagsResponse response) {
|
| + checkPlacementsGenerateTagsResponse(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placements/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/placements/"));
|
| + pathOffset += 12;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacement());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Placement response) {
|
| + checkPlacement(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--insert", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + var arg_request = buildPlacement();
|
| + var arg_profileId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.Placement.fromJson(json);
|
| + checkPlacement(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placements", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| + pathOffset += 11;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacement());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Placement response) {
|
| + checkPlacement(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + var arg_profileId = "foo";
|
| + var arg_advertiserIds = buildUnnamed1284();
|
| + var arg_archived = true;
|
| + var arg_campaignIds = buildUnnamed1285();
|
| + var arg_compatibilities = buildUnnamed1286();
|
| + var arg_contentCategoryIds = buildUnnamed1287();
|
| + var arg_directorySiteIds = buildUnnamed1288();
|
| + var arg_groupIds = buildUnnamed1289();
|
| + var arg_ids = buildUnnamed1290();
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| + var arg_paymentSource = "foo";
|
| + var arg_placementStrategyIds = buildUnnamed1291();
|
| + var arg_pricingTypes = buildUnnamed1292();
|
| + var arg_searchString = "foo";
|
| + var arg_siteIds = buildUnnamed1293();
|
| + var arg_sizeIds = buildUnnamed1294();
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/placements", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| + pathOffset += 11;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
|
| + unittest.expect(queryMap["archived"].first, unittest.equals("$arg_archived"));
|
| + unittest.expect(queryMap["campaignIds"], unittest.equals(arg_campaignIds));
|
| + unittest.expect(queryMap["compatibilities"], unittest.equals(arg_compatibilities));
|
| + unittest.expect(queryMap["contentCategoryIds"], unittest.equals(arg_contentCategoryIds));
|
| + unittest.expect(queryMap["directorySiteIds"], unittest.equals(arg_directorySiteIds));
|
| + unittest.expect(queryMap["groupIds"], unittest.equals(arg_groupIds));
|
| + unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["paymentSource"].first, unittest.equals(arg_paymentSource));
|
| + unittest.expect(queryMap["placementStrategyIds"], unittest.equals(arg_placementStrategyIds));
|
| + unittest.expect(queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
|
| + unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| + unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
|
| + unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildPlacementsListResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_profileId, advertiserIds: arg_advertiserIds, archived: arg_archived, campaignIds: arg_campaignIds, compatibilities: arg_compatibilities, contentCategoryIds: arg_contentCategoryIds, directorySiteIds: arg_directorySiteIds, groupIds: arg_groupIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, paymentSource: arg_paymentSource, placementStrategyIds: arg_placementStrategyIds, pricingTypes: arg_pricingTypes, searchString: arg_searchString, siteIds: arg_siteIds, sizeIds: arg_sizeIds, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.PlacementsListResponse response) {
|
| + checkPlacementsListResponse(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--patch", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| - var arg_request = buildPlacementGroup();
|
| + api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + var arg_request = buildPlacement();
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.PlacementGroup.fromJson(json);
|
| - checkPlacementGroup(obj);
|
| + var obj = new api.Placement.fromJson(json);
|
| + checkPlacement(obj);
|
|
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -16775,17 +19492,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementGroups", pathOffset);
|
| + index = path.indexOf("/placements", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| - pathOffset += 16;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| + pathOffset += 11;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16809,23 +19526,23 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementGroup());
|
| + var resp = convert.JSON.encode(buildPlacement());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| - checkPlacementGroup(response);
|
| + res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Placement response) {
|
| + checkPlacement(response);
|
| })));
|
| });
|
|
|
| unittest.test("method--update", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| - var arg_request = buildPlacementGroup();
|
| + api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + var arg_request = buildPlacement();
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.PlacementGroup.fromJson(json);
|
| - checkPlacementGroup(obj);
|
| + var obj = new api.Placement.fromJson(json);
|
| + checkPlacement(obj);
|
|
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -16833,17 +19550,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementGroups", pathOffset);
|
| + index = path.indexOf("/placements", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/placementGroups"));
|
| - pathOffset += 16;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| + pathOffset += 11;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16866,22 +19583,22 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementGroup());
|
| + var resp = convert.JSON.encode(buildPlacement());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| - checkPlacementGroup(response);
|
| + res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Placement response) {
|
| + checkPlacement(response);
|
| })));
|
| });
|
|
|
| });
|
|
|
|
|
| - unittest.group("resource-PlacementStrategiesResourceApi", () {
|
| - unittest.test("method--delete", () {
|
| + unittest.group("resource-PlatformTypesResourceApi", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformTypes;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -16891,17 +19608,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementStrategies/", pathOffset);
|
| + index = path.indexOf("/platformTypes/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("/placementStrategies/"));
|
| - pathOffset += 21;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/platformTypes/"));
|
| + pathOffset += 15;
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| pathOffset = path.length;
|
| unittest.expect(subPart, unittest.equals("$arg_id"));
|
| @@ -16927,18 +19644,19 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = "";
|
| + var resp = convert.JSON.encode(buildPlatformType());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_profileId, arg_id).then(unittest.expectAsync((_) {}));
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.PlatformType response) {
|
| + checkPlatformType(response);
|
| + })));
|
| });
|
|
|
| - unittest.test("method--get", () {
|
| + unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformTypes;
|
| var arg_profileId = "foo";
|
| - var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -16946,20 +19664,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementStrategies/", pathOffset);
|
| + index = path.indexOf("/platformTypes", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("/placementStrategies/"));
|
| - pathOffset += 21;
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| - pathOffset = path.length;
|
| - unittest.expect(subPart, unittest.equals("$arg_id"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals("/platformTypes"));
|
| + pathOffset += 14;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -16982,41 +19697,45 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + var resp = convert.JSON.encode(buildPlatformTypesListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| - checkPlacementStrategy(response);
|
| + res.list(arg_profileId).then(unittest.expectAsync(((api.PlatformTypesListResponse response) {
|
| + checkPlatformTypesListResponse(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--insert", () {
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-PostalCodesResourceApi", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| - var arg_request = buildPlacementStrategy();
|
| + api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes;
|
| var arg_profileId = "foo";
|
| + var arg_code = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.PlacementStrategy.fromJson(json);
|
| - checkPlacementStrategy(obj);
|
| -
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementStrategies", pathOffset);
|
| + index = path.indexOf("/postalCodes/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| - pathOffset += 20;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("/postalCodes/"));
|
| + pathOffset += 13;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_code"));
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17039,25 +19758,19 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + var resp = convert.JSON.encode(buildPostalCode());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| - checkPlacementStrategy(response);
|
| + res.get(arg_profileId, arg_code).then(unittest.expectAsync(((api.PostalCode response) {
|
| + checkPostalCode(response);
|
| })));
|
| });
|
|
|
| unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| + api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed472();
|
| - var arg_maxResults = 42;
|
| - var arg_pageToken = "foo";
|
| - var arg_searchString = "foo";
|
| - var arg_sortField = "foo";
|
| - var arg_sortOrder = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -17065,17 +19778,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementStrategies", pathOffset);
|
| + index = path.indexOf("/postalCodes", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| - pathOffset += 20;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/postalCodes"));
|
| + pathOffset += 12;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17093,53 +19806,50 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| - unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| - unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| - unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementStrategiesListResponse());
|
| + var resp = convert.JSON.encode(buildPostalCodesListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.PlacementStrategiesListResponse response) {
|
| - checkPlacementStrategiesListResponse(response);
|
| + res.list(arg_profileId).then(unittest.expectAsync(((api.PostalCodesListResponse response) {
|
| + checkPostalCodesListResponse(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--patch", () {
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-ProjectsResourceApi", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| - var arg_request = buildPlacementStrategy();
|
| + api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.PlacementStrategy.fromJson(json);
|
| - checkPlacementStrategy(obj);
|
| -
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementStrategies", pathOffset);
|
| + index = path.indexOf("/projects/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| - pathOffset += 20;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/projects/"));
|
| + pathOffset += 10;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17157,47 +19867,49 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + var resp = convert.JSON.encode(buildProject());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| - checkPlacementStrategy(response);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Project response) {
|
| + checkProject(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--update", () {
|
| + unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| - var arg_request = buildPlacementStrategy();
|
| + api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
|
| var arg_profileId = "foo";
|
| + var arg_advertiserIds = buildUnnamed1295();
|
| + var arg_ids = buildUnnamed1296();
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| + var arg_searchString = "foo";
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.PlacementStrategy.fromJson(json);
|
| - checkPlacementStrategy(obj);
|
| -
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placementStrategies", pathOffset);
|
| + index = path.indexOf("/projects", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/placementStrategies"));
|
| - pathOffset += 20;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/projects"));
|
| + pathOffset += 9;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17215,31 +19927,35 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
|
| + unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementStrategy());
|
| + var resp = convert.JSON.encode(buildProjectsListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| - checkPlacementStrategy(response);
|
| + res.list(arg_profileId, advertiserIds: arg_advertiserIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.ProjectsListResponse response) {
|
| + checkProjectsListResponse(response);
|
| })));
|
| });
|
|
|
| });
|
|
|
|
|
| - unittest.group("resource-PlacementsResourceApi", () {
|
| - unittest.test("method--generatetags", () {
|
| + unittest.group("resource-RegionsResourceApi", () {
|
| + unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + api.RegionsResourceApi res = new api.DfareportingApi(mock).regions;
|
| var arg_profileId = "foo";
|
| - var arg_campaignId = "foo";
|
| - var arg_placementIds = buildUnnamed473();
|
| - var arg_tagFormats = buildUnnamed474();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -17247,17 +19963,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placements/generatetags", pathOffset);
|
| + index = path.indexOf("/regions", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.equals("/placements/generatetags"));
|
| - pathOffset += 24;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/regions"));
|
| + pathOffset += 8;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17275,28 +19991,29 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["campaignId"].first, unittest.equals(arg_campaignId));
|
| - unittest.expect(queryMap["placementIds"], unittest.equals(arg_placementIds));
|
| - unittest.expect(queryMap["tagFormats"], unittest.equals(arg_tagFormats));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementsGenerateTagsResponse());
|
| + var resp = convert.JSON.encode(buildRegionsListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.generatetags(arg_profileId, campaignId: arg_campaignId, placementIds: arg_placementIds, tagFormats: arg_tagFormats).then(unittest.expectAsync(((api.PlacementsGenerateTagsResponse response) {
|
| - checkPlacementsGenerateTagsResponse(response);
|
| + res.list(arg_profileId).then(unittest.expectAsync(((api.RegionsListResponse response) {
|
| + checkRegionsListResponse(response);
|
| })));
|
| });
|
|
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-RemarketingListSharesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).remarketingListShares;
|
| var arg_profileId = "foo";
|
| - var arg_id = "foo";
|
| + var arg_remarketingListId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -17304,20 +20021,20 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placements/", pathOffset);
|
| + index = path.indexOf("/remarketingListShares/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/placements/"));
|
| - pathOffset += 12;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.equals("/remarketingListShares/"));
|
| + pathOffset += 23;
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| pathOffset = path.length;
|
| - unittest.expect(subPart, unittest.equals("$arg_id"));
|
| + unittest.expect(subPart, unittest.equals("$arg_remarketingListId"));
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17340,23 +20057,24 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacement());
|
| + var resp = convert.JSON.encode(buildRemarketingListShare());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Placement response) {
|
| - checkPlacement(response);
|
| + res.get(arg_profileId, arg_remarketingListId).then(unittest.expectAsync(((api.RemarketingListShare response) {
|
| + checkRemarketingListShare(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--insert", () {
|
| + unittest.test("method--patch", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| - var arg_request = buildPlacement();
|
| + api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).remarketingListShares;
|
| + var arg_request = buildRemarketingListShare();
|
| var arg_profileId = "foo";
|
| + var arg_remarketingListId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.Placement.fromJson(json);
|
| - checkPlacement(obj);
|
| + var obj = new api.RemarketingListShare.fromJson(json);
|
| + checkRemarketingListShare(obj);
|
|
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -17364,17 +20082,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placements", pathOffset);
|
| + index = path.indexOf("/remarketingListShares", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| - pathOffset += 11;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.equals("/remarketingListShares"));
|
| + pathOffset += 22;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17392,60 +20110,47 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["remarketingListId"].first, unittest.equals(arg_remarketingListId));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacement());
|
| + var resp = convert.JSON.encode(buildRemarketingListShare());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Placement response) {
|
| - checkPlacement(response);
|
| + res.patch(arg_request, arg_profileId, arg_remarketingListId).then(unittest.expectAsync(((api.RemarketingListShare response) {
|
| + checkRemarketingListShare(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--list", () {
|
| + unittest.test("method--update", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| + api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).remarketingListShares;
|
| + var arg_request = buildRemarketingListShare();
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed475();
|
| - var arg_archived = true;
|
| - var arg_campaignIds = buildUnnamed476();
|
| - var arg_compatibilities = buildUnnamed477();
|
| - var arg_contentCategoryIds = buildUnnamed478();
|
| - var arg_directorySiteIds = buildUnnamed479();
|
| - var arg_groupIds = buildUnnamed480();
|
| - var arg_ids = buildUnnamed481();
|
| - var arg_maxResults = 42;
|
| - var arg_pageToken = "foo";
|
| - var arg_paymentSource = "foo";
|
| - var arg_placementStrategyIds = buildUnnamed482();
|
| - var arg_pricingTypes = buildUnnamed483();
|
| - var arg_searchString = "foo";
|
| - var arg_siteIds = buildUnnamed484();
|
| - var arg_sizeIds = buildUnnamed485();
|
| - var arg_sortField = "foo";
|
| - var arg_sortOrder = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.RemarketingListShare.fromJson(json);
|
| + checkRemarketingListShare(obj);
|
| +
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placements", pathOffset);
|
| + index = path.indexOf("/remarketingListShares", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| - pathOffset += 11;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.equals("/remarketingListShares"));
|
| + pathOffset += 22;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17463,65 +20168,50 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
|
| - unittest.expect(queryMap["archived"].first, unittest.equals("$arg_archived"));
|
| - unittest.expect(queryMap["campaignIds"], unittest.equals(arg_campaignIds));
|
| - unittest.expect(queryMap["compatibilities"], unittest.equals(arg_compatibilities));
|
| - unittest.expect(queryMap["contentCategoryIds"], unittest.equals(arg_contentCategoryIds));
|
| - unittest.expect(queryMap["directorySiteIds"], unittest.equals(arg_directorySiteIds));
|
| - unittest.expect(queryMap["groupIds"], unittest.equals(arg_groupIds));
|
| - unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
|
| - unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| - unittest.expect(queryMap["paymentSource"].first, unittest.equals(arg_paymentSource));
|
| - unittest.expect(queryMap["placementStrategyIds"], unittest.equals(arg_placementStrategyIds));
|
| - unittest.expect(queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
|
| - unittest.expect(queryMap["searchString"].first, unittest.equals(arg_searchString));
|
| - unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
|
| - unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
|
| - unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| - unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacementsListResponse());
|
| + var resp = convert.JSON.encode(buildRemarketingListShare());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId, advertiserIds: arg_advertiserIds, archived: arg_archived, campaignIds: arg_campaignIds, compatibilities: arg_compatibilities, contentCategoryIds: arg_contentCategoryIds, directorySiteIds: arg_directorySiteIds, groupIds: arg_groupIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, paymentSource: arg_paymentSource, placementStrategyIds: arg_placementStrategyIds, pricingTypes: arg_pricingTypes, searchString: arg_searchString, siteIds: arg_siteIds, sizeIds: arg_sizeIds, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.PlacementsListResponse response) {
|
| - checkPlacementsListResponse(response);
|
| + res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.RemarketingListShare response) {
|
| + checkRemarketingListShare(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--patch", () {
|
| + });
|
| +
|
| +
|
| + unittest.group("resource-RemarketingListsResourceApi", () {
|
| + unittest.test("method--get", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| - var arg_request = buildPlacement();
|
| + api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remarketingLists;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.Placement.fromJson(json);
|
| - checkPlacement(obj);
|
| -
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placements", pathOffset);
|
| + index = path.indexOf("/remarketingLists/", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| - pathOffset += 11;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("/remarketingLists/"));
|
| + pathOffset += 18;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17539,29 +20229,28 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacement());
|
| + var resp = convert.JSON.encode(buildRemarketingList());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Placement response) {
|
| - checkPlacement(response);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.RemarketingList response) {
|
| + checkRemarketingList(response);
|
| })));
|
| });
|
|
|
| - unittest.test("method--update", () {
|
| + unittest.test("method--insert", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| - var arg_request = buildPlacement();
|
| + api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remarketingLists;
|
| + var arg_request = buildRemarketingList();
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.Placement.fromJson(json);
|
| - checkPlacement(obj);
|
| + var obj = new api.RemarketingList.fromJson(json);
|
| + checkRemarketingList(obj);
|
|
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -17569,17 +20258,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/placements", pathOffset);
|
| + index = path.indexOf("/remarketingLists", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/placements"));
|
| - pathOffset += 11;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/remarketingLists"));
|
| + pathOffset += 17;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17602,23 +20291,27 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlacement());
|
| + var resp = convert.JSON.encode(buildRemarketingList());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Placement response) {
|
| - checkPlacement(response);
|
| + res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.RemarketingList response) {
|
| + checkRemarketingList(response);
|
| })));
|
| });
|
|
|
| - });
|
| -
|
| -
|
| - unittest.group("resource-PlatformTypesResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformTypes;
|
| + api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remarketingLists;
|
| var arg_profileId = "foo";
|
| + var arg_advertiserId = "foo";
|
| + var arg_active = true;
|
| + var arg_floodlightActivityId = "foo";
|
| + var arg_maxResults = 42;
|
| + var arg_name = "foo";
|
| + var arg_pageToken = "foo";
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -17626,17 +20319,17 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/platformTypes", pathOffset);
|
| + index = path.indexOf("/remarketingLists", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals("/platformTypes"));
|
| - pathOffset += 14;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/remarketingLists"));
|
| + pathOffset += 17;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17654,46 +20347,55 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
|
| + unittest.expect(queryMap["active"].first, unittest.equals("$arg_active"));
|
| + unittest.expect(queryMap["floodlightActivityId"].first, unittest.equals(arg_floodlightActivityId));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPlatformTypesListResponse());
|
| + var resp = convert.JSON.encode(buildRemarketingListsListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId).then(unittest.expectAsync(((api.PlatformTypesListResponse response) {
|
| - checkPlatformTypesListResponse(response);
|
| + res.list(arg_profileId, arg_advertiserId, active: arg_active, floodlightActivityId: arg_floodlightActivityId, maxResults: arg_maxResults, name: arg_name, pageToken: arg_pageToken, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.RemarketingListsListResponse response) {
|
| + checkRemarketingListsListResponse(response);
|
| })));
|
| });
|
|
|
| - });
|
| -
|
| -
|
| - unittest.group("resource-PostalCodesResourceApi", () {
|
| - unittest.test("method--list", () {
|
| + unittest.test("method--patch", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes;
|
| + api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remarketingLists;
|
| + var arg_request = buildRemarketingList();
|
| var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.RemarketingList.fromJson(json);
|
| + checkRemarketingList(obj);
|
| +
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/postalCodes", pathOffset);
|
| + index = path.indexOf("/remarketingLists", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/postalCodes"));
|
| - pathOffset += 12;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/remarketingLists"));
|
| + pathOffset += 17;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17711,46 +20413,47 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
|
|
|
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildPostalCodesListResponse());
|
| + var resp = convert.JSON.encode(buildRemarketingList());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId).then(unittest.expectAsync(((api.PostalCodesListResponse response) {
|
| - checkPostalCodesListResponse(response);
|
| + res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.RemarketingList response) {
|
| + checkRemarketingList(response);
|
| })));
|
| });
|
|
|
| - });
|
| -
|
| -
|
| - unittest.group("resource-RegionsResourceApi", () {
|
| - unittest.test("method--list", () {
|
| + unittest.test("method--update", () {
|
|
|
| var mock = new HttpServerMock();
|
| - api.RegionsResourceApi res = new api.DfareportingApi(mock).regions;
|
| + api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remarketingLists;
|
| + var arg_request = buildRemarketingList();
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.RemarketingList.fromJson(json);
|
| + checkRemarketingList(obj);
|
| +
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| - index = path.indexOf("/regions", pathOffset);
|
| + index = path.indexOf("/remarketingLists", pathOffset);
|
| unittest.expect(index >= 0, unittest.isTrue);
|
| subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| pathOffset = index;
|
| unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("/regions"));
|
| - pathOffset += 8;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/remarketingLists"));
|
| + pathOffset += 17;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -17773,11 +20476,11 @@ main() {
|
| var h = {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| - var resp = convert.JSON.encode(buildRegionsListResponse());
|
| + var resp = convert.JSON.encode(buildRemarketingList());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_profileId).then(unittest.expectAsync(((api.RegionsListResponse response) {
|
| - checkRegionsListResponse(response);
|
| + res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.RemarketingList response) {
|
| + checkRemarketingList(response);
|
| })));
|
| });
|
|
|
| @@ -17798,7 +20501,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -17853,7 +20556,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -17913,7 +20616,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -17971,7 +20674,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18034,7 +20737,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18092,7 +20795,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18158,7 +20861,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18222,7 +20925,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18283,7 +20986,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18351,7 +21054,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18420,7 +21123,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18480,7 +21183,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18531,9 +21234,9 @@ main() {
|
| var arg_acceptsPublisherPaidPlacements = true;
|
| var arg_adWordsSite = true;
|
| var arg_approved = true;
|
| - var arg_campaignIds = buildUnnamed486();
|
| - var arg_directorySiteIds = buildUnnamed487();
|
| - var arg_ids = buildUnnamed488();
|
| + var arg_campaignIds = buildUnnamed1297();
|
| + var arg_directorySiteIds = buildUnnamed1298();
|
| + var arg_ids = buildUnnamed1299();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -18548,7 +21251,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18621,7 +21324,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18679,7 +21382,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18737,7 +21440,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18797,7 +21500,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18845,7 +21548,7 @@ main() {
|
| var arg_profileId = "foo";
|
| var arg_height = 42;
|
| var arg_iabStandard = true;
|
| - var arg_ids = buildUnnamed489();
|
| + var arg_ids = buildUnnamed1300();
|
| var arg_width = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -18854,7 +21557,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18916,7 +21619,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -18976,7 +21679,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19022,7 +21725,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed490();
|
| + var arg_ids = buildUnnamed1301();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -19035,7 +21738,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19099,7 +21802,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19157,7 +21860,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19201,6 +21904,134 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("resource-TargetableRemarketingListsResourceApi", () {
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mock).targetableRemarketingLists;
|
| + var arg_profileId = "foo";
|
| + var arg_id = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/targetableRemarketingLists/", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.equals("/targetableRemarketingLists/"));
|
| + pathOffset += 28;
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| + pathOffset = path.length;
|
| + unittest.expect(subPart, unittest.equals("$arg_id"));
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildTargetableRemarketingList());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.TargetableRemarketingList response) {
|
| + checkTargetableRemarketingList(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mock).targetableRemarketingLists;
|
| + var arg_profileId = "foo";
|
| + var arg_advertiserId = "foo";
|
| + var arg_active = true;
|
| + var arg_maxResults = 42;
|
| + var arg_name = "foo";
|
| + var arg_pageToken = "foo";
|
| + var arg_sortField = "foo";
|
| + var arg_sortOrder = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| + pathOffset += 18;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| + pathOffset += 13;
|
| + index = path.indexOf("/targetableRemarketingLists", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_profileId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.equals("/targetableRemarketingLists"));
|
| + pathOffset += 27;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
|
| + unittest.expect(queryMap["active"].first, unittest.equals("$arg_active"));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortField));
|
| + unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildTargetableRemarketingListsListResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_profileId, arg_advertiserId, active: arg_active, maxResults: arg_maxResults, name: arg_name, pageToken: arg_pageToken, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.TargetableRemarketingListsListResponse response) {
|
| + checkTargetableRemarketingListsListResponse(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| unittest.group("resource-UserProfilesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| @@ -19214,7 +22045,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19262,7 +22093,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("userprofiles"));
|
| pathOffset += 12;
|
| @@ -19313,7 +22144,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19369,7 +22200,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19427,7 +22258,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19476,7 +22307,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).userRolePermissions;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed491();
|
| + var arg_ids = buildUnnamed1302();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -19484,7 +22315,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19543,7 +22374,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19598,7 +22429,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19658,7 +22489,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19705,7 +22536,7 @@ main() {
|
| api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
|
| var arg_profileId = "foo";
|
| var arg_accountUserRoleOnly = true;
|
| - var arg_ids = buildUnnamed492();
|
| + var arg_ids = buildUnnamed1303();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -19719,7 +22550,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19785,7 +22616,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
| @@ -19843,7 +22674,7 @@ main() {
|
| var subPart;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.0/"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("dfareporting/v2.1/"));
|
| pathOffset += 18;
|
| unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("userprofiles/"));
|
| pathOffset += 13;
|
|
|