| Index: generated/googleapis/test/dfareporting/v2_0_test.dart
|
| diff --git a/generated/googleapis/test/dfareporting/v2_0_test.dart b/generated/googleapis/test/dfareporting/v2_0_test.dart
|
| index 853b7390d40cc0c4bf3bc4ae4ece872863afc3b3..42744e29a219e6b656a4ccb090f6be4fe11c6bfd 100644
|
| --- a/generated/googleapis/test/dfareporting/v2_0_test.dart
|
| +++ b/generated/googleapis/test/dfareporting/v2_0_test.dart
|
| @@ -8,35 +8,70 @@ import "dart:convert" as convert;
|
| 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/common/common.dart' as common;
|
| -import 'package:googleapis/src/common_internal.dart' as common_internal;
|
| -import '../common/common_internal_test.dart' as common_test;
|
|
|
| import 'package:googleapis/dfareporting/v2_0.dart' as api;
|
|
|
| +class HttpServerMock extends http.BaseClient {
|
| + core.Function _callback;
|
| + core.bool _expectJson;
|
|
|
| + void register(core.Function callback, core.bool expectJson) {
|
| + _callback = callback;
|
| + _expectJson = expectJson;
|
| + }
|
| +
|
| + async.Future<http.StreamedResponse> send(http.BaseRequest request) {
|
| + if (_expectJson) {
|
| + return request.finalize()
|
| + .transform(convert.UTF8.decoder)
|
| + .join('')
|
| + .then((core.String jsonString) {
|
| + if (jsonString.isEmpty) {
|
| + return _callback(request, null);
|
| + } else {
|
| + return _callback(request, convert.JSON.decode(jsonString));
|
| + }
|
| + });
|
| + } else {
|
| + var stream = request.finalize();
|
| + if (stream == null) {
|
| + return _callback(request, []);
|
| + } else {
|
| + return stream.toBytes().then((data) {
|
| + return _callback(request, data);
|
| + });
|
| + }
|
| + }
|
| + }
|
| +}
|
| +
|
| +http.StreamedResponse stringResponse(
|
| + core.int status, core.Map headers, core.String body) {
|
| + var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
|
| + return new http.StreamedResponse(stream, status, headers: headers);
|
| +}
|
|
|
| -buildUnnamed284() {
|
| +buildUnnamed697() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed284(core.List<core.String> o) {
|
| +checkUnnamed697(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'));
|
| }
|
|
|
| -buildUnnamed285() {
|
| +buildUnnamed698() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed285(core.List<core.String> o) {
|
| +checkUnnamed698(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'));
|
| @@ -47,12 +82,12 @@ buildAccount() {
|
| var o = new api.Account();
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - o.accountPermissionIds = buildUnnamed284();
|
| + o.accountPermissionIds = buildUnnamed697();
|
| o.accountProfile = "foo";
|
| o.active = true;
|
| o.activeAdsLimitTier = "foo";
|
| o.activeViewOptOut = true;
|
| - o.availablePermissionIds = buildUnnamed285();
|
| + o.availablePermissionIds = buildUnnamed698();
|
| o.comscoreVceEnabled = true;
|
| o.countryId = "foo";
|
| o.currencyId = "foo";
|
| @@ -74,12 +109,12 @@ buildAccount() {
|
| checkAccount(api.Account o) {
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - checkUnnamed284(o.accountPermissionIds);
|
| + checkUnnamed697(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);
|
| - checkUnnamed285(o.availablePermissionIds);
|
| + checkUnnamed698(o.availablePermissionIds);
|
| unittest.expect(o.comscoreVceEnabled, unittest.isTrue);
|
| unittest.expect(o.countryId, unittest.equals('foo'));
|
| unittest.expect(o.currencyId, unittest.equals('foo'));
|
| @@ -124,14 +159,14 @@ checkAccountActiveAdSummary(api.AccountActiveAdSummary o) {
|
| buildCounterAccountActiveAdSummary--;
|
| }
|
|
|
| -buildUnnamed286() {
|
| +buildUnnamed699() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed286(core.List<core.String> o) {
|
| +checkUnnamed699(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'));
|
| @@ -142,7 +177,7 @@ buildAccountPermission() {
|
| var o = new api.AccountPermission();
|
| buildCounterAccountPermission++;
|
| if (buildCounterAccountPermission < 3) {
|
| - o.accountProfiles = buildUnnamed286();
|
| + o.accountProfiles = buildUnnamed699();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.level = "foo";
|
| @@ -156,7 +191,7 @@ buildAccountPermission() {
|
| checkAccountPermission(api.AccountPermission o) {
|
| buildCounterAccountPermission++;
|
| if (buildCounterAccountPermission < 3) {
|
| - checkUnnamed286(o.accountProfiles);
|
| + checkUnnamed699(o.accountProfiles);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.level, unittest.equals('foo'));
|
| @@ -189,14 +224,14 @@ checkAccountPermissionGroup(api.AccountPermissionGroup o) {
|
| buildCounterAccountPermissionGroup--;
|
| }
|
|
|
| -buildUnnamed287() {
|
| +buildUnnamed700() {
|
| var o = new core.List<api.AccountPermissionGroup>();
|
| o.add(buildAccountPermissionGroup());
|
| o.add(buildAccountPermissionGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed287(core.List<api.AccountPermissionGroup> o) {
|
| +checkUnnamed700(core.List<api.AccountPermissionGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountPermissionGroup(o[0]);
|
| checkAccountPermissionGroup(o[1]);
|
| @@ -207,7 +242,7 @@ buildAccountPermissionGroupsListResponse() {
|
| var o = new api.AccountPermissionGroupsListResponse();
|
| buildCounterAccountPermissionGroupsListResponse++;
|
| if (buildCounterAccountPermissionGroupsListResponse < 3) {
|
| - o.accountPermissionGroups = buildUnnamed287();
|
| + o.accountPermissionGroups = buildUnnamed700();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountPermissionGroupsListResponse--;
|
| @@ -217,20 +252,20 @@ buildAccountPermissionGroupsListResponse() {
|
| checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse o) {
|
| buildCounterAccountPermissionGroupsListResponse++;
|
| if (buildCounterAccountPermissionGroupsListResponse < 3) {
|
| - checkUnnamed287(o.accountPermissionGroups);
|
| + checkUnnamed700(o.accountPermissionGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountPermissionGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed288() {
|
| +buildUnnamed701() {
|
| var o = new core.List<api.AccountPermission>();
|
| o.add(buildAccountPermission());
|
| o.add(buildAccountPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed288(core.List<api.AccountPermission> o) {
|
| +checkUnnamed701(core.List<api.AccountPermission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountPermission(o[0]);
|
| checkAccountPermission(o[1]);
|
| @@ -241,7 +276,7 @@ buildAccountPermissionsListResponse() {
|
| var o = new api.AccountPermissionsListResponse();
|
| buildCounterAccountPermissionsListResponse++;
|
| if (buildCounterAccountPermissionsListResponse < 3) {
|
| - o.accountPermissions = buildUnnamed288();
|
| + o.accountPermissions = buildUnnamed701();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountPermissionsListResponse--;
|
| @@ -251,7 +286,7 @@ buildAccountPermissionsListResponse() {
|
| checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
|
| buildCounterAccountPermissionsListResponse++;
|
| if (buildCounterAccountPermissionsListResponse < 3) {
|
| - checkUnnamed288(o.accountPermissions);
|
| + checkUnnamed701(o.accountPermissions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountPermissionsListResponse--;
|
| @@ -306,14 +341,14 @@ checkAccountUserProfile(api.AccountUserProfile o) {
|
| buildCounterAccountUserProfile--;
|
| }
|
|
|
| -buildUnnamed289() {
|
| +buildUnnamed702() {
|
| var o = new core.List<api.AccountUserProfile>();
|
| o.add(buildAccountUserProfile());
|
| o.add(buildAccountUserProfile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed289(core.List<api.AccountUserProfile> o) {
|
| +checkUnnamed702(core.List<api.AccountUserProfile> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountUserProfile(o[0]);
|
| checkAccountUserProfile(o[1]);
|
| @@ -324,7 +359,7 @@ buildAccountUserProfilesListResponse() {
|
| var o = new api.AccountUserProfilesListResponse();
|
| buildCounterAccountUserProfilesListResponse++;
|
| if (buildCounterAccountUserProfilesListResponse < 3) {
|
| - o.accountUserProfiles = buildUnnamed289();
|
| + o.accountUserProfiles = buildUnnamed702();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -335,21 +370,21 @@ buildAccountUserProfilesListResponse() {
|
| checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
|
| buildCounterAccountUserProfilesListResponse++;
|
| if (buildCounterAccountUserProfilesListResponse < 3) {
|
| - checkUnnamed289(o.accountUserProfiles);
|
| + checkUnnamed702(o.accountUserProfiles);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterAccountUserProfilesListResponse--;
|
| }
|
|
|
| -buildUnnamed290() {
|
| +buildUnnamed703() {
|
| var o = new core.List<api.Account>();
|
| o.add(buildAccount());
|
| o.add(buildAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed290(core.List<api.Account> o) {
|
| +checkUnnamed703(core.List<api.Account> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccount(o[0]);
|
| checkAccount(o[1]);
|
| @@ -360,7 +395,7 @@ buildAccountsListResponse() {
|
| var o = new api.AccountsListResponse();
|
| buildCounterAccountsListResponse++;
|
| if (buildCounterAccountsListResponse < 3) {
|
| - o.accounts = buildUnnamed290();
|
| + o.accounts = buildUnnamed703();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -371,34 +406,34 @@ buildAccountsListResponse() {
|
| checkAccountsListResponse(api.AccountsListResponse o) {
|
| buildCounterAccountsListResponse++;
|
| if (buildCounterAccountsListResponse < 3) {
|
| - checkUnnamed290(o.accounts);
|
| + checkUnnamed703(o.accounts);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterAccountsListResponse--;
|
| }
|
|
|
| -buildUnnamed291() {
|
| +buildUnnamed704() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed291(core.List<api.DimensionValue> o) {
|
| +checkUnnamed704(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed292() {
|
| +buildUnnamed705() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed292(core.List<core.String> o) {
|
| +checkUnnamed705(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'));
|
| @@ -409,9 +444,9 @@ buildActivities() {
|
| var o = new api.Activities();
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| - o.filters = buildUnnamed291();
|
| + o.filters = buildUnnamed704();
|
| o.kind = "foo";
|
| - o.metricNames = buildUnnamed292();
|
| + o.metricNames = buildUnnamed705();
|
| }
|
| buildCounterActivities--;
|
| return o;
|
| @@ -420,47 +455,47 @@ buildActivities() {
|
| checkActivities(api.Activities o) {
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| - checkUnnamed291(o.filters);
|
| + checkUnnamed704(o.filters);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed292(o.metricNames);
|
| + checkUnnamed705(o.metricNames);
|
| }
|
| buildCounterActivities--;
|
| }
|
|
|
| -buildUnnamed293() {
|
| +buildUnnamed706() {
|
| var o = new core.List<api.CreativeGroupAssignment>();
|
| o.add(buildCreativeGroupAssignment());
|
| o.add(buildCreativeGroupAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed293(core.List<api.CreativeGroupAssignment> o) {
|
| +checkUnnamed706(core.List<api.CreativeGroupAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeGroupAssignment(o[0]);
|
| checkCreativeGroupAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed294() {
|
| +buildUnnamed707() {
|
| var o = new core.List<api.EventTagOverride>();
|
| o.add(buildEventTagOverride());
|
| o.add(buildEventTagOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed294(core.List<api.EventTagOverride> o) {
|
| +checkUnnamed707(core.List<api.EventTagOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEventTagOverride(o[0]);
|
| checkEventTagOverride(o[1]);
|
| }
|
|
|
| -buildUnnamed295() {
|
| +buildUnnamed708() {
|
| var o = new core.List<api.PlacementAssignment>();
|
| o.add(buildPlacementAssignment());
|
| o.add(buildPlacementAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed295(core.List<api.PlacementAssignment> o) {
|
| +checkUnnamed708(core.List<api.PlacementAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementAssignment(o[0]);
|
| checkPlacementAssignment(o[1]);
|
| @@ -484,14 +519,14 @@ buildAd() {
|
| o.comments = "foo";
|
| o.compatibility = "foo";
|
| o.createInfo = buildLastModifiedInfo();
|
| - o.creativeGroupAssignments = buildUnnamed293();
|
| + o.creativeGroupAssignments = buildUnnamed706();
|
| 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 = buildUnnamed294();
|
| + o.eventTagOverrides = buildUnnamed707();
|
| o.geoTargeting = buildGeoTargeting();
|
| o.id = "foo";
|
| o.idDimensionValue = buildDimensionValue();
|
| @@ -499,7 +534,7 @@ buildAd() {
|
| o.kind = "foo";
|
| o.lastModifiedInfo = buildLastModifiedInfo();
|
| o.name = "foo";
|
| - o.placementAssignments = buildUnnamed295();
|
| + o.placementAssignments = buildUnnamed708();
|
| o.remarketingListExpression = buildListTargetingExpression();
|
| o.size = buildSize();
|
| o.sslCompliant = true;
|
| @@ -529,14 +564,14 @@ checkAd(api.Ad o) {
|
| unittest.expect(o.comments, unittest.equals('foo'));
|
| unittest.expect(o.compatibility, unittest.equals('foo'));
|
| checkLastModifiedInfo(o.createInfo);
|
| - checkUnnamed293(o.creativeGroupAssignments);
|
| + checkUnnamed706(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")));
|
| - checkUnnamed294(o.eventTagOverrides);
|
| + checkUnnamed707(o.eventTagOverrides);
|
| checkGeoTargeting(o.geoTargeting);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkDimensionValue(o.idDimensionValue);
|
| @@ -544,7 +579,7 @@ checkAd(api.Ad o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkLastModifiedInfo(o.lastModifiedInfo);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed295(o.placementAssignments);
|
| + checkUnnamed708(o.placementAssignments);
|
| checkListTargetingExpression(o.remarketingListExpression);
|
| checkSize(o.size);
|
| unittest.expect(o.sslCompliant, unittest.isTrue);
|
| @@ -557,14 +592,14 @@ checkAd(api.Ad o) {
|
| buildCounterAd--;
|
| }
|
|
|
| -buildUnnamed296() {
|
| +buildUnnamed709() {
|
| var o = new core.List<api.Ad>();
|
| o.add(buildAd());
|
| o.add(buildAd());
|
| return o;
|
| }
|
|
|
| -checkUnnamed296(core.List<api.Ad> o) {
|
| +checkUnnamed709(core.List<api.Ad> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAd(o[0]);
|
| checkAd(o[1]);
|
| @@ -575,7 +610,7 @@ buildAdsListResponse() {
|
| var o = new api.AdsListResponse();
|
| buildCounterAdsListResponse++;
|
| if (buildCounterAdsListResponse < 3) {
|
| - o.ads = buildUnnamed296();
|
| + o.ads = buildUnnamed709();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -586,7 +621,7 @@ buildAdsListResponse() {
|
| checkAdsListResponse(api.AdsListResponse o) {
|
| buildCounterAdsListResponse++;
|
| if (buildCounterAdsListResponse < 3) {
|
| - checkUnnamed296(o.ads);
|
| + checkUnnamed709(o.ads);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -661,14 +696,14 @@ checkAdvertiserGroup(api.AdvertiserGroup o) {
|
| buildCounterAdvertiserGroup--;
|
| }
|
|
|
| -buildUnnamed297() {
|
| +buildUnnamed710() {
|
| var o = new core.List<api.AdvertiserGroup>();
|
| o.add(buildAdvertiserGroup());
|
| o.add(buildAdvertiserGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed297(core.List<api.AdvertiserGroup> o) {
|
| +checkUnnamed710(core.List<api.AdvertiserGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdvertiserGroup(o[0]);
|
| checkAdvertiserGroup(o[1]);
|
| @@ -679,7 +714,7 @@ buildAdvertiserGroupsListResponse() {
|
| var o = new api.AdvertiserGroupsListResponse();
|
| buildCounterAdvertiserGroupsListResponse++;
|
| if (buildCounterAdvertiserGroupsListResponse < 3) {
|
| - o.advertiserGroups = buildUnnamed297();
|
| + o.advertiserGroups = buildUnnamed710();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -690,21 +725,21 @@ buildAdvertiserGroupsListResponse() {
|
| checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
|
| buildCounterAdvertiserGroupsListResponse++;
|
| if (buildCounterAdvertiserGroupsListResponse < 3) {
|
| - checkUnnamed297(o.advertiserGroups);
|
| + checkUnnamed710(o.advertiserGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterAdvertiserGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed298() {
|
| +buildUnnamed711() {
|
| var o = new core.List<api.Advertiser>();
|
| o.add(buildAdvertiser());
|
| o.add(buildAdvertiser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed298(core.List<api.Advertiser> o) {
|
| +checkUnnamed711(core.List<api.Advertiser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdvertiser(o[0]);
|
| checkAdvertiser(o[1]);
|
| @@ -715,7 +750,7 @@ buildAdvertisersListResponse() {
|
| var o = new api.AdvertisersListResponse();
|
| buildCounterAdvertisersListResponse++;
|
| if (buildCounterAdvertisersListResponse < 3) {
|
| - o.advertisers = buildUnnamed298();
|
| + o.advertisers = buildUnnamed711();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -726,7 +761,7 @@ buildAdvertisersListResponse() {
|
| checkAdvertisersListResponse(api.AdvertisersListResponse o) {
|
| buildCounterAdvertisersListResponse++;
|
| if (buildCounterAdvertisersListResponse < 3) {
|
| - checkUnnamed298(o.advertisers);
|
| + checkUnnamed711(o.advertisers);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -756,14 +791,14 @@ checkAudienceSegment(api.AudienceSegment o) {
|
| buildCounterAudienceSegment--;
|
| }
|
|
|
| -buildUnnamed299() {
|
| +buildUnnamed712() {
|
| var o = new core.List<api.AudienceSegment>();
|
| o.add(buildAudienceSegment());
|
| o.add(buildAudienceSegment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed299(core.List<api.AudienceSegment> o) {
|
| +checkUnnamed712(core.List<api.AudienceSegment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAudienceSegment(o[0]);
|
| checkAudienceSegment(o[1]);
|
| @@ -774,7 +809,7 @@ buildAudienceSegmentGroup() {
|
| var o = new api.AudienceSegmentGroup();
|
| buildCounterAudienceSegmentGroup++;
|
| if (buildCounterAudienceSegmentGroup < 3) {
|
| - o.audienceSegments = buildUnnamed299();
|
| + o.audienceSegments = buildUnnamed712();
|
| o.id = "foo";
|
| o.name = "foo";
|
| }
|
| @@ -785,7 +820,7 @@ buildAudienceSegmentGroup() {
|
| checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
|
| buildCounterAudienceSegmentGroup++;
|
| if (buildCounterAudienceSegmentGroup < 3) {
|
| - checkUnnamed299(o.audienceSegments);
|
| + checkUnnamed712(o.audienceSegments);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| @@ -821,14 +856,14 @@ checkBrowser(api.Browser o) {
|
| buildCounterBrowser--;
|
| }
|
|
|
| -buildUnnamed300() {
|
| +buildUnnamed713() {
|
| var o = new core.List<api.Browser>();
|
| o.add(buildBrowser());
|
| o.add(buildBrowser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed300(core.List<api.Browser> o) {
|
| +checkUnnamed713(core.List<api.Browser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBrowser(o[0]);
|
| checkBrowser(o[1]);
|
| @@ -839,7 +874,7 @@ buildBrowsersListResponse() {
|
| var o = new api.BrowsersListResponse();
|
| buildCounterBrowsersListResponse++;
|
| if (buildCounterBrowsersListResponse < 3) {
|
| - o.browsers = buildUnnamed300();
|
| + o.browsers = buildUnnamed713();
|
| o.kind = "foo";
|
| }
|
| buildCounterBrowsersListResponse--;
|
| @@ -849,72 +884,72 @@ buildBrowsersListResponse() {
|
| checkBrowsersListResponse(api.BrowsersListResponse o) {
|
| buildCounterBrowsersListResponse++;
|
| if (buildCounterBrowsersListResponse < 3) {
|
| - checkUnnamed300(o.browsers);
|
| + checkUnnamed713(o.browsers);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBrowsersListResponse--;
|
| }
|
|
|
| -buildUnnamed301() {
|
| +buildUnnamed714() {
|
| var o = new core.List<api.CreativeOptimizationConfiguration>();
|
| o.add(buildCreativeOptimizationConfiguration());
|
| o.add(buildCreativeOptimizationConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed301(core.List<api.CreativeOptimizationConfiguration> o) {
|
| +checkUnnamed714(core.List<api.CreativeOptimizationConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeOptimizationConfiguration(o[0]);
|
| checkCreativeOptimizationConfiguration(o[1]);
|
| }
|
|
|
| -buildUnnamed302() {
|
| +buildUnnamed715() {
|
| var o = new core.List<api.AudienceSegmentGroup>();
|
| o.add(buildAudienceSegmentGroup());
|
| o.add(buildAudienceSegmentGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed302(core.List<api.AudienceSegmentGroup> o) {
|
| +checkUnnamed715(core.List<api.AudienceSegmentGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAudienceSegmentGroup(o[0]);
|
| checkAudienceSegmentGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed303() {
|
| +buildUnnamed716() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed303(core.List<core.String> o) {
|
| +checkUnnamed716(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'));
|
| }
|
|
|
| -buildUnnamed304() {
|
| +buildUnnamed717() {
|
| var o = new core.List<api.EventTagOverride>();
|
| o.add(buildEventTagOverride());
|
| o.add(buildEventTagOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed304(core.List<api.EventTagOverride> o) {
|
| +checkUnnamed717(core.List<api.EventTagOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEventTagOverride(o[0]);
|
| checkEventTagOverride(o[1]);
|
| }
|
|
|
| -buildUnnamed305() {
|
| +buildUnnamed718() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed305(core.List<core.String> o) {
|
| +checkUnnamed718(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'));
|
| @@ -926,22 +961,22 @@ buildCampaign() {
|
| buildCounterCampaign++;
|
| if (buildCounterCampaign < 3) {
|
| o.accountId = "foo";
|
| - o.additionalCreativeOptimizationConfigurations = buildUnnamed301();
|
| + o.additionalCreativeOptimizationConfigurations = buildUnnamed714();
|
| o.advertiserGroupId = "foo";
|
| o.advertiserId = "foo";
|
| o.advertiserIdDimensionValue = buildDimensionValue();
|
| o.archived = true;
|
| - o.audienceSegmentGroups = buildUnnamed302();
|
| + o.audienceSegmentGroups = buildUnnamed715();
|
| o.billingInvoiceCode = "foo";
|
| o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
|
| o.comment = "foo";
|
| o.comscoreVceEnabled = true;
|
| o.createInfo = buildLastModifiedInfo();
|
| - o.creativeGroupIds = buildUnnamed303();
|
| + o.creativeGroupIds = buildUnnamed716();
|
| o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration();
|
| o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
|
| o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| - o.eventTagOverrides = buildUnnamed304();
|
| + o.eventTagOverrides = buildUnnamed717();
|
| o.externalId = "foo";
|
| o.id = "foo";
|
| o.idDimensionValue = buildDimensionValue();
|
| @@ -952,7 +987,7 @@ buildCampaign() {
|
| o.nielsenOcrEnabled = true;
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.subaccountId = "foo";
|
| - o.traffickerEmails = buildUnnamed305();
|
| + o.traffickerEmails = buildUnnamed718();
|
| }
|
| buildCounterCampaign--;
|
| return o;
|
| @@ -962,22 +997,22 @@ checkCampaign(api.Campaign o) {
|
| buildCounterCampaign++;
|
| if (buildCounterCampaign < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| - checkUnnamed301(o.additionalCreativeOptimizationConfigurations);
|
| + checkUnnamed714(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);
|
| - checkUnnamed302(o.audienceSegmentGroups);
|
| + checkUnnamed715(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);
|
| - checkUnnamed303(o.creativeGroupIds);
|
| + checkUnnamed716(o.creativeGroupIds);
|
| checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
|
| checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
|
| unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| - checkUnnamed304(o.eventTagOverrides);
|
| + checkUnnamed717(o.eventTagOverrides);
|
| unittest.expect(o.externalId, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkDimensionValue(o.idDimensionValue);
|
| @@ -988,7 +1023,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'));
|
| - checkUnnamed305(o.traffickerEmails);
|
| + checkUnnamed718(o.traffickerEmails);
|
| }
|
| buildCounterCampaign--;
|
| }
|
| @@ -1014,14 +1049,14 @@ checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) {
|
| buildCounterCampaignCreativeAssociation--;
|
| }
|
|
|
| -buildUnnamed306() {
|
| +buildUnnamed719() {
|
| var o = new core.List<api.CampaignCreativeAssociation>();
|
| o.add(buildCampaignCreativeAssociation());
|
| o.add(buildCampaignCreativeAssociation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed306(core.List<api.CampaignCreativeAssociation> o) {
|
| +checkUnnamed719(core.List<api.CampaignCreativeAssociation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCampaignCreativeAssociation(o[0]);
|
| checkCampaignCreativeAssociation(o[1]);
|
| @@ -1032,7 +1067,7 @@ buildCampaignCreativeAssociationsListResponse() {
|
| var o = new api.CampaignCreativeAssociationsListResponse();
|
| buildCounterCampaignCreativeAssociationsListResponse++;
|
| if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
|
| - o.campaignCreativeAssociations = buildUnnamed306();
|
| + o.campaignCreativeAssociations = buildUnnamed719();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1043,21 +1078,21 @@ buildCampaignCreativeAssociationsListResponse() {
|
| checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsListResponse o) {
|
| buildCounterCampaignCreativeAssociationsListResponse++;
|
| if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
|
| - checkUnnamed306(o.campaignCreativeAssociations);
|
| + checkUnnamed719(o.campaignCreativeAssociations);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCampaignCreativeAssociationsListResponse--;
|
| }
|
|
|
| -buildUnnamed307() {
|
| +buildUnnamed720() {
|
| var o = new core.List<api.Campaign>();
|
| o.add(buildCampaign());
|
| o.add(buildCampaign());
|
| return o;
|
| }
|
|
|
| -checkUnnamed307(core.List<api.Campaign> o) {
|
| +checkUnnamed720(core.List<api.Campaign> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCampaign(o[0]);
|
| checkCampaign(o[1]);
|
| @@ -1068,7 +1103,7 @@ buildCampaignsListResponse() {
|
| var o = new api.CampaignsListResponse();
|
| buildCounterCampaignsListResponse++;
|
| if (buildCounterCampaignsListResponse < 3) {
|
| - o.campaigns = buildUnnamed307();
|
| + o.campaigns = buildUnnamed720();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1079,7 +1114,7 @@ buildCampaignsListResponse() {
|
| checkCampaignsListResponse(api.CampaignsListResponse o) {
|
| buildCounterCampaignsListResponse++;
|
| if (buildCounterCampaignsListResponse < 3) {
|
| - checkUnnamed307(o.campaigns);
|
| + checkUnnamed720(o.campaigns);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -1131,14 +1166,14 @@ checkChangeLog(api.ChangeLog o) {
|
| buildCounterChangeLog--;
|
| }
|
|
|
| -buildUnnamed308() {
|
| +buildUnnamed721() {
|
| var o = new core.List<api.ChangeLog>();
|
| o.add(buildChangeLog());
|
| o.add(buildChangeLog());
|
| return o;
|
| }
|
|
|
| -checkUnnamed308(core.List<api.ChangeLog> o) {
|
| +checkUnnamed721(core.List<api.ChangeLog> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChangeLog(o[0]);
|
| checkChangeLog(o[1]);
|
| @@ -1149,7 +1184,7 @@ buildChangeLogsListResponse() {
|
| var o = new api.ChangeLogsListResponse();
|
| buildCounterChangeLogsListResponse++;
|
| if (buildCounterChangeLogsListResponse < 3) {
|
| - o.changeLogs = buildUnnamed308();
|
| + o.changeLogs = buildUnnamed721();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1160,21 +1195,21 @@ buildChangeLogsListResponse() {
|
| checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
|
| buildCounterChangeLogsListResponse++;
|
| if (buildCounterChangeLogsListResponse < 3) {
|
| - checkUnnamed308(o.changeLogs);
|
| + checkUnnamed721(o.changeLogs);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterChangeLogsListResponse--;
|
| }
|
|
|
| -buildUnnamed309() {
|
| +buildUnnamed722() {
|
| var o = new core.List<api.City>();
|
| o.add(buildCity());
|
| o.add(buildCity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed309(core.List<api.City> o) {
|
| +checkUnnamed722(core.List<api.City> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCity(o[0]);
|
| checkCity(o[1]);
|
| @@ -1185,7 +1220,7 @@ buildCitiesListResponse() {
|
| var o = new api.CitiesListResponse();
|
| buildCounterCitiesListResponse++;
|
| if (buildCounterCitiesListResponse < 3) {
|
| - o.cities = buildUnnamed309();
|
| + o.cities = buildUnnamed722();
|
| o.kind = "foo";
|
| }
|
| buildCounterCitiesListResponse--;
|
| @@ -1195,7 +1230,7 @@ buildCitiesListResponse() {
|
| checkCitiesListResponse(api.CitiesListResponse o) {
|
| buildCounterCitiesListResponse++;
|
| if (buildCounterCitiesListResponse < 3) {
|
| - checkUnnamed309(o.cities);
|
| + checkUnnamed722(o.cities);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterCitiesListResponse--;
|
| @@ -1376,14 +1411,14 @@ checkConnectionType(api.ConnectionType o) {
|
| buildCounterConnectionType--;
|
| }
|
|
|
| -buildUnnamed310() {
|
| +buildUnnamed723() {
|
| var o = new core.List<api.ConnectionType>();
|
| o.add(buildConnectionType());
|
| o.add(buildConnectionType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed310(core.List<api.ConnectionType> o) {
|
| +checkUnnamed723(core.List<api.ConnectionType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConnectionType(o[0]);
|
| checkConnectionType(o[1]);
|
| @@ -1394,7 +1429,7 @@ buildConnectionTypesListResponse() {
|
| var o = new api.ConnectionTypesListResponse();
|
| buildCounterConnectionTypesListResponse++;
|
| if (buildCounterConnectionTypesListResponse < 3) {
|
| - o.connectionTypes = buildUnnamed310();
|
| + o.connectionTypes = buildUnnamed723();
|
| o.kind = "foo";
|
| }
|
| buildCounterConnectionTypesListResponse--;
|
| @@ -1404,20 +1439,20 @@ buildConnectionTypesListResponse() {
|
| checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
|
| buildCounterConnectionTypesListResponse++;
|
| if (buildCounterConnectionTypesListResponse < 3) {
|
| - checkUnnamed310(o.connectionTypes);
|
| + checkUnnamed723(o.connectionTypes);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterConnectionTypesListResponse--;
|
| }
|
|
|
| -buildUnnamed311() {
|
| +buildUnnamed724() {
|
| var o = new core.List<api.ContentCategory>();
|
| o.add(buildContentCategory());
|
| o.add(buildContentCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed311(core.List<api.ContentCategory> o) {
|
| +checkUnnamed724(core.List<api.ContentCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContentCategory(o[0]);
|
| checkContentCategory(o[1]);
|
| @@ -1428,7 +1463,7 @@ buildContentCategoriesListResponse() {
|
| var o = new api.ContentCategoriesListResponse();
|
| buildCounterContentCategoriesListResponse++;
|
| if (buildCounterContentCategoriesListResponse < 3) {
|
| - o.contentCategories = buildUnnamed311();
|
| + o.contentCategories = buildUnnamed724();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1439,7 +1474,7 @@ buildContentCategoriesListResponse() {
|
| checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
|
| buildCounterContentCategoriesListResponse++;
|
| if (buildCounterContentCategoriesListResponse < 3) {
|
| - checkUnnamed311(o.contentCategories);
|
| + checkUnnamed724(o.contentCategories);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -1473,14 +1508,14 @@ checkContentCategory(api.ContentCategory o) {
|
| buildCounterContentCategory--;
|
| }
|
|
|
| -buildUnnamed312() {
|
| +buildUnnamed725() {
|
| var o = new core.List<api.Country>();
|
| o.add(buildCountry());
|
| o.add(buildCountry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed312(core.List<api.Country> o) {
|
| +checkUnnamed725(core.List<api.Country> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCountry(o[0]);
|
| checkCountry(o[1]);
|
| @@ -1491,7 +1526,7 @@ buildCountriesListResponse() {
|
| var o = new api.CountriesListResponse();
|
| buildCounterCountriesListResponse++;
|
| if (buildCounterCountriesListResponse < 3) {
|
| - o.countries = buildUnnamed312();
|
| + o.countries = buildUnnamed725();
|
| o.kind = "foo";
|
| }
|
| buildCounterCountriesListResponse--;
|
| @@ -1501,7 +1536,7 @@ buildCountriesListResponse() {
|
| checkCountriesListResponse(api.CountriesListResponse o) {
|
| buildCounterCountriesListResponse++;
|
| if (buildCounterCountriesListResponse < 3) {
|
| - checkUnnamed312(o.countries);
|
| + checkUnnamed725(o.countries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterCountriesListResponse--;
|
| @@ -1534,157 +1569,157 @@ checkCountry(api.Country o) {
|
| buildCounterCountry--;
|
| }
|
|
|
| -buildUnnamed313() {
|
| +buildUnnamed726() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed313(core.List<core.String> o) {
|
| +checkUnnamed726(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'));
|
| }
|
|
|
| -buildUnnamed314() {
|
| +buildUnnamed727() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed314(core.List<core.String> o) {
|
| +checkUnnamed727(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'));
|
| }
|
|
|
| -buildUnnamed315() {
|
| +buildUnnamed728() {
|
| var o = new core.List<api.ClickTag>();
|
| o.add(buildClickTag());
|
| o.add(buildClickTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed315(core.List<api.ClickTag> o) {
|
| +checkUnnamed728(core.List<api.ClickTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClickTag(o[0]);
|
| checkClickTag(o[1]);
|
| }
|
|
|
| -buildUnnamed316() {
|
| +buildUnnamed729() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed316(core.List<core.String> o) {
|
| +checkUnnamed729(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'));
|
| }
|
|
|
| -buildUnnamed317() {
|
| +buildUnnamed730() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed317(core.List<core.String> o) {
|
| +checkUnnamed730(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() {
|
| +buildUnnamed731() {
|
| var o = new core.List<api.CreativeCustomEvent>();
|
| o.add(buildCreativeCustomEvent());
|
| o.add(buildCreativeCustomEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed318(core.List<api.CreativeCustomEvent> o) {
|
| +checkUnnamed731(core.List<api.CreativeCustomEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCustomEvent(o[0]);
|
| checkCreativeCustomEvent(o[1]);
|
| }
|
|
|
| -buildUnnamed319() {
|
| +buildUnnamed732() {
|
| var o = new core.List<api.CreativeAsset>();
|
| o.add(buildCreativeAsset());
|
| o.add(buildCreativeAsset());
|
| return o;
|
| }
|
|
|
| -checkUnnamed319(core.List<api.CreativeAsset> o) {
|
| +checkUnnamed732(core.List<api.CreativeAsset> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeAsset(o[0]);
|
| checkCreativeAsset(o[1]);
|
| }
|
|
|
| -buildUnnamed320() {
|
| +buildUnnamed733() {
|
| var o = new core.List<api.CreativeFieldAssignment>();
|
| o.add(buildCreativeFieldAssignment());
|
| o.add(buildCreativeFieldAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed320(core.List<api.CreativeFieldAssignment> o) {
|
| +checkUnnamed733(core.List<api.CreativeFieldAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeFieldAssignment(o[0]);
|
| checkCreativeFieldAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed321() {
|
| +buildUnnamed734() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed321(core.List<core.String> o) {
|
| +checkUnnamed734(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'));
|
| }
|
|
|
| -buildUnnamed322() {
|
| +buildUnnamed735() {
|
| var o = new core.List<api.CreativeCustomEvent>();
|
| o.add(buildCreativeCustomEvent());
|
| o.add(buildCreativeCustomEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed322(core.List<api.CreativeCustomEvent> o) {
|
| +checkUnnamed735(core.List<api.CreativeCustomEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCustomEvent(o[0]);
|
| checkCreativeCustomEvent(o[1]);
|
| }
|
|
|
| -buildUnnamed323() {
|
| +buildUnnamed736() {
|
| var o = new core.List<api.ThirdPartyTrackingUrl>();
|
| o.add(buildThirdPartyTrackingUrl());
|
| o.add(buildThirdPartyTrackingUrl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed323(core.List<api.ThirdPartyTrackingUrl> o) {
|
| +checkUnnamed736(core.List<api.ThirdPartyTrackingUrl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThirdPartyTrackingUrl(o[0]);
|
| checkThirdPartyTrackingUrl(o[1]);
|
| }
|
|
|
| -buildUnnamed324() {
|
| +buildUnnamed737() {
|
| var o = new core.List<api.CreativeCustomEvent>();
|
| o.add(buildCreativeCustomEvent());
|
| o.add(buildCreativeCustomEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed324(core.List<api.CreativeCustomEvent> o) {
|
| +checkUnnamed737(core.List<api.CreativeCustomEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeCustomEvent(o[0]);
|
| checkCreativeCustomEvent(o[1]);
|
| @@ -1698,7 +1733,7 @@ buildCreative() {
|
| o.accountId = "foo";
|
| o.active = true;
|
| o.adParameters = "foo";
|
| - o.adTagKeys = buildUnnamed313();
|
| + o.adTagKeys = buildUnnamed726();
|
| o.advertiserId = "foo";
|
| o.allowScriptAccess = true;
|
| o.archived = true;
|
| @@ -1707,18 +1742,18 @@ buildCreative() {
|
| o.autoAdvanceImages = true;
|
| o.backgroundColor = "foo";
|
| o.backupImageClickThroughUrl = "foo";
|
| - o.backupImageFeatures = buildUnnamed314();
|
| + o.backupImageFeatures = buildUnnamed727();
|
| o.backupImageReportingLabel = "foo";
|
| o.backupImageTargetWindow = buildTargetWindow();
|
| - o.clickTags = buildUnnamed315();
|
| + o.clickTags = buildUnnamed728();
|
| o.commercialId = "foo";
|
| - o.companionCreatives = buildUnnamed316();
|
| - o.compatibility = buildUnnamed317();
|
| - o.counterCustomEvents = buildUnnamed318();
|
| - o.creativeAssets = buildUnnamed319();
|
| - o.creativeFieldAssignments = buildUnnamed320();
|
| - o.customKeyValues = buildUnnamed321();
|
| - o.exitCustomEvents = buildUnnamed322();
|
| + o.companionCreatives = buildUnnamed729();
|
| + o.compatibility = buildUnnamed730();
|
| + o.counterCustomEvents = buildUnnamed731();
|
| + o.creativeAssets = buildUnnamed732();
|
| + o.creativeFieldAssignments = buildUnnamed733();
|
| + o.customKeyValues = buildUnnamed734();
|
| + o.exitCustomEvents = buildUnnamed735();
|
| o.fsCommand = buildFsCommand();
|
| o.htmlCode = "foo";
|
| o.htmlCodeLocked = true;
|
| @@ -1743,8 +1778,8 @@ buildCreative() {
|
| o.subaccountId = "foo";
|
| o.thirdPartyBackupImageImpressionsUrl = "foo";
|
| o.thirdPartyRichMediaImpressionsUrl = "foo";
|
| - o.thirdPartyUrls = buildUnnamed323();
|
| - o.timerCustomEvents = buildUnnamed324();
|
| + o.thirdPartyUrls = buildUnnamed736();
|
| + o.timerCustomEvents = buildUnnamed737();
|
| o.totalFileSize = "foo";
|
| o.type = "foo";
|
| o.version = 42;
|
| @@ -1761,7 +1796,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'));
|
| - checkUnnamed313(o.adTagKeys);
|
| + checkUnnamed726(o.adTagKeys);
|
| unittest.expect(o.advertiserId, unittest.equals('foo'));
|
| unittest.expect(o.allowScriptAccess, unittest.isTrue);
|
| unittest.expect(o.archived, unittest.isTrue);
|
| @@ -1770,18 +1805,18 @@ checkCreative(api.Creative o) {
|
| unittest.expect(o.autoAdvanceImages, unittest.isTrue);
|
| unittest.expect(o.backgroundColor, unittest.equals('foo'));
|
| unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
|
| - checkUnnamed314(o.backupImageFeatures);
|
| + checkUnnamed727(o.backupImageFeatures);
|
| unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
|
| checkTargetWindow(o.backupImageTargetWindow);
|
| - checkUnnamed315(o.clickTags);
|
| + checkUnnamed728(o.clickTags);
|
| unittest.expect(o.commercialId, unittest.equals('foo'));
|
| - checkUnnamed316(o.companionCreatives);
|
| - checkUnnamed317(o.compatibility);
|
| - checkUnnamed318(o.counterCustomEvents);
|
| - checkUnnamed319(o.creativeAssets);
|
| - checkUnnamed320(o.creativeFieldAssignments);
|
| - checkUnnamed321(o.customKeyValues);
|
| - checkUnnamed322(o.exitCustomEvents);
|
| + checkUnnamed729(o.companionCreatives);
|
| + checkUnnamed730(o.compatibility);
|
| + checkUnnamed731(o.counterCustomEvents);
|
| + checkUnnamed732(o.creativeAssets);
|
| + checkUnnamed733(o.creativeFieldAssignments);
|
| + checkUnnamed734(o.customKeyValues);
|
| + checkUnnamed735(o.exitCustomEvents);
|
| checkFsCommand(o.fsCommand);
|
| unittest.expect(o.htmlCode, unittest.equals('foo'));
|
| unittest.expect(o.htmlCodeLocked, unittest.isTrue);
|
| @@ -1806,8 +1841,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'));
|
| - checkUnnamed323(o.thirdPartyUrls);
|
| - checkUnnamed324(o.timerCustomEvents);
|
| + checkUnnamed736(o.thirdPartyUrls);
|
| + checkUnnamed737(o.timerCustomEvents);
|
| unittest.expect(o.totalFileSize, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals(42));
|
| @@ -1817,14 +1852,14 @@ checkCreative(api.Creative o) {
|
| buildCounterCreative--;
|
| }
|
|
|
| -buildUnnamed325() {
|
| +buildUnnamed738() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed325(core.List<core.String> o) {
|
| +checkUnnamed738(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'));
|
| @@ -1845,7 +1880,7 @@ buildCreativeAsset() {
|
| o.childAssetType = "foo";
|
| o.collapsedSize = buildSize();
|
| o.customStartTimeValue = 42;
|
| - o.detectedFeatures = buildUnnamed325();
|
| + o.detectedFeatures = buildUnnamed738();
|
| o.displayType = "foo";
|
| o.duration = 42;
|
| o.durationType = "foo";
|
| @@ -1895,7 +1930,7 @@ checkCreativeAsset(api.CreativeAsset o) {
|
| unittest.expect(o.childAssetType, unittest.equals('foo'));
|
| checkSize(o.collapsedSize);
|
| unittest.expect(o.customStartTimeValue, unittest.equals(42));
|
| - checkUnnamed325(o.detectedFeatures);
|
| + checkUnnamed738(o.detectedFeatures);
|
| unittest.expect(o.displayType, unittest.equals('foo'));
|
| unittest.expect(o.duration, unittest.equals(42));
|
| unittest.expect(o.durationType, unittest.equals('foo'));
|
| @@ -1952,40 +1987,40 @@ checkCreativeAssetId(api.CreativeAssetId o) {
|
| buildCounterCreativeAssetId--;
|
| }
|
|
|
| -buildUnnamed326() {
|
| +buildUnnamed739() {
|
| var o = new core.List<api.ClickTag>();
|
| o.add(buildClickTag());
|
| o.add(buildClickTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed326(core.List<api.ClickTag> o) {
|
| +checkUnnamed739(core.List<api.ClickTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClickTag(o[0]);
|
| checkClickTag(o[1]);
|
| }
|
|
|
| -buildUnnamed327() {
|
| +buildUnnamed740() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed327(core.List<core.String> o) {
|
| +checkUnnamed740(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'));
|
| }
|
|
|
| -buildUnnamed328() {
|
| +buildUnnamed741() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed328(core.List<core.String> o) {
|
| +checkUnnamed741(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'));
|
| @@ -1997,10 +2032,10 @@ buildCreativeAssetMetadata() {
|
| buildCounterCreativeAssetMetadata++;
|
| if (buildCounterCreativeAssetMetadata < 3) {
|
| o.assetIdentifier = buildCreativeAssetId();
|
| - o.clickTags = buildUnnamed326();
|
| - o.detectedFeatures = buildUnnamed327();
|
| + o.clickTags = buildUnnamed739();
|
| + o.detectedFeatures = buildUnnamed740();
|
| o.kind = "foo";
|
| - o.warnedValidationRules = buildUnnamed328();
|
| + o.warnedValidationRules = buildUnnamed741();
|
| }
|
| buildCounterCreativeAssetMetadata--;
|
| return o;
|
| @@ -2010,48 +2045,48 @@ checkCreativeAssetMetadata(api.CreativeAssetMetadata o) {
|
| buildCounterCreativeAssetMetadata++;
|
| if (buildCounterCreativeAssetMetadata < 3) {
|
| checkCreativeAssetId(o.assetIdentifier);
|
| - checkUnnamed326(o.clickTags);
|
| - checkUnnamed327(o.detectedFeatures);
|
| + checkUnnamed739(o.clickTags);
|
| + checkUnnamed740(o.detectedFeatures);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed328(o.warnedValidationRules);
|
| + checkUnnamed741(o.warnedValidationRules);
|
| }
|
| buildCounterCreativeAssetMetadata--;
|
| }
|
|
|
| -buildUnnamed329() {
|
| +buildUnnamed742() {
|
| var o = new core.List<api.CompanionClickThroughOverride>();
|
| o.add(buildCompanionClickThroughOverride());
|
| o.add(buildCompanionClickThroughOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed329(core.List<api.CompanionClickThroughOverride> o) {
|
| +checkUnnamed742(core.List<api.CompanionClickThroughOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCompanionClickThroughOverride(o[0]);
|
| checkCompanionClickThroughOverride(o[1]);
|
| }
|
|
|
| -buildUnnamed330() {
|
| +buildUnnamed743() {
|
| var o = new core.List<api.CreativeGroupAssignment>();
|
| o.add(buildCreativeGroupAssignment());
|
| o.add(buildCreativeGroupAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed330(core.List<api.CreativeGroupAssignment> o) {
|
| +checkUnnamed743(core.List<api.CreativeGroupAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeGroupAssignment(o[0]);
|
| checkCreativeGroupAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed331() {
|
| +buildUnnamed744() {
|
| var o = new core.List<api.RichMediaExitOverride>();
|
| o.add(buildRichMediaExitOverride());
|
| o.add(buildRichMediaExitOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed331(core.List<api.RichMediaExitOverride> o) {
|
| +checkUnnamed744(core.List<api.RichMediaExitOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRichMediaExitOverride(o[0]);
|
| checkRichMediaExitOverride(o[1]);
|
| @@ -2065,12 +2100,12 @@ buildCreativeAssignment() {
|
| o.active = true;
|
| o.applyEventTags = true;
|
| o.clickThroughUrl = buildClickThroughUrl();
|
| - o.companionCreativeOverrides = buildUnnamed329();
|
| - o.creativeGroupAssignments = buildUnnamed330();
|
| + o.companionCreativeOverrides = buildUnnamed742();
|
| + o.creativeGroupAssignments = buildUnnamed743();
|
| o.creativeId = "foo";
|
| o.creativeIdDimensionValue = buildDimensionValue();
|
| o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.richMediaExitOverrides = buildUnnamed331();
|
| + o.richMediaExitOverrides = buildUnnamed744();
|
| o.sequence = 42;
|
| o.sslCompliant = true;
|
| o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -2086,12 +2121,12 @@ checkCreativeAssignment(api.CreativeAssignment o) {
|
| unittest.expect(o.active, unittest.isTrue);
|
| unittest.expect(o.applyEventTags, unittest.isTrue);
|
| checkClickThroughUrl(o.clickThroughUrl);
|
| - checkUnnamed329(o.companionCreativeOverrides);
|
| - checkUnnamed330(o.creativeGroupAssignments);
|
| + checkUnnamed742(o.companionCreativeOverrides);
|
| + checkUnnamed743(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")));
|
| - checkUnnamed331(o.richMediaExitOverrides);
|
| + checkUnnamed744(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")));
|
| @@ -2212,14 +2247,14 @@ checkCreativeFieldValue(api.CreativeFieldValue o) {
|
| buildCounterCreativeFieldValue--;
|
| }
|
|
|
| -buildUnnamed332() {
|
| +buildUnnamed745() {
|
| var o = new core.List<api.CreativeFieldValue>();
|
| o.add(buildCreativeFieldValue());
|
| o.add(buildCreativeFieldValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed332(core.List<api.CreativeFieldValue> o) {
|
| +checkUnnamed745(core.List<api.CreativeFieldValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeFieldValue(o[0]);
|
| checkCreativeFieldValue(o[1]);
|
| @@ -2230,7 +2265,7 @@ buildCreativeFieldValuesListResponse() {
|
| var o = new api.CreativeFieldValuesListResponse();
|
| buildCounterCreativeFieldValuesListResponse++;
|
| if (buildCounterCreativeFieldValuesListResponse < 3) {
|
| - o.creativeFieldValues = buildUnnamed332();
|
| + o.creativeFieldValues = buildUnnamed745();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2241,21 +2276,21 @@ buildCreativeFieldValuesListResponse() {
|
| checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
|
| buildCounterCreativeFieldValuesListResponse++;
|
| if (buildCounterCreativeFieldValuesListResponse < 3) {
|
| - checkUnnamed332(o.creativeFieldValues);
|
| + checkUnnamed745(o.creativeFieldValues);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeFieldValuesListResponse--;
|
| }
|
|
|
| -buildUnnamed333() {
|
| +buildUnnamed746() {
|
| var o = new core.List<api.CreativeField>();
|
| o.add(buildCreativeField());
|
| o.add(buildCreativeField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed333(core.List<api.CreativeField> o) {
|
| +checkUnnamed746(core.List<api.CreativeField> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeField(o[0]);
|
| checkCreativeField(o[1]);
|
| @@ -2266,7 +2301,7 @@ buildCreativeFieldsListResponse() {
|
| var o = new api.CreativeFieldsListResponse();
|
| buildCounterCreativeFieldsListResponse++;
|
| if (buildCounterCreativeFieldsListResponse < 3) {
|
| - o.creativeFields = buildUnnamed333();
|
| + o.creativeFields = buildUnnamed746();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2277,7 +2312,7 @@ buildCreativeFieldsListResponse() {
|
| checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
|
| buildCounterCreativeFieldsListResponse++;
|
| if (buildCounterCreativeFieldsListResponse < 3) {
|
| - checkUnnamed333(o.creativeFields);
|
| + checkUnnamed746(o.creativeFields);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -2338,14 +2373,14 @@ checkCreativeGroupAssignment(api.CreativeGroupAssignment o) {
|
| buildCounterCreativeGroupAssignment--;
|
| }
|
|
|
| -buildUnnamed334() {
|
| +buildUnnamed747() {
|
| var o = new core.List<api.CreativeGroup>();
|
| o.add(buildCreativeGroup());
|
| o.add(buildCreativeGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed334(core.List<api.CreativeGroup> o) {
|
| +checkUnnamed747(core.List<api.CreativeGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeGroup(o[0]);
|
| checkCreativeGroup(o[1]);
|
| @@ -2356,7 +2391,7 @@ buildCreativeGroupsListResponse() {
|
| var o = new api.CreativeGroupsListResponse();
|
| buildCounterCreativeGroupsListResponse++;
|
| if (buildCounterCreativeGroupsListResponse < 3) {
|
| - o.creativeGroups = buildUnnamed334();
|
| + o.creativeGroups = buildUnnamed747();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2367,21 +2402,21 @@ buildCreativeGroupsListResponse() {
|
| checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
|
| buildCounterCreativeGroupsListResponse++;
|
| if (buildCounterCreativeGroupsListResponse < 3) {
|
| - checkUnnamed334(o.creativeGroups);
|
| + checkUnnamed747(o.creativeGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed335() {
|
| +buildUnnamed748() {
|
| var o = new core.List<api.OptimizationActivity>();
|
| o.add(buildOptimizationActivity());
|
| o.add(buildOptimizationActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed335(core.List<api.OptimizationActivity> o) {
|
| +checkUnnamed748(core.List<api.OptimizationActivity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOptimizationActivity(o[0]);
|
| checkOptimizationActivity(o[1]);
|
| @@ -2394,7 +2429,7 @@ buildCreativeOptimizationConfiguration() {
|
| if (buildCounterCreativeOptimizationConfiguration < 3) {
|
| o.id = "foo";
|
| o.name = "foo";
|
| - o.optimizationActivitys = buildUnnamed335();
|
| + o.optimizationActivitys = buildUnnamed748();
|
| o.optimizationModel = "foo";
|
| }
|
| buildCounterCreativeOptimizationConfiguration--;
|
| @@ -2406,20 +2441,20 @@ checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
|
| if (buildCounterCreativeOptimizationConfiguration < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed335(o.optimizationActivitys);
|
| + checkUnnamed748(o.optimizationActivitys);
|
| unittest.expect(o.optimizationModel, unittest.equals('foo'));
|
| }
|
| buildCounterCreativeOptimizationConfiguration--;
|
| }
|
|
|
| -buildUnnamed336() {
|
| +buildUnnamed749() {
|
| var o = new core.List<api.CreativeAssignment>();
|
| o.add(buildCreativeAssignment());
|
| o.add(buildCreativeAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed336(core.List<api.CreativeAssignment> o) {
|
| +checkUnnamed749(core.List<api.CreativeAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreativeAssignment(o[0]);
|
| checkCreativeAssignment(o[1]);
|
| @@ -2430,7 +2465,7 @@ buildCreativeRotation() {
|
| var o = new api.CreativeRotation();
|
| buildCounterCreativeRotation++;
|
| if (buildCounterCreativeRotation < 3) {
|
| - o.creativeAssignments = buildUnnamed336();
|
| + o.creativeAssignments = buildUnnamed749();
|
| o.creativeOptimizationConfigurationId = "foo";
|
| o.type = "foo";
|
| o.weightCalculationStrategy = "foo";
|
| @@ -2442,7 +2477,7 @@ buildCreativeRotation() {
|
| checkCreativeRotation(api.CreativeRotation o) {
|
| buildCounterCreativeRotation++;
|
| if (buildCounterCreativeRotation < 3) {
|
| - checkUnnamed336(o.creativeAssignments);
|
| + checkUnnamed749(o.creativeAssignments);
|
| unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| unittest.expect(o.weightCalculationStrategy, unittest.equals('foo'));
|
| @@ -2471,14 +2506,14 @@ checkCreativeSettings(api.CreativeSettings o) {
|
| buildCounterCreativeSettings--;
|
| }
|
|
|
| -buildUnnamed337() {
|
| +buildUnnamed750() {
|
| var o = new core.List<api.Creative>();
|
| o.add(buildCreative());
|
| o.add(buildCreative());
|
| return o;
|
| }
|
|
|
| -checkUnnamed337(core.List<api.Creative> o) {
|
| +checkUnnamed750(core.List<api.Creative> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCreative(o[0]);
|
| checkCreative(o[1]);
|
| @@ -2489,7 +2524,7 @@ buildCreativesListResponse() {
|
| var o = new api.CreativesListResponse();
|
| buildCounterCreativesListResponse++;
|
| if (buildCounterCreativesListResponse < 3) {
|
| - o.creatives = buildUnnamed337();
|
| + o.creatives = buildUnnamed750();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2500,60 +2535,60 @@ buildCreativesListResponse() {
|
| checkCreativesListResponse(api.CreativesListResponse o) {
|
| buildCounterCreativesListResponse++;
|
| if (buildCounterCreativesListResponse < 3) {
|
| - checkUnnamed337(o.creatives);
|
| + checkUnnamed750(o.creatives);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCreativesListResponse--;
|
| }
|
|
|
| -buildUnnamed338() {
|
| +buildUnnamed751() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed338(core.List<api.Dimension> o) {
|
| +checkUnnamed751(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed339() {
|
| +buildUnnamed752() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed339(core.List<api.Dimension> o) {
|
| +checkUnnamed752(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed340() {
|
| +buildUnnamed753() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed340(core.List<api.Metric> o) {
|
| +checkUnnamed753(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed341() {
|
| +buildUnnamed754() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed341(core.List<api.Metric> o) {
|
| +checkUnnamed754(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -2564,11 +2599,11 @@ buildCrossDimensionReachReportCompatibleFields() {
|
| var o = new api.CrossDimensionReachReportCompatibleFields();
|
| buildCounterCrossDimensionReachReportCompatibleFields++;
|
| if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
|
| - o.breakdown = buildUnnamed338();
|
| - o.dimensionFilters = buildUnnamed339();
|
| + o.breakdown = buildUnnamed751();
|
| + o.dimensionFilters = buildUnnamed752();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed340();
|
| - o.overlapMetrics = buildUnnamed341();
|
| + o.metrics = buildUnnamed753();
|
| + o.overlapMetrics = buildUnnamed754();
|
| }
|
| buildCounterCrossDimensionReachReportCompatibleFields--;
|
| return o;
|
| @@ -2577,23 +2612,23 @@ buildCrossDimensionReachReportCompatibleFields() {
|
| checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) {
|
| buildCounterCrossDimensionReachReportCompatibleFields++;
|
| if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
|
| - checkUnnamed338(o.breakdown);
|
| - checkUnnamed339(o.dimensionFilters);
|
| + checkUnnamed751(o.breakdown);
|
| + checkUnnamed752(o.dimensionFilters);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed340(o.metrics);
|
| - checkUnnamed341(o.overlapMetrics);
|
| + checkUnnamed753(o.metrics);
|
| + checkUnnamed754(o.overlapMetrics);
|
| }
|
| buildCounterCrossDimensionReachReportCompatibleFields--;
|
| }
|
|
|
| -buildUnnamed342() {
|
| +buildUnnamed755() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed342(core.List<api.DimensionValue> o) {
|
| +checkUnnamed755(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| @@ -2604,7 +2639,7 @@ buildCustomRichMediaEvents() {
|
| var o = new api.CustomRichMediaEvents();
|
| buildCounterCustomRichMediaEvents++;
|
| if (buildCounterCustomRichMediaEvents < 3) {
|
| - o.filteredEventIds = buildUnnamed342();
|
| + o.filteredEventIds = buildUnnamed755();
|
| o.kind = "foo";
|
| }
|
| buildCounterCustomRichMediaEvents--;
|
| @@ -2614,7 +2649,7 @@ buildCustomRichMediaEvents() {
|
| checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
|
| buildCounterCustomRichMediaEvents++;
|
| if (buildCounterCustomRichMediaEvents < 3) {
|
| - checkUnnamed342(o.filteredEventIds);
|
| + checkUnnamed755(o.filteredEventIds);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterCustomRichMediaEvents--;
|
| @@ -2645,27 +2680,27 @@ checkDateRange(api.DateRange o) {
|
| buildCounterDateRange--;
|
| }
|
|
|
| -buildUnnamed343() {
|
| +buildUnnamed756() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed343(core.List<core.String> o) {
|
| +checkUnnamed756(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'));
|
| }
|
|
|
| -buildUnnamed344() {
|
| +buildUnnamed757() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed344(core.List<core.int> o) {
|
| +checkUnnamed757(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));
|
| @@ -2676,8 +2711,8 @@ buildDayPartTargeting() {
|
| var o = new api.DayPartTargeting();
|
| buildCounterDayPartTargeting++;
|
| if (buildCounterDayPartTargeting < 3) {
|
| - o.daysOfWeek = buildUnnamed343();
|
| - o.hoursOfDay = buildUnnamed344();
|
| + o.daysOfWeek = buildUnnamed756();
|
| + o.hoursOfDay = buildUnnamed757();
|
| o.userLocalTime = true;
|
| }
|
| buildCounterDayPartTargeting--;
|
| @@ -2687,8 +2722,8 @@ buildDayPartTargeting() {
|
| checkDayPartTargeting(api.DayPartTargeting o) {
|
| buildCounterDayPartTargeting++;
|
| if (buildCounterDayPartTargeting < 3) {
|
| - checkUnnamed343(o.daysOfWeek);
|
| - checkUnnamed344(o.hoursOfDay);
|
| + checkUnnamed756(o.daysOfWeek);
|
| + checkUnnamed757(o.hoursOfDay);
|
| unittest.expect(o.userLocalTime, unittest.isTrue);
|
| }
|
| buildCounterDayPartTargeting--;
|
| @@ -2840,14 +2875,14 @@ checkDimensionValue(api.DimensionValue o) {
|
| buildCounterDimensionValue--;
|
| }
|
|
|
| -buildUnnamed345() {
|
| +buildUnnamed758() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed345(core.List<api.DimensionValue> o) {
|
| +checkUnnamed758(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| @@ -2859,7 +2894,7 @@ buildDimensionValueList() {
|
| buildCounterDimensionValueList++;
|
| if (buildCounterDimensionValueList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed345();
|
| + o.items = buildUnnamed758();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -2871,21 +2906,21 @@ checkDimensionValueList(api.DimensionValueList o) {
|
| buildCounterDimensionValueList++;
|
| if (buildCounterDimensionValueList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed345(o.items);
|
| + checkUnnamed758(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterDimensionValueList--;
|
| }
|
|
|
| -buildUnnamed346() {
|
| +buildUnnamed759() {
|
| var o = new core.List<api.DimensionFilter>();
|
| o.add(buildDimensionFilter());
|
| o.add(buildDimensionFilter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed346(core.List<api.DimensionFilter> o) {
|
| +checkUnnamed759(core.List<api.DimensionFilter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionFilter(o[0]);
|
| checkDimensionFilter(o[1]);
|
| @@ -2898,7 +2933,7 @@ buildDimensionValueRequest() {
|
| if (buildCounterDimensionValueRequest < 3) {
|
| o.dimensionName = "foo";
|
| o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| - o.filters = buildUnnamed346();
|
| + o.filters = buildUnnamed759();
|
| o.kind = "foo";
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| }
|
| @@ -2911,47 +2946,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")));
|
| - checkUnnamed346(o.filters);
|
| + checkUnnamed759(o.filters);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| }
|
| buildCounterDimensionValueRequest--;
|
| }
|
|
|
| -buildUnnamed347() {
|
| +buildUnnamed760() {
|
| var o = new core.List<api.DirectorySiteContactAssignment>();
|
| o.add(buildDirectorySiteContactAssignment());
|
| o.add(buildDirectorySiteContactAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed347(core.List<api.DirectorySiteContactAssignment> o) {
|
| +checkUnnamed760(core.List<api.DirectorySiteContactAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectorySiteContactAssignment(o[0]);
|
| checkDirectorySiteContactAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed348() {
|
| +buildUnnamed761() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed348(core.List<core.String> o) {
|
| +checkUnnamed761(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'));
|
| }
|
|
|
| -buildUnnamed349() {
|
| +buildUnnamed762() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed349(core.List<core.String> o) {
|
| +checkUnnamed762(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'));
|
| @@ -2963,14 +2998,14 @@ buildDirectorySite() {
|
| buildCounterDirectorySite++;
|
| if (buildCounterDirectorySite < 3) {
|
| o.active = true;
|
| - o.contactAssignments = buildUnnamed347();
|
| + o.contactAssignments = buildUnnamed760();
|
| o.countryId = "foo";
|
| o.currencyId = "foo";
|
| o.description = "foo";
|
| o.id = "foo";
|
| o.idDimensionValue = buildDimensionValue();
|
| - o.inpageTagFormats = buildUnnamed348();
|
| - o.interstitialTagFormats = buildUnnamed349();
|
| + o.inpageTagFormats = buildUnnamed761();
|
| + o.interstitialTagFormats = buildUnnamed762();
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.parentId = "foo";
|
| @@ -2985,14 +3020,14 @@ checkDirectorySite(api.DirectorySite o) {
|
| buildCounterDirectorySite++;
|
| if (buildCounterDirectorySite < 3) {
|
| unittest.expect(o.active, unittest.isTrue);
|
| - checkUnnamed347(o.contactAssignments);
|
| + checkUnnamed760(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);
|
| - checkUnnamed348(o.inpageTagFormats);
|
| - checkUnnamed349(o.interstitialTagFormats);
|
| + checkUnnamed761(o.inpageTagFormats);
|
| + checkUnnamed762(o.interstitialTagFormats);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.parentId, unittest.equals('foo'));
|
| @@ -3054,14 +3089,14 @@ checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) {
|
| buildCounterDirectorySiteContactAssignment--;
|
| }
|
|
|
| -buildUnnamed350() {
|
| +buildUnnamed763() {
|
| var o = new core.List<api.DirectorySiteContact>();
|
| o.add(buildDirectorySiteContact());
|
| o.add(buildDirectorySiteContact());
|
| return o;
|
| }
|
|
|
| -checkUnnamed350(core.List<api.DirectorySiteContact> o) {
|
| +checkUnnamed763(core.List<api.DirectorySiteContact> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectorySiteContact(o[0]);
|
| checkDirectorySiteContact(o[1]);
|
| @@ -3072,7 +3107,7 @@ buildDirectorySiteContactsListResponse() {
|
| var o = new api.DirectorySiteContactsListResponse();
|
| buildCounterDirectorySiteContactsListResponse++;
|
| if (buildCounterDirectorySiteContactsListResponse < 3) {
|
| - o.directorySiteContacts = buildUnnamed350();
|
| + o.directorySiteContacts = buildUnnamed763();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3083,7 +3118,7 @@ buildDirectorySiteContactsListResponse() {
|
| checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o) {
|
| buildCounterDirectorySiteContactsListResponse++;
|
| if (buildCounterDirectorySiteContactsListResponse < 3) {
|
| - checkUnnamed350(o.directorySiteContacts);
|
| + checkUnnamed763(o.directorySiteContacts);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -3121,14 +3156,14 @@ checkDirectorySiteSettings(api.DirectorySiteSettings o) {
|
| buildCounterDirectorySiteSettings--;
|
| }
|
|
|
| -buildUnnamed351() {
|
| +buildUnnamed764() {
|
| var o = new core.List<api.DirectorySite>();
|
| o.add(buildDirectorySite());
|
| o.add(buildDirectorySite());
|
| return o;
|
| }
|
|
|
| -checkUnnamed351(core.List<api.DirectorySite> o) {
|
| +checkUnnamed764(core.List<api.DirectorySite> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectorySite(o[0]);
|
| checkDirectorySite(o[1]);
|
| @@ -3139,7 +3174,7 @@ buildDirectorySitesListResponse() {
|
| var o = new api.DirectorySitesListResponse();
|
| buildCounterDirectorySitesListResponse++;
|
| if (buildCounterDirectorySitesListResponse < 3) {
|
| - o.directorySites = buildUnnamed351();
|
| + o.directorySites = buildUnnamed764();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3150,21 +3185,21 @@ buildDirectorySitesListResponse() {
|
| checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
|
| buildCounterDirectorySitesListResponse++;
|
| if (buildCounterDirectorySitesListResponse < 3) {
|
| - checkUnnamed351(o.directorySites);
|
| + checkUnnamed764(o.directorySites);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterDirectorySitesListResponse--;
|
| }
|
|
|
| -buildUnnamed352() {
|
| +buildUnnamed765() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed352(core.List<core.String> o) {
|
| +checkUnnamed765(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'));
|
| @@ -3185,7 +3220,7 @@ buildEventTag() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.siteFilterType = "foo";
|
| - o.siteIds = buildUnnamed352();
|
| + o.siteIds = buildUnnamed765();
|
| o.sslCompliant = true;
|
| o.status = "foo";
|
| o.subaccountId = "foo";
|
| @@ -3210,7 +3245,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'));
|
| - checkUnnamed352(o.siteIds);
|
| + checkUnnamed765(o.siteIds);
|
| unittest.expect(o.sslCompliant, unittest.isTrue);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| @@ -3242,14 +3277,14 @@ checkEventTagOverride(api.EventTagOverride o) {
|
| buildCounterEventTagOverride--;
|
| }
|
|
|
| -buildUnnamed353() {
|
| +buildUnnamed766() {
|
| var o = new core.List<api.EventTag>();
|
| o.add(buildEventTag());
|
| o.add(buildEventTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed353(core.List<api.EventTag> o) {
|
| +checkUnnamed766(core.List<api.EventTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEventTag(o[0]);
|
| checkEventTag(o[1]);
|
| @@ -3260,7 +3295,7 @@ buildEventTagsListResponse() {
|
| var o = new api.EventTagsListResponse();
|
| buildCounterEventTagsListResponse++;
|
| if (buildCounterEventTagsListResponse < 3) {
|
| - o.eventTags = buildUnnamed353();
|
| + o.eventTags = buildUnnamed766();
|
| o.kind = "foo";
|
| }
|
| buildCounterEventTagsListResponse--;
|
| @@ -3270,7 +3305,7 @@ buildEventTagsListResponse() {
|
| checkEventTagsListResponse(api.EventTagsListResponse o) {
|
| buildCounterEventTagsListResponse++;
|
| if (buildCounterEventTagsListResponse < 3) {
|
| - checkUnnamed353(o.eventTags);
|
| + checkUnnamed766(o.eventTags);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterEventTagsListResponse--;
|
| @@ -3334,14 +3369,14 @@ checkFile(api.File o) {
|
| buildCounterFile--;
|
| }
|
|
|
| -buildUnnamed354() {
|
| +buildUnnamed767() {
|
| var o = new core.List<api.File>();
|
| o.add(buildFile());
|
| o.add(buildFile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed354(core.List<api.File> o) {
|
| +checkUnnamed767(core.List<api.File> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFile(o[0]);
|
| checkFile(o[1]);
|
| @@ -3353,7 +3388,7 @@ buildFileList() {
|
| buildCounterFileList++;
|
| if (buildCounterFileList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed354();
|
| + o.items = buildUnnamed767();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3365,7 +3400,7 @@ checkFileList(api.FileList o) {
|
| buildCounterFileList++;
|
| if (buildCounterFileList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed354(o.items);
|
| + checkUnnamed767(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -3393,14 +3428,14 @@ checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
|
| buildCounterFloodlightActivitiesGenerateTagResponse--;
|
| }
|
|
|
| -buildUnnamed355() {
|
| +buildUnnamed768() {
|
| var o = new core.List<api.FloodlightActivity>();
|
| o.add(buildFloodlightActivity());
|
| o.add(buildFloodlightActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed355(core.List<api.FloodlightActivity> o) {
|
| +checkUnnamed768(core.List<api.FloodlightActivity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivity(o[0]);
|
| checkFloodlightActivity(o[1]);
|
| @@ -3411,7 +3446,7 @@ buildFloodlightActivitiesListResponse() {
|
| var o = new api.FloodlightActivitiesListResponse();
|
| buildCounterFloodlightActivitiesListResponse++;
|
| if (buildCounterFloodlightActivitiesListResponse < 3) {
|
| - o.floodlightActivities = buildUnnamed355();
|
| + o.floodlightActivities = buildUnnamed768();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3422,47 +3457,47 @@ buildFloodlightActivitiesListResponse() {
|
| checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
|
| buildCounterFloodlightActivitiesListResponse++;
|
| if (buildCounterFloodlightActivitiesListResponse < 3) {
|
| - checkUnnamed355(o.floodlightActivities);
|
| + checkUnnamed768(o.floodlightActivities);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterFloodlightActivitiesListResponse--;
|
| }
|
|
|
| -buildUnnamed356() {
|
| +buildUnnamed769() {
|
| var o = new core.List<api.FloodlightActivityDynamicTag>();
|
| o.add(buildFloodlightActivityDynamicTag());
|
| o.add(buildFloodlightActivityDynamicTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed356(core.List<api.FloodlightActivityDynamicTag> o) {
|
| +checkUnnamed769(core.List<api.FloodlightActivityDynamicTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivityDynamicTag(o[0]);
|
| checkFloodlightActivityDynamicTag(o[1]);
|
| }
|
|
|
| -buildUnnamed357() {
|
| +buildUnnamed770() {
|
| var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
|
| o.add(buildFloodlightActivityPublisherDynamicTag());
|
| o.add(buildFloodlightActivityPublisherDynamicTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed357(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
|
| +checkUnnamed770(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivityPublisherDynamicTag(o[0]);
|
| checkFloodlightActivityPublisherDynamicTag(o[1]);
|
| }
|
|
|
| -buildUnnamed358() {
|
| +buildUnnamed771() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed358(core.List<core.String> o) {
|
| +checkUnnamed771(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'));
|
| @@ -3478,7 +3513,7 @@ buildFloodlightActivity() {
|
| o.advertiserIdDimensionValue = buildDimensionValue();
|
| o.cacheBustingType = "foo";
|
| o.countingMethod = "foo";
|
| - o.defaultTags = buildUnnamed356();
|
| + o.defaultTags = buildUnnamed769();
|
| o.expectedUrl = "foo";
|
| o.floodlightActivityGroupId = "foo";
|
| o.floodlightActivityGroupName = "foo";
|
| @@ -3493,14 +3528,14 @@ buildFloodlightActivity() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.notes = "foo";
|
| - o.publisherTags = buildUnnamed357();
|
| + o.publisherTags = buildUnnamed770();
|
| o.secure = true;
|
| o.sslCompliant = true;
|
| o.sslRequired = true;
|
| o.subaccountId = "foo";
|
| o.tagFormat = "foo";
|
| o.tagString = "foo";
|
| - o.userDefinedVariableTypes = buildUnnamed358();
|
| + o.userDefinedVariableTypes = buildUnnamed771();
|
| }
|
| buildCounterFloodlightActivity--;
|
| return o;
|
| @@ -3514,7 +3549,7 @@ checkFloodlightActivity(api.FloodlightActivity o) {
|
| checkDimensionValue(o.advertiserIdDimensionValue);
|
| unittest.expect(o.cacheBustingType, unittest.equals('foo'));
|
| unittest.expect(o.countingMethod, unittest.equals('foo'));
|
| - checkUnnamed356(o.defaultTags);
|
| + checkUnnamed769(o.defaultTags);
|
| unittest.expect(o.expectedUrl, unittest.equals('foo'));
|
| unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
|
| unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
|
| @@ -3529,14 +3564,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'));
|
| - checkUnnamed357(o.publisherTags);
|
| + checkUnnamed770(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'));
|
| - checkUnnamed358(o.userDefinedVariableTypes);
|
| + checkUnnamed771(o.userDefinedVariableTypes);
|
| }
|
| buildCounterFloodlightActivity--;
|
| }
|
| @@ -3605,14 +3640,14 @@ checkFloodlightActivityGroup(api.FloodlightActivityGroup o) {
|
| buildCounterFloodlightActivityGroup--;
|
| }
|
|
|
| -buildUnnamed359() {
|
| +buildUnnamed772() {
|
| var o = new core.List<api.FloodlightActivityGroup>();
|
| o.add(buildFloodlightActivityGroup());
|
| o.add(buildFloodlightActivityGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed359(core.List<api.FloodlightActivityGroup> o) {
|
| +checkUnnamed772(core.List<api.FloodlightActivityGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightActivityGroup(o[0]);
|
| checkFloodlightActivityGroup(o[1]);
|
| @@ -3623,7 +3658,7 @@ buildFloodlightActivityGroupsListResponse() {
|
| var o = new api.FloodlightActivityGroupsListResponse();
|
| buildCounterFloodlightActivityGroupsListResponse++;
|
| if (buildCounterFloodlightActivityGroupsListResponse < 3) {
|
| - o.floodlightActivityGroups = buildUnnamed359();
|
| + o.floodlightActivityGroups = buildUnnamed772();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -3634,7 +3669,7 @@ buildFloodlightActivityGroupsListResponse() {
|
| checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListResponse o) {
|
| buildCounterFloodlightActivityGroupsListResponse++;
|
| if (buildCounterFloodlightActivityGroupsListResponse < 3) {
|
| - checkUnnamed359(o.floodlightActivityGroups);
|
| + checkUnnamed772(o.floodlightActivityGroups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -3670,27 +3705,27 @@ checkFloodlightActivityPublisherDynamicTag(api.FloodlightActivityPublisherDynami
|
| buildCounterFloodlightActivityPublisherDynamicTag--;
|
| }
|
|
|
| -buildUnnamed360() {
|
| +buildUnnamed773() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed360(core.List<core.String> o) {
|
| +checkUnnamed773(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'));
|
| }
|
|
|
| -buildUnnamed361() {
|
| +buildUnnamed774() {
|
| var o = new core.List<api.UserDefinedVariableConfiguration>();
|
| o.add(buildUserDefinedVariableConfiguration());
|
| o.add(buildUserDefinedVariableConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed361(core.List<api.UserDefinedVariableConfiguration> o) {
|
| +checkUnnamed774(core.List<api.UserDefinedVariableConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserDefinedVariableConfiguration(o[0]);
|
| checkUserDefinedVariableConfiguration(o[1]);
|
| @@ -3714,10 +3749,10 @@ buildFloodlightConfiguration() {
|
| o.naturalSearchConversionAttributionOption = "foo";
|
| o.omnitureSettings = buildOmnitureSettings();
|
| o.sslRequired = true;
|
| - o.standardVariableTypes = buildUnnamed360();
|
| + o.standardVariableTypes = buildUnnamed773();
|
| o.subaccountId = "foo";
|
| o.tagSettings = buildTagSettings();
|
| - o.userDefinedVariableConfigurations = buildUnnamed361();
|
| + o.userDefinedVariableConfigurations = buildUnnamed774();
|
| }
|
| buildCounterFloodlightConfiguration--;
|
| return o;
|
| @@ -3739,22 +3774,22 @@ checkFloodlightConfiguration(api.FloodlightConfiguration o) {
|
| unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals('foo'));
|
| checkOmnitureSettings(o.omnitureSettings);
|
| unittest.expect(o.sslRequired, unittest.isTrue);
|
| - checkUnnamed360(o.standardVariableTypes);
|
| + checkUnnamed773(o.standardVariableTypes);
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| checkTagSettings(o.tagSettings);
|
| - checkUnnamed361(o.userDefinedVariableConfigurations);
|
| + checkUnnamed774(o.userDefinedVariableConfigurations);
|
| }
|
| buildCounterFloodlightConfiguration--;
|
| }
|
|
|
| -buildUnnamed362() {
|
| +buildUnnamed775() {
|
| var o = new core.List<api.FloodlightConfiguration>();
|
| o.add(buildFloodlightConfiguration());
|
| o.add(buildFloodlightConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed362(core.List<api.FloodlightConfiguration> o) {
|
| +checkUnnamed775(core.List<api.FloodlightConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFloodlightConfiguration(o[0]);
|
| checkFloodlightConfiguration(o[1]);
|
| @@ -3765,7 +3800,7 @@ buildFloodlightConfigurationsListResponse() {
|
| var o = new api.FloodlightConfigurationsListResponse();
|
| buildCounterFloodlightConfigurationsListResponse++;
|
| if (buildCounterFloodlightConfigurationsListResponse < 3) {
|
| - o.floodlightConfigurations = buildUnnamed362();
|
| + o.floodlightConfigurations = buildUnnamed775();
|
| o.kind = "foo";
|
| }
|
| buildCounterFloodlightConfigurationsListResponse--;
|
| @@ -3775,46 +3810,46 @@ buildFloodlightConfigurationsListResponse() {
|
| checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListResponse o) {
|
| buildCounterFloodlightConfigurationsListResponse++;
|
| if (buildCounterFloodlightConfigurationsListResponse < 3) {
|
| - checkUnnamed362(o.floodlightConfigurations);
|
| + checkUnnamed775(o.floodlightConfigurations);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterFloodlightConfigurationsListResponse--;
|
| }
|
|
|
| -buildUnnamed363() {
|
| +buildUnnamed776() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed363(core.List<api.Dimension> o) {
|
| +checkUnnamed776(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed364() {
|
| +buildUnnamed777() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed364(core.List<api.Dimension> o) {
|
| +checkUnnamed777(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed365() {
|
| +buildUnnamed778() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed365(core.List<api.Metric> o) {
|
| +checkUnnamed778(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -3825,10 +3860,10 @@ buildFloodlightReportCompatibleFields() {
|
| var o = new api.FloodlightReportCompatibleFields();
|
| buildCounterFloodlightReportCompatibleFields++;
|
| if (buildCounterFloodlightReportCompatibleFields < 3) {
|
| - o.dimensionFilters = buildUnnamed363();
|
| - o.dimensions = buildUnnamed364();
|
| + o.dimensionFilters = buildUnnamed776();
|
| + o.dimensions = buildUnnamed777();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed365();
|
| + o.metrics = buildUnnamed778();
|
| }
|
| buildCounterFloodlightReportCompatibleFields--;
|
| return o;
|
| @@ -3837,10 +3872,10 @@ buildFloodlightReportCompatibleFields() {
|
| checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
|
| buildCounterFloodlightReportCompatibleFields++;
|
| if (buildCounterFloodlightReportCompatibleFields < 3) {
|
| - checkUnnamed363(o.dimensionFilters);
|
| - checkUnnamed364(o.dimensions);
|
| + checkUnnamed776(o.dimensionFilters);
|
| + checkUnnamed777(o.dimensions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed365(o.metrics);
|
| + checkUnnamed778(o.metrics);
|
| }
|
| buildCounterFloodlightReportCompatibleFields--;
|
| }
|
| @@ -3893,66 +3928,66 @@ checkFsCommand(api.FsCommand o) {
|
| buildCounterFsCommand--;
|
| }
|
|
|
| -buildUnnamed366() {
|
| +buildUnnamed779() {
|
| var o = new core.List<api.City>();
|
| o.add(buildCity());
|
| o.add(buildCity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed366(core.List<api.City> o) {
|
| +checkUnnamed779(core.List<api.City> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCity(o[0]);
|
| checkCity(o[1]);
|
| }
|
|
|
| -buildUnnamed367() {
|
| +buildUnnamed780() {
|
| var o = new core.List<api.Country>();
|
| o.add(buildCountry());
|
| o.add(buildCountry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed367(core.List<api.Country> o) {
|
| +checkUnnamed780(core.List<api.Country> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCountry(o[0]);
|
| checkCountry(o[1]);
|
| }
|
|
|
| -buildUnnamed368() {
|
| +buildUnnamed781() {
|
| var o = new core.List<api.Metro>();
|
| o.add(buildMetro());
|
| o.add(buildMetro());
|
| return o;
|
| }
|
|
|
| -checkUnnamed368(core.List<api.Metro> o) {
|
| +checkUnnamed781(core.List<api.Metro> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetro(o[0]);
|
| checkMetro(o[1]);
|
| }
|
|
|
| -buildUnnamed369() {
|
| +buildUnnamed782() {
|
| var o = new core.List<api.PostalCode>();
|
| o.add(buildPostalCode());
|
| o.add(buildPostalCode());
|
| return o;
|
| }
|
|
|
| -checkUnnamed369(core.List<api.PostalCode> o) {
|
| +checkUnnamed782(core.List<api.PostalCode> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPostalCode(o[0]);
|
| checkPostalCode(o[1]);
|
| }
|
|
|
| -buildUnnamed370() {
|
| +buildUnnamed783() {
|
| var o = new core.List<api.Region>();
|
| o.add(buildRegion());
|
| o.add(buildRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed370(core.List<api.Region> o) {
|
| +checkUnnamed783(core.List<api.Region> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRegion(o[0]);
|
| checkRegion(o[1]);
|
| @@ -3963,12 +3998,12 @@ buildGeoTargeting() {
|
| var o = new api.GeoTargeting();
|
| buildCounterGeoTargeting++;
|
| if (buildCounterGeoTargeting < 3) {
|
| - o.cities = buildUnnamed366();
|
| - o.countries = buildUnnamed367();
|
| + o.cities = buildUnnamed779();
|
| + o.countries = buildUnnamed780();
|
| o.excludeCountries = true;
|
| - o.metros = buildUnnamed368();
|
| - o.postalCodes = buildUnnamed369();
|
| - o.regions = buildUnnamed370();
|
| + o.metros = buildUnnamed781();
|
| + o.postalCodes = buildUnnamed782();
|
| + o.regions = buildUnnamed783();
|
| }
|
| buildCounterGeoTargeting--;
|
| return o;
|
| @@ -3977,12 +4012,12 @@ buildGeoTargeting() {
|
| checkGeoTargeting(api.GeoTargeting o) {
|
| buildCounterGeoTargeting++;
|
| if (buildCounterGeoTargeting < 3) {
|
| - checkUnnamed366(o.cities);
|
| - checkUnnamed367(o.countries);
|
| + checkUnnamed779(o.cities);
|
| + checkUnnamed780(o.countries);
|
| unittest.expect(o.excludeCountries, unittest.isTrue);
|
| - checkUnnamed368(o.metros);
|
| - checkUnnamed369(o.postalCodes);
|
| - checkUnnamed370(o.regions);
|
| + checkUnnamed781(o.metros);
|
| + checkUnnamed782(o.postalCodes);
|
| + checkUnnamed783(o.regions);
|
| }
|
| buildCounterGeoTargeting--;
|
| }
|
| @@ -4033,14 +4068,14 @@ checkLandingPage(api.LandingPage o) {
|
| buildCounterLandingPage--;
|
| }
|
|
|
| -buildUnnamed371() {
|
| +buildUnnamed784() {
|
| var o = new core.List<api.LandingPage>();
|
| o.add(buildLandingPage());
|
| o.add(buildLandingPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed371(core.List<api.LandingPage> o) {
|
| +checkUnnamed784(core.List<api.LandingPage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLandingPage(o[0]);
|
| checkLandingPage(o[1]);
|
| @@ -4052,7 +4087,7 @@ buildLandingPagesListResponse() {
|
| buildCounterLandingPagesListResponse++;
|
| if (buildCounterLandingPagesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.landingPages = buildUnnamed371();
|
| + o.landingPages = buildUnnamed784();
|
| }
|
| buildCounterLandingPagesListResponse--;
|
| return o;
|
| @@ -4062,7 +4097,7 @@ checkLandingPagesListResponse(api.LandingPagesListResponse o) {
|
| buildCounterLandingPagesListResponse++;
|
| if (buildCounterLandingPagesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed371(o.landingPages);
|
| + checkUnnamed784(o.landingPages);
|
| }
|
| buildCounterLandingPagesListResponse--;
|
| }
|
| @@ -4178,14 +4213,14 @@ checkMetro(api.Metro o) {
|
| buildCounterMetro--;
|
| }
|
|
|
| -buildUnnamed372() {
|
| +buildUnnamed785() {
|
| var o = new core.List<api.Metro>();
|
| o.add(buildMetro());
|
| o.add(buildMetro());
|
| return o;
|
| }
|
|
|
| -checkUnnamed372(core.List<api.Metro> o) {
|
| +checkUnnamed785(core.List<api.Metro> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetro(o[0]);
|
| checkMetro(o[1]);
|
| @@ -4197,7 +4232,7 @@ buildMetrosListResponse() {
|
| buildCounterMetrosListResponse++;
|
| if (buildCounterMetrosListResponse < 3) {
|
| o.kind = "foo";
|
| - o.metros = buildUnnamed372();
|
| + o.metros = buildUnnamed785();
|
| }
|
| buildCounterMetrosListResponse--;
|
| return o;
|
| @@ -4207,7 +4242,7 @@ checkMetrosListResponse(api.MetrosListResponse o) {
|
| buildCounterMetrosListResponse++;
|
| if (buildCounterMetrosListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed372(o.metros);
|
| + checkUnnamed785(o.metros);
|
| }
|
| buildCounterMetrosListResponse--;
|
| }
|
| @@ -4239,14 +4274,14 @@ checkMobileCarrier(api.MobileCarrier o) {
|
| buildCounterMobileCarrier--;
|
| }
|
|
|
| -buildUnnamed373() {
|
| +buildUnnamed786() {
|
| var o = new core.List<api.MobileCarrier>();
|
| o.add(buildMobileCarrier());
|
| o.add(buildMobileCarrier());
|
| return o;
|
| }
|
|
|
| -checkUnnamed373(core.List<api.MobileCarrier> o) {
|
| +checkUnnamed786(core.List<api.MobileCarrier> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMobileCarrier(o[0]);
|
| checkMobileCarrier(o[1]);
|
| @@ -4258,7 +4293,7 @@ buildMobileCarriersListResponse() {
|
| buildCounterMobileCarriersListResponse++;
|
| if (buildCounterMobileCarriersListResponse < 3) {
|
| o.kind = "foo";
|
| - o.mobileCarriers = buildUnnamed373();
|
| + o.mobileCarriers = buildUnnamed786();
|
| }
|
| buildCounterMobileCarriersListResponse--;
|
| return o;
|
| @@ -4268,19 +4303,19 @@ checkMobileCarriersListResponse(api.MobileCarriersListResponse o) {
|
| buildCounterMobileCarriersListResponse++;
|
| if (buildCounterMobileCarriersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed373(o.mobileCarriers);
|
| + checkUnnamed786(o.mobileCarriers);
|
| }
|
| buildCounterMobileCarriersListResponse--;
|
| }
|
|
|
| -buildUnnamed374() {
|
| +buildUnnamed787() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed374(core.List<core.String> o) {
|
| +checkUnnamed787(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'));
|
| @@ -4292,7 +4327,7 @@ buildObjectFilter() {
|
| buildCounterObjectFilter++;
|
| if (buildCounterObjectFilter < 3) {
|
| o.kind = "foo";
|
| - o.objectIds = buildUnnamed374();
|
| + o.objectIds = buildUnnamed787();
|
| o.status = "foo";
|
| }
|
| buildCounterObjectFilter--;
|
| @@ -4303,7 +4338,7 @@ checkObjectFilter(api.ObjectFilter o) {
|
| buildCounterObjectFilter++;
|
| if (buildCounterObjectFilter < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed374(o.objectIds);
|
| + checkUnnamed787(o.objectIds);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterObjectFilter--;
|
| @@ -4407,14 +4442,14 @@ checkOperatingSystemVersion(api.OperatingSystemVersion o) {
|
| buildCounterOperatingSystemVersion--;
|
| }
|
|
|
| -buildUnnamed375() {
|
| +buildUnnamed788() {
|
| var o = new core.List<api.OperatingSystemVersion>();
|
| o.add(buildOperatingSystemVersion());
|
| o.add(buildOperatingSystemVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed375(core.List<api.OperatingSystemVersion> o) {
|
| +checkUnnamed788(core.List<api.OperatingSystemVersion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystemVersion(o[0]);
|
| checkOperatingSystemVersion(o[1]);
|
| @@ -4426,7 +4461,7 @@ buildOperatingSystemVersionsListResponse() {
|
| buildCounterOperatingSystemVersionsListResponse++;
|
| if (buildCounterOperatingSystemVersionsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.operatingSystemVersions = buildUnnamed375();
|
| + o.operatingSystemVersions = buildUnnamed788();
|
| }
|
| buildCounterOperatingSystemVersionsListResponse--;
|
| return o;
|
| @@ -4436,19 +4471,19 @@ checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
|
| buildCounterOperatingSystemVersionsListResponse++;
|
| if (buildCounterOperatingSystemVersionsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed375(o.operatingSystemVersions);
|
| + checkUnnamed788(o.operatingSystemVersions);
|
| }
|
| buildCounterOperatingSystemVersionsListResponse--;
|
| }
|
|
|
| -buildUnnamed376() {
|
| +buildUnnamed789() {
|
| var o = new core.List<api.OperatingSystem>();
|
| o.add(buildOperatingSystem());
|
| o.add(buildOperatingSystem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed376(core.List<api.OperatingSystem> o) {
|
| +checkUnnamed789(core.List<api.OperatingSystem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystem(o[0]);
|
| checkOperatingSystem(o[1]);
|
| @@ -4460,7 +4495,7 @@ buildOperatingSystemsListResponse() {
|
| buildCounterOperatingSystemsListResponse++;
|
| if (buildCounterOperatingSystemsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.operatingSystems = buildUnnamed376();
|
| + o.operatingSystems = buildUnnamed789();
|
| }
|
| buildCounterOperatingSystemsListResponse--;
|
| return o;
|
| @@ -4470,7 +4505,7 @@ checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) {
|
| buildCounterOperatingSystemsListResponse++;
|
| if (buildCounterOperatingSystemsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed376(o.operatingSystems);
|
| + checkUnnamed789(o.operatingSystems);
|
| }
|
| buildCounterOperatingSystemsListResponse--;
|
| }
|
| @@ -4498,53 +4533,53 @@ checkOptimizationActivity(api.OptimizationActivity o) {
|
| buildCounterOptimizationActivity--;
|
| }
|
|
|
| -buildUnnamed377() {
|
| +buildUnnamed790() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed377(core.List<api.Dimension> o) {
|
| +checkUnnamed790(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed378() {
|
| +buildUnnamed791() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed378(core.List<api.Dimension> o) {
|
| +checkUnnamed791(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed379() {
|
| +buildUnnamed792() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed379(core.List<api.Metric> o) {
|
| +checkUnnamed792(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed380() {
|
| +buildUnnamed793() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed380(core.List<api.Dimension> o) {
|
| +checkUnnamed793(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| @@ -4555,11 +4590,11 @@ buildPathToConversionReportCompatibleFields() {
|
| var o = new api.PathToConversionReportCompatibleFields();
|
| buildCounterPathToConversionReportCompatibleFields++;
|
| if (buildCounterPathToConversionReportCompatibleFields < 3) {
|
| - o.conversionDimensions = buildUnnamed377();
|
| - o.customFloodlightVariables = buildUnnamed378();
|
| + o.conversionDimensions = buildUnnamed790();
|
| + o.customFloodlightVariables = buildUnnamed791();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed379();
|
| - o.perInteractionDimensions = buildUnnamed380();
|
| + o.metrics = buildUnnamed792();
|
| + o.perInteractionDimensions = buildUnnamed793();
|
| }
|
| buildCounterPathToConversionReportCompatibleFields--;
|
| return o;
|
| @@ -4568,23 +4603,23 @@ buildPathToConversionReportCompatibleFields() {
|
| checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
|
| buildCounterPathToConversionReportCompatibleFields++;
|
| if (buildCounterPathToConversionReportCompatibleFields < 3) {
|
| - checkUnnamed377(o.conversionDimensions);
|
| - checkUnnamed378(o.customFloodlightVariables);
|
| + checkUnnamed790(o.conversionDimensions);
|
| + checkUnnamed791(o.customFloodlightVariables);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed379(o.metrics);
|
| - checkUnnamed380(o.perInteractionDimensions);
|
| + checkUnnamed792(o.metrics);
|
| + checkUnnamed793(o.perInteractionDimensions);
|
| }
|
| buildCounterPathToConversionReportCompatibleFields--;
|
| }
|
|
|
| -buildUnnamed381() {
|
| +buildUnnamed794() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed381(core.List<core.String> o) {
|
| +checkUnnamed794(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'));
|
| @@ -4629,7 +4664,7 @@ buildPlacement() {
|
| o.sslRequired = true;
|
| o.status = "foo";
|
| o.subaccountId = "foo";
|
| - o.tagFormats = buildUnnamed381();
|
| + o.tagFormats = buildUnnamed794();
|
| o.tagSetting = buildTagSetting();
|
| }
|
| buildCounterPlacement--;
|
| @@ -4673,7 +4708,7 @@ checkPlacement(api.Placement o) {
|
| unittest.expect(o.sslRequired, unittest.isTrue);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| - checkUnnamed381(o.tagFormats);
|
| + checkUnnamed794(o.tagFormats);
|
| checkTagSetting(o.tagSetting);
|
| }
|
| buildCounterPlacement--;
|
| @@ -4704,14 +4739,14 @@ checkPlacementAssignment(api.PlacementAssignment o) {
|
| buildCounterPlacementAssignment--;
|
| }
|
|
|
| -buildUnnamed382() {
|
| +buildUnnamed795() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed382(core.List<core.String> o) {
|
| +checkUnnamed795(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'));
|
| @@ -4728,7 +4763,7 @@ buildPlacementGroup() {
|
| o.archived = true;
|
| o.campaignId = "foo";
|
| o.campaignIdDimensionValue = buildDimensionValue();
|
| - o.childPlacementIds = buildUnnamed382();
|
| + o.childPlacementIds = buildUnnamed795();
|
| o.comment = "foo";
|
| o.contentCategoryId = "foo";
|
| o.createInfo = buildLastModifiedInfo();
|
| @@ -4763,7 +4798,7 @@ checkPlacementGroup(api.PlacementGroup o) {
|
| unittest.expect(o.archived, unittest.isTrue);
|
| unittest.expect(o.campaignId, unittest.equals('foo'));
|
| checkDimensionValue(o.campaignIdDimensionValue);
|
| - checkUnnamed382(o.childPlacementIds);
|
| + checkUnnamed795(o.childPlacementIds);
|
| unittest.expect(o.comment, unittest.equals('foo'));
|
| unittest.expect(o.contentCategoryId, unittest.equals('foo'));
|
| checkLastModifiedInfo(o.createInfo);
|
| @@ -4788,14 +4823,14 @@ checkPlacementGroup(api.PlacementGroup o) {
|
| buildCounterPlacementGroup--;
|
| }
|
|
|
| -buildUnnamed383() {
|
| +buildUnnamed796() {
|
| var o = new core.List<api.PlacementGroup>();
|
| o.add(buildPlacementGroup());
|
| o.add(buildPlacementGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed383(core.List<api.PlacementGroup> o) {
|
| +checkUnnamed796(core.List<api.PlacementGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementGroup(o[0]);
|
| checkPlacementGroup(o[1]);
|
| @@ -4808,7 +4843,7 @@ buildPlacementGroupsListResponse() {
|
| if (buildCounterPlacementGroupsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.placementGroups = buildUnnamed383();
|
| + o.placementGroups = buildUnnamed796();
|
| }
|
| buildCounterPlacementGroupsListResponse--;
|
| return o;
|
| @@ -4819,19 +4854,19 @@ checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) {
|
| if (buildCounterPlacementGroupsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed383(o.placementGroups);
|
| + checkUnnamed796(o.placementGroups);
|
| }
|
| buildCounterPlacementGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed384() {
|
| +buildUnnamed797() {
|
| var o = new core.List<api.PlacementStrategy>();
|
| o.add(buildPlacementStrategy());
|
| o.add(buildPlacementStrategy());
|
| return o;
|
| }
|
|
|
| -checkUnnamed384(core.List<api.PlacementStrategy> o) {
|
| +checkUnnamed797(core.List<api.PlacementStrategy> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementStrategy(o[0]);
|
| checkPlacementStrategy(o[1]);
|
| @@ -4844,7 +4879,7 @@ buildPlacementStrategiesListResponse() {
|
| if (buildCounterPlacementStrategiesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.placementStrategies = buildUnnamed384();
|
| + o.placementStrategies = buildUnnamed797();
|
| }
|
| buildCounterPlacementStrategiesListResponse--;
|
| return o;
|
| @@ -4855,7 +4890,7 @@ checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) {
|
| if (buildCounterPlacementStrategiesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed384(o.placementStrategies);
|
| + checkUnnamed797(o.placementStrategies);
|
| }
|
| buildCounterPlacementStrategiesListResponse--;
|
| }
|
| @@ -4885,14 +4920,14 @@ checkPlacementStrategy(api.PlacementStrategy o) {
|
| buildCounterPlacementStrategy--;
|
| }
|
|
|
| -buildUnnamed385() {
|
| +buildUnnamed798() {
|
| var o = new core.List<api.TagData>();
|
| o.add(buildTagData());
|
| o.add(buildTagData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed385(core.List<api.TagData> o) {
|
| +checkUnnamed798(core.List<api.TagData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTagData(o[0]);
|
| checkTagData(o[1]);
|
| @@ -4904,7 +4939,7 @@ buildPlacementTag() {
|
| buildCounterPlacementTag++;
|
| if (buildCounterPlacementTag < 3) {
|
| o.placementId = "foo";
|
| - o.tagDatas = buildUnnamed385();
|
| + o.tagDatas = buildUnnamed798();
|
| }
|
| buildCounterPlacementTag--;
|
| return o;
|
| @@ -4914,19 +4949,19 @@ checkPlacementTag(api.PlacementTag o) {
|
| buildCounterPlacementTag++;
|
| if (buildCounterPlacementTag < 3) {
|
| unittest.expect(o.placementId, unittest.equals('foo'));
|
| - checkUnnamed385(o.tagDatas);
|
| + checkUnnamed798(o.tagDatas);
|
| }
|
| buildCounterPlacementTag--;
|
| }
|
|
|
| -buildUnnamed386() {
|
| +buildUnnamed799() {
|
| var o = new core.List<api.PlacementTag>();
|
| o.add(buildPlacementTag());
|
| o.add(buildPlacementTag());
|
| return o;
|
| }
|
|
|
| -checkUnnamed386(core.List<api.PlacementTag> o) {
|
| +checkUnnamed799(core.List<api.PlacementTag> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacementTag(o[0]);
|
| checkPlacementTag(o[1]);
|
| @@ -4938,7 +4973,7 @@ buildPlacementsGenerateTagsResponse() {
|
| buildCounterPlacementsGenerateTagsResponse++;
|
| if (buildCounterPlacementsGenerateTagsResponse < 3) {
|
| o.kind = "foo";
|
| - o.placementTags = buildUnnamed386();
|
| + o.placementTags = buildUnnamed799();
|
| }
|
| buildCounterPlacementsGenerateTagsResponse--;
|
| return o;
|
| @@ -4948,19 +4983,19 @@ checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) {
|
| buildCounterPlacementsGenerateTagsResponse++;
|
| if (buildCounterPlacementsGenerateTagsResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed386(o.placementTags);
|
| + checkUnnamed799(o.placementTags);
|
| }
|
| buildCounterPlacementsGenerateTagsResponse--;
|
| }
|
|
|
| -buildUnnamed387() {
|
| +buildUnnamed800() {
|
| var o = new core.List<api.Placement>();
|
| o.add(buildPlacement());
|
| o.add(buildPlacement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed387(core.List<api.Placement> o) {
|
| +checkUnnamed800(core.List<api.Placement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlacement(o[0]);
|
| checkPlacement(o[1]);
|
| @@ -4973,7 +5008,7 @@ buildPlacementsListResponse() {
|
| if (buildCounterPlacementsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.placements = buildUnnamed387();
|
| + o.placements = buildUnnamed800();
|
| }
|
| buildCounterPlacementsListResponse--;
|
| return o;
|
| @@ -4984,7 +5019,7 @@ checkPlacementsListResponse(api.PlacementsListResponse o) {
|
| if (buildCounterPlacementsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed387(o.placements);
|
| + checkUnnamed800(o.placements);
|
| }
|
| buildCounterPlacementsListResponse--;
|
| }
|
| @@ -5012,14 +5047,14 @@ checkPlatformType(api.PlatformType o) {
|
| buildCounterPlatformType--;
|
| }
|
|
|
| -buildUnnamed388() {
|
| +buildUnnamed801() {
|
| var o = new core.List<api.PlatformType>();
|
| o.add(buildPlatformType());
|
| o.add(buildPlatformType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed388(core.List<api.PlatformType> o) {
|
| +checkUnnamed801(core.List<api.PlatformType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlatformType(o[0]);
|
| checkPlatformType(o[1]);
|
| @@ -5031,7 +5066,7 @@ buildPlatformTypesListResponse() {
|
| buildCounterPlatformTypesListResponse++;
|
| if (buildCounterPlatformTypesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.platformTypes = buildUnnamed388();
|
| + o.platformTypes = buildUnnamed801();
|
| }
|
| buildCounterPlatformTypesListResponse--;
|
| return o;
|
| @@ -5041,7 +5076,7 @@ checkPlatformTypesListResponse(api.PlatformTypesListResponse o) {
|
| buildCounterPlatformTypesListResponse++;
|
| if (buildCounterPlatformTypesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed388(o.platformTypes);
|
| + checkUnnamed801(o.platformTypes);
|
| }
|
| buildCounterPlatformTypesListResponse--;
|
| }
|
| @@ -5106,14 +5141,14 @@ checkPostalCode(api.PostalCode o) {
|
| buildCounterPostalCode--;
|
| }
|
|
|
| -buildUnnamed389() {
|
| +buildUnnamed802() {
|
| var o = new core.List<api.PostalCode>();
|
| o.add(buildPostalCode());
|
| o.add(buildPostalCode());
|
| return o;
|
| }
|
|
|
| -checkUnnamed389(core.List<api.PostalCode> o) {
|
| +checkUnnamed802(core.List<api.PostalCode> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPostalCode(o[0]);
|
| checkPostalCode(o[1]);
|
| @@ -5125,7 +5160,7 @@ buildPostalCodesListResponse() {
|
| buildCounterPostalCodesListResponse++;
|
| if (buildCounterPostalCodesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.postalCodes = buildUnnamed389();
|
| + o.postalCodes = buildUnnamed802();
|
| }
|
| buildCounterPostalCodesListResponse--;
|
| return o;
|
| @@ -5135,19 +5170,19 @@ checkPostalCodesListResponse(api.PostalCodesListResponse o) {
|
| buildCounterPostalCodesListResponse++;
|
| if (buildCounterPostalCodesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed389(o.postalCodes);
|
| + checkUnnamed802(o.postalCodes);
|
| }
|
| buildCounterPostalCodesListResponse--;
|
| }
|
|
|
| -buildUnnamed390() {
|
| +buildUnnamed803() {
|
| var o = new core.List<api.PricingSchedulePricingPeriod>();
|
| o.add(buildPricingSchedulePricingPeriod());
|
| o.add(buildPricingSchedulePricingPeriod());
|
| return o;
|
| }
|
|
|
| -checkUnnamed390(core.List<api.PricingSchedulePricingPeriod> o) {
|
| +checkUnnamed803(core.List<api.PricingSchedulePricingPeriod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPricingSchedulePricingPeriod(o[0]);
|
| checkPricingSchedulePricingPeriod(o[1]);
|
| @@ -5163,7 +5198,7 @@ buildPricingSchedule() {
|
| o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.flighted = true;
|
| o.floodlightActivityId = "foo";
|
| - o.pricingPeriods = buildUnnamed390();
|
| + o.pricingPeriods = buildUnnamed803();
|
| o.pricingType = "foo";
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| @@ -5180,7 +5215,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'));
|
| - checkUnnamed390(o.pricingPeriods);
|
| + checkUnnamed803(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")));
|
| @@ -5215,27 +5250,27 @@ checkPricingSchedulePricingPeriod(api.PricingSchedulePricingPeriod o) {
|
| buildCounterPricingSchedulePricingPeriod--;
|
| }
|
|
|
| -buildUnnamed391() {
|
| +buildUnnamed804() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed391(core.List<core.String> o) {
|
| +checkUnnamed804(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'));
|
| }
|
|
|
| -buildUnnamed392() {
|
| +buildUnnamed805() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed392(core.List<core.String> o) {
|
| +checkUnnamed805(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'));
|
| @@ -5246,12 +5281,12 @@ buildProgrammaticSetting() {
|
| var o = new api.ProgrammaticSetting();
|
| buildCounterProgrammaticSetting++;
|
| if (buildCounterProgrammaticSetting < 3) {
|
| - o.adxDealIds = buildUnnamed391();
|
| + o.adxDealIds = buildUnnamed804();
|
| o.insertionOrderId = "foo";
|
| o.insertionOrderIdStatus = true;
|
| o.mediaCostNanos = "foo";
|
| o.programmatic = true;
|
| - o.traffickerEmails = buildUnnamed392();
|
| + o.traffickerEmails = buildUnnamed805();
|
| }
|
| buildCounterProgrammaticSetting--;
|
| return o;
|
| @@ -5260,76 +5295,76 @@ buildProgrammaticSetting() {
|
| checkProgrammaticSetting(api.ProgrammaticSetting o) {
|
| buildCounterProgrammaticSetting++;
|
| if (buildCounterProgrammaticSetting < 3) {
|
| - checkUnnamed391(o.adxDealIds);
|
| + checkUnnamed804(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);
|
| - checkUnnamed392(o.traffickerEmails);
|
| + checkUnnamed805(o.traffickerEmails);
|
| }
|
| buildCounterProgrammaticSetting--;
|
| }
|
|
|
| -buildUnnamed393() {
|
| +buildUnnamed806() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed393(core.List<api.Dimension> o) {
|
| +checkUnnamed806(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed394() {
|
| +buildUnnamed807() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed394(core.List<api.Dimension> o) {
|
| +checkUnnamed807(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed395() {
|
| +buildUnnamed808() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed395(core.List<api.Metric> o) {
|
| +checkUnnamed808(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed396() {
|
| +buildUnnamed809() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed396(core.List<api.Metric> o) {
|
| +checkUnnamed809(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed397() {
|
| +buildUnnamed810() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed397(core.List<api.Metric> o) {
|
| +checkUnnamed810(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -5340,12 +5375,12 @@ buildReachReportCompatibleFields() {
|
| var o = new api.ReachReportCompatibleFields();
|
| buildCounterReachReportCompatibleFields++;
|
| if (buildCounterReachReportCompatibleFields < 3) {
|
| - o.dimensionFilters = buildUnnamed393();
|
| - o.dimensions = buildUnnamed394();
|
| + o.dimensionFilters = buildUnnamed806();
|
| + o.dimensions = buildUnnamed807();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed395();
|
| - o.pivotedActivityMetrics = buildUnnamed396();
|
| - o.reachByFrequencyMetrics = buildUnnamed397();
|
| + o.metrics = buildUnnamed808();
|
| + o.pivotedActivityMetrics = buildUnnamed809();
|
| + o.reachByFrequencyMetrics = buildUnnamed810();
|
| }
|
| buildCounterReachReportCompatibleFields--;
|
| return o;
|
| @@ -5354,12 +5389,12 @@ buildReachReportCompatibleFields() {
|
| checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
|
| buildCounterReachReportCompatibleFields++;
|
| if (buildCounterReachReportCompatibleFields < 3) {
|
| - checkUnnamed393(o.dimensionFilters);
|
| - checkUnnamed394(o.dimensions);
|
| + checkUnnamed806(o.dimensionFilters);
|
| + checkUnnamed807(o.dimensions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed395(o.metrics);
|
| - checkUnnamed396(o.pivotedActivityMetrics);
|
| - checkUnnamed397(o.reachByFrequencyMetrics);
|
| + checkUnnamed808(o.metrics);
|
| + checkUnnamed809(o.pivotedActivityMetrics);
|
| + checkUnnamed810(o.reachByFrequencyMetrics);
|
| }
|
| buildCounterReachReportCompatibleFields--;
|
| }
|
| @@ -5416,14 +5451,14 @@ checkRegion(api.Region o) {
|
| buildCounterRegion--;
|
| }
|
|
|
| -buildUnnamed398() {
|
| +buildUnnamed811() {
|
| var o = new core.List<api.Region>();
|
| o.add(buildRegion());
|
| o.add(buildRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed398(core.List<api.Region> o) {
|
| +checkUnnamed811(core.List<api.Region> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRegion(o[0]);
|
| checkRegion(o[1]);
|
| @@ -5435,7 +5470,7 @@ buildRegionsListResponse() {
|
| buildCounterRegionsListResponse++;
|
| if (buildCounterRegionsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.regions = buildUnnamed398();
|
| + o.regions = buildUnnamed811();
|
| }
|
| buildCounterRegionsListResponse--;
|
| return o;
|
| @@ -5445,45 +5480,45 @@ checkRegionsListResponse(api.RegionsListResponse o) {
|
| buildCounterRegionsListResponse++;
|
| if (buildCounterRegionsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed398(o.regions);
|
| + checkUnnamed811(o.regions);
|
| }
|
| buildCounterRegionsListResponse--;
|
| }
|
|
|
| -buildUnnamed399() {
|
| +buildUnnamed812() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed399(core.List<api.DimensionValue> o) {
|
| +checkUnnamed812(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed400() {
|
| +buildUnnamed813() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed400(core.List<api.SortedDimension> o) {
|
| +checkUnnamed813(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed401() {
|
| +buildUnnamed814() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed401(core.List<core.String> o) {
|
| +checkUnnamed814(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'));
|
| @@ -5497,9 +5532,9 @@ buildReportCriteria() {
|
| o.activities = buildActivities();
|
| o.customRichMediaEvents = buildCustomRichMediaEvents();
|
| o.dateRange = buildDateRange();
|
| - o.dimensionFilters = buildUnnamed399();
|
| - o.dimensions = buildUnnamed400();
|
| - o.metricNames = buildUnnamed401();
|
| + o.dimensionFilters = buildUnnamed812();
|
| + o.dimensions = buildUnnamed813();
|
| + o.metricNames = buildUnnamed814();
|
| }
|
| buildCounterReportCriteria--;
|
| return o;
|
| @@ -5511,60 +5546,60 @@ checkReportCriteria(api.ReportCriteria o) {
|
| checkActivities(o.activities);
|
| checkCustomRichMediaEvents(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| - checkUnnamed399(o.dimensionFilters);
|
| - checkUnnamed400(o.dimensions);
|
| - checkUnnamed401(o.metricNames);
|
| + checkUnnamed812(o.dimensionFilters);
|
| + checkUnnamed813(o.dimensions);
|
| + checkUnnamed814(o.metricNames);
|
| }
|
| buildCounterReportCriteria--;
|
| }
|
|
|
| -buildUnnamed402() {
|
| +buildUnnamed815() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed402(core.List<api.SortedDimension> o) {
|
| +checkUnnamed815(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed403() {
|
| +buildUnnamed816() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed403(core.List<api.DimensionValue> o) {
|
| +checkUnnamed816(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed404() {
|
| +buildUnnamed817() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed404(core.List<core.String> o) {
|
| +checkUnnamed817(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'));
|
| }
|
|
|
| -buildUnnamed405() {
|
| +buildUnnamed818() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed405(core.List<core.String> o) {
|
| +checkUnnamed818(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'));
|
| @@ -5575,12 +5610,12 @@ buildReportCrossDimensionReachCriteria() {
|
| var o = new api.ReportCrossDimensionReachCriteria();
|
| buildCounterReportCrossDimensionReachCriteria++;
|
| if (buildCounterReportCrossDimensionReachCriteria < 3) {
|
| - o.breakdown = buildUnnamed402();
|
| + o.breakdown = buildUnnamed815();
|
| o.dateRange = buildDateRange();
|
| o.dimension = "foo";
|
| - o.dimensionFilters = buildUnnamed403();
|
| - o.metricNames = buildUnnamed404();
|
| - o.overlapMetricNames = buildUnnamed405();
|
| + o.dimensionFilters = buildUnnamed816();
|
| + o.metricNames = buildUnnamed817();
|
| + o.overlapMetricNames = buildUnnamed818();
|
| o.pivoted = true;
|
| }
|
| buildCounterReportCrossDimensionReachCriteria--;
|
| @@ -5590,25 +5625,25 @@ buildReportCrossDimensionReachCriteria() {
|
| checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) {
|
| buildCounterReportCrossDimensionReachCriteria++;
|
| if (buildCounterReportCrossDimensionReachCriteria < 3) {
|
| - checkUnnamed402(o.breakdown);
|
| + checkUnnamed815(o.breakdown);
|
| checkDateRange(o.dateRange);
|
| unittest.expect(o.dimension, unittest.equals('foo'));
|
| - checkUnnamed403(o.dimensionFilters);
|
| - checkUnnamed404(o.metricNames);
|
| - checkUnnamed405(o.overlapMetricNames);
|
| + checkUnnamed816(o.dimensionFilters);
|
| + checkUnnamed817(o.metricNames);
|
| + checkUnnamed818(o.overlapMetricNames);
|
| unittest.expect(o.pivoted, unittest.isTrue);
|
| }
|
| buildCounterReportCrossDimensionReachCriteria--;
|
| }
|
|
|
| -buildUnnamed406() {
|
| +buildUnnamed819() {
|
| var o = new core.List<api.Recipient>();
|
| o.add(buildRecipient());
|
| o.add(buildRecipient());
|
| return o;
|
| }
|
|
|
| -checkUnnamed406(core.List<api.Recipient> o) {
|
| +checkUnnamed819(core.List<api.Recipient> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRecipient(o[0]);
|
| checkRecipient(o[1]);
|
| @@ -5622,7 +5657,7 @@ buildReportDelivery() {
|
| o.emailOwner = true;
|
| o.emailOwnerDeliveryType = "foo";
|
| o.message = "foo";
|
| - o.recipients = buildUnnamed406();
|
| + o.recipients = buildUnnamed819();
|
| }
|
| buildCounterReportDelivery--;
|
| return o;
|
| @@ -5634,58 +5669,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'));
|
| - checkUnnamed406(o.recipients);
|
| + checkUnnamed819(o.recipients);
|
| }
|
| buildCounterReportDelivery--;
|
| }
|
|
|
| -buildUnnamed407() {
|
| +buildUnnamed820() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed407(core.List<api.DimensionValue> o) {
|
| +checkUnnamed820(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed408() {
|
| +buildUnnamed821() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed408(core.List<api.DimensionValue> o) {
|
| +checkUnnamed821(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed409() {
|
| +buildUnnamed822() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed409(core.List<api.SortedDimension> o) {
|
| +checkUnnamed822(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed410() {
|
| +buildUnnamed823() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed410(core.List<core.String> o) {
|
| +checkUnnamed823(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'));
|
| @@ -5719,12 +5754,12 @@ buildReportFloodlightCriteria() {
|
| var o = new api.ReportFloodlightCriteria();
|
| buildCounterReportFloodlightCriteria++;
|
| if (buildCounterReportFloodlightCriteria < 3) {
|
| - o.customRichMediaEvents = buildUnnamed407();
|
| + o.customRichMediaEvents = buildUnnamed820();
|
| o.dateRange = buildDateRange();
|
| - o.dimensionFilters = buildUnnamed408();
|
| - o.dimensions = buildUnnamed409();
|
| + o.dimensionFilters = buildUnnamed821();
|
| + o.dimensions = buildUnnamed822();
|
| o.floodlightConfigId = buildDimensionValue();
|
| - o.metricNames = buildUnnamed410();
|
| + o.metricNames = buildUnnamed823();
|
| o.reportProperties = buildReportFloodlightCriteriaReportProperties();
|
| }
|
| buildCounterReportFloodlightCriteria--;
|
| @@ -5734,90 +5769,90 @@ buildReportFloodlightCriteria() {
|
| checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
|
| buildCounterReportFloodlightCriteria++;
|
| if (buildCounterReportFloodlightCriteria < 3) {
|
| - checkUnnamed407(o.customRichMediaEvents);
|
| + checkUnnamed820(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| - checkUnnamed408(o.dimensionFilters);
|
| - checkUnnamed409(o.dimensions);
|
| + checkUnnamed821(o.dimensionFilters);
|
| + checkUnnamed822(o.dimensions);
|
| checkDimensionValue(o.floodlightConfigId);
|
| - checkUnnamed410(o.metricNames);
|
| + checkUnnamed823(o.metricNames);
|
| checkReportFloodlightCriteriaReportProperties(o.reportProperties);
|
| }
|
| buildCounterReportFloodlightCriteria--;
|
| }
|
|
|
| -buildUnnamed411() {
|
| +buildUnnamed824() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed411(core.List<api.DimensionValue> o) {
|
| +checkUnnamed824(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed412() {
|
| +buildUnnamed825() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed412(core.List<api.SortedDimension> o) {
|
| +checkUnnamed825(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed413() {
|
| +buildUnnamed826() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed413(core.List<api.SortedDimension> o) {
|
| +checkUnnamed826(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed414() {
|
| +buildUnnamed827() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed414(core.List<api.DimensionValue> o) {
|
| +checkUnnamed827(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed415() {
|
| +buildUnnamed828() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed415(core.List<core.String> o) {
|
| +checkUnnamed828(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'));
|
| }
|
|
|
| -buildUnnamed416() {
|
| +buildUnnamed829() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed416(core.List<api.SortedDimension> o) {
|
| +checkUnnamed829(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| @@ -5863,14 +5898,14 @@ buildReportPathToConversionCriteria() {
|
| var o = new api.ReportPathToConversionCriteria();
|
| buildCounterReportPathToConversionCriteria++;
|
| if (buildCounterReportPathToConversionCriteria < 3) {
|
| - o.activityFilters = buildUnnamed411();
|
| - o.conversionDimensions = buildUnnamed412();
|
| - o.customFloodlightVariables = buildUnnamed413();
|
| - o.customRichMediaEvents = buildUnnamed414();
|
| + o.activityFilters = buildUnnamed824();
|
| + o.conversionDimensions = buildUnnamed825();
|
| + o.customFloodlightVariables = buildUnnamed826();
|
| + o.customRichMediaEvents = buildUnnamed827();
|
| o.dateRange = buildDateRange();
|
| o.floodlightConfigId = buildDimensionValue();
|
| - o.metricNames = buildUnnamed415();
|
| - o.perInteractionDimensions = buildUnnamed416();
|
| + o.metricNames = buildUnnamed828();
|
| + o.perInteractionDimensions = buildUnnamed829();
|
| o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
|
| }
|
| buildCounterReportPathToConversionCriteria--;
|
| @@ -5880,66 +5915,66 @@ buildReportPathToConversionCriteria() {
|
| checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
|
| buildCounterReportPathToConversionCriteria++;
|
| if (buildCounterReportPathToConversionCriteria < 3) {
|
| - checkUnnamed411(o.activityFilters);
|
| - checkUnnamed412(o.conversionDimensions);
|
| - checkUnnamed413(o.customFloodlightVariables);
|
| - checkUnnamed414(o.customRichMediaEvents);
|
| + checkUnnamed824(o.activityFilters);
|
| + checkUnnamed825(o.conversionDimensions);
|
| + checkUnnamed826(o.customFloodlightVariables);
|
| + checkUnnamed827(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| checkDimensionValue(o.floodlightConfigId);
|
| - checkUnnamed415(o.metricNames);
|
| - checkUnnamed416(o.perInteractionDimensions);
|
| + checkUnnamed828(o.metricNames);
|
| + checkUnnamed829(o.perInteractionDimensions);
|
| checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
|
| }
|
| buildCounterReportPathToConversionCriteria--;
|
| }
|
|
|
| -buildUnnamed417() {
|
| +buildUnnamed830() {
|
| var o = new core.List<api.DimensionValue>();
|
| o.add(buildDimensionValue());
|
| o.add(buildDimensionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed417(core.List<api.DimensionValue> o) {
|
| +checkUnnamed830(core.List<api.DimensionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionValue(o[0]);
|
| checkDimensionValue(o[1]);
|
| }
|
|
|
| -buildUnnamed418() {
|
| +buildUnnamed831() {
|
| var o = new core.List<api.SortedDimension>();
|
| o.add(buildSortedDimension());
|
| o.add(buildSortedDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed418(core.List<api.SortedDimension> o) {
|
| +checkUnnamed831(core.List<api.SortedDimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortedDimension(o[0]);
|
| checkSortedDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed419() {
|
| +buildUnnamed832() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed419(core.List<core.String> o) {
|
| +checkUnnamed832(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() {
|
| +buildUnnamed833() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed420(core.List<core.String> o) {
|
| +checkUnnamed833(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'));
|
| @@ -5953,11 +5988,11 @@ buildReportReachCriteria() {
|
| o.activities = buildActivities();
|
| o.customRichMediaEvents = buildCustomRichMediaEvents();
|
| o.dateRange = buildDateRange();
|
| - o.dimensionFilters = buildUnnamed417();
|
| - o.dimensions = buildUnnamed418();
|
| + o.dimensionFilters = buildUnnamed830();
|
| + o.dimensions = buildUnnamed831();
|
| o.enableAllDimensionCombinations = true;
|
| - o.metricNames = buildUnnamed419();
|
| - o.reachByFrequencyMetricNames = buildUnnamed420();
|
| + o.metricNames = buildUnnamed832();
|
| + o.reachByFrequencyMetricNames = buildUnnamed833();
|
| }
|
| buildCounterReportReachCriteria--;
|
| return o;
|
| @@ -5969,23 +6004,23 @@ checkReportReachCriteria(api.ReportReachCriteria o) {
|
| checkActivities(o.activities);
|
| checkCustomRichMediaEvents(o.customRichMediaEvents);
|
| checkDateRange(o.dateRange);
|
| - checkUnnamed417(o.dimensionFilters);
|
| - checkUnnamed418(o.dimensions);
|
| + checkUnnamed830(o.dimensionFilters);
|
| + checkUnnamed831(o.dimensions);
|
| unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
|
| - checkUnnamed419(o.metricNames);
|
| - checkUnnamed420(o.reachByFrequencyMetricNames);
|
| + checkUnnamed832(o.metricNames);
|
| + checkUnnamed833(o.reachByFrequencyMetricNames);
|
| }
|
| buildCounterReportReachCriteria--;
|
| }
|
|
|
| -buildUnnamed421() {
|
| +buildUnnamed834() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed421(core.List<core.String> o) {
|
| +checkUnnamed834(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'));
|
| @@ -6000,7 +6035,7 @@ buildReportSchedule() {
|
| o.every = 42;
|
| o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.repeats = "foo";
|
| - o.repeatsOnWeekDays = buildUnnamed421();
|
| + o.repeatsOnWeekDays = buildUnnamed834();
|
| o.runsOnDayOfMonth = "foo";
|
| o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| }
|
| @@ -6015,7 +6050,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'));
|
| - checkUnnamed421(o.repeatsOnWeekDays);
|
| + checkUnnamed834(o.repeatsOnWeekDays);
|
| unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
|
| unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| }
|
| @@ -6075,53 +6110,53 @@ checkReport(api.Report o) {
|
| buildCounterReport--;
|
| }
|
|
|
| -buildUnnamed422() {
|
| +buildUnnamed835() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed422(core.List<api.Dimension> o) {
|
| +checkUnnamed835(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed423() {
|
| +buildUnnamed836() {
|
| var o = new core.List<api.Dimension>();
|
| o.add(buildDimension());
|
| o.add(buildDimension());
|
| return o;
|
| }
|
|
|
| -checkUnnamed423(core.List<api.Dimension> o) {
|
| +checkUnnamed836(core.List<api.Dimension> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimension(o[0]);
|
| checkDimension(o[1]);
|
| }
|
|
|
| -buildUnnamed424() {
|
| +buildUnnamed837() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed424(core.List<api.Metric> o) {
|
| +checkUnnamed837(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| }
|
|
|
| -buildUnnamed425() {
|
| +buildUnnamed838() {
|
| var o = new core.List<api.Metric>();
|
| o.add(buildMetric());
|
| o.add(buildMetric());
|
| return o;
|
| }
|
|
|
| -checkUnnamed425(core.List<api.Metric> o) {
|
| +checkUnnamed838(core.List<api.Metric> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetric(o[0]);
|
| checkMetric(o[1]);
|
| @@ -6132,11 +6167,11 @@ buildReportCompatibleFields() {
|
| var o = new api.ReportCompatibleFields();
|
| buildCounterReportCompatibleFields++;
|
| if (buildCounterReportCompatibleFields < 3) {
|
| - o.dimensionFilters = buildUnnamed422();
|
| - o.dimensions = buildUnnamed423();
|
| + o.dimensionFilters = buildUnnamed835();
|
| + o.dimensions = buildUnnamed836();
|
| o.kind = "foo";
|
| - o.metrics = buildUnnamed424();
|
| - o.pivotedActivityMetrics = buildUnnamed425();
|
| + o.metrics = buildUnnamed837();
|
| + o.pivotedActivityMetrics = buildUnnamed838();
|
| }
|
| buildCounterReportCompatibleFields--;
|
| return o;
|
| @@ -6145,23 +6180,23 @@ buildReportCompatibleFields() {
|
| checkReportCompatibleFields(api.ReportCompatibleFields o) {
|
| buildCounterReportCompatibleFields++;
|
| if (buildCounterReportCompatibleFields < 3) {
|
| - checkUnnamed422(o.dimensionFilters);
|
| - checkUnnamed423(o.dimensions);
|
| + checkUnnamed835(o.dimensionFilters);
|
| + checkUnnamed836(o.dimensions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed424(o.metrics);
|
| - checkUnnamed425(o.pivotedActivityMetrics);
|
| + checkUnnamed837(o.metrics);
|
| + checkUnnamed838(o.pivotedActivityMetrics);
|
| }
|
| buildCounterReportCompatibleFields--;
|
| }
|
|
|
| -buildUnnamed426() {
|
| +buildUnnamed839() {
|
| var o = new core.List<api.Report>();
|
| o.add(buildReport());
|
| o.add(buildReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed426(core.List<api.Report> o) {
|
| +checkUnnamed839(core.List<api.Report> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReport(o[0]);
|
| checkReport(o[1]);
|
| @@ -6173,7 +6208,7 @@ buildReportList() {
|
| buildCounterReportList++;
|
| if (buildCounterReportList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed426();
|
| + o.items = buildUnnamed839();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -6185,7 +6220,7 @@ checkReportList(api.ReportList o) {
|
| buildCounterReportList++;
|
| if (buildCounterReportList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed426(o.items);
|
| + checkUnnamed839(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -6238,14 +6273,14 @@ checkRichMediaExitOverride(api.RichMediaExitOverride o) {
|
| buildCounterRichMediaExitOverride--;
|
| }
|
|
|
| -buildUnnamed427() {
|
| +buildUnnamed840() {
|
| var o = new core.List<api.SiteContact>();
|
| o.add(buildSiteContact());
|
| o.add(buildSiteContact());
|
| return o;
|
| }
|
|
|
| -checkUnnamed427(core.List<api.SiteContact> o) {
|
| +checkUnnamed840(core.List<api.SiteContact> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSiteContact(o[0]);
|
| checkSiteContact(o[1]);
|
| @@ -6265,7 +6300,7 @@ buildSite() {
|
| o.keyName = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.siteContacts = buildUnnamed427();
|
| + o.siteContacts = buildUnnamed840();
|
| o.siteSettings = buildSiteSettings();
|
| o.subaccountId = "foo";
|
| }
|
| @@ -6285,7 +6320,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'));
|
| - checkUnnamed427(o.siteContacts);
|
| + checkUnnamed840(o.siteContacts);
|
| checkSiteSettings(o.siteSettings);
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| }
|
| @@ -6348,14 +6383,14 @@ checkSiteSettings(api.SiteSettings o) {
|
| buildCounterSiteSettings--;
|
| }
|
|
|
| -buildUnnamed428() {
|
| +buildUnnamed841() {
|
| var o = new core.List<api.Site>();
|
| o.add(buildSite());
|
| o.add(buildSite());
|
| return o;
|
| }
|
|
|
| -checkUnnamed428(core.List<api.Site> o) {
|
| +checkUnnamed841(core.List<api.Site> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSite(o[0]);
|
| checkSite(o[1]);
|
| @@ -6368,7 +6403,7 @@ buildSitesListResponse() {
|
| if (buildCounterSitesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.sites = buildUnnamed428();
|
| + o.sites = buildUnnamed841();
|
| }
|
| buildCounterSitesListResponse--;
|
| return o;
|
| @@ -6379,7 +6414,7 @@ checkSitesListResponse(api.SitesListResponse o) {
|
| if (buildCounterSitesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed428(o.sites);
|
| + checkUnnamed841(o.sites);
|
| }
|
| buildCounterSitesListResponse--;
|
| }
|
| @@ -6411,14 +6446,14 @@ checkSize(api.Size o) {
|
| buildCounterSize--;
|
| }
|
|
|
| -buildUnnamed429() {
|
| +buildUnnamed842() {
|
| var o = new core.List<api.Size>();
|
| o.add(buildSize());
|
| o.add(buildSize());
|
| return o;
|
| }
|
|
|
| -checkUnnamed429(core.List<api.Size> o) {
|
| +checkUnnamed842(core.List<api.Size> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSize(o[0]);
|
| checkSize(o[1]);
|
| @@ -6430,7 +6465,7 @@ buildSizesListResponse() {
|
| buildCounterSizesListResponse++;
|
| if (buildCounterSizesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.sizes = buildUnnamed429();
|
| + o.sizes = buildUnnamed842();
|
| }
|
| buildCounterSizesListResponse--;
|
| return o;
|
| @@ -6440,7 +6475,7 @@ checkSizesListResponse(api.SizesListResponse o) {
|
| buildCounterSizesListResponse++;
|
| if (buildCounterSizesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed429(o.sizes);
|
| + checkUnnamed842(o.sizes);
|
| }
|
| buildCounterSizesListResponse--;
|
| }
|
| @@ -6468,14 +6503,14 @@ checkSortedDimension(api.SortedDimension o) {
|
| buildCounterSortedDimension--;
|
| }
|
|
|
| -buildUnnamed430() {
|
| +buildUnnamed843() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed430(core.List<core.String> o) {
|
| +checkUnnamed843(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'));
|
| @@ -6487,7 +6522,7 @@ buildSubaccount() {
|
| buildCounterSubaccount++;
|
| if (buildCounterSubaccount < 3) {
|
| o.accountId = "foo";
|
| - o.availablePermissionIds = buildUnnamed430();
|
| + o.availablePermissionIds = buildUnnamed843();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| @@ -6500,7 +6535,7 @@ checkSubaccount(api.Subaccount o) {
|
| buildCounterSubaccount++;
|
| if (buildCounterSubaccount < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| - checkUnnamed430(o.availablePermissionIds);
|
| + checkUnnamed843(o.availablePermissionIds);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -6508,14 +6543,14 @@ checkSubaccount(api.Subaccount o) {
|
| buildCounterSubaccount--;
|
| }
|
|
|
| -buildUnnamed431() {
|
| +buildUnnamed844() {
|
| var o = new core.List<api.Subaccount>();
|
| o.add(buildSubaccount());
|
| o.add(buildSubaccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed431(core.List<api.Subaccount> o) {
|
| +checkUnnamed844(core.List<api.Subaccount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubaccount(o[0]);
|
| checkSubaccount(o[1]);
|
| @@ -6528,7 +6563,7 @@ buildSubaccountsListResponse() {
|
| if (buildCounterSubaccountsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.subaccounts = buildUnnamed431();
|
| + o.subaccounts = buildUnnamed844();
|
| }
|
| buildCounterSubaccountsListResponse--;
|
| return o;
|
| @@ -6539,7 +6574,7 @@ checkSubaccountsListResponse(api.SubaccountsListResponse o) {
|
| if (buildCounterSubaccountsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed431(o.subaccounts);
|
| + checkUnnamed844(o.subaccounts);
|
| }
|
| buildCounterSubaccountsListResponse--;
|
| }
|
| @@ -6638,79 +6673,79 @@ checkTargetWindow(api.TargetWindow o) {
|
| buildCounterTargetWindow--;
|
| }
|
|
|
| -buildUnnamed432() {
|
| +buildUnnamed845() {
|
| var o = new core.List<api.Browser>();
|
| o.add(buildBrowser());
|
| o.add(buildBrowser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed432(core.List<api.Browser> o) {
|
| +checkUnnamed845(core.List<api.Browser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBrowser(o[0]);
|
| checkBrowser(o[1]);
|
| }
|
|
|
| -buildUnnamed433() {
|
| +buildUnnamed846() {
|
| var o = new core.List<api.ConnectionType>();
|
| o.add(buildConnectionType());
|
| o.add(buildConnectionType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed433(core.List<api.ConnectionType> o) {
|
| +checkUnnamed846(core.List<api.ConnectionType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConnectionType(o[0]);
|
| checkConnectionType(o[1]);
|
| }
|
|
|
| -buildUnnamed434() {
|
| +buildUnnamed847() {
|
| var o = new core.List<api.MobileCarrier>();
|
| o.add(buildMobileCarrier());
|
| o.add(buildMobileCarrier());
|
| return o;
|
| }
|
|
|
| -checkUnnamed434(core.List<api.MobileCarrier> o) {
|
| +checkUnnamed847(core.List<api.MobileCarrier> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMobileCarrier(o[0]);
|
| checkMobileCarrier(o[1]);
|
| }
|
|
|
| -buildUnnamed435() {
|
| +buildUnnamed848() {
|
| var o = new core.List<api.OperatingSystemVersion>();
|
| o.add(buildOperatingSystemVersion());
|
| o.add(buildOperatingSystemVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed435(core.List<api.OperatingSystemVersion> o) {
|
| +checkUnnamed848(core.List<api.OperatingSystemVersion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystemVersion(o[0]);
|
| checkOperatingSystemVersion(o[1]);
|
| }
|
|
|
| -buildUnnamed436() {
|
| +buildUnnamed849() {
|
| var o = new core.List<api.OperatingSystem>();
|
| o.add(buildOperatingSystem());
|
| o.add(buildOperatingSystem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed436(core.List<api.OperatingSystem> o) {
|
| +checkUnnamed849(core.List<api.OperatingSystem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperatingSystem(o[0]);
|
| checkOperatingSystem(o[1]);
|
| }
|
|
|
| -buildUnnamed437() {
|
| +buildUnnamed850() {
|
| var o = new core.List<api.PlatformType>();
|
| o.add(buildPlatformType());
|
| o.add(buildPlatformType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed437(core.List<api.PlatformType> o) {
|
| +checkUnnamed850(core.List<api.PlatformType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlatformType(o[0]);
|
| checkPlatformType(o[1]);
|
| @@ -6721,12 +6756,12 @@ buildTechnologyTargeting() {
|
| var o = new api.TechnologyTargeting();
|
| buildCounterTechnologyTargeting++;
|
| if (buildCounterTechnologyTargeting < 3) {
|
| - o.browsers = buildUnnamed432();
|
| - o.connectionTypes = buildUnnamed433();
|
| - o.mobileCarriers = buildUnnamed434();
|
| - o.operatingSystemVersions = buildUnnamed435();
|
| - o.operatingSystems = buildUnnamed436();
|
| - o.platformTypes = buildUnnamed437();
|
| + o.browsers = buildUnnamed845();
|
| + o.connectionTypes = buildUnnamed846();
|
| + o.mobileCarriers = buildUnnamed847();
|
| + o.operatingSystemVersions = buildUnnamed848();
|
| + o.operatingSystems = buildUnnamed849();
|
| + o.platformTypes = buildUnnamed850();
|
| }
|
| buildCounterTechnologyTargeting--;
|
| return o;
|
| @@ -6735,12 +6770,12 @@ buildTechnologyTargeting() {
|
| checkTechnologyTargeting(api.TechnologyTargeting o) {
|
| buildCounterTechnologyTargeting++;
|
| if (buildCounterTechnologyTargeting < 3) {
|
| - checkUnnamed432(o.browsers);
|
| - checkUnnamed433(o.connectionTypes);
|
| - checkUnnamed434(o.mobileCarriers);
|
| - checkUnnamed435(o.operatingSystemVersions);
|
| - checkUnnamed436(o.operatingSystems);
|
| - checkUnnamed437(o.platformTypes);
|
| + checkUnnamed845(o.browsers);
|
| + checkUnnamed846(o.connectionTypes);
|
| + checkUnnamed847(o.mobileCarriers);
|
| + checkUnnamed848(o.operatingSystemVersions);
|
| + checkUnnamed849(o.operatingSystems);
|
| + checkUnnamed850(o.platformTypes);
|
| }
|
| buildCounterTechnologyTargeting--;
|
| }
|
| @@ -6822,14 +6857,14 @@ checkUserProfile(api.UserProfile o) {
|
| buildCounterUserProfile--;
|
| }
|
|
|
| -buildUnnamed438() {
|
| +buildUnnamed851() {
|
| var o = new core.List<api.UserProfile>();
|
| o.add(buildUserProfile());
|
| o.add(buildUserProfile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed438(core.List<api.UserProfile> o) {
|
| +checkUnnamed851(core.List<api.UserProfile> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserProfile(o[0]);
|
| checkUserProfile(o[1]);
|
| @@ -6841,7 +6876,7 @@ buildUserProfileList() {
|
| buildCounterUserProfileList++;
|
| if (buildCounterUserProfileList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed438();
|
| + o.items = buildUnnamed851();
|
| o.kind = "foo";
|
| }
|
| buildCounterUserProfileList--;
|
| @@ -6852,20 +6887,20 @@ checkUserProfileList(api.UserProfileList o) {
|
| buildCounterUserProfileList++;
|
| if (buildCounterUserProfileList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed438(o.items);
|
| + checkUnnamed851(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterUserProfileList--;
|
| }
|
|
|
| -buildUnnamed439() {
|
| +buildUnnamed852() {
|
| var o = new core.List<api.UserRolePermission>();
|
| o.add(buildUserRolePermission());
|
| o.add(buildUserRolePermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed439(core.List<api.UserRolePermission> o) {
|
| +checkUnnamed852(core.List<api.UserRolePermission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRolePermission(o[0]);
|
| checkUserRolePermission(o[1]);
|
| @@ -6882,7 +6917,7 @@ buildUserRole() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.parentUserRoleId = "foo";
|
| - o.permissions = buildUnnamed439();
|
| + o.permissions = buildUnnamed852();
|
| o.subaccountId = "foo";
|
| }
|
| buildCounterUserRole--;
|
| @@ -6898,7 +6933,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'));
|
| - checkUnnamed439(o.permissions);
|
| + checkUnnamed852(o.permissions);
|
| unittest.expect(o.subaccountId, unittest.equals('foo'));
|
| }
|
| buildCounterUserRole--;
|
| @@ -6954,14 +6989,14 @@ checkUserRolePermissionGroup(api.UserRolePermissionGroup o) {
|
| buildCounterUserRolePermissionGroup--;
|
| }
|
|
|
| -buildUnnamed440() {
|
| +buildUnnamed853() {
|
| var o = new core.List<api.UserRolePermissionGroup>();
|
| o.add(buildUserRolePermissionGroup());
|
| o.add(buildUserRolePermissionGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed440(core.List<api.UserRolePermissionGroup> o) {
|
| +checkUnnamed853(core.List<api.UserRolePermissionGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRolePermissionGroup(o[0]);
|
| checkUserRolePermissionGroup(o[1]);
|
| @@ -6973,7 +7008,7 @@ buildUserRolePermissionGroupsListResponse() {
|
| buildCounterUserRolePermissionGroupsListResponse++;
|
| if (buildCounterUserRolePermissionGroupsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.userRolePermissionGroups = buildUnnamed440();
|
| + o.userRolePermissionGroups = buildUnnamed853();
|
| }
|
| buildCounterUserRolePermissionGroupsListResponse--;
|
| return o;
|
| @@ -6983,19 +7018,19 @@ checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
|
| buildCounterUserRolePermissionGroupsListResponse++;
|
| if (buildCounterUserRolePermissionGroupsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed440(o.userRolePermissionGroups);
|
| + checkUnnamed853(o.userRolePermissionGroups);
|
| }
|
| buildCounterUserRolePermissionGroupsListResponse--;
|
| }
|
|
|
| -buildUnnamed441() {
|
| +buildUnnamed854() {
|
| var o = new core.List<api.UserRolePermission>();
|
| o.add(buildUserRolePermission());
|
| o.add(buildUserRolePermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed441(core.List<api.UserRolePermission> o) {
|
| +checkUnnamed854(core.List<api.UserRolePermission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRolePermission(o[0]);
|
| checkUserRolePermission(o[1]);
|
| @@ -7007,7 +7042,7 @@ buildUserRolePermissionsListResponse() {
|
| buildCounterUserRolePermissionsListResponse++;
|
| if (buildCounterUserRolePermissionsListResponse < 3) {
|
| o.kind = "foo";
|
| - o.userRolePermissions = buildUnnamed441();
|
| + o.userRolePermissions = buildUnnamed854();
|
| }
|
| buildCounterUserRolePermissionsListResponse--;
|
| return o;
|
| @@ -7017,19 +7052,19 @@ checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) {
|
| buildCounterUserRolePermissionsListResponse++;
|
| if (buildCounterUserRolePermissionsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed441(o.userRolePermissions);
|
| + checkUnnamed854(o.userRolePermissions);
|
| }
|
| buildCounterUserRolePermissionsListResponse--;
|
| }
|
|
|
| -buildUnnamed442() {
|
| +buildUnnamed855() {
|
| var o = new core.List<api.UserRole>();
|
| o.add(buildUserRole());
|
| o.add(buildUserRole());
|
| return o;
|
| }
|
|
|
| -checkUnnamed442(core.List<api.UserRole> o) {
|
| +checkUnnamed855(core.List<api.UserRole> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserRole(o[0]);
|
| checkUserRole(o[1]);
|
| @@ -7042,7 +7077,7 @@ buildUserRolesListResponse() {
|
| if (buildCounterUserRolesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.userRoles = buildUnnamed442();
|
| + o.userRoles = buildUnnamed855();
|
| }
|
| buildCounterUserRolesListResponse--;
|
| return o;
|
| @@ -7053,994 +7088,994 @@ checkUserRolesListResponse(api.UserRolesListResponse o) {
|
| if (buildCounterUserRolesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed442(o.userRoles);
|
| + checkUnnamed855(o.userRoles);
|
| }
|
| buildCounterUserRolesListResponse--;
|
| }
|
|
|
| -buildUnnamed443() {
|
| +buildUnnamed856() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed443(core.List<core.String> o) {
|
| +checkUnnamed856(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() {
|
| +buildUnnamed857() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed444(core.List<core.String> o) {
|
| +checkUnnamed857(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() {
|
| +buildUnnamed858() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed445(core.List<core.String> o) {
|
| +checkUnnamed858(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() {
|
| +buildUnnamed859() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed446(core.List<core.String> o) {
|
| +checkUnnamed859(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() {
|
| +buildUnnamed860() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed447(core.List<core.String> o) {
|
| +checkUnnamed860(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() {
|
| +buildUnnamed861() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed448(core.List<core.String> o) {
|
| +checkUnnamed861(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() {
|
| +buildUnnamed862() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed449(core.List<core.String> o) {
|
| +checkUnnamed862(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() {
|
| +buildUnnamed863() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed450(core.List<core.String> o) {
|
| +checkUnnamed863(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() {
|
| +buildUnnamed864() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed451(core.List<core.String> o) {
|
| +checkUnnamed864(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() {
|
| +buildUnnamed865() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed452(core.List<core.String> o) {
|
| +checkUnnamed865(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() {
|
| +buildUnnamed866() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed453(core.List<core.String> o) {
|
| +checkUnnamed866(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() {
|
| +buildUnnamed867() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed454(core.List<core.String> o) {
|
| +checkUnnamed867(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() {
|
| +buildUnnamed868() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed455(core.List<core.String> o) {
|
| +checkUnnamed868(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() {
|
| +buildUnnamed869() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed456(core.List<core.String> o) {
|
| +checkUnnamed869(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() {
|
| +buildUnnamed870() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed457(core.List<core.String> o) {
|
| +checkUnnamed870(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() {
|
| +buildUnnamed871() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed458(core.List<core.String> o) {
|
| +checkUnnamed871(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() {
|
| +buildUnnamed872() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed459(core.List<core.String> o) {
|
| +checkUnnamed872(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() {
|
| +buildUnnamed873() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed460(core.List<core.String> o) {
|
| +checkUnnamed873(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() {
|
| +buildUnnamed874() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed461(core.List<core.String> o) {
|
| +checkUnnamed874(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() {
|
| +buildUnnamed875() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed462(core.List<core.String> o) {
|
| +checkUnnamed875(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() {
|
| +buildUnnamed876() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed463(core.List<core.String> o) {
|
| +checkUnnamed876(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() {
|
| +buildUnnamed877() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed464(core.List<core.String> o) {
|
| +checkUnnamed877(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() {
|
| +buildUnnamed878() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed465(core.List<core.String> o) {
|
| +checkUnnamed878(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() {
|
| +buildUnnamed879() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed466(core.List<core.String> o) {
|
| +checkUnnamed879(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() {
|
| +buildUnnamed880() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed467(core.List<core.String> o) {
|
| +checkUnnamed880(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() {
|
| +buildUnnamed881() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed468(core.List<core.String> o) {
|
| +checkUnnamed881(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() {
|
| +buildUnnamed882() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed469(core.List<core.String> o) {
|
| +checkUnnamed882(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() {
|
| +buildUnnamed883() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed470(core.List<core.String> o) {
|
| +checkUnnamed883(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() {
|
| +buildUnnamed884() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed471(core.List<core.String> o) {
|
| +checkUnnamed884(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() {
|
| +buildUnnamed885() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed472(core.List<core.String> o) {
|
| +checkUnnamed885(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() {
|
| +buildUnnamed886() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed473(core.List<core.String> o) {
|
| +checkUnnamed886(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() {
|
| +buildUnnamed887() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed474(core.List<core.String> o) {
|
| +checkUnnamed887(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() {
|
| +buildUnnamed888() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed475(core.List<core.String> o) {
|
| +checkUnnamed888(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() {
|
| +buildUnnamed889() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed476(core.List<core.String> o) {
|
| +checkUnnamed889(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() {
|
| +buildUnnamed890() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed477(core.List<core.String> o) {
|
| +checkUnnamed890(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() {
|
| +buildUnnamed891() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed478(core.List<core.String> o) {
|
| +checkUnnamed891(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() {
|
| +buildUnnamed892() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed479(core.List<core.String> o) {
|
| +checkUnnamed892(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() {
|
| +buildUnnamed893() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed480(core.List<core.String> o) {
|
| +checkUnnamed893(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() {
|
| +buildUnnamed894() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed481(core.List<core.String> o) {
|
| +checkUnnamed894(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() {
|
| +buildUnnamed895() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed482(core.List<core.String> o) {
|
| +checkUnnamed895(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() {
|
| +buildUnnamed896() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed483(core.List<core.String> o) {
|
| +checkUnnamed896(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() {
|
| +buildUnnamed897() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed484(core.List<core.String> o) {
|
| +checkUnnamed897(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() {
|
| +buildUnnamed898() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed485(core.List<core.String> o) {
|
| +checkUnnamed898(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() {
|
| +buildUnnamed899() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed486(core.List<core.String> o) {
|
| +checkUnnamed899(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() {
|
| +buildUnnamed900() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed487(core.List<core.String> o) {
|
| +checkUnnamed900(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() {
|
| +buildUnnamed901() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed488(core.List<core.String> o) {
|
| +checkUnnamed901(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() {
|
| +buildUnnamed902() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed489(core.List<core.String> o) {
|
| +checkUnnamed902(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() {
|
| +buildUnnamed903() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed490(core.List<core.String> o) {
|
| +checkUnnamed903(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() {
|
| +buildUnnamed904() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed491(core.List<core.String> o) {
|
| +checkUnnamed904(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() {
|
| +buildUnnamed905() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed492(core.List<core.String> o) {
|
| +checkUnnamed905(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'));
|
| }
|
|
|
| -buildUnnamed493() {
|
| +buildUnnamed906() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed493(core.List<core.String> o) {
|
| +checkUnnamed906(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'));
|
| }
|
|
|
| -buildUnnamed494() {
|
| +buildUnnamed907() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed494(core.List<core.String> o) {
|
| +checkUnnamed907(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'));
|
| }
|
|
|
| -buildUnnamed495() {
|
| +buildUnnamed908() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed495(core.List<core.String> o) {
|
| +checkUnnamed908(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'));
|
| }
|
|
|
| -buildUnnamed496() {
|
| +buildUnnamed909() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed496(core.List<core.String> o) {
|
| +checkUnnamed909(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'));
|
| }
|
|
|
| -buildUnnamed497() {
|
| +buildUnnamed910() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed497(core.List<core.String> o) {
|
| +checkUnnamed910(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'));
|
| }
|
|
|
| -buildUnnamed498() {
|
| +buildUnnamed911() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed498(core.List<core.String> o) {
|
| +checkUnnamed911(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'));
|
| }
|
|
|
| -buildUnnamed499() {
|
| +buildUnnamed912() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed499(core.List<core.String> o) {
|
| +checkUnnamed912(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'));
|
| }
|
|
|
| -buildUnnamed500() {
|
| +buildUnnamed913() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed500(core.List<core.String> o) {
|
| +checkUnnamed913(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'));
|
| }
|
|
|
| -buildUnnamed501() {
|
| +buildUnnamed914() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed501(core.List<core.String> o) {
|
| +checkUnnamed914(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'));
|
| }
|
|
|
| -buildUnnamed502() {
|
| +buildUnnamed915() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed502(core.List<core.String> o) {
|
| +checkUnnamed915(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'));
|
| }
|
|
|
| -buildUnnamed503() {
|
| +buildUnnamed916() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed503(core.List<core.String> o) {
|
| +checkUnnamed916(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'));
|
| }
|
|
|
| -buildUnnamed504() {
|
| +buildUnnamed917() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed504(core.List<core.String> o) {
|
| +checkUnnamed917(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'));
|
| }
|
|
|
| -buildUnnamed505() {
|
| +buildUnnamed918() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed505(core.List<core.String> o) {
|
| +checkUnnamed918(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'));
|
| }
|
|
|
| -buildUnnamed506() {
|
| +buildUnnamed919() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed506(core.List<core.String> o) {
|
| +checkUnnamed919(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'));
|
| }
|
|
|
| -buildUnnamed507() {
|
| +buildUnnamed920() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed507(core.List<core.String> o) {
|
| +checkUnnamed920(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'));
|
| }
|
|
|
| -buildUnnamed508() {
|
| +buildUnnamed921() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed508(core.List<core.String> o) {
|
| +checkUnnamed921(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'));
|
| }
|
|
|
| -buildUnnamed509() {
|
| +buildUnnamed922() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed509(core.List<core.String> o) {
|
| +checkUnnamed922(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'));
|
| }
|
|
|
| -buildUnnamed510() {
|
| +buildUnnamed923() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed510(core.List<core.String> o) {
|
| +checkUnnamed923(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'));
|
| }
|
|
|
| -buildUnnamed511() {
|
| +buildUnnamed924() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed511(core.List<core.String> o) {
|
| +checkUnnamed924(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'));
|
| }
|
|
|
| -buildUnnamed512() {
|
| +buildUnnamed925() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed512(core.List<core.String> o) {
|
| +checkUnnamed925(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'));
|
| }
|
|
|
| -buildUnnamed513() {
|
| +buildUnnamed926() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed513(core.List<core.String> o) {
|
| +checkUnnamed926(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'));
|
| }
|
|
|
| -buildUnnamed514() {
|
| +buildUnnamed927() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed514(core.List<core.String> o) {
|
| +checkUnnamed927(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'));
|
| }
|
|
|
| -buildUnnamed515() {
|
| +buildUnnamed928() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed515(core.List<core.String> o) {
|
| +checkUnnamed928(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'));
|
| }
|
|
|
| -buildUnnamed516() {
|
| +buildUnnamed929() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed516(core.List<core.String> o) {
|
| +checkUnnamed929(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'));
|
| }
|
|
|
| -buildUnnamed517() {
|
| +buildUnnamed930() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed517(core.List<core.String> o) {
|
| +checkUnnamed930(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'));
|
| }
|
|
|
| -buildUnnamed518() {
|
| +buildUnnamed931() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed518(core.List<core.String> o) {
|
| +checkUnnamed931(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'));
|
| @@ -9608,7 +9643,7 @@ main() {
|
| unittest.group("resource-AccountActiveAdSummariesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountActiveAdSummariesResourceApi res = new api.DfareportingApi(mock).accountActiveAdSummaries;
|
| var arg_profileId = "foo";
|
| var arg_summaryAccountId = "foo";
|
| @@ -9656,7 +9691,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountActiveAdSummary());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_summaryAccountId).then(unittest.expectAsync(((api.AccountActiveAdSummary response) {
|
| checkAccountActiveAdSummary(response);
|
| @@ -9669,7 +9704,7 @@ main() {
|
| unittest.group("resource-AccountPermissionGroupsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock).accountPermissionGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -9717,7 +9752,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountPermissionGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.AccountPermissionGroup response) {
|
| checkAccountPermissionGroup(response);
|
| @@ -9726,7 +9761,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock).accountPermissionGroups;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -9770,7 +9805,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountPermissionGroupsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.AccountPermissionGroupsListResponse response) {
|
| checkAccountPermissionGroupsListResponse(response);
|
| @@ -9783,7 +9818,7 @@ main() {
|
| unittest.group("resource-AccountPermissionsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).accountPermissions;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -9831,7 +9866,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountPermission());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.AccountPermission response) {
|
| checkAccountPermission(response);
|
| @@ -9840,7 +9875,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).accountPermissions;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -9884,7 +9919,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountPermissionsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.AccountPermissionsListResponse response) {
|
| checkAccountPermissionsListResponse(response);
|
| @@ -9897,7 +9932,7 @@ main() {
|
| unittest.group("resource-AccountUserProfilesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -9945,7 +9980,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountUserProfile());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.AccountUserProfile response) {
|
| checkAccountUserProfile(response);
|
| @@ -9954,11 +9989,11 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
|
| var arg_profileId = "foo";
|
| var arg_active = true;
|
| - var arg_ids = buildUnnamed443();
|
| + var arg_ids = buildUnnamed856();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -10016,7 +10051,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountUserProfilesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, active: arg_active, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder, subaccountId: arg_subaccountId, userRoleId: arg_userRoleId).then(unittest.expectAsync(((api.AccountUserProfilesListResponse response) {
|
| checkAccountUserProfilesListResponse(response);
|
| @@ -10025,7 +10060,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
|
| var arg_request = buildAccountUserProfile();
|
| var arg_profileId = "foo";
|
| @@ -10075,7 +10110,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountUserProfile());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.AccountUserProfile response) {
|
| checkAccountUserProfile(response);
|
| @@ -10084,7 +10119,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
|
| var arg_request = buildAccountUserProfile();
|
| var arg_profileId = "foo";
|
| @@ -10132,7 +10167,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountUserProfile());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.AccountUserProfile response) {
|
| checkAccountUserProfile(response);
|
| @@ -10145,7 +10180,7 @@ main() {
|
| unittest.group("resource-AccountsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -10193,7 +10228,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccount());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Account response) {
|
| checkAccount(response);
|
| @@ -10202,11 +10237,11 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
|
| var arg_profileId = "foo";
|
| var arg_active = true;
|
| - var arg_ids = buildUnnamed444();
|
| + var arg_ids = buildUnnamed857();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -10260,7 +10295,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccountsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, active: arg_active, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.AccountsListResponse response) {
|
| checkAccountsListResponse(response);
|
| @@ -10269,7 +10304,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
|
| var arg_request = buildAccount();
|
| var arg_profileId = "foo";
|
| @@ -10319,7 +10354,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccount());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Account response) {
|
| checkAccount(response);
|
| @@ -10328,7 +10363,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
|
| var arg_request = buildAccount();
|
| var arg_profileId = "foo";
|
| @@ -10376,7 +10411,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAccount());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Account response) {
|
| checkAccount(response);
|
| @@ -10389,7 +10424,7 @@ main() {
|
| unittest.group("resource-AdsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -10437,7 +10472,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAd());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Ad response) {
|
| checkAd(response);
|
| @@ -10446,7 +10481,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
|
| var arg_request = buildAd();
|
| var arg_profileId = "foo";
|
| @@ -10494,7 +10529,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAd());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Ad response) {
|
| checkAd(response);
|
| @@ -10503,33 +10538,33 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
|
| var arg_profileId = "foo";
|
| var arg_active = true;
|
| var arg_advertiserId = "foo";
|
| var arg_archived = true;
|
| - var arg_audienceSegmentIds = buildUnnamed445();
|
| - var arg_campaignIds = buildUnnamed446();
|
| + var arg_audienceSegmentIds = buildUnnamed858();
|
| + var arg_campaignIds = buildUnnamed859();
|
| var arg_compatibility = "foo";
|
| - var arg_creativeIds = buildUnnamed447();
|
| - var arg_creativeOptimizationConfigurationIds = buildUnnamed448();
|
| + var arg_creativeIds = buildUnnamed860();
|
| + var arg_creativeOptimizationConfigurationIds = buildUnnamed861();
|
| var arg_creativeType = "foo";
|
| var arg_dynamicClickTracker = true;
|
| - var arg_ids = buildUnnamed449();
|
| - var arg_landingPageIds = buildUnnamed450();
|
| + var arg_ids = buildUnnamed862();
|
| + var arg_landingPageIds = buildUnnamed863();
|
| var arg_maxResults = 42;
|
| var arg_overriddenEventTagId = "foo";
|
| var arg_pageToken = "foo";
|
| - var arg_placementIds = buildUnnamed451();
|
| - var arg_remarketingListIds = buildUnnamed452();
|
| + var arg_placementIds = buildUnnamed864();
|
| + var arg_remarketingListIds = buildUnnamed865();
|
| var arg_searchString = "foo";
|
| - var arg_sizeIds = buildUnnamed453();
|
| + var arg_sizeIds = buildUnnamed866();
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| var arg_sslCompliant = true;
|
| var arg_sslRequired = true;
|
| - var arg_type = buildUnnamed454();
|
| + var arg_type = buildUnnamed867();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -10595,7 +10630,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, active: arg_active, advertiserId: arg_advertiserId, archived: arg_archived, audienceSegmentIds: arg_audienceSegmentIds, campaignIds: arg_campaignIds, compatibility: arg_compatibility, creativeIds: arg_creativeIds, creativeOptimizationConfigurationIds: arg_creativeOptimizationConfigurationIds, creativeType: arg_creativeType, dynamicClickTracker: arg_dynamicClickTracker, ids: arg_ids, landingPageIds: arg_landingPageIds, maxResults: arg_maxResults, overriddenEventTagId: arg_overriddenEventTagId, pageToken: arg_pageToken, placementIds: arg_placementIds, remarketingListIds: arg_remarketingListIds, searchString: arg_searchString, sizeIds: arg_sizeIds, sortField: arg_sortField, sortOrder: arg_sortOrder, sslCompliant: arg_sslCompliant, sslRequired: arg_sslRequired, type: arg_type).then(unittest.expectAsync(((api.AdsListResponse response) {
|
| checkAdsListResponse(response);
|
| @@ -10604,7 +10639,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
|
| var arg_request = buildAd();
|
| var arg_profileId = "foo";
|
| @@ -10654,7 +10689,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAd());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Ad response) {
|
| checkAd(response);
|
| @@ -10663,7 +10698,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
|
| var arg_request = buildAd();
|
| var arg_profileId = "foo";
|
| @@ -10711,7 +10746,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAd());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Ad response) {
|
| checkAd(response);
|
| @@ -10724,7 +10759,7 @@ main() {
|
| unittest.group("resource-AdvertiserGroupsResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -10772,14 +10807,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, 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 common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -10827,7 +10862,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiserGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.AdvertiserGroup response) {
|
| checkAdvertiserGroup(response);
|
| @@ -10836,7 +10871,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
|
| var arg_request = buildAdvertiserGroup();
|
| var arg_profileId = "foo";
|
| @@ -10884,7 +10919,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiserGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.AdvertiserGroup response) {
|
| checkAdvertiserGroup(response);
|
| @@ -10893,10 +10928,10 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed455();
|
| + var arg_ids = buildUnnamed868();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -10949,7 +10984,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiserGroupsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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.AdvertiserGroupsListResponse response) {
|
| checkAdvertiserGroupsListResponse(response);
|
| @@ -10958,7 +10993,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
|
| var arg_request = buildAdvertiserGroup();
|
| var arg_profileId = "foo";
|
| @@ -11008,7 +11043,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiserGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.AdvertiserGroup response) {
|
| checkAdvertiserGroup(response);
|
| @@ -11017,7 +11052,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
|
| var arg_request = buildAdvertiserGroup();
|
| var arg_profileId = "foo";
|
| @@ -11065,7 +11100,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiserGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.AdvertiserGroup response) {
|
| checkAdvertiserGroup(response);
|
| @@ -11078,7 +11113,7 @@ main() {
|
| unittest.group("resource-AdvertisersResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -11126,7 +11161,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiser());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Advertiser response) {
|
| checkAdvertiser(response);
|
| @@ -11135,7 +11170,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
|
| var arg_request = buildAdvertiser();
|
| var arg_profileId = "foo";
|
| @@ -11183,7 +11218,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiser());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Advertiser response) {
|
| checkAdvertiser(response);
|
| @@ -11192,12 +11227,12 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserGroupIds = buildUnnamed456();
|
| - var arg_floodlightConfigurationIds = buildUnnamed457();
|
| - var arg_ids = buildUnnamed458();
|
| + var arg_advertiserGroupIds = buildUnnamed869();
|
| + var arg_floodlightConfigurationIds = buildUnnamed870();
|
| + var arg_ids = buildUnnamed871();
|
| var arg_includeAdvertisersWithoutGroupsOnly = true;
|
| var arg_maxResults = 42;
|
| var arg_onlyParent = true;
|
| @@ -11260,7 +11295,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertisersListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, advertiserGroupIds: arg_advertiserGroupIds, floodlightConfigurationIds: arg_floodlightConfigurationIds, ids: arg_ids, includeAdvertisersWithoutGroupsOnly: arg_includeAdvertisersWithoutGroupsOnly, maxResults: arg_maxResults, onlyParent: arg_onlyParent, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder, status: arg_status, subaccountId: arg_subaccountId).then(unittest.expectAsync(((api.AdvertisersListResponse response) {
|
| checkAdvertisersListResponse(response);
|
| @@ -11269,7 +11304,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
|
| var arg_request = buildAdvertiser();
|
| var arg_profileId = "foo";
|
| @@ -11319,7 +11354,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiser());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Advertiser response) {
|
| checkAdvertiser(response);
|
| @@ -11328,7 +11363,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
|
| var arg_request = buildAdvertiser();
|
| var arg_profileId = "foo";
|
| @@ -11376,7 +11411,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildAdvertiser());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Advertiser response) {
|
| checkAdvertiser(response);
|
| @@ -11389,7 +11424,7 @@ main() {
|
| unittest.group("resource-BrowsersResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -11433,7 +11468,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildBrowsersListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.BrowsersListResponse response) {
|
| checkBrowsersListResponse(response);
|
| @@ -11446,7 +11481,7 @@ main() {
|
| unittest.group("resource-CampaignCreativeAssociationsResourceApi", () {
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CampaignCreativeAssociationsResourceApi res = new api.DfareportingApi(mock).campaignCreativeAssociations;
|
| var arg_request = buildCampaignCreativeAssociation();
|
| var arg_profileId = "foo";
|
| @@ -11502,7 +11537,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCampaignCreativeAssociation());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId, arg_campaignId).then(unittest.expectAsync(((api.CampaignCreativeAssociation response) {
|
| checkCampaignCreativeAssociation(response);
|
| @@ -11511,7 +11546,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CampaignCreativeAssociationsResourceApi res = new api.DfareportingApi(mock).campaignCreativeAssociations;
|
| var arg_profileId = "foo";
|
| var arg_campaignId = "foo";
|
| @@ -11569,7 +11604,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCampaignCreativeAssociationsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, arg_campaignId, maxResults: arg_maxResults, pageToken: arg_pageToken, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.CampaignCreativeAssociationsListResponse response) {
|
| checkCampaignCreativeAssociationsListResponse(response);
|
| @@ -11582,7 +11617,7 @@ main() {
|
| unittest.group("resource-CampaignsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -11630,7 +11665,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCampaign());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Campaign response) {
|
| checkCampaign(response);
|
| @@ -11639,7 +11674,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
|
| var arg_request = buildCampaign();
|
| var arg_profileId = "foo";
|
| @@ -11691,7 +11726,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCampaign());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId, arg_defaultLandingPageName, arg_defaultLandingPageUrl).then(unittest.expectAsync(((api.Campaign response) {
|
| checkCampaign(response);
|
| @@ -11700,15 +11735,15 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserGroupIds = buildUnnamed459();
|
| - var arg_advertiserIds = buildUnnamed460();
|
| + var arg_advertiserGroupIds = buildUnnamed872();
|
| + var arg_advertiserIds = buildUnnamed873();
|
| var arg_archived = true;
|
| var arg_atLeastOneOptimizationActivity = true;
|
| - var arg_excludedIds = buildUnnamed461();
|
| - var arg_ids = buildUnnamed462();
|
| + var arg_excludedIds = buildUnnamed874();
|
| + var arg_ids = buildUnnamed875();
|
| var arg_maxResults = 42;
|
| var arg_overriddenEventTagId = "foo";
|
| var arg_pageToken = "foo";
|
| @@ -11770,7 +11805,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCampaignsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, advertiserGroupIds: arg_advertiserGroupIds, advertiserIds: arg_advertiserIds, archived: arg_archived, atLeastOneOptimizationActivity: arg_atLeastOneOptimizationActivity, excludedIds: arg_excludedIds, ids: arg_ids, maxResults: arg_maxResults, overriddenEventTagId: arg_overriddenEventTagId, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder, subaccountId: arg_subaccountId).then(unittest.expectAsync(((api.CampaignsListResponse response) {
|
| checkCampaignsListResponse(response);
|
| @@ -11779,7 +11814,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
|
| var arg_request = buildCampaign();
|
| var arg_profileId = "foo";
|
| @@ -11829,7 +11864,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCampaign());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Campaign response) {
|
| checkCampaign(response);
|
| @@ -11838,7 +11873,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
|
| var arg_request = buildCampaign();
|
| var arg_profileId = "foo";
|
| @@ -11886,7 +11921,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCampaign());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Campaign response) {
|
| checkCampaign(response);
|
| @@ -11899,7 +11934,7 @@ main() {
|
| unittest.group("resource-ChangeLogsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -11947,7 +11982,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildChangeLog());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.ChangeLog response) {
|
| checkChangeLog(response);
|
| @@ -11956,19 +11991,19 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
|
| var arg_profileId = "foo";
|
| var arg_action = "foo";
|
| - var arg_ids = buildUnnamed463();
|
| + var arg_ids = buildUnnamed876();
|
| var arg_maxChangeTime = "foo";
|
| var arg_maxResults = 42;
|
| var arg_minChangeTime = "foo";
|
| - var arg_objectIds = buildUnnamed464();
|
| + var arg_objectIds = buildUnnamed877();
|
| var arg_objectType = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| - var arg_userProfileIds = buildUnnamed465();
|
| + var arg_userProfileIds = buildUnnamed878();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -12020,7 +12055,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildChangeLogsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, action: arg_action, ids: arg_ids, maxChangeTime: arg_maxChangeTime, maxResults: arg_maxResults, minChangeTime: arg_minChangeTime, objectIds: arg_objectIds, objectType: arg_objectType, pageToken: arg_pageToken, searchString: arg_searchString, userProfileIds: arg_userProfileIds).then(unittest.expectAsync(((api.ChangeLogsListResponse response) {
|
| checkChangeLogsListResponse(response);
|
| @@ -12033,13 +12068,13 @@ main() {
|
| unittest.group("resource-CitiesResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
|
| var arg_profileId = "foo";
|
| - var arg_countryDartIds = buildUnnamed466();
|
| - var arg_dartIds = buildUnnamed467();
|
| + var arg_countryDartIds = buildUnnamed879();
|
| + var arg_dartIds = buildUnnamed880();
|
| var arg_namePrefix = "foo";
|
| - var arg_regionDartIds = buildUnnamed468();
|
| + var arg_regionDartIds = buildUnnamed881();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -12085,7 +12120,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCitiesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, countryDartIds: arg_countryDartIds, dartIds: arg_dartIds, namePrefix: arg_namePrefix, regionDartIds: arg_regionDartIds).then(unittest.expectAsync(((api.CitiesListResponse response) {
|
| checkCitiesListResponse(response);
|
| @@ -12098,7 +12133,7 @@ main() {
|
| unittest.group("resource-ConnectionTypesResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connectionTypes;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -12142,7 +12177,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildConnectionTypesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.ConnectionTypesListResponse response) {
|
| checkConnectionTypesListResponse(response);
|
| @@ -12155,7 +12190,7 @@ main() {
|
| unittest.group("resource-ContentCategoriesResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -12203,14 +12238,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, 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 common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -12258,7 +12293,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildContentCategory());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.ContentCategory response) {
|
| checkContentCategory(response);
|
| @@ -12267,7 +12302,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
|
| var arg_request = buildContentCategory();
|
| var arg_profileId = "foo";
|
| @@ -12315,7 +12350,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildContentCategory());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.ContentCategory response) {
|
| checkContentCategory(response);
|
| @@ -12324,10 +12359,10 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed469();
|
| + var arg_ids = buildUnnamed882();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -12380,7 +12415,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildContentCategoriesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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.ContentCategoriesListResponse response) {
|
| checkContentCategoriesListResponse(response);
|
| @@ -12389,7 +12424,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
|
| var arg_request = buildContentCategory();
|
| var arg_profileId = "foo";
|
| @@ -12439,7 +12474,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildContentCategory());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.ContentCategory response) {
|
| checkContentCategory(response);
|
| @@ -12448,7 +12483,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
|
| var arg_request = buildContentCategory();
|
| var arg_profileId = "foo";
|
| @@ -12496,7 +12531,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildContentCategory());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.ContentCategory response) {
|
| checkContentCategory(response);
|
| @@ -12509,7 +12544,7 @@ main() {
|
| unittest.group("resource-CountriesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CountriesResourceApi res = new api.DfareportingApi(mock).countries;
|
| var arg_profileId = "foo";
|
| var arg_dartId = "foo";
|
| @@ -12557,7 +12592,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCountry());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_dartId).then(unittest.expectAsync(((api.Country response) {
|
| checkCountry(response);
|
| @@ -12566,7 +12601,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CountriesResourceApi res = new api.DfareportingApi(mock).countries;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -12610,7 +12645,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCountriesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.CountriesListResponse response) {
|
| checkCountriesListResponse(response);
|
| @@ -12625,7 +12660,7 @@ main() {
|
| // TODO: Implement tests for media upload;
|
| // TODO: Implement tests for media download;
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeAssetsResourceApi res = new api.DfareportingApi(mock).creativeAssets;
|
| var arg_request = buildCreativeAssetMetadata();
|
| var arg_profileId = "foo";
|
| @@ -12681,7 +12716,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeAssetMetadata());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId, arg_advertiserId).then(unittest.expectAsync(((api.CreativeAssetMetadata response) {
|
| checkCreativeAssetMetadata(response);
|
| @@ -12694,7 +12729,7 @@ main() {
|
| unittest.group("resource-CreativeFieldValuesResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
|
| var arg_profileId = "foo";
|
| var arg_creativeFieldId = "foo";
|
| @@ -12750,14 +12785,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.delete(arg_profileId, arg_creativeFieldId, arg_id).then(unittest.expectAsync((_) {}));
|
| });
|
|
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
|
| var arg_profileId = "foo";
|
| var arg_creativeFieldId = "foo";
|
| @@ -12813,7 +12848,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeFieldValue());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_creativeFieldId, arg_id).then(unittest.expectAsync(((api.CreativeFieldValue response) {
|
| checkCreativeFieldValue(response);
|
| @@ -12822,7 +12857,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
|
| var arg_request = buildCreativeFieldValue();
|
| var arg_profileId = "foo";
|
| @@ -12878,7 +12913,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeFieldValue());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId, arg_creativeFieldId).then(unittest.expectAsync(((api.CreativeFieldValue response) {
|
| checkCreativeFieldValue(response);
|
| @@ -12887,11 +12922,11 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
|
| var arg_profileId = "foo";
|
| var arg_creativeFieldId = "foo";
|
| - var arg_ids = buildUnnamed470();
|
| + var arg_ids = buildUnnamed883();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -12951,7 +12986,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeFieldValuesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, arg_creativeFieldId, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.CreativeFieldValuesListResponse response) {
|
| checkCreativeFieldValuesListResponse(response);
|
| @@ -12960,7 +12995,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
|
| var arg_request = buildCreativeFieldValue();
|
| var arg_profileId = "foo";
|
| @@ -13018,7 +13053,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeFieldValue());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_creativeFieldId, arg_id).then(unittest.expectAsync(((api.CreativeFieldValue response) {
|
| checkCreativeFieldValue(response);
|
| @@ -13027,7 +13062,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
|
| var arg_request = buildCreativeFieldValue();
|
| var arg_profileId = "foo";
|
| @@ -13083,7 +13118,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeFieldValue());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId, arg_creativeFieldId).then(unittest.expectAsync(((api.CreativeFieldValue response) {
|
| checkCreativeFieldValue(response);
|
| @@ -13096,7 +13131,7 @@ main() {
|
| unittest.group("resource-CreativeFieldsResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -13144,14 +13179,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, 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 common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -13199,7 +13234,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeField());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.CreativeField response) {
|
| checkCreativeField(response);
|
| @@ -13208,7 +13243,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
|
| var arg_request = buildCreativeField();
|
| var arg_profileId = "foo";
|
| @@ -13256,7 +13291,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeField());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.CreativeField response) {
|
| checkCreativeField(response);
|
| @@ -13265,11 +13300,11 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed471();
|
| - var arg_ids = buildUnnamed472();
|
| + var arg_advertiserIds = buildUnnamed884();
|
| + var arg_ids = buildUnnamed885();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -13323,7 +13358,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeFieldsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| 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.CreativeFieldsListResponse response) {
|
| checkCreativeFieldsListResponse(response);
|
| @@ -13332,7 +13367,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
|
| var arg_request = buildCreativeField();
|
| var arg_profileId = "foo";
|
| @@ -13382,7 +13417,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeField());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.CreativeField response) {
|
| checkCreativeField(response);
|
| @@ -13391,7 +13426,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
|
| var arg_request = buildCreativeField();
|
| var arg_profileId = "foo";
|
| @@ -13439,7 +13474,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeField());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.CreativeField response) {
|
| checkCreativeField(response);
|
| @@ -13452,7 +13487,7 @@ main() {
|
| unittest.group("resource-CreativeGroupsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -13500,7 +13535,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.CreativeGroup response) {
|
| checkCreativeGroup(response);
|
| @@ -13509,7 +13544,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
|
| var arg_request = buildCreativeGroup();
|
| var arg_profileId = "foo";
|
| @@ -13557,7 +13592,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.CreativeGroup response) {
|
| checkCreativeGroup(response);
|
| @@ -13566,12 +13601,12 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed473();
|
| + var arg_advertiserIds = buildUnnamed886();
|
| var arg_groupNumber = 42;
|
| - var arg_ids = buildUnnamed474();
|
| + var arg_ids = buildUnnamed887();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -13626,7 +13661,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeGroupsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, advertiserIds: arg_advertiserIds, groupNumber: arg_groupNumber, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.CreativeGroupsListResponse response) {
|
| checkCreativeGroupsListResponse(response);
|
| @@ -13635,7 +13670,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
|
| var arg_request = buildCreativeGroup();
|
| var arg_profileId = "foo";
|
| @@ -13685,7 +13720,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.CreativeGroup response) {
|
| checkCreativeGroup(response);
|
| @@ -13694,7 +13729,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
|
| var arg_request = buildCreativeGroup();
|
| var arg_profileId = "foo";
|
| @@ -13742,7 +13777,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativeGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.CreativeGroup response) {
|
| checkCreativeGroup(response);
|
| @@ -13755,7 +13790,7 @@ main() {
|
| unittest.group("resource-CreativesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -13803,7 +13838,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreative());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Creative response) {
|
| checkCreative(response);
|
| @@ -13812,7 +13847,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
|
| var arg_request = buildCreative();
|
| var arg_profileId = "foo";
|
| @@ -13860,7 +13895,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreative());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Creative response) {
|
| checkCreative(response);
|
| @@ -13869,25 +13904,25 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
|
| var arg_profileId = "foo";
|
| var arg_active = true;
|
| var arg_advertiserId = "foo";
|
| var arg_archived = true;
|
| var arg_campaignId = "foo";
|
| - var arg_companionCreativeIds = buildUnnamed475();
|
| - var arg_creativeFieldIds = buildUnnamed476();
|
| - var arg_ids = buildUnnamed477();
|
| + var arg_companionCreativeIds = buildUnnamed888();
|
| + var arg_creativeFieldIds = buildUnnamed889();
|
| + var arg_ids = buildUnnamed890();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| - var arg_renderingIds = buildUnnamed478();
|
| + var arg_renderingIds = buildUnnamed891();
|
| var arg_searchString = "foo";
|
| - var arg_sizeIds = buildUnnamed479();
|
| + var arg_sizeIds = buildUnnamed892();
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| var arg_studioCreativeId = "foo";
|
| - var arg_types = buildUnnamed480();
|
| + var arg_types = buildUnnamed893();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -13945,7 +13980,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreativesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, active: arg_active, advertiserId: arg_advertiserId, archived: arg_archived, campaignId: arg_campaignId, companionCreativeIds: arg_companionCreativeIds, creativeFieldIds: arg_creativeFieldIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, renderingIds: arg_renderingIds, searchString: arg_searchString, sizeIds: arg_sizeIds, sortField: arg_sortField, sortOrder: arg_sortOrder, studioCreativeId: arg_studioCreativeId, types: arg_types).then(unittest.expectAsync(((api.CreativesListResponse response) {
|
| checkCreativesListResponse(response);
|
| @@ -13954,7 +13989,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
|
| var arg_request = buildCreative();
|
| var arg_profileId = "foo";
|
| @@ -14004,7 +14039,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreative());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Creative response) {
|
| checkCreative(response);
|
| @@ -14013,7 +14048,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
|
| var arg_request = buildCreative();
|
| var arg_profileId = "foo";
|
| @@ -14061,7 +14096,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCreative());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Creative response) {
|
| checkCreative(response);
|
| @@ -14074,7 +14109,7 @@ main() {
|
| unittest.group("resource-DimensionValuesResourceApi", () {
|
| unittest.test("method--query", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.DimensionValuesResourceApi res = new api.DfareportingApi(mock).dimensionValues;
|
| var arg_request = buildDimensionValueRequest();
|
| var arg_profileId = "foo";
|
| @@ -14126,7 +14161,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildDimensionValueList());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.query(arg_request, arg_profileId, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.DimensionValueList response) {
|
| checkDimensionValueList(response);
|
| @@ -14139,7 +14174,7 @@ main() {
|
| unittest.group("resource-DirectorySiteContactsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).directorySiteContacts;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -14187,7 +14222,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildDirectorySiteContact());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySiteContact response) {
|
| checkDirectorySiteContact(response);
|
| @@ -14196,11 +14231,11 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).directorySiteContacts;
|
| var arg_profileId = "foo";
|
| - var arg_directorySiteIds = buildUnnamed481();
|
| - var arg_ids = buildUnnamed482();
|
| + var arg_directorySiteIds = buildUnnamed894();
|
| + var arg_ids = buildUnnamed895();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -14254,7 +14289,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildDirectorySiteContactsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, directorySiteIds: arg_directorySiteIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.DirectorySiteContactsListResponse response) {
|
| checkDirectorySiteContactsListResponse(response);
|
| @@ -14267,7 +14302,7 @@ main() {
|
| unittest.group("resource-DirectorySitesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).directorySites;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -14315,7 +14350,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildDirectorySite());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySite response) {
|
| checkDirectorySite(response);
|
| @@ -14324,7 +14359,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).directorySites;
|
| var arg_profileId = "foo";
|
| var arg_acceptsInStreamVideoPlacements = true;
|
| @@ -14333,7 +14368,7 @@ main() {
|
| var arg_active = true;
|
| var arg_countryId = "foo";
|
| var arg_dfpNetworkCode = "foo";
|
| - var arg_ids = buildUnnamed483();
|
| + var arg_ids = buildUnnamed896();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_parentId = "foo";
|
| @@ -14394,7 +14429,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildDirectorySitesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, acceptsInStreamVideoPlacements: arg_acceptsInStreamVideoPlacements, acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements, acceptsPublisherPaidPlacements: arg_acceptsPublisherPaidPlacements, active: arg_active, countryId: arg_countryId, dfpNetworkCode: arg_dfpNetworkCode, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, parentId: arg_parentId, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.DirectorySitesListResponse response) {
|
| checkDirectorySitesListResponse(response);
|
| @@ -14407,7 +14442,7 @@ main() {
|
| unittest.group("resource-EventTagsResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -14455,14 +14490,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, 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 common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -14510,7 +14545,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildEventTag());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.EventTag response) {
|
| checkEventTag(response);
|
| @@ -14519,7 +14554,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
|
| var arg_request = buildEventTag();
|
| var arg_profileId = "foo";
|
| @@ -14567,7 +14602,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildEventTag());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.EventTag response) {
|
| checkEventTag(response);
|
| @@ -14576,7 +14611,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
|
| var arg_profileId = "foo";
|
| var arg_adId = "foo";
|
| @@ -14584,8 +14619,8 @@ main() {
|
| var arg_campaignId = "foo";
|
| var arg_definitionsOnly = true;
|
| var arg_enabled = true;
|
| - var arg_eventTagTypes = buildUnnamed484();
|
| - var arg_ids = buildUnnamed485();
|
| + var arg_eventTagTypes = buildUnnamed897();
|
| + var arg_ids = buildUnnamed898();
|
| var arg_searchString = "foo";
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| @@ -14640,7 +14675,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildEventTagsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, adId: arg_adId, advertiserId: arg_advertiserId, campaignId: arg_campaignId, definitionsOnly: arg_definitionsOnly, enabled: arg_enabled, eventTagTypes: arg_eventTagTypes, ids: arg_ids, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.EventTagsListResponse response) {
|
| checkEventTagsListResponse(response);
|
| @@ -14649,7 +14684,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
|
| var arg_request = buildEventTag();
|
| var arg_profileId = "foo";
|
| @@ -14699,7 +14734,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildEventTag());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.EventTag response) {
|
| checkEventTag(response);
|
| @@ -14708,7 +14743,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
|
| var arg_request = buildEventTag();
|
| var arg_profileId = "foo";
|
| @@ -14756,7 +14791,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildEventTag());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.EventTag response) {
|
| checkEventTag(response);
|
| @@ -14771,7 +14806,7 @@ main() {
|
| // TODO: Implement tests for media upload;
|
| // TODO: Implement tests for media download;
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FilesResourceApi res = new api.DfareportingApi(mock).files;
|
| var arg_reportId = "foo";
|
| var arg_fileId = "foo";
|
| @@ -14819,7 +14854,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFile());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_reportId, arg_fileId).then(unittest.expectAsync(((api.File response) {
|
| checkFile(response);
|
| @@ -14828,7 +14863,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FilesResourceApi res = new api.DfareportingApi(mock).files;
|
| var arg_profileId = "foo";
|
| var arg_maxResults = 42;
|
| @@ -14882,7 +14917,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFileList());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, maxResults: arg_maxResults, pageToken: arg_pageToken, scope: arg_scope, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.FileList response) {
|
| checkFileList(response);
|
| @@ -14895,7 +14930,7 @@ main() {
|
| unittest.group("resource-FloodlightActivitiesResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -14943,14 +14978,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.delete(arg_profileId, arg_id).then(unittest.expectAsync((_) {}));
|
| });
|
|
|
| unittest.test("method--generatetag", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_profileId = "foo";
|
| var arg_floodlightActivityId = "foo";
|
| @@ -14996,7 +15031,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivitiesGenerateTagResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.generatetag(arg_profileId, floodlightActivityId: arg_floodlightActivityId).then(unittest.expectAsync(((api.FloodlightActivitiesGenerateTagResponse response) {
|
| checkFloodlightActivitiesGenerateTagResponse(response);
|
| @@ -15005,7 +15040,7 @@ main() {
|
|
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -15053,7 +15088,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivity());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightActivity response) {
|
| checkFloodlightActivity(response);
|
| @@ -15062,7 +15097,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_request = buildFloodlightActivity();
|
| var arg_profileId = "foo";
|
| @@ -15110,7 +15145,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivity());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.FloodlightActivity response) {
|
| checkFloodlightActivity(response);
|
| @@ -15119,16 +15154,16 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_profileId = "foo";
|
| var arg_advertiserId = "foo";
|
| - var arg_floodlightActivityGroupIds = buildUnnamed486();
|
| + var arg_floodlightActivityGroupIds = buildUnnamed899();
|
| var arg_floodlightActivityGroupName = "foo";
|
| var arg_floodlightActivityGroupTagString = "foo";
|
| var arg_floodlightActivityGroupType = "foo";
|
| var arg_floodlightConfigurationId = "foo";
|
| - var arg_ids = buildUnnamed487();
|
| + var arg_ids = buildUnnamed900();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -15189,7 +15224,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivitiesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, advertiserId: arg_advertiserId, floodlightActivityGroupIds: arg_floodlightActivityGroupIds, floodlightActivityGroupName: arg_floodlightActivityGroupName, floodlightActivityGroupTagString: arg_floodlightActivityGroupTagString, floodlightActivityGroupType: arg_floodlightActivityGroupType, floodlightConfigurationId: arg_floodlightConfigurationId, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder, tagString: arg_tagString).then(unittest.expectAsync(((api.FloodlightActivitiesListResponse response) {
|
| checkFloodlightActivitiesListResponse(response);
|
| @@ -15198,7 +15233,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_request = buildFloodlightActivity();
|
| var arg_profileId = "foo";
|
| @@ -15248,7 +15283,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivity());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightActivity response) {
|
| checkFloodlightActivity(response);
|
| @@ -15257,7 +15292,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
|
| var arg_request = buildFloodlightActivity();
|
| var arg_profileId = "foo";
|
| @@ -15305,7 +15340,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivity());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.FloodlightActivity response) {
|
| checkFloodlightActivity(response);
|
| @@ -15318,7 +15353,7 @@ main() {
|
| unittest.group("resource-FloodlightActivityGroupsResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock).floodlightActivityGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -15366,14 +15401,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, 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 common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock).floodlightActivityGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -15421,7 +15456,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivityGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightActivityGroup response) {
|
| checkFloodlightActivityGroup(response);
|
| @@ -15430,7 +15465,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock).floodlightActivityGroups;
|
| var arg_request = buildFloodlightActivityGroup();
|
| var arg_profileId = "foo";
|
| @@ -15478,7 +15513,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivityGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.FloodlightActivityGroup response) {
|
| checkFloodlightActivityGroup(response);
|
| @@ -15487,12 +15522,12 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock).floodlightActivityGroups;
|
| var arg_profileId = "foo";
|
| var arg_advertiserId = "foo";
|
| var arg_floodlightConfigurationId = "foo";
|
| - var arg_ids = buildUnnamed488();
|
| + var arg_ids = buildUnnamed901();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -15549,7 +15584,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivityGroupsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, advertiserId: arg_advertiserId, floodlightConfigurationId: arg_floodlightConfigurationId, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder, type: arg_type).then(unittest.expectAsync(((api.FloodlightActivityGroupsListResponse response) {
|
| checkFloodlightActivityGroupsListResponse(response);
|
| @@ -15558,7 +15593,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock).floodlightActivityGroups;
|
| var arg_request = buildFloodlightActivityGroup();
|
| var arg_profileId = "foo";
|
| @@ -15608,7 +15643,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivityGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightActivityGroup response) {
|
| checkFloodlightActivityGroup(response);
|
| @@ -15617,7 +15652,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock).floodlightActivityGroups;
|
| var arg_request = buildFloodlightActivityGroup();
|
| var arg_profileId = "foo";
|
| @@ -15665,7 +15700,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightActivityGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.FloodlightActivityGroup response) {
|
| checkFloodlightActivityGroup(response);
|
| @@ -15678,7 +15713,7 @@ main() {
|
| unittest.group("resource-FloodlightConfigurationsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -15726,7 +15761,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightConfiguration());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightConfiguration response) {
|
| checkFloodlightConfiguration(response);
|
| @@ -15735,10 +15770,10 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed489();
|
| + var arg_ids = buildUnnamed902();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -15781,7 +15816,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightConfigurationsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, ids: arg_ids).then(unittest.expectAsync(((api.FloodlightConfigurationsListResponse response) {
|
| checkFloodlightConfigurationsListResponse(response);
|
| @@ -15790,7 +15825,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
|
| var arg_request = buildFloodlightConfiguration();
|
| var arg_profileId = "foo";
|
| @@ -15840,7 +15875,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightConfiguration());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightConfiguration response) {
|
| checkFloodlightConfiguration(response);
|
| @@ -15849,7 +15884,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
|
| var arg_request = buildFloodlightConfiguration();
|
| var arg_profileId = "foo";
|
| @@ -15897,7 +15932,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFloodlightConfiguration());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.FloodlightConfiguration response) {
|
| checkFloodlightConfiguration(response);
|
| @@ -15910,7 +15945,7 @@ main() {
|
| unittest.group("resource-LandingPagesResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| var arg_profileId = "foo";
|
| var arg_campaignId = "foo";
|
| @@ -15966,14 +16001,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.delete(arg_profileId, arg_campaignId, arg_id).then(unittest.expectAsync((_) {}));
|
| });
|
|
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| var arg_profileId = "foo";
|
| var arg_campaignId = "foo";
|
| @@ -16029,7 +16064,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildLandingPage());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_campaignId, arg_id).then(unittest.expectAsync(((api.LandingPage response) {
|
| checkLandingPage(response);
|
| @@ -16038,7 +16073,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| var arg_request = buildLandingPage();
|
| var arg_profileId = "foo";
|
| @@ -16094,7 +16129,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildLandingPage());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId, arg_campaignId).then(unittest.expectAsync(((api.LandingPage response) {
|
| checkLandingPage(response);
|
| @@ -16103,7 +16138,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| var arg_profileId = "foo";
|
| var arg_campaignId = "foo";
|
| @@ -16155,7 +16190,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildLandingPagesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, arg_campaignId).then(unittest.expectAsync(((api.LandingPagesListResponse response) {
|
| checkLandingPagesListResponse(response);
|
| @@ -16164,7 +16199,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| var arg_request = buildLandingPage();
|
| var arg_profileId = "foo";
|
| @@ -16222,7 +16257,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildLandingPage());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_campaignId, arg_id).then(unittest.expectAsync(((api.LandingPage response) {
|
| checkLandingPage(response);
|
| @@ -16231,7 +16266,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPages;
|
| var arg_request = buildLandingPage();
|
| var arg_profileId = "foo";
|
| @@ -16287,7 +16322,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildLandingPage());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId, arg_campaignId).then(unittest.expectAsync(((api.LandingPage response) {
|
| checkLandingPage(response);
|
| @@ -16300,7 +16335,7 @@ main() {
|
| unittest.group("resource-MetrosResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.MetrosResourceApi res = new api.DfareportingApi(mock).metros;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -16344,7 +16379,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildMetrosListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.MetrosListResponse response) {
|
| checkMetrosListResponse(response);
|
| @@ -16357,7 +16392,7 @@ main() {
|
| unittest.group("resource-MobileCarriersResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCarriers;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -16401,7 +16436,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildMobileCarriersListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.MobileCarriersListResponse response) {
|
| checkMobileCarriersListResponse(response);
|
| @@ -16414,7 +16449,7 @@ main() {
|
| unittest.group("resource-OperatingSystemVersionsResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock).operatingSystemVersions;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -16458,7 +16493,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildOperatingSystemVersionsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.OperatingSystemVersionsListResponse response) {
|
| checkOperatingSystemVersionsListResponse(response);
|
| @@ -16471,7 +16506,7 @@ main() {
|
| unittest.group("resource-OperatingSystemsResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operatingSystems;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -16515,7 +16550,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildOperatingSystemsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.OperatingSystemsListResponse response) {
|
| checkOperatingSystemsListResponse(response);
|
| @@ -16528,7 +16563,7 @@ main() {
|
| unittest.group("resource-PlacementGroupsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -16576,7 +16611,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| checkPlacementGroup(response);
|
| @@ -16585,7 +16620,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| var arg_request = buildPlacementGroup();
|
| var arg_profileId = "foo";
|
| @@ -16633,7 +16668,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| checkPlacementGroup(response);
|
| @@ -16642,22 +16677,22 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed490();
|
| + var arg_advertiserIds = buildUnnamed903();
|
| var arg_archived = true;
|
| - var arg_campaignIds = buildUnnamed491();
|
| - var arg_contentCategoryIds = buildUnnamed492();
|
| - var arg_directorySiteIds = buildUnnamed493();
|
| - var arg_ids = buildUnnamed494();
|
| + var arg_campaignIds = buildUnnamed904();
|
| + var arg_contentCategoryIds = buildUnnamed905();
|
| + var arg_directorySiteIds = buildUnnamed906();
|
| + var arg_ids = buildUnnamed907();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_placementGroupType = "foo";
|
| - var arg_placementStrategyIds = buildUnnamed495();
|
| - var arg_pricingTypes = buildUnnamed496();
|
| + var arg_placementStrategyIds = buildUnnamed908();
|
| + var arg_pricingTypes = buildUnnamed909();
|
| var arg_searchString = "foo";
|
| - var arg_siteIds = buildUnnamed497();
|
| + var arg_siteIds = buildUnnamed910();
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -16716,7 +16751,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementGroupsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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);
|
| @@ -16725,7 +16760,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| var arg_request = buildPlacementGroup();
|
| var arg_profileId = "foo";
|
| @@ -16775,7 +16810,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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);
|
| @@ -16784,7 +16819,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
|
| var arg_request = buildPlacementGroup();
|
| var arg_profileId = "foo";
|
| @@ -16832,7 +16867,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementGroup response) {
|
| checkPlacementGroup(response);
|
| @@ -16845,7 +16880,7 @@ main() {
|
| unittest.group("resource-PlacementStrategiesResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -16893,14 +16928,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, 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 common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -16948,7 +16983,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementStrategy());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| checkPlacementStrategy(response);
|
| @@ -16957,7 +16992,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| var arg_request = buildPlacementStrategy();
|
| var arg_profileId = "foo";
|
| @@ -17005,7 +17040,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementStrategy());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| checkPlacementStrategy(response);
|
| @@ -17014,10 +17049,10 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed498();
|
| + var arg_ids = buildUnnamed911();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -17070,7 +17105,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementStrategiesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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);
|
| @@ -17079,7 +17114,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| var arg_request = buildPlacementStrategy();
|
| var arg_profileId = "foo";
|
| @@ -17129,7 +17164,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementStrategy());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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);
|
| @@ -17138,7 +17173,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
|
| var arg_request = buildPlacementStrategy();
|
| var arg_profileId = "foo";
|
| @@ -17186,7 +17221,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementStrategy());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.PlacementStrategy response) {
|
| checkPlacementStrategy(response);
|
| @@ -17199,12 +17234,12 @@ main() {
|
| unittest.group("resource-PlacementsResourceApi", () {
|
| unittest.test("method--generatetags", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| var arg_profileId = "foo";
|
| var arg_campaignId = "foo";
|
| - var arg_placementIds = buildUnnamed499();
|
| - var arg_tagFormats = buildUnnamed500();
|
| + var arg_placementIds = buildUnnamed912();
|
| + var arg_tagFormats = buildUnnamed913();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -17249,7 +17284,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementsGenerateTagsResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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);
|
| @@ -17258,7 +17293,7 @@ main() {
|
|
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -17306,7 +17341,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacement());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Placement response) {
|
| checkPlacement(response);
|
| @@ -17315,7 +17350,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| var arg_request = buildPlacement();
|
| var arg_profileId = "foo";
|
| @@ -17363,7 +17398,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacement());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Placement response) {
|
| checkPlacement(response);
|
| @@ -17372,25 +17407,25 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| var arg_profileId = "foo";
|
| - var arg_advertiserIds = buildUnnamed501();
|
| + var arg_advertiserIds = buildUnnamed914();
|
| var arg_archived = true;
|
| - var arg_campaignIds = buildUnnamed502();
|
| - var arg_compatibilities = buildUnnamed503();
|
| - var arg_contentCategoryIds = buildUnnamed504();
|
| - var arg_directorySiteIds = buildUnnamed505();
|
| - var arg_groupIds = buildUnnamed506();
|
| - var arg_ids = buildUnnamed507();
|
| + var arg_campaignIds = buildUnnamed915();
|
| + var arg_compatibilities = buildUnnamed916();
|
| + var arg_contentCategoryIds = buildUnnamed917();
|
| + var arg_directorySiteIds = buildUnnamed918();
|
| + var arg_groupIds = buildUnnamed919();
|
| + var arg_ids = buildUnnamed920();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_paymentSource = "foo";
|
| - var arg_placementStrategyIds = buildUnnamed508();
|
| - var arg_pricingTypes = buildUnnamed509();
|
| + var arg_placementStrategyIds = buildUnnamed921();
|
| + var arg_pricingTypes = buildUnnamed922();
|
| var arg_searchString = "foo";
|
| - var arg_siteIds = buildUnnamed510();
|
| - var arg_sizeIds = buildUnnamed511();
|
| + var arg_siteIds = buildUnnamed923();
|
| + var arg_sizeIds = buildUnnamed924();
|
| var arg_sortField = "foo";
|
| var arg_sortOrder = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -17452,7 +17487,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacementsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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);
|
| @@ -17461,7 +17496,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| var arg_request = buildPlacement();
|
| var arg_profileId = "foo";
|
| @@ -17511,7 +17546,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacement());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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);
|
| @@ -17520,7 +17555,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
|
| var arg_request = buildPlacement();
|
| var arg_profileId = "foo";
|
| @@ -17568,7 +17603,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlacement());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Placement response) {
|
| checkPlacement(response);
|
| @@ -17581,7 +17616,7 @@ main() {
|
| unittest.group("resource-PlatformTypesResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformTypes;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -17625,7 +17660,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPlatformTypesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.PlatformTypesListResponse response) {
|
| checkPlatformTypesListResponse(response);
|
| @@ -17638,7 +17673,7 @@ main() {
|
| unittest.group("resource-PostalCodesResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -17682,7 +17717,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildPostalCodesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.PostalCodesListResponse response) {
|
| checkPostalCodesListResponse(response);
|
| @@ -17695,7 +17730,7 @@ main() {
|
| unittest.group("resource-RegionsResourceApi", () {
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.RegionsResourceApi res = new api.DfareportingApi(mock).regions;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -17739,7 +17774,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildRegionsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.RegionsListResponse response) {
|
| checkRegionsListResponse(response);
|
| @@ -17752,7 +17787,7 @@ main() {
|
| unittest.group("resource-ReportsResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
|
| var arg_profileId = "foo";
|
| var arg_reportId = "foo";
|
| @@ -17800,14 +17835,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.delete(arg_profileId, arg_reportId).then(unittest.expectAsync((_) {}));
|
| });
|
|
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
|
| var arg_profileId = "foo";
|
| var arg_reportId = "foo";
|
| @@ -17855,7 +17890,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildReport());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_reportId).then(unittest.expectAsync(((api.Report response) {
|
| checkReport(response);
|
| @@ -17864,7 +17899,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
|
| var arg_request = buildReport();
|
| var arg_profileId = "foo";
|
| @@ -17912,7 +17947,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildReport());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Report response) {
|
| checkReport(response);
|
| @@ -17921,7 +17956,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
|
| var arg_profileId = "foo";
|
| var arg_maxResults = 42;
|
| @@ -17975,7 +18010,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildReportList());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, maxResults: arg_maxResults, pageToken: arg_pageToken, scope: arg_scope, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.ReportList response) {
|
| checkReportList(response);
|
| @@ -17984,7 +18019,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
|
| var arg_request = buildReport();
|
| var arg_profileId = "foo";
|
| @@ -18036,7 +18071,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildReport());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_reportId).then(unittest.expectAsync(((api.Report response) {
|
| checkReport(response);
|
| @@ -18045,7 +18080,7 @@ main() {
|
|
|
| unittest.test("method--run", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
|
| var arg_profileId = "foo";
|
| var arg_reportId = "foo";
|
| @@ -18099,7 +18134,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFile());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.run(arg_profileId, arg_reportId, synchronous: arg_synchronous).then(unittest.expectAsync(((api.File response) {
|
| checkFile(response);
|
| @@ -18108,7 +18143,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
|
| var arg_request = buildReport();
|
| var arg_profileId = "foo";
|
| @@ -18160,7 +18195,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildReport());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId, arg_reportId).then(unittest.expectAsync(((api.Report response) {
|
| checkReport(response);
|
| @@ -18173,7 +18208,7 @@ main() {
|
| unittest.group("resource-ReportsCompatibleFieldsResourceApi", () {
|
| unittest.test("method--query", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsCompatibleFieldsResourceApi res = new api.DfareportingApi(mock).reports.compatibleFields;
|
| var arg_request = buildReport();
|
| var arg_profileId = "foo";
|
| @@ -18221,7 +18256,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildCompatibleFields());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.query(arg_request, arg_profileId).then(unittest.expectAsync(((api.CompatibleFields response) {
|
| checkCompatibleFields(response);
|
| @@ -18236,7 +18271,7 @@ main() {
|
| // TODO: Implement tests for media upload;
|
| // TODO: Implement tests for media download;
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsFilesResourceApi res = new api.DfareportingApi(mock).reports.files;
|
| var arg_profileId = "foo";
|
| var arg_reportId = "foo";
|
| @@ -18292,7 +18327,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFile());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_reportId, arg_fileId).then(unittest.expectAsync(((api.File response) {
|
| checkFile(response);
|
| @@ -18301,7 +18336,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.ReportsFilesResourceApi res = new api.DfareportingApi(mock).reports.files;
|
| var arg_profileId = "foo";
|
| var arg_reportId = "foo";
|
| @@ -18361,7 +18396,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildFileList());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, arg_reportId, maxResults: arg_maxResults, pageToken: arg_pageToken, sortField: arg_sortField, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.FileList response) {
|
| checkFileList(response);
|
| @@ -18374,7 +18409,7 @@ main() {
|
| unittest.group("resource-SitesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -18422,7 +18457,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSite());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Site response) {
|
| checkSite(response);
|
| @@ -18431,7 +18466,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
|
| var arg_request = buildSite();
|
| var arg_profileId = "foo";
|
| @@ -18479,7 +18514,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSite());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Site response) {
|
| checkSite(response);
|
| @@ -18488,7 +18523,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
|
| var arg_profileId = "foo";
|
| var arg_acceptsInStreamVideoPlacements = true;
|
| @@ -18496,9 +18531,9 @@ main() {
|
| var arg_acceptsPublisherPaidPlacements = true;
|
| var arg_adWordsSite = true;
|
| var arg_approved = true;
|
| - var arg_campaignIds = buildUnnamed512();
|
| - var arg_directorySiteIds = buildUnnamed513();
|
| - var arg_ids = buildUnnamed514();
|
| + var arg_campaignIds = buildUnnamed925();
|
| + var arg_directorySiteIds = buildUnnamed926();
|
| + var arg_ids = buildUnnamed927();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -18562,7 +18597,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSitesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, acceptsInStreamVideoPlacements: arg_acceptsInStreamVideoPlacements, acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements, acceptsPublisherPaidPlacements: arg_acceptsPublisherPaidPlacements, adWordsSite: arg_adWordsSite, approved: arg_approved, campaignIds: arg_campaignIds, directorySiteIds: arg_directorySiteIds, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder, subaccountId: arg_subaccountId, unmappedSite: arg_unmappedSite).then(unittest.expectAsync(((api.SitesListResponse response) {
|
| checkSitesListResponse(response);
|
| @@ -18571,7 +18606,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
|
| var arg_request = buildSite();
|
| var arg_profileId = "foo";
|
| @@ -18621,7 +18656,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSite());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Site response) {
|
| checkSite(response);
|
| @@ -18630,7 +18665,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
|
| var arg_request = buildSite();
|
| var arg_profileId = "foo";
|
| @@ -18678,7 +18713,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSite());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Site response) {
|
| checkSite(response);
|
| @@ -18691,7 +18726,7 @@ main() {
|
| unittest.group("resource-SizesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SizesResourceApi res = new api.DfareportingApi(mock).sizes;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -18739,7 +18774,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSize());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Size response) {
|
| checkSize(response);
|
| @@ -18748,7 +18783,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SizesResourceApi res = new api.DfareportingApi(mock).sizes;
|
| var arg_request = buildSize();
|
| var arg_profileId = "foo";
|
| @@ -18796,7 +18831,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSize());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Size response) {
|
| checkSize(response);
|
| @@ -18805,12 +18840,12 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SizesResourceApi res = new api.DfareportingApi(mock).sizes;
|
| var arg_profileId = "foo";
|
| var arg_height = 42;
|
| var arg_iabStandard = true;
|
| - var arg_ids = buildUnnamed515();
|
| + var arg_ids = buildUnnamed928();
|
| var arg_width = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -18857,7 +18892,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSizesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, height: arg_height, iabStandard: arg_iabStandard, ids: arg_ids, width: arg_width).then(unittest.expectAsync(((api.SizesListResponse response) {
|
| checkSizesListResponse(response);
|
| @@ -18870,7 +18905,7 @@ main() {
|
| unittest.group("resource-SubaccountsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -18918,7 +18953,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSubaccount());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Subaccount response) {
|
| checkSubaccount(response);
|
| @@ -18927,7 +18962,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
|
| var arg_request = buildSubaccount();
|
| var arg_profileId = "foo";
|
| @@ -18975,7 +19010,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSubaccount());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Subaccount response) {
|
| checkSubaccount(response);
|
| @@ -18984,10 +19019,10 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed516();
|
| + var arg_ids = buildUnnamed929();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -19040,7 +19075,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSubaccountsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + 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.SubaccountsListResponse response) {
|
| checkSubaccountsListResponse(response);
|
| @@ -19049,7 +19084,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
|
| var arg_request = buildSubaccount();
|
| var arg_profileId = "foo";
|
| @@ -19099,7 +19134,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSubaccount());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.Subaccount response) {
|
| checkSubaccount(response);
|
| @@ -19108,7 +19143,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
|
| var arg_request = buildSubaccount();
|
| var arg_profileId = "foo";
|
| @@ -19156,7 +19191,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildSubaccount());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Subaccount response) {
|
| checkSubaccount(response);
|
| @@ -19169,7 +19204,7 @@ main() {
|
| unittest.group("resource-UserProfilesResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfiles;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -19209,7 +19244,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserProfile());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId).then(unittest.expectAsync(((api.UserProfile response) {
|
| checkUserProfile(response);
|
| @@ -19218,7 +19253,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfiles;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -19254,7 +19289,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserProfileList());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list().then(unittest.expectAsync(((api.UserProfileList response) {
|
| checkUserProfileList(response);
|
| @@ -19267,7 +19302,7 @@ main() {
|
| unittest.group("resource-UserRolePermissionGroupsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock).userRolePermissionGroups;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -19315,7 +19350,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRolePermissionGroup());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePermissionGroup response) {
|
| checkUserRolePermissionGroup(response);
|
| @@ -19324,7 +19359,7 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock).userRolePermissionGroups;
|
| var arg_profileId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -19368,7 +19403,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRolePermissionGroupsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId).then(unittest.expectAsync(((api.UserRolePermissionGroupsListResponse response) {
|
| checkUserRolePermissionGroupsListResponse(response);
|
| @@ -19381,7 +19416,7 @@ main() {
|
| unittest.group("resource-UserRolePermissionsResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).userRolePermissions;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -19429,7 +19464,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRolePermission());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePermission response) {
|
| checkUserRolePermission(response);
|
| @@ -19438,10 +19473,10 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).userRolePermissions;
|
| var arg_profileId = "foo";
|
| - var arg_ids = buildUnnamed517();
|
| + var arg_ids = buildUnnamed930();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -19484,7 +19519,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRolePermissionsListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, ids: arg_ids).then(unittest.expectAsync(((api.UserRolePermissionsListResponse response) {
|
| checkUserRolePermissionsListResponse(response);
|
| @@ -19497,7 +19532,7 @@ main() {
|
| unittest.group("resource-UserRolesResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -19545,14 +19580,14 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = "";
|
| - return new async.Future.value(common_test.stringResponse(200, h, 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 common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
|
| var arg_profileId = "foo";
|
| var arg_id = "foo";
|
| @@ -19600,7 +19635,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRole());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRole response) {
|
| checkUserRole(response);
|
| @@ -19609,7 +19644,7 @@ main() {
|
|
|
| unittest.test("method--insert", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
|
| var arg_request = buildUserRole();
|
| var arg_profileId = "foo";
|
| @@ -19657,7 +19692,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRole());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.UserRole response) {
|
| checkUserRole(response);
|
| @@ -19666,11 +19701,11 @@ main() {
|
|
|
| unittest.test("method--list", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
|
| var arg_profileId = "foo";
|
| var arg_accountUserRoleOnly = true;
|
| - var arg_ids = buildUnnamed518();
|
| + var arg_ids = buildUnnamed931();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_searchString = "foo";
|
| @@ -19726,7 +19761,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRolesListResponse());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.list(arg_profileId, accountUserRoleOnly: arg_accountUserRoleOnly, ids: arg_ids, maxResults: arg_maxResults, pageToken: arg_pageToken, searchString: arg_searchString, sortField: arg_sortField, sortOrder: arg_sortOrder, subaccountId: arg_subaccountId).then(unittest.expectAsync(((api.UserRolesListResponse response) {
|
| checkUserRolesListResponse(response);
|
| @@ -19735,7 +19770,7 @@ main() {
|
|
|
| unittest.test("method--patch", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
|
| var arg_request = buildUserRole();
|
| var arg_profileId = "foo";
|
| @@ -19785,7 +19820,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRole());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.patch(arg_request, arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRole response) {
|
| checkUserRole(response);
|
| @@ -19794,7 +19829,7 @@ main() {
|
|
|
| unittest.test("method--update", () {
|
|
|
| - var mock = new common_test.HttpServerMock();
|
| + var mock = new HttpServerMock();
|
| api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
|
| var arg_request = buildUserRole();
|
| var arg_profileId = "foo";
|
| @@ -19842,7 +19877,7 @@ main() {
|
| "content-type" : "application/json; charset=utf-8",
|
| };
|
| var resp = convert.JSON.encode(buildUserRole());
|
| - return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.UserRole response) {
|
| checkUserRole(response);
|
|
|