| Index: generated/googleapis/test/youtube/v3_test.dart
|
| diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
|
| index bb0b0a3dd7cd58588f79a779c6461807e7bc18b8..ba1507a7583202ea83e67d1d285d5599a957c15b 100644
|
| --- a/generated/googleapis/test/youtube/v3_test.dart
|
| +++ b/generated/googleapis/test/youtube/v3_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed2895() {
|
| +buildUnnamed688() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2895(core.List<core.String> o) {
|
| +checkUnnamed688(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -70,7 +70,7 @@ buildAccessPolicy() {
|
| buildCounterAccessPolicy++;
|
| if (buildCounterAccessPolicy < 3) {
|
| o.allowed = true;
|
| - o.exception = buildUnnamed2895();
|
| + o.exception = buildUnnamed688();
|
| }
|
| buildCounterAccessPolicy--;
|
| return o;
|
| @@ -80,7 +80,7 @@ checkAccessPolicy(api.AccessPolicy o) {
|
| buildCounterAccessPolicy++;
|
| if (buildCounterAccessPolicy < 3) {
|
| unittest.expect(o.allowed, unittest.isTrue);
|
| - checkUnnamed2895(o.exception);
|
| + checkUnnamed688(o.exception);
|
| }
|
| buildCounterAccessPolicy--;
|
| }
|
| @@ -269,27 +269,27 @@ checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
|
| buildCounterActivityContentDetailsPlaylistItem--;
|
| }
|
|
|
| -buildUnnamed2896() {
|
| +buildUnnamed689() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2896(core.List<core.String> o) {
|
| +checkUnnamed689(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2897() {
|
| +buildUnnamed690() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2897(core.List<core.String> o) {
|
| +checkUnnamed690(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -307,8 +307,8 @@ buildActivityContentDetailsPromotedItem() {
|
| o.customCtaButtonText = "foo";
|
| o.descriptionText = "foo";
|
| o.destinationUrl = "foo";
|
| - o.forecastingUrl = buildUnnamed2896();
|
| - o.impressionUrl = buildUnnamed2897();
|
| + o.forecastingUrl = buildUnnamed689();
|
| + o.impressionUrl = buildUnnamed690();
|
| o.videoId = "foo";
|
| }
|
| buildCounterActivityContentDetailsPromotedItem--;
|
| @@ -325,8 +325,8 @@ checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
|
| unittest.expect(o.customCtaButtonText, unittest.equals('foo'));
|
| unittest.expect(o.descriptionText, unittest.equals('foo'));
|
| unittest.expect(o.destinationUrl, unittest.equals('foo'));
|
| - checkUnnamed2896(o.forecastingUrl);
|
| - checkUnnamed2897(o.impressionUrl);
|
| + checkUnnamed689(o.forecastingUrl);
|
| + checkUnnamed690(o.impressionUrl);
|
| unittest.expect(o.videoId, unittest.equals('foo'));
|
| }
|
| buildCounterActivityContentDetailsPromotedItem--;
|
| @@ -420,14 +420,14 @@ checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) {
|
| buildCounterActivityContentDetailsUpload--;
|
| }
|
|
|
| -buildUnnamed2898() {
|
| +buildUnnamed691() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2898(core.List<api.Activity> o) {
|
| +checkUnnamed691(core.List<api.Activity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivity(o[0]);
|
| checkActivity(o[1]);
|
| @@ -440,7 +440,7 @@ buildActivityListResponse() {
|
| if (buildCounterActivityListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2898();
|
| + o.items = buildUnnamed691();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -457,7 +457,7 @@ checkActivityListResponse(api.ActivityListResponse o) {
|
| if (buildCounterActivityListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2898(o.items);
|
| + checkUnnamed691(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -526,14 +526,14 @@ checkCaption(api.Caption o) {
|
| buildCounterCaption--;
|
| }
|
|
|
| -buildUnnamed2899() {
|
| +buildUnnamed692() {
|
| var o = new core.List<api.Caption>();
|
| o.add(buildCaption());
|
| o.add(buildCaption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2899(core.List<api.Caption> o) {
|
| +checkUnnamed692(core.List<api.Caption> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCaption(o[0]);
|
| checkCaption(o[1]);
|
| @@ -546,7 +546,7 @@ buildCaptionListResponse() {
|
| if (buildCounterCaptionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2899();
|
| + o.items = buildUnnamed692();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -559,7 +559,7 @@ checkCaptionListResponse(api.CaptionListResponse o) {
|
| if (buildCounterCaptionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2899(o.items);
|
| + checkUnnamed692(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -636,14 +636,14 @@ checkCdnSettings(api.CdnSettings o) {
|
| buildCounterCdnSettings--;
|
| }
|
|
|
| -buildUnnamed2900() {
|
| +buildUnnamed693() {
|
| var o = new core.Map<core.String, api.ChannelLocalization>();
|
| o["x"] = buildChannelLocalization();
|
| o["y"] = buildChannelLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2900(core.Map<core.String, api.ChannelLocalization> o) {
|
| +checkUnnamed693(core.Map<core.String, api.ChannelLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelLocalization(o["x"]);
|
| checkChannelLocalization(o["y"]);
|
| @@ -663,7 +663,7 @@ buildChannel() {
|
| o.id = "foo";
|
| o.invideoPromotion = buildInvideoPromotion();
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed2900();
|
| + o.localizations = buildUnnamed693();
|
| o.snippet = buildChannelSnippet();
|
| o.statistics = buildChannelStatistics();
|
| o.status = buildChannelStatus();
|
| @@ -685,7 +685,7 @@ checkChannel(api.Channel o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkInvideoPromotion(o.invideoPromotion);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2900(o.localizations);
|
| + checkUnnamed693(o.localizations);
|
| checkChannelSnippet(o.snippet);
|
| checkChannelStatistics(o.statistics);
|
| checkChannelStatus(o.status);
|
| @@ -742,14 +742,14 @@ checkChannelBannerResource(api.ChannelBannerResource o) {
|
| buildCounterChannelBannerResource--;
|
| }
|
|
|
| -buildUnnamed2901() {
|
| +buildUnnamed694() {
|
| var o = new core.List<api.PropertyValue>();
|
| o.add(buildPropertyValue());
|
| o.add(buildPropertyValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2901(core.List<api.PropertyValue> o) {
|
| +checkUnnamed694(core.List<api.PropertyValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPropertyValue(o[0]);
|
| checkPropertyValue(o[1]);
|
| @@ -761,7 +761,7 @@ buildChannelBrandingSettings() {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| o.channel = buildChannelSettings();
|
| - o.hints = buildUnnamed2901();
|
| + o.hints = buildUnnamed694();
|
| o.image = buildImageSettings();
|
| o.watch = buildWatchSettings();
|
| }
|
| @@ -773,7 +773,7 @@ checkChannelBrandingSettings(api.ChannelBrandingSettings o) {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| checkChannelSettings(o.channel);
|
| - checkUnnamed2901(o.hints);
|
| + checkUnnamed694(o.hints);
|
| checkImageSettings(o.image);
|
| checkWatchSettings(o.watch);
|
| }
|
| @@ -870,14 +870,14 @@ checkChannelConversionPing(api.ChannelConversionPing o) {
|
| buildCounterChannelConversionPing--;
|
| }
|
|
|
| -buildUnnamed2902() {
|
| +buildUnnamed695() {
|
| var o = new core.List<api.ChannelConversionPing>();
|
| o.add(buildChannelConversionPing());
|
| o.add(buildChannelConversionPing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2902(core.List<api.ChannelConversionPing> o) {
|
| +checkUnnamed695(core.List<api.ChannelConversionPing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelConversionPing(o[0]);
|
| checkChannelConversionPing(o[1]);
|
| @@ -888,7 +888,7 @@ buildChannelConversionPings() {
|
| var o = new api.ChannelConversionPings();
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - o.pings = buildUnnamed2902();
|
| + o.pings = buildUnnamed695();
|
| }
|
| buildCounterChannelConversionPings--;
|
| return o;
|
| @@ -897,19 +897,19 @@ buildChannelConversionPings() {
|
| checkChannelConversionPings(api.ChannelConversionPings o) {
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - checkUnnamed2902(o.pings);
|
| + checkUnnamed695(o.pings);
|
| }
|
| buildCounterChannelConversionPings--;
|
| }
|
|
|
| -buildUnnamed2903() {
|
| +buildUnnamed696() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2903(core.List<api.Channel> o) {
|
| +checkUnnamed696(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| @@ -922,7 +922,7 @@ buildChannelListResponse() {
|
| if (buildCounterChannelListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2903();
|
| + o.items = buildUnnamed696();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -939,7 +939,7 @@ checkChannelListResponse(api.ChannelListResponse o) {
|
| if (buildCounterChannelListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2903(o.items);
|
| + checkUnnamed696(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -996,14 +996,14 @@ checkChannelProfileDetails(api.ChannelProfileDetails o) {
|
| buildCounterChannelProfileDetails--;
|
| }
|
|
|
| -buildUnnamed2904() {
|
| +buildUnnamed697() {
|
| var o = new core.Map<core.String, api.ChannelSectionLocalization>();
|
| o["x"] = buildChannelSectionLocalization();
|
| o["y"] = buildChannelSectionLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2904(core.Map<core.String, api.ChannelSectionLocalization> o) {
|
| +checkUnnamed697(core.Map<core.String, api.ChannelSectionLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelSectionLocalization(o["x"]);
|
| checkChannelSectionLocalization(o["y"]);
|
| @@ -1018,7 +1018,7 @@ buildChannelSection() {
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed2904();
|
| + o.localizations = buildUnnamed697();
|
| o.snippet = buildChannelSectionSnippet();
|
| o.targeting = buildChannelSectionTargeting();
|
| }
|
| @@ -1033,34 +1033,34 @@ checkChannelSection(api.ChannelSection o) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2904(o.localizations);
|
| + checkUnnamed697(o.localizations);
|
| checkChannelSectionSnippet(o.snippet);
|
| checkChannelSectionTargeting(o.targeting);
|
| }
|
| buildCounterChannelSection--;
|
| }
|
|
|
| -buildUnnamed2905() {
|
| +buildUnnamed698() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2905(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'));
|
| }
|
|
|
| -buildUnnamed2906() {
|
| +buildUnnamed699() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2906(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'));
|
| @@ -1071,8 +1071,8 @@ buildChannelSectionContentDetails() {
|
| var o = new api.ChannelSectionContentDetails();
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - o.channels = buildUnnamed2905();
|
| - o.playlists = buildUnnamed2906();
|
| + o.channels = buildUnnamed698();
|
| + o.playlists = buildUnnamed699();
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| return o;
|
| @@ -1081,20 +1081,20 @@ buildChannelSectionContentDetails() {
|
| checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - checkUnnamed2905(o.channels);
|
| - checkUnnamed2906(o.playlists);
|
| + checkUnnamed698(o.channels);
|
| + checkUnnamed699(o.playlists);
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| }
|
|
|
| -buildUnnamed2907() {
|
| +buildUnnamed700() {
|
| var o = new core.List<api.ChannelSection>();
|
| o.add(buildChannelSection());
|
| o.add(buildChannelSection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2907(core.List<api.ChannelSection> o) {
|
| +checkUnnamed700(core.List<api.ChannelSection> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelSection(o[0]);
|
| checkChannelSection(o[1]);
|
| @@ -1107,7 +1107,7 @@ buildChannelSectionListResponse() {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2907();
|
| + o.items = buildUnnamed700();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -1120,7 +1120,7 @@ checkChannelSectionListResponse(api.ChannelSectionListResponse o) {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2907(o.items);
|
| + checkUnnamed700(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -1177,40 +1177,40 @@ checkChannelSectionSnippet(api.ChannelSectionSnippet o) {
|
| buildCounterChannelSectionSnippet--;
|
| }
|
|
|
| -buildUnnamed2908() {
|
| +buildUnnamed701() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2908(core.List<core.String> o) {
|
| +checkUnnamed701(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2909() {
|
| +buildUnnamed702() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2909(core.List<core.String> o) {
|
| +checkUnnamed702(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2910() {
|
| +buildUnnamed703() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2910(core.List<core.String> o) {
|
| +checkUnnamed703(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1221,9 +1221,9 @@ buildChannelSectionTargeting() {
|
| var o = new api.ChannelSectionTargeting();
|
| buildCounterChannelSectionTargeting++;
|
| if (buildCounterChannelSectionTargeting < 3) {
|
| - o.countries = buildUnnamed2908();
|
| - o.languages = buildUnnamed2909();
|
| - o.regions = buildUnnamed2910();
|
| + o.countries = buildUnnamed701();
|
| + o.languages = buildUnnamed702();
|
| + o.regions = buildUnnamed703();
|
| }
|
| buildCounterChannelSectionTargeting--;
|
| return o;
|
| @@ -1232,21 +1232,21 @@ buildChannelSectionTargeting() {
|
| checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
|
| buildCounterChannelSectionTargeting++;
|
| if (buildCounterChannelSectionTargeting < 3) {
|
| - checkUnnamed2908(o.countries);
|
| - checkUnnamed2909(o.languages);
|
| - checkUnnamed2910(o.regions);
|
| + checkUnnamed701(o.countries);
|
| + checkUnnamed702(o.languages);
|
| + checkUnnamed703(o.regions);
|
| }
|
| buildCounterChannelSectionTargeting--;
|
| }
|
|
|
| -buildUnnamed2911() {
|
| +buildUnnamed704() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2911(core.List<core.String> o) {
|
| +checkUnnamed704(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1262,7 +1262,7 @@ buildChannelSettings() {
|
| o.defaultTab = "foo";
|
| o.description = "foo";
|
| o.featuredChannelsTitle = "foo";
|
| - o.featuredChannelsUrls = buildUnnamed2911();
|
| + o.featuredChannelsUrls = buildUnnamed704();
|
| o.keywords = "foo";
|
| o.moderateComments = true;
|
| o.profileColor = "foo";
|
| @@ -1284,7 +1284,7 @@ checkChannelSettings(api.ChannelSettings o) {
|
| unittest.expect(o.defaultTab, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.featuredChannelsTitle, unittest.equals('foo'));
|
| - checkUnnamed2911(o.featuredChannelsUrls);
|
| + checkUnnamed704(o.featuredChannelsUrls);
|
| unittest.expect(o.keywords, unittest.equals('foo'));
|
| unittest.expect(o.moderateComments, unittest.isTrue);
|
| unittest.expect(o.profileColor, unittest.equals('foo'));
|
| @@ -1380,14 +1380,14 @@ checkChannelStatus(api.ChannelStatus o) {
|
| buildCounterChannelStatus--;
|
| }
|
|
|
| -buildUnnamed2912() {
|
| +buildUnnamed705() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2912(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'));
|
| @@ -1398,7 +1398,7 @@ buildChannelTopicDetails() {
|
| var o = new api.ChannelTopicDetails();
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - o.topicIds = buildUnnamed2912();
|
| + o.topicIds = buildUnnamed705();
|
| }
|
| buildCounterChannelTopicDetails--;
|
| return o;
|
| @@ -1407,7 +1407,7 @@ buildChannelTopicDetails() {
|
| checkChannelTopicDetails(api.ChannelTopicDetails o) {
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - checkUnnamed2912(o.topicIds);
|
| + checkUnnamed705(o.topicIds);
|
| }
|
| buildCounterChannelTopicDetails--;
|
| }
|
| @@ -1437,14 +1437,14 @@ checkComment(api.Comment o) {
|
| buildCounterComment--;
|
| }
|
|
|
| -buildUnnamed2913() {
|
| +buildUnnamed706() {
|
| var o = new core.List<api.Comment>();
|
| o.add(buildComment());
|
| o.add(buildComment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2913(core.List<api.Comment> o) {
|
| +checkUnnamed706(core.List<api.Comment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComment(o[0]);
|
| checkComment(o[1]);
|
| @@ -1457,7 +1457,7 @@ buildCommentListResponse() {
|
| if (buildCounterCommentListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2913();
|
| + o.items = buildUnnamed706();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1473,7 +1473,7 @@ checkCommentListResponse(api.CommentListResponse o) {
|
| if (buildCounterCommentListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2913(o.items);
|
| + checkUnnamed706(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1559,14 +1559,14 @@ checkCommentThread(api.CommentThread o) {
|
| buildCounterCommentThread--;
|
| }
|
|
|
| -buildUnnamed2914() {
|
| +buildUnnamed707() {
|
| var o = new core.List<api.CommentThread>();
|
| o.add(buildCommentThread());
|
| o.add(buildCommentThread());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2914(core.List<api.CommentThread> o) {
|
| +checkUnnamed707(core.List<api.CommentThread> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCommentThread(o[0]);
|
| checkCommentThread(o[1]);
|
| @@ -1579,7 +1579,7 @@ buildCommentThreadListResponse() {
|
| if (buildCounterCommentThreadListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2914();
|
| + o.items = buildUnnamed707();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1595,7 +1595,7 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
|
| if (buildCounterCommentThreadListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2914(o.items);
|
| + checkUnnamed707(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1605,14 +1605,14 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
|
| buildCounterCommentThreadListResponse--;
|
| }
|
|
|
| -buildUnnamed2915() {
|
| +buildUnnamed708() {
|
| var o = new core.List<api.Comment>();
|
| o.add(buildComment());
|
| o.add(buildComment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2915(core.List<api.Comment> o) {
|
| +checkUnnamed708(core.List<api.Comment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComment(o[0]);
|
| checkComment(o[1]);
|
| @@ -1623,7 +1623,7 @@ buildCommentThreadReplies() {
|
| var o = new api.CommentThreadReplies();
|
| buildCounterCommentThreadReplies++;
|
| if (buildCounterCommentThreadReplies < 3) {
|
| - o.comments = buildUnnamed2915();
|
| + o.comments = buildUnnamed708();
|
| }
|
| buildCounterCommentThreadReplies--;
|
| return o;
|
| @@ -1632,7 +1632,7 @@ buildCommentThreadReplies() {
|
| checkCommentThreadReplies(api.CommentThreadReplies o) {
|
| buildCounterCommentThreadReplies++;
|
| if (buildCounterCommentThreadReplies < 3) {
|
| - checkUnnamed2915(o.comments);
|
| + checkUnnamed708(o.comments);
|
| }
|
| buildCounterCommentThreadReplies--;
|
| }
|
| @@ -1666,14 +1666,14 @@ checkCommentThreadSnippet(api.CommentThreadSnippet o) {
|
| buildCounterCommentThreadSnippet--;
|
| }
|
|
|
| -buildUnnamed2916() {
|
| +buildUnnamed709() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2916(core.List<core.String> o) {
|
| +checkUnnamed709(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1704,7 +1704,7 @@ buildContentRating() {
|
| o.cscfRating = "foo";
|
| o.czfilmRating = "foo";
|
| o.djctqRating = "foo";
|
| - o.djctqRatingReasons = buildUnnamed2916();
|
| + o.djctqRatingReasons = buildUnnamed709();
|
| o.ecbmctRating = "foo";
|
| o.eefilmRating = "foo";
|
| o.egfilmRating = "foo";
|
| @@ -1778,7 +1778,7 @@ checkContentRating(api.ContentRating o) {
|
| unittest.expect(o.cscfRating, unittest.equals('foo'));
|
| unittest.expect(o.czfilmRating, unittest.equals('foo'));
|
| unittest.expect(o.djctqRating, unittest.equals('foo'));
|
| - checkUnnamed2916(o.djctqRatingReasons);
|
| + checkUnnamed709(o.djctqRatingReasons);
|
| unittest.expect(o.ecbmctRating, unittest.equals('foo'));
|
| unittest.expect(o.eefilmRating, unittest.equals('foo'));
|
| unittest.expect(o.egfilmRating, unittest.equals('foo'));
|
| @@ -1853,14 +1853,14 @@ checkFanFundingEvent(api.FanFundingEvent o) {
|
| buildCounterFanFundingEvent--;
|
| }
|
|
|
| -buildUnnamed2917() {
|
| +buildUnnamed710() {
|
| var o = new core.List<api.FanFundingEvent>();
|
| o.add(buildFanFundingEvent());
|
| o.add(buildFanFundingEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2917(core.List<api.FanFundingEvent> o) {
|
| +checkUnnamed710(core.List<api.FanFundingEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFanFundingEvent(o[0]);
|
| checkFanFundingEvent(o[1]);
|
| @@ -1873,7 +1873,7 @@ buildFanFundingEventListResponse() {
|
| if (buildCounterFanFundingEventListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2917();
|
| + o.items = buildUnnamed710();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1889,7 +1889,7 @@ checkFanFundingEventListResponse(api.FanFundingEventListResponse o) {
|
| if (buildCounterFanFundingEventListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2917(o.items);
|
| + checkUnnamed710(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1978,14 +1978,14 @@ checkGuideCategory(api.GuideCategory o) {
|
| buildCounterGuideCategory--;
|
| }
|
|
|
| -buildUnnamed2918() {
|
| +buildUnnamed711() {
|
| var o = new core.List<api.GuideCategory>();
|
| o.add(buildGuideCategory());
|
| o.add(buildGuideCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2918(core.List<api.GuideCategory> o) {
|
| +checkUnnamed711(core.List<api.GuideCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGuideCategory(o[0]);
|
| checkGuideCategory(o[1]);
|
| @@ -1998,7 +1998,7 @@ buildGuideCategoryListResponse() {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2918();
|
| + o.items = buildUnnamed711();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2015,7 +2015,7 @@ checkGuideCategoryListResponse(api.GuideCategoryListResponse o) {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2918(o.items);
|
| + checkUnnamed711(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2072,14 +2072,14 @@ checkI18nLanguage(api.I18nLanguage o) {
|
| buildCounterI18nLanguage--;
|
| }
|
|
|
| -buildUnnamed2919() {
|
| +buildUnnamed712() {
|
| var o = new core.List<api.I18nLanguage>();
|
| o.add(buildI18nLanguage());
|
| o.add(buildI18nLanguage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2919(core.List<api.I18nLanguage> o) {
|
| +checkUnnamed712(core.List<api.I18nLanguage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nLanguage(o[0]);
|
| checkI18nLanguage(o[1]);
|
| @@ -2092,7 +2092,7 @@ buildI18nLanguageListResponse() {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2919();
|
| + o.items = buildUnnamed712();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -2105,7 +2105,7 @@ checkI18nLanguageListResponse(api.I18nLanguageListResponse o) {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2919(o.items);
|
| + checkUnnamed712(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -2158,14 +2158,14 @@ checkI18nRegion(api.I18nRegion o) {
|
| buildCounterI18nRegion--;
|
| }
|
|
|
| -buildUnnamed2920() {
|
| +buildUnnamed713() {
|
| var o = new core.List<api.I18nRegion>();
|
| o.add(buildI18nRegion());
|
| o.add(buildI18nRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2920(core.List<api.I18nRegion> o) {
|
| +checkUnnamed713(core.List<api.I18nRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nRegion(o[0]);
|
| checkI18nRegion(o[1]);
|
| @@ -2178,7 +2178,7 @@ buildI18nRegionListResponse() {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2920();
|
| + o.items = buildUnnamed713();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -2191,7 +2191,7 @@ checkI18nRegionListResponse(api.I18nRegionListResponse o) {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2920(o.items);
|
| + checkUnnamed713(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -2351,14 +2351,14 @@ checkInvideoPosition(api.InvideoPosition o) {
|
| buildCounterInvideoPosition--;
|
| }
|
|
|
| -buildUnnamed2921() {
|
| +buildUnnamed714() {
|
| var o = new core.List<api.PromotedItem>();
|
| o.add(buildPromotedItem());
|
| o.add(buildPromotedItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2921(core.List<api.PromotedItem> o) {
|
| +checkUnnamed714(core.List<api.PromotedItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPromotedItem(o[0]);
|
| checkPromotedItem(o[1]);
|
| @@ -2370,7 +2370,7 @@ buildInvideoPromotion() {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| o.defaultTiming = buildInvideoTiming();
|
| - o.items = buildUnnamed2921();
|
| + o.items = buildUnnamed714();
|
| o.position = buildInvideoPosition();
|
| o.useSmartTiming = true;
|
| }
|
| @@ -2382,7 +2382,7 @@ checkInvideoPromotion(api.InvideoPromotion o) {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| checkInvideoTiming(o.defaultTiming);
|
| - checkUnnamed2921(o.items);
|
| + checkUnnamed714(o.items);
|
| checkInvideoPosition(o.position);
|
| unittest.expect(o.useSmartTiming, unittest.isTrue);
|
| }
|
| @@ -2505,14 +2505,14 @@ checkLiveBroadcastContentDetails(api.LiveBroadcastContentDetails o) {
|
| buildCounterLiveBroadcastContentDetails--;
|
| }
|
|
|
| -buildUnnamed2922() {
|
| +buildUnnamed715() {
|
| var o = new core.List<api.LiveBroadcast>();
|
| o.add(buildLiveBroadcast());
|
| o.add(buildLiveBroadcast());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2922(core.List<api.LiveBroadcast> o) {
|
| +checkUnnamed715(core.List<api.LiveBroadcast> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveBroadcast(o[0]);
|
| checkLiveBroadcast(o[1]);
|
| @@ -2525,7 +2525,7 @@ buildLiveBroadcastListResponse() {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2922();
|
| + o.items = buildUnnamed715();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2542,7 +2542,7 @@ checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2922(o.items);
|
| + checkUnnamed715(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2661,14 +2661,14 @@ checkLiveBroadcastTopic(api.LiveBroadcastTopic o) {
|
| buildCounterLiveBroadcastTopic--;
|
| }
|
|
|
| -buildUnnamed2923() {
|
| +buildUnnamed716() {
|
| var o = new core.List<api.LiveBroadcastTopic>();
|
| o.add(buildLiveBroadcastTopic());
|
| o.add(buildLiveBroadcastTopic());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2923(core.List<api.LiveBroadcastTopic> o) {
|
| +checkUnnamed716(core.List<api.LiveBroadcastTopic> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveBroadcastTopic(o[0]);
|
| checkLiveBroadcastTopic(o[1]);
|
| @@ -2679,7 +2679,7 @@ buildLiveBroadcastTopicDetails() {
|
| var o = new api.LiveBroadcastTopicDetails();
|
| buildCounterLiveBroadcastTopicDetails++;
|
| if (buildCounterLiveBroadcastTopicDetails < 3) {
|
| - o.topics = buildUnnamed2923();
|
| + o.topics = buildUnnamed716();
|
| }
|
| buildCounterLiveBroadcastTopicDetails--;
|
| return o;
|
| @@ -2688,7 +2688,7 @@ buildLiveBroadcastTopicDetails() {
|
| checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
|
| buildCounterLiveBroadcastTopicDetails++;
|
| if (buildCounterLiveBroadcastTopicDetails < 3) {
|
| - checkUnnamed2923(o.topics);
|
| + checkUnnamed716(o.topics);
|
| }
|
| buildCounterLiveBroadcastTopicDetails--;
|
| }
|
| @@ -2868,14 +2868,14 @@ checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) {
|
| buildCounterLiveChatMessageDeletedDetails--;
|
| }
|
|
|
| -buildUnnamed2924() {
|
| +buildUnnamed717() {
|
| var o = new core.List<api.LiveChatMessage>();
|
| o.add(buildLiveChatMessage());
|
| o.add(buildLiveChatMessage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2924(core.List<api.LiveChatMessage> o) {
|
| +checkUnnamed717(core.List<api.LiveChatMessage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveChatMessage(o[0]);
|
| checkLiveChatMessage(o[1]);
|
| @@ -2888,7 +2888,7 @@ buildLiveChatMessageListResponse() {
|
| if (buildCounterLiveChatMessageListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2924();
|
| + o.items = buildUnnamed717();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -2906,7 +2906,7 @@ checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) {
|
| if (buildCounterLiveChatMessageListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2924(o.items);
|
| + checkUnnamed717(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| @@ -2949,6 +2949,10 @@ buildLiveChatMessageSnippet() {
|
| o.liveChatId = "foo";
|
| o.messageDeletedDetails = buildLiveChatMessageDeletedDetails();
|
| o.messageRetractedDetails = buildLiveChatMessageRetractedDetails();
|
| + o.pollClosedDetails = buildLiveChatPollClosedDetails();
|
| + o.pollEditedDetails = buildLiveChatPollEditedDetails();
|
| + o.pollOpenedDetails = buildLiveChatPollOpenedDetails();
|
| + o.pollVotedDetails = buildLiveChatPollVotedDetails();
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| o.textMessageDetails = buildLiveChatTextMessageDetails();
|
| o.type = "foo";
|
| @@ -2968,6 +2972,10 @@ checkLiveChatMessageSnippet(api.LiveChatMessageSnippet o) {
|
| unittest.expect(o.liveChatId, unittest.equals('foo'));
|
| checkLiveChatMessageDeletedDetails(o.messageDeletedDetails);
|
| checkLiveChatMessageRetractedDetails(o.messageRetractedDetails);
|
| + checkLiveChatPollClosedDetails(o.pollClosedDetails);
|
| + checkLiveChatPollEditedDetails(o.pollEditedDetails);
|
| + checkLiveChatPollOpenedDetails(o.pollOpenedDetails);
|
| + checkLiveChatPollVotedDetails(o.pollVotedDetails);
|
| unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| checkLiveChatTextMessageDetails(o.textMessageDetails);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -3001,14 +3009,14 @@ checkLiveChatModerator(api.LiveChatModerator o) {
|
| buildCounterLiveChatModerator--;
|
| }
|
|
|
| -buildUnnamed2925() {
|
| +buildUnnamed718() {
|
| var o = new core.List<api.LiveChatModerator>();
|
| o.add(buildLiveChatModerator());
|
| o.add(buildLiveChatModerator());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2925(core.List<api.LiveChatModerator> o) {
|
| +checkUnnamed718(core.List<api.LiveChatModerator> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveChatModerator(o[0]);
|
| checkLiveChatModerator(o[1]);
|
| @@ -3021,7 +3029,7 @@ buildLiveChatModeratorListResponse() {
|
| if (buildCounterLiveChatModeratorListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2925();
|
| + o.items = buildUnnamed718();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3038,7 +3046,7 @@ checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) {
|
| if (buildCounterLiveChatModeratorListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2925(o.items);
|
| + checkUnnamed718(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3070,6 +3078,139 @@ checkLiveChatModeratorSnippet(api.LiveChatModeratorSnippet o) {
|
| buildCounterLiveChatModeratorSnippet--;
|
| }
|
|
|
| +core.int buildCounterLiveChatPollClosedDetails = 0;
|
| +buildLiveChatPollClosedDetails() {
|
| + var o = new api.LiveChatPollClosedDetails();
|
| + buildCounterLiveChatPollClosedDetails++;
|
| + if (buildCounterLiveChatPollClosedDetails < 3) {
|
| + o.pollId = "foo";
|
| + }
|
| + buildCounterLiveChatPollClosedDetails--;
|
| + return o;
|
| +}
|
| +
|
| +checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) {
|
| + buildCounterLiveChatPollClosedDetails++;
|
| + if (buildCounterLiveChatPollClosedDetails < 3) {
|
| + unittest.expect(o.pollId, unittest.equals('foo'));
|
| + }
|
| + buildCounterLiveChatPollClosedDetails--;
|
| +}
|
| +
|
| +buildUnnamed719() {
|
| + var o = new core.List<api.LiveChatPollItem>();
|
| + o.add(buildLiveChatPollItem());
|
| + o.add(buildLiveChatPollItem());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed719(core.List<api.LiveChatPollItem> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkLiveChatPollItem(o[0]);
|
| + checkLiveChatPollItem(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterLiveChatPollEditedDetails = 0;
|
| +buildLiveChatPollEditedDetails() {
|
| + var o = new api.LiveChatPollEditedDetails();
|
| + buildCounterLiveChatPollEditedDetails++;
|
| + if (buildCounterLiveChatPollEditedDetails < 3) {
|
| + o.id = "foo";
|
| + o.items = buildUnnamed719();
|
| + o.prompt = "foo";
|
| + }
|
| + buildCounterLiveChatPollEditedDetails--;
|
| + return o;
|
| +}
|
| +
|
| +checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) {
|
| + buildCounterLiveChatPollEditedDetails++;
|
| + if (buildCounterLiveChatPollEditedDetails < 3) {
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + checkUnnamed719(o.items);
|
| + unittest.expect(o.prompt, unittest.equals('foo'));
|
| + }
|
| + buildCounterLiveChatPollEditedDetails--;
|
| +}
|
| +
|
| +core.int buildCounterLiveChatPollItem = 0;
|
| +buildLiveChatPollItem() {
|
| + var o = new api.LiveChatPollItem();
|
| + buildCounterLiveChatPollItem++;
|
| + if (buildCounterLiveChatPollItem < 3) {
|
| + o.description = "foo";
|
| + o.itemId = "foo";
|
| + }
|
| + buildCounterLiveChatPollItem--;
|
| + return o;
|
| +}
|
| +
|
| +checkLiveChatPollItem(api.LiveChatPollItem o) {
|
| + buildCounterLiveChatPollItem++;
|
| + if (buildCounterLiveChatPollItem < 3) {
|
| + unittest.expect(o.description, unittest.equals('foo'));
|
| + unittest.expect(o.itemId, unittest.equals('foo'));
|
| + }
|
| + buildCounterLiveChatPollItem--;
|
| +}
|
| +
|
| +buildUnnamed720() {
|
| + var o = new core.List<api.LiveChatPollItem>();
|
| + o.add(buildLiveChatPollItem());
|
| + o.add(buildLiveChatPollItem());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed720(core.List<api.LiveChatPollItem> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkLiveChatPollItem(o[0]);
|
| + checkLiveChatPollItem(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterLiveChatPollOpenedDetails = 0;
|
| +buildLiveChatPollOpenedDetails() {
|
| + var o = new api.LiveChatPollOpenedDetails();
|
| + buildCounterLiveChatPollOpenedDetails++;
|
| + if (buildCounterLiveChatPollOpenedDetails < 3) {
|
| + o.id = "foo";
|
| + o.items = buildUnnamed720();
|
| + o.prompt = "foo";
|
| + }
|
| + buildCounterLiveChatPollOpenedDetails--;
|
| + return o;
|
| +}
|
| +
|
| +checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) {
|
| + buildCounterLiveChatPollOpenedDetails++;
|
| + if (buildCounterLiveChatPollOpenedDetails < 3) {
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + checkUnnamed720(o.items);
|
| + unittest.expect(o.prompt, unittest.equals('foo'));
|
| + }
|
| + buildCounterLiveChatPollOpenedDetails--;
|
| +}
|
| +
|
| +core.int buildCounterLiveChatPollVotedDetails = 0;
|
| +buildLiveChatPollVotedDetails() {
|
| + var o = new api.LiveChatPollVotedDetails();
|
| + buildCounterLiveChatPollVotedDetails++;
|
| + if (buildCounterLiveChatPollVotedDetails < 3) {
|
| + o.itemId = "foo";
|
| + o.pollId = "foo";
|
| + }
|
| + buildCounterLiveChatPollVotedDetails--;
|
| + return o;
|
| +}
|
| +
|
| +checkLiveChatPollVotedDetails(api.LiveChatPollVotedDetails o) {
|
| + buildCounterLiveChatPollVotedDetails++;
|
| + if (buildCounterLiveChatPollVotedDetails < 3) {
|
| + unittest.expect(o.itemId, unittest.equals('foo'));
|
| + unittest.expect(o.pollId, unittest.equals('foo'));
|
| + }
|
| + buildCounterLiveChatPollVotedDetails--;
|
| +}
|
| +
|
| core.int buildCounterLiveChatTextMessageDetails = 0;
|
| buildLiveChatTextMessageDetails() {
|
| var o = new api.LiveChatTextMessageDetails();
|
| @@ -3189,14 +3330,14 @@ checkLiveStreamContentDetails(api.LiveStreamContentDetails o) {
|
| buildCounterLiveStreamContentDetails--;
|
| }
|
|
|
| -buildUnnamed2926() {
|
| +buildUnnamed721() {
|
| var o = new core.List<api.LiveStreamConfigurationIssue>();
|
| o.add(buildLiveStreamConfigurationIssue());
|
| o.add(buildLiveStreamConfigurationIssue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2926(core.List<api.LiveStreamConfigurationIssue> o) {
|
| +checkUnnamed721(core.List<api.LiveStreamConfigurationIssue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveStreamConfigurationIssue(o[0]);
|
| checkLiveStreamConfigurationIssue(o[1]);
|
| @@ -3207,7 +3348,7 @@ buildLiveStreamHealthStatus() {
|
| var o = new api.LiveStreamHealthStatus();
|
| buildCounterLiveStreamHealthStatus++;
|
| if (buildCounterLiveStreamHealthStatus < 3) {
|
| - o.configurationIssues = buildUnnamed2926();
|
| + o.configurationIssues = buildUnnamed721();
|
| o.lastUpdateTimeSeconds = "foo";
|
| o.status = "foo";
|
| }
|
| @@ -3218,21 +3359,21 @@ buildLiveStreamHealthStatus() {
|
| checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
|
| buildCounterLiveStreamHealthStatus++;
|
| if (buildCounterLiveStreamHealthStatus < 3) {
|
| - checkUnnamed2926(o.configurationIssues);
|
| + checkUnnamed721(o.configurationIssues);
|
| unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterLiveStreamHealthStatus--;
|
| }
|
|
|
| -buildUnnamed2927() {
|
| +buildUnnamed722() {
|
| var o = new core.List<api.LiveStream>();
|
| o.add(buildLiveStream());
|
| o.add(buildLiveStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2927(core.List<api.LiveStream> o) {
|
| +checkUnnamed722(core.List<api.LiveStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveStream(o[0]);
|
| checkLiveStream(o[1]);
|
| @@ -3245,7 +3386,7 @@ buildLiveStreamListResponse() {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2927();
|
| + o.items = buildUnnamed722();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3262,7 +3403,7 @@ checkLiveStreamListResponse(api.LiveStreamListResponse o) {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2927(o.items);
|
| + checkUnnamed722(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3321,14 +3462,14 @@ checkLiveStreamStatus(api.LiveStreamStatus o) {
|
| buildCounterLiveStreamStatus--;
|
| }
|
|
|
| -buildUnnamed2928() {
|
| +buildUnnamed723() {
|
| var o = new core.List<api.LocalizedString>();
|
| o.add(buildLocalizedString());
|
| o.add(buildLocalizedString());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2928(core.List<api.LocalizedString> o) {
|
| +checkUnnamed723(core.List<api.LocalizedString> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocalizedString(o[0]);
|
| checkLocalizedString(o[1]);
|
| @@ -3341,7 +3482,7 @@ buildLocalizedProperty() {
|
| if (buildCounterLocalizedProperty < 3) {
|
| o.default_ = "foo";
|
| o.defaultLanguage = buildLanguageTag();
|
| - o.localized = buildUnnamed2928();
|
| + o.localized = buildUnnamed723();
|
| }
|
| buildCounterLocalizedProperty--;
|
| return o;
|
| @@ -3352,7 +3493,7 @@ checkLocalizedProperty(api.LocalizedProperty o) {
|
| if (buildCounterLocalizedProperty < 3) {
|
| unittest.expect(o.default_, unittest.equals('foo'));
|
| checkLanguageTag(o.defaultLanguage);
|
| - checkUnnamed2928(o.localized);
|
| + checkUnnamed723(o.localized);
|
| }
|
| buildCounterLocalizedProperty--;
|
| }
|
| @@ -3422,14 +3563,14 @@ checkPageInfo(api.PageInfo o) {
|
| buildCounterPageInfo--;
|
| }
|
|
|
| -buildUnnamed2929() {
|
| +buildUnnamed724() {
|
| var o = new core.Map<core.String, api.PlaylistLocalization>();
|
| o["x"] = buildPlaylistLocalization();
|
| o["y"] = buildPlaylistLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2929(core.Map<core.String, api.PlaylistLocalization> o) {
|
| +checkUnnamed724(core.Map<core.String, api.PlaylistLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylistLocalization(o["x"]);
|
| checkPlaylistLocalization(o["y"]);
|
| @@ -3444,7 +3585,7 @@ buildPlaylist() {
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed2929();
|
| + o.localizations = buildUnnamed724();
|
| o.player = buildPlaylistPlayer();
|
| o.snippet = buildPlaylistSnippet();
|
| o.status = buildPlaylistStatus();
|
| @@ -3460,7 +3601,7 @@ checkPlaylist(api.Playlist o) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2929(o.localizations);
|
| + checkUnnamed724(o.localizations);
|
| checkPlaylistPlayer(o.player);
|
| checkPlaylistSnippet(o.snippet);
|
| checkPlaylistStatus(o.status);
|
| @@ -3541,14 +3682,14 @@ checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) {
|
| buildCounterPlaylistItemContentDetails--;
|
| }
|
|
|
| -buildUnnamed2930() {
|
| +buildUnnamed725() {
|
| var o = new core.List<api.PlaylistItem>();
|
| o.add(buildPlaylistItem());
|
| o.add(buildPlaylistItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2930(core.List<api.PlaylistItem> o) {
|
| +checkUnnamed725(core.List<api.PlaylistItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylistItem(o[0]);
|
| checkPlaylistItem(o[1]);
|
| @@ -3561,7 +3702,7 @@ buildPlaylistItemListResponse() {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2930();
|
| + o.items = buildUnnamed725();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3578,7 +3719,7 @@ checkPlaylistItemListResponse(api.PlaylistItemListResponse o) {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2930(o.items);
|
| + checkUnnamed725(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3643,14 +3784,14 @@ checkPlaylistItemStatus(api.PlaylistItemStatus o) {
|
| buildCounterPlaylistItemStatus--;
|
| }
|
|
|
| -buildUnnamed2931() {
|
| +buildUnnamed726() {
|
| var o = new core.List<api.Playlist>();
|
| o.add(buildPlaylist());
|
| o.add(buildPlaylist());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2931(core.List<api.Playlist> o) {
|
| +checkUnnamed726(core.List<api.Playlist> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylist(o[0]);
|
| checkPlaylist(o[1]);
|
| @@ -3663,7 +3804,7 @@ buildPlaylistListResponse() {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2931();
|
| + o.items = buildUnnamed726();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3680,7 +3821,7 @@ checkPlaylistListResponse(api.PlaylistListResponse o) {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2931(o.items);
|
| + checkUnnamed726(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3731,14 +3872,14 @@ checkPlaylistPlayer(api.PlaylistPlayer o) {
|
| buildCounterPlaylistPlayer--;
|
| }
|
|
|
| -buildUnnamed2932() {
|
| +buildUnnamed727() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2932(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'));
|
| @@ -3755,7 +3896,7 @@ buildPlaylistSnippet() {
|
| o.description = "foo";
|
| o.localized = buildPlaylistLocalization();
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed2932();
|
| + o.tags = buildUnnamed727();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -3772,7 +3913,7 @@ checkPlaylistSnippet(api.PlaylistSnippet o) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| checkPlaylistLocalization(o.localized);
|
| unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - checkUnnamed2932(o.tags);
|
| + checkUnnamed727(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -3894,14 +4035,14 @@ checkResourceId(api.ResourceId o) {
|
| buildCounterResourceId--;
|
| }
|
|
|
| -buildUnnamed2933() {
|
| +buildUnnamed728() {
|
| var o = new core.List<api.SearchResult>();
|
| o.add(buildSearchResult());
|
| o.add(buildSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2933(core.List<api.SearchResult> o) {
|
| +checkUnnamed728(core.List<api.SearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSearchResult(o[0]);
|
| checkSearchResult(o[1]);
|
| @@ -3914,7 +4055,7 @@ buildSearchListResponse() {
|
| if (buildCounterSearchListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2933();
|
| + o.items = buildUnnamed728();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3932,7 +4073,7 @@ checkSearchListResponse(api.SearchListResponse o) {
|
| if (buildCounterSearchListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2933(o.items);
|
| + checkUnnamed728(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4025,14 +4166,14 @@ checkSponsor(api.Sponsor o) {
|
| buildCounterSponsor--;
|
| }
|
|
|
| -buildUnnamed2934() {
|
| +buildUnnamed729() {
|
| var o = new core.List<api.Sponsor>();
|
| o.add(buildSponsor());
|
| o.add(buildSponsor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2934(core.List<api.Sponsor> o) {
|
| +checkUnnamed729(core.List<api.Sponsor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSponsor(o[0]);
|
| checkSponsor(o[1]);
|
| @@ -4045,7 +4186,7 @@ buildSponsorListResponse() {
|
| if (buildCounterSponsorListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2934();
|
| + o.items = buildUnnamed729();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4061,7 +4202,7 @@ checkSponsorListResponse(api.SponsorListResponse o) {
|
| if (buildCounterSponsorListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2934(o.items);
|
| + checkUnnamed729(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4146,14 +4287,14 @@ checkSubscriptionContentDetails(api.SubscriptionContentDetails o) {
|
| buildCounterSubscriptionContentDetails--;
|
| }
|
|
|
| -buildUnnamed2935() {
|
| +buildUnnamed730() {
|
| var o = new core.List<api.Subscription>();
|
| o.add(buildSubscription());
|
| o.add(buildSubscription());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2935(core.List<api.Subscription> o) {
|
| +checkUnnamed730(core.List<api.Subscription> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubscription(o[0]);
|
| checkSubscription(o[1]);
|
| @@ -4166,7 +4307,7 @@ buildSubscriptionListResponse() {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2935();
|
| + o.items = buildUnnamed730();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4183,7 +4324,7 @@ checkSubscriptionListResponse(api.SubscriptionListResponse o) {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2935(o.items);
|
| + checkUnnamed730(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4300,14 +4441,14 @@ checkThumbnailDetails(api.ThumbnailDetails o) {
|
| buildCounterThumbnailDetails--;
|
| }
|
|
|
| -buildUnnamed2936() {
|
| +buildUnnamed731() {
|
| var o = new core.List<api.ThumbnailDetails>();
|
| o.add(buildThumbnailDetails());
|
| o.add(buildThumbnailDetails());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2936(core.List<api.ThumbnailDetails> o) {
|
| +checkUnnamed731(core.List<api.ThumbnailDetails> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThumbnailDetails(o[0]);
|
| checkThumbnailDetails(o[1]);
|
| @@ -4320,7 +4461,7 @@ buildThumbnailSetResponse() {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2936();
|
| + o.items = buildUnnamed731();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -4333,7 +4474,7 @@ checkThumbnailSetResponse(api.ThumbnailSetResponse o) {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2936(o.items);
|
| + checkUnnamed731(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -4357,14 +4498,14 @@ checkTokenPagination(api.TokenPagination o) {
|
| buildCounterTokenPagination--;
|
| }
|
|
|
| -buildUnnamed2937() {
|
| +buildUnnamed732() {
|
| var o = new core.Map<core.String, api.VideoLocalization>();
|
| o["x"] = buildVideoLocalization();
|
| o["y"] = buildVideoLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2937(core.Map<core.String, api.VideoLocalization> o) {
|
| +checkUnnamed732(core.Map<core.String, api.VideoLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoLocalization(o["x"]);
|
| checkVideoLocalization(o["y"]);
|
| @@ -4382,7 +4523,7 @@ buildVideo() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.liveStreamingDetails = buildVideoLiveStreamingDetails();
|
| - o.localizations = buildUnnamed2937();
|
| + o.localizations = buildUnnamed732();
|
| o.monetizationDetails = buildVideoMonetizationDetails();
|
| o.player = buildVideoPlayer();
|
| o.processingDetails = buildVideoProcessingDetails();
|
| @@ -4408,7 +4549,7 @@ checkVideo(api.Video o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkVideoLiveStreamingDetails(o.liveStreamingDetails);
|
| - checkUnnamed2937(o.localizations);
|
| + checkUnnamed732(o.localizations);
|
| checkVideoMonetizationDetails(o.monetizationDetails);
|
| checkVideoPlayer(o.player);
|
| checkVideoProcessingDetails(o.processingDetails);
|
| @@ -4475,14 +4616,14 @@ checkVideoAbuseReportReason(api.VideoAbuseReportReason o) {
|
| buildCounterVideoAbuseReportReason--;
|
| }
|
|
|
| -buildUnnamed2938() {
|
| +buildUnnamed733() {
|
| var o = new core.List<api.VideoAbuseReportReason>();
|
| o.add(buildVideoAbuseReportReason());
|
| o.add(buildVideoAbuseReportReason());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2938(core.List<api.VideoAbuseReportReason> o) {
|
| +checkUnnamed733(core.List<api.VideoAbuseReportReason> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoAbuseReportReason(o[0]);
|
| checkVideoAbuseReportReason(o[1]);
|
| @@ -4495,7 +4636,7 @@ buildVideoAbuseReportReasonListResponse() {
|
| if (buildCounterVideoAbuseReportReasonListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2938();
|
| + o.items = buildUnnamed733();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -4508,21 +4649,21 @@ checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
|
| if (buildCounterVideoAbuseReportReasonListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2938(o.items);
|
| + checkUnnamed733(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| buildCounterVideoAbuseReportReasonListResponse--;
|
| }
|
|
|
| -buildUnnamed2939() {
|
| +buildUnnamed734() {
|
| var o = new core.List<api.VideoAbuseReportSecondaryReason>();
|
| o.add(buildVideoAbuseReportSecondaryReason());
|
| o.add(buildVideoAbuseReportSecondaryReason());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2939(core.List<api.VideoAbuseReportSecondaryReason> o) {
|
| +checkUnnamed734(core.List<api.VideoAbuseReportSecondaryReason> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoAbuseReportSecondaryReason(o[0]);
|
| checkVideoAbuseReportSecondaryReason(o[1]);
|
| @@ -4534,7 +4675,7 @@ buildVideoAbuseReportReasonSnippet() {
|
| buildCounterVideoAbuseReportReasonSnippet++;
|
| if (buildCounterVideoAbuseReportReasonSnippet < 3) {
|
| o.label = "foo";
|
| - o.secondaryReasons = buildUnnamed2939();
|
| + o.secondaryReasons = buildUnnamed734();
|
| }
|
| buildCounterVideoAbuseReportReasonSnippet--;
|
| return o;
|
| @@ -4544,7 +4685,7 @@ checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) {
|
| buildCounterVideoAbuseReportReasonSnippet++;
|
| if (buildCounterVideoAbuseReportReasonSnippet < 3) {
|
| unittest.expect(o.label, unittest.equals('foo'));
|
| - checkUnnamed2939(o.secondaryReasons);
|
| + checkUnnamed734(o.secondaryReasons);
|
| }
|
| buildCounterVideoAbuseReportReasonSnippet--;
|
| }
|
| @@ -4618,14 +4759,14 @@ checkVideoCategory(api.VideoCategory o) {
|
| buildCounterVideoCategory--;
|
| }
|
|
|
| -buildUnnamed2940() {
|
| +buildUnnamed735() {
|
| var o = new core.List<api.VideoCategory>();
|
| o.add(buildVideoCategory());
|
| o.add(buildVideoCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2940(core.List<api.VideoCategory> o) {
|
| +checkUnnamed735(core.List<api.VideoCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoCategory(o[0]);
|
| checkVideoCategory(o[1]);
|
| @@ -4638,7 +4779,7 @@ buildVideoCategoryListResponse() {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2940();
|
| + o.items = buildUnnamed735();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4655,7 +4796,7 @@ checkVideoCategoryListResponse(api.VideoCategoryListResponse o) {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2940(o.items);
|
| + checkUnnamed735(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4724,27 +4865,27 @@ checkVideoContentDetails(api.VideoContentDetails o) {
|
| buildCounterVideoContentDetails--;
|
| }
|
|
|
| -buildUnnamed2941() {
|
| +buildUnnamed736() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2941(core.List<core.String> o) {
|
| +checkUnnamed736(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2942() {
|
| +buildUnnamed737() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2942(core.List<core.String> o) {
|
| +checkUnnamed737(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -4755,8 +4896,8 @@ buildVideoContentDetailsRegionRestriction() {
|
| var o = new api.VideoContentDetailsRegionRestriction();
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - o.allowed = buildUnnamed2941();
|
| - o.blocked = buildUnnamed2942();
|
| + o.allowed = buildUnnamed736();
|
| + o.blocked = buildUnnamed737();
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| return o;
|
| @@ -4765,33 +4906,33 @@ buildVideoContentDetailsRegionRestriction() {
|
| checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - checkUnnamed2941(o.allowed);
|
| - checkUnnamed2942(o.blocked);
|
| + checkUnnamed736(o.allowed);
|
| + checkUnnamed737(o.blocked);
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| }
|
|
|
| -buildUnnamed2943() {
|
| +buildUnnamed738() {
|
| var o = new core.List<api.VideoFileDetailsAudioStream>();
|
| o.add(buildVideoFileDetailsAudioStream());
|
| o.add(buildVideoFileDetailsAudioStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2943(core.List<api.VideoFileDetailsAudioStream> o) {
|
| +checkUnnamed738(core.List<api.VideoFileDetailsAudioStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsAudioStream(o[0]);
|
| checkVideoFileDetailsAudioStream(o[1]);
|
| }
|
|
|
| -buildUnnamed2944() {
|
| +buildUnnamed739() {
|
| var o = new core.List<api.VideoFileDetailsVideoStream>();
|
| o.add(buildVideoFileDetailsVideoStream());
|
| o.add(buildVideoFileDetailsVideoStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2944(core.List<api.VideoFileDetailsVideoStream> o) {
|
| +checkUnnamed739(core.List<api.VideoFileDetailsVideoStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsVideoStream(o[0]);
|
| checkVideoFileDetailsVideoStream(o[1]);
|
| @@ -4802,7 +4943,7 @@ buildVideoFileDetails() {
|
| var o = new api.VideoFileDetails();
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - o.audioStreams = buildUnnamed2943();
|
| + o.audioStreams = buildUnnamed738();
|
| o.bitrateBps = "foo";
|
| o.container = "foo";
|
| o.creationTime = "foo";
|
| @@ -4811,7 +4952,7 @@ buildVideoFileDetails() {
|
| o.fileSize = "foo";
|
| o.fileType = "foo";
|
| o.recordingLocation = buildGeoPoint();
|
| - o.videoStreams = buildUnnamed2944();
|
| + o.videoStreams = buildUnnamed739();
|
| }
|
| buildCounterVideoFileDetails--;
|
| return o;
|
| @@ -4820,7 +4961,7 @@ buildVideoFileDetails() {
|
| checkVideoFileDetails(api.VideoFileDetails o) {
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - checkUnnamed2943(o.audioStreams);
|
| + checkUnnamed738(o.audioStreams);
|
| unittest.expect(o.bitrateBps, unittest.equals('foo'));
|
| unittest.expect(o.container, unittest.equals('foo'));
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| @@ -4829,7 +4970,7 @@ checkVideoFileDetails(api.VideoFileDetails o) {
|
| unittest.expect(o.fileSize, unittest.equals('foo'));
|
| unittest.expect(o.fileType, unittest.equals('foo'));
|
| checkGeoPoint(o.recordingLocation);
|
| - checkUnnamed2944(o.videoStreams);
|
| + checkUnnamed739(o.videoStreams);
|
| }
|
| buildCounterVideoFileDetails--;
|
| }
|
| @@ -4892,14 +5033,14 @@ checkVideoFileDetailsVideoStream(api.VideoFileDetailsVideoStream o) {
|
| buildCounterVideoFileDetailsVideoStream--;
|
| }
|
|
|
| -buildUnnamed2945() {
|
| +buildUnnamed740() {
|
| var o = new core.List<api.VideoRating>();
|
| o.add(buildVideoRating());
|
| o.add(buildVideoRating());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2945(core.List<api.VideoRating> o) {
|
| +checkUnnamed740(core.List<api.VideoRating> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoRating(o[0]);
|
| checkVideoRating(o[1]);
|
| @@ -4912,7 +5053,7 @@ buildVideoGetRatingResponse() {
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2945();
|
| + o.items = buildUnnamed740();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -4925,21 +5066,21 @@ checkVideoGetRatingResponse(api.VideoGetRatingResponse o) {
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2945(o.items);
|
| + checkUnnamed740(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| buildCounterVideoGetRatingResponse--;
|
| }
|
|
|
| -buildUnnamed2946() {
|
| +buildUnnamed741() {
|
| var o = new core.List<api.Video>();
|
| o.add(buildVideo());
|
| o.add(buildVideo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2946(core.List<api.Video> o) {
|
| +checkUnnamed741(core.List<api.Video> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideo(o[0]);
|
| checkVideo(o[1]);
|
| @@ -4952,7 +5093,7 @@ buildVideoListResponse() {
|
| if (buildCounterVideoListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed2946();
|
| + o.items = buildUnnamed741();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4969,7 +5110,7 @@ checkVideoListResponse(api.VideoListResponse o) {
|
| if (buildCounterVideoListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed2946(o.items);
|
| + checkUnnamed741(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -5124,14 +5265,14 @@ checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
|
| buildCounterVideoProcessingDetailsProcessingProgress--;
|
| }
|
|
|
| -buildUnnamed2947() {
|
| +buildUnnamed742() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2947(core.List<core.String> o) {
|
| +checkUnnamed742(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -5142,7 +5283,7 @@ buildVideoProjectDetails() {
|
| var o = new api.VideoProjectDetails();
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - o.tags = buildUnnamed2947();
|
| + o.tags = buildUnnamed742();
|
| }
|
| buildCounterVideoProjectDetails--;
|
| return o;
|
| @@ -5151,7 +5292,7 @@ buildVideoProjectDetails() {
|
| checkVideoProjectDetails(api.VideoProjectDetails o) {
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - checkUnnamed2947(o.tags);
|
| + checkUnnamed742(o.tags);
|
| }
|
| buildCounterVideoProjectDetails--;
|
| }
|
| @@ -5200,14 +5341,14 @@ checkVideoRecordingDetails(api.VideoRecordingDetails o) {
|
| buildCounterVideoRecordingDetails--;
|
| }
|
|
|
| -buildUnnamed2948() {
|
| +buildUnnamed743() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2948(core.List<core.String> o) {
|
| +checkUnnamed743(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -5227,7 +5368,7 @@ buildVideoSnippet() {
|
| o.liveBroadcastContent = "foo";
|
| o.localized = buildVideoLocalization();
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed2948();
|
| + o.tags = buildUnnamed743();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -5247,7 +5388,7 @@ checkVideoSnippet(api.VideoSnippet o) {
|
| unittest.expect(o.liveBroadcastContent, unittest.equals('foo'));
|
| checkVideoLocalization(o.localized);
|
| unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - checkUnnamed2948(o.tags);
|
| + checkUnnamed743(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -5314,66 +5455,66 @@ checkVideoStatus(api.VideoStatus o) {
|
| buildCounterVideoStatus--;
|
| }
|
|
|
| -buildUnnamed2949() {
|
| +buildUnnamed744() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2949(core.List<core.String> o) {
|
| +checkUnnamed744(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2950() {
|
| +buildUnnamed745() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2950(core.List<core.String> o) {
|
| +checkUnnamed745(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2951() {
|
| +buildUnnamed746() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2951(core.List<core.String> o) {
|
| +checkUnnamed746(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2952() {
|
| +buildUnnamed747() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2952(core.List<core.String> o) {
|
| +checkUnnamed747(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2953() {
|
| +buildUnnamed748() {
|
| var o = new core.List<api.VideoSuggestionsTagSuggestion>();
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2953(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| +checkUnnamed748(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoSuggestionsTagSuggestion(o[0]);
|
| checkVideoSuggestionsTagSuggestion(o[1]);
|
| @@ -5384,11 +5525,11 @@ buildVideoSuggestions() {
|
| var o = new api.VideoSuggestions();
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - o.editorSuggestions = buildUnnamed2949();
|
| - o.processingErrors = buildUnnamed2950();
|
| - o.processingHints = buildUnnamed2951();
|
| - o.processingWarnings = buildUnnamed2952();
|
| - o.tagSuggestions = buildUnnamed2953();
|
| + o.editorSuggestions = buildUnnamed744();
|
| + o.processingErrors = buildUnnamed745();
|
| + o.processingHints = buildUnnamed746();
|
| + o.processingWarnings = buildUnnamed747();
|
| + o.tagSuggestions = buildUnnamed748();
|
| }
|
| buildCounterVideoSuggestions--;
|
| return o;
|
| @@ -5397,23 +5538,23 @@ buildVideoSuggestions() {
|
| checkVideoSuggestions(api.VideoSuggestions o) {
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - checkUnnamed2949(o.editorSuggestions);
|
| - checkUnnamed2950(o.processingErrors);
|
| - checkUnnamed2951(o.processingHints);
|
| - checkUnnamed2952(o.processingWarnings);
|
| - checkUnnamed2953(o.tagSuggestions);
|
| + checkUnnamed744(o.editorSuggestions);
|
| + checkUnnamed745(o.processingErrors);
|
| + checkUnnamed746(o.processingHints);
|
| + checkUnnamed747(o.processingWarnings);
|
| + checkUnnamed748(o.tagSuggestions);
|
| }
|
| buildCounterVideoSuggestions--;
|
| }
|
|
|
| -buildUnnamed2954() {
|
| +buildUnnamed749() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2954(core.List<core.String> o) {
|
| +checkUnnamed749(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -5424,7 +5565,7 @@ buildVideoSuggestionsTagSuggestion() {
|
| var o = new api.VideoSuggestionsTagSuggestion();
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - o.categoryRestricts = buildUnnamed2954();
|
| + o.categoryRestricts = buildUnnamed749();
|
| o.tag = "foo";
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| @@ -5434,33 +5575,33 @@ buildVideoSuggestionsTagSuggestion() {
|
| checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - checkUnnamed2954(o.categoryRestricts);
|
| + checkUnnamed749(o.categoryRestricts);
|
| unittest.expect(o.tag, unittest.equals('foo'));
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| }
|
|
|
| -buildUnnamed2955() {
|
| +buildUnnamed750() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2955(core.List<core.String> o) {
|
| +checkUnnamed750(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2956() {
|
| +buildUnnamed751() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2956(core.List<core.String> o) {
|
| +checkUnnamed751(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -5471,8 +5612,8 @@ buildVideoTopicDetails() {
|
| var o = new api.VideoTopicDetails();
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - o.relevantTopicIds = buildUnnamed2955();
|
| - o.topicIds = buildUnnamed2956();
|
| + o.relevantTopicIds = buildUnnamed750();
|
| + o.topicIds = buildUnnamed751();
|
| }
|
| buildCounterVideoTopicDetails--;
|
| return o;
|
| @@ -5481,8 +5622,8 @@ buildVideoTopicDetails() {
|
| checkVideoTopicDetails(api.VideoTopicDetails o) {
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - checkUnnamed2955(o.relevantTopicIds);
|
| - checkUnnamed2956(o.topicIds);
|
| + checkUnnamed750(o.relevantTopicIds);
|
| + checkUnnamed751(o.topicIds);
|
| }
|
| buildCounterVideoTopicDetails--;
|
| }
|
| @@ -6340,6 +6481,51 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-LiveChatPollClosedDetails", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildLiveChatPollClosedDetails();
|
| + var od = new api.LiveChatPollClosedDetails.fromJson(o.toJson());
|
| + checkLiveChatPollClosedDetails(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-LiveChatPollEditedDetails", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildLiveChatPollEditedDetails();
|
| + var od = new api.LiveChatPollEditedDetails.fromJson(o.toJson());
|
| + checkLiveChatPollEditedDetails(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-LiveChatPollItem", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildLiveChatPollItem();
|
| + var od = new api.LiveChatPollItem.fromJson(o.toJson());
|
| + checkLiveChatPollItem(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-LiveChatPollOpenedDetails", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildLiveChatPollOpenedDetails();
|
| + var od = new api.LiveChatPollOpenedDetails.fromJson(o.toJson());
|
| + checkLiveChatPollOpenedDetails(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-LiveChatPollVotedDetails", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildLiveChatPollVotedDetails();
|
| + var od = new api.LiveChatPollVotedDetails.fromJson(o.toJson());
|
| + checkLiveChatPollVotedDetails(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-LiveChatTextMessageDetails", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildLiveChatTextMessageDetails();
|
| @@ -10262,6 +10448,7 @@ main() {
|
| var arg_id = "foo";
|
| var arg_maxResults = 42;
|
| var arg_mine = true;
|
| + var arg_myRecentSubscribers = true;
|
| var arg_mySubscribers = true;
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| @@ -10301,6 +10488,7 @@ main() {
|
| unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
| unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
|
| + unittest.expect(queryMap["myRecentSubscribers"].first, unittest.equals("$arg_myRecentSubscribers"));
|
| unittest.expect(queryMap["mySubscribers"].first, unittest.equals("$arg_mySubscribers"));
|
| unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
|
| unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first, unittest.equals(arg_onBehalfOfContentOwnerChannel));
|
| @@ -10314,7 +10502,7 @@ main() {
|
| var resp = convert.JSON.encode(buildSubscriptionListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelId, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, mySubscribers: arg_mySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, order: arg_order, pageToken: arg_pageToken).then(unittest.expectAsync(((api.SubscriptionListResponse response) {
|
| + res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelId, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, myRecentSubscribers: arg_myRecentSubscribers, mySubscribers: arg_mySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, order: arg_order, pageToken: arg_pageToken).then(unittest.expectAsync(((api.SubscriptionListResponse response) {
|
| checkSubscriptionListResponse(response);
|
| })));
|
| });
|
|
|