| 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 46e006db41cc817f33b70b911673a95bcd6ac429..5cf700b90e22d9afaee59e7667349b3e7b64c4b1 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);
|
| }
|
|
|
| -buildUnnamed595() {
|
| +buildUnnamed2190() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed595(core.List<core.String> o) {
|
| +checkUnnamed2190(core.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 = buildUnnamed595();
|
| + o.exception = buildUnnamed2190();
|
| }
|
| buildCounterAccessPolicy--;
|
| return o;
|
| @@ -80,7 +80,7 @@ checkAccessPolicy(api.AccessPolicy o) {
|
| buildCounterAccessPolicy++;
|
| if (buildCounterAccessPolicy < 3) {
|
| unittest.expect(o.allowed, unittest.isTrue);
|
| - checkUnnamed595(o.exception);
|
| + checkUnnamed2190(o.exception);
|
| }
|
| buildCounterAccessPolicy--;
|
| }
|
| @@ -269,27 +269,27 @@ checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
|
| buildCounterActivityContentDetailsPlaylistItem--;
|
| }
|
|
|
| -buildUnnamed596() {
|
| +buildUnnamed2191() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed596(core.List<core.String> o) {
|
| +checkUnnamed2191(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed597() {
|
| +buildUnnamed2192() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed597(core.List<core.String> o) {
|
| +checkUnnamed2192(core.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 = buildUnnamed596();
|
| - o.impressionUrl = buildUnnamed597();
|
| + o.forecastingUrl = buildUnnamed2191();
|
| + o.impressionUrl = buildUnnamed2192();
|
| 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'));
|
| - checkUnnamed596(o.forecastingUrl);
|
| - checkUnnamed597(o.impressionUrl);
|
| + checkUnnamed2191(o.forecastingUrl);
|
| + checkUnnamed2192(o.impressionUrl);
|
| unittest.expect(o.videoId, unittest.equals('foo'));
|
| }
|
| buildCounterActivityContentDetailsPromotedItem--;
|
| @@ -420,14 +420,14 @@ checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) {
|
| buildCounterActivityContentDetailsUpload--;
|
| }
|
|
|
| -buildUnnamed598() {
|
| +buildUnnamed2193() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed598(core.List<api.Activity> o) {
|
| +checkUnnamed2193(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 = buildUnnamed598();
|
| + o.items = buildUnnamed2193();
|
| 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'));
|
| - checkUnnamed598(o.items);
|
| + checkUnnamed2193(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--;
|
| }
|
|
|
| -buildUnnamed599() {
|
| +buildUnnamed2194() {
|
| var o = new core.List<api.Caption>();
|
| o.add(buildCaption());
|
| o.add(buildCaption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed599(core.List<api.Caption> o) {
|
| +checkUnnamed2194(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 = buildUnnamed599();
|
| + o.items = buildUnnamed2194();
|
| 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'));
|
| - checkUnnamed599(o.items);
|
| + checkUnnamed2194(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -632,14 +632,14 @@ checkCdnSettings(api.CdnSettings o) {
|
| buildCounterCdnSettings--;
|
| }
|
|
|
| -buildUnnamed600() {
|
| +buildUnnamed2195() {
|
| var o = new core.Map<core.String, api.ChannelLocalization>();
|
| o["x"] = buildChannelLocalization();
|
| o["y"] = buildChannelLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed600(core.Map<core.String, api.ChannelLocalization> o) {
|
| +checkUnnamed2195(core.Map<core.String, api.ChannelLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelLocalization(o["x"]);
|
| checkChannelLocalization(o["y"]);
|
| @@ -659,7 +659,7 @@ buildChannel() {
|
| o.id = "foo";
|
| o.invideoPromotion = buildInvideoPromotion();
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed600();
|
| + o.localizations = buildUnnamed2195();
|
| o.snippet = buildChannelSnippet();
|
| o.statistics = buildChannelStatistics();
|
| o.status = buildChannelStatus();
|
| @@ -681,7 +681,7 @@ checkChannel(api.Channel o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkInvideoPromotion(o.invideoPromotion);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed600(o.localizations);
|
| + checkUnnamed2195(o.localizations);
|
| checkChannelSnippet(o.snippet);
|
| checkChannelStatistics(o.statistics);
|
| checkChannelStatus(o.status);
|
| @@ -738,14 +738,14 @@ checkChannelBannerResource(api.ChannelBannerResource o) {
|
| buildCounterChannelBannerResource--;
|
| }
|
|
|
| -buildUnnamed601() {
|
| +buildUnnamed2196() {
|
| var o = new core.List<api.PropertyValue>();
|
| o.add(buildPropertyValue());
|
| o.add(buildPropertyValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed601(core.List<api.PropertyValue> o) {
|
| +checkUnnamed2196(core.List<api.PropertyValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPropertyValue(o[0]);
|
| checkPropertyValue(o[1]);
|
| @@ -757,7 +757,7 @@ buildChannelBrandingSettings() {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| o.channel = buildChannelSettings();
|
| - o.hints = buildUnnamed601();
|
| + o.hints = buildUnnamed2196();
|
| o.image = buildImageSettings();
|
| o.watch = buildWatchSettings();
|
| }
|
| @@ -769,7 +769,7 @@ checkChannelBrandingSettings(api.ChannelBrandingSettings o) {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| checkChannelSettings(o.channel);
|
| - checkUnnamed601(o.hints);
|
| + checkUnnamed2196(o.hints);
|
| checkImageSettings(o.image);
|
| checkWatchSettings(o.watch);
|
| }
|
| @@ -866,14 +866,14 @@ checkChannelConversionPing(api.ChannelConversionPing o) {
|
| buildCounterChannelConversionPing--;
|
| }
|
|
|
| -buildUnnamed602() {
|
| +buildUnnamed2197() {
|
| var o = new core.List<api.ChannelConversionPing>();
|
| o.add(buildChannelConversionPing());
|
| o.add(buildChannelConversionPing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed602(core.List<api.ChannelConversionPing> o) {
|
| +checkUnnamed2197(core.List<api.ChannelConversionPing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelConversionPing(o[0]);
|
| checkChannelConversionPing(o[1]);
|
| @@ -884,7 +884,7 @@ buildChannelConversionPings() {
|
| var o = new api.ChannelConversionPings();
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - o.pings = buildUnnamed602();
|
| + o.pings = buildUnnamed2197();
|
| }
|
| buildCounterChannelConversionPings--;
|
| return o;
|
| @@ -893,7 +893,7 @@ buildChannelConversionPings() {
|
| checkChannelConversionPings(api.ChannelConversionPings o) {
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - checkUnnamed602(o.pings);
|
| + checkUnnamed2197(o.pings);
|
| }
|
| buildCounterChannelConversionPings--;
|
| }
|
| @@ -917,14 +917,14 @@ checkChannelId(api.ChannelId o) {
|
| buildCounterChannelId--;
|
| }
|
|
|
| -buildUnnamed603() {
|
| +buildUnnamed2198() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed603(core.List<api.Channel> o) {
|
| +checkUnnamed2198(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| @@ -937,7 +937,7 @@ buildChannelListResponse() {
|
| if (buildCounterChannelListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed603();
|
| + o.items = buildUnnamed2198();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -954,7 +954,7 @@ checkChannelListResponse(api.ChannelListResponse o) {
|
| if (buildCounterChannelListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed603(o.items);
|
| + checkUnnamed2198(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -986,14 +986,14 @@ checkChannelLocalization(api.ChannelLocalization o) {
|
| buildCounterChannelLocalization--;
|
| }
|
|
|
| -buildUnnamed604() {
|
| +buildUnnamed2199() {
|
| var o = new core.Map<core.String, api.ChannelSectionLocalization>();
|
| o["x"] = buildChannelSectionLocalization();
|
| o["y"] = buildChannelSectionLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed604(core.Map<core.String, api.ChannelSectionLocalization> o) {
|
| +checkUnnamed2199(core.Map<core.String, api.ChannelSectionLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelSectionLocalization(o["x"]);
|
| checkChannelSectionLocalization(o["y"]);
|
| @@ -1008,7 +1008,7 @@ buildChannelSection() {
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed604();
|
| + o.localizations = buildUnnamed2199();
|
| o.snippet = buildChannelSectionSnippet();
|
| o.targeting = buildChannelSectionTargeting();
|
| }
|
| @@ -1023,34 +1023,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'));
|
| - checkUnnamed604(o.localizations);
|
| + checkUnnamed2199(o.localizations);
|
| checkChannelSectionSnippet(o.snippet);
|
| checkChannelSectionTargeting(o.targeting);
|
| }
|
| buildCounterChannelSection--;
|
| }
|
|
|
| -buildUnnamed605() {
|
| +buildUnnamed2200() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed605(core.List<core.String> o) {
|
| +checkUnnamed2200(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed606() {
|
| +buildUnnamed2201() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed606(core.List<core.String> o) {
|
| +checkUnnamed2201(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1061,8 +1061,8 @@ buildChannelSectionContentDetails() {
|
| var o = new api.ChannelSectionContentDetails();
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - o.channels = buildUnnamed605();
|
| - o.playlists = buildUnnamed606();
|
| + o.channels = buildUnnamed2200();
|
| + o.playlists = buildUnnamed2201();
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| return o;
|
| @@ -1071,20 +1071,20 @@ buildChannelSectionContentDetails() {
|
| checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - checkUnnamed605(o.channels);
|
| - checkUnnamed606(o.playlists);
|
| + checkUnnamed2200(o.channels);
|
| + checkUnnamed2201(o.playlists);
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| }
|
|
|
| -buildUnnamed607() {
|
| +buildUnnamed2202() {
|
| var o = new core.List<api.ChannelSection>();
|
| o.add(buildChannelSection());
|
| o.add(buildChannelSection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed607(core.List<api.ChannelSection> o) {
|
| +checkUnnamed2202(core.List<api.ChannelSection> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelSection(o[0]);
|
| checkChannelSection(o[1]);
|
| @@ -1097,7 +1097,7 @@ buildChannelSectionListResponse() {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed607();
|
| + o.items = buildUnnamed2202();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -1110,7 +1110,7 @@ checkChannelSectionListResponse(api.ChannelSectionListResponse o) {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed607(o.items);
|
| + checkUnnamed2202(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -1167,40 +1167,40 @@ checkChannelSectionSnippet(api.ChannelSectionSnippet o) {
|
| buildCounterChannelSectionSnippet--;
|
| }
|
|
|
| -buildUnnamed608() {
|
| +buildUnnamed2203() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed608(core.List<core.String> o) {
|
| +checkUnnamed2203(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed609() {
|
| +buildUnnamed2204() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed609(core.List<core.String> o) {
|
| +checkUnnamed2204(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed610() {
|
| +buildUnnamed2205() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed610(core.List<core.String> o) {
|
| +checkUnnamed2205(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1211,9 +1211,9 @@ buildChannelSectionTargeting() {
|
| var o = new api.ChannelSectionTargeting();
|
| buildCounterChannelSectionTargeting++;
|
| if (buildCounterChannelSectionTargeting < 3) {
|
| - o.countries = buildUnnamed608();
|
| - o.languages = buildUnnamed609();
|
| - o.regions = buildUnnamed610();
|
| + o.countries = buildUnnamed2203();
|
| + o.languages = buildUnnamed2204();
|
| + o.regions = buildUnnamed2205();
|
| }
|
| buildCounterChannelSectionTargeting--;
|
| return o;
|
| @@ -1222,21 +1222,21 @@ buildChannelSectionTargeting() {
|
| checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
|
| buildCounterChannelSectionTargeting++;
|
| if (buildCounterChannelSectionTargeting < 3) {
|
| - checkUnnamed608(o.countries);
|
| - checkUnnamed609(o.languages);
|
| - checkUnnamed610(o.regions);
|
| + checkUnnamed2203(o.countries);
|
| + checkUnnamed2204(o.languages);
|
| + checkUnnamed2205(o.regions);
|
| }
|
| buildCounterChannelSectionTargeting--;
|
| }
|
|
|
| -buildUnnamed611() {
|
| +buildUnnamed2206() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed611(core.List<core.String> o) {
|
| +checkUnnamed2206(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1252,7 +1252,7 @@ buildChannelSettings() {
|
| o.defaultTab = "foo";
|
| o.description = "foo";
|
| o.featuredChannelsTitle = "foo";
|
| - o.featuredChannelsUrls = buildUnnamed611();
|
| + o.featuredChannelsUrls = buildUnnamed2206();
|
| o.keywords = "foo";
|
| o.moderateComments = true;
|
| o.profileColor = "foo";
|
| @@ -1274,7 +1274,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'));
|
| - checkUnnamed611(o.featuredChannelsUrls);
|
| + checkUnnamed2206(o.featuredChannelsUrls);
|
| unittest.expect(o.keywords, unittest.equals('foo'));
|
| unittest.expect(o.moderateComments, unittest.isTrue);
|
| unittest.expect(o.profileColor, unittest.equals('foo'));
|
| @@ -1368,14 +1368,14 @@ checkChannelStatus(api.ChannelStatus o) {
|
| buildCounterChannelStatus--;
|
| }
|
|
|
| -buildUnnamed612() {
|
| +buildUnnamed2207() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed612(core.List<core.String> o) {
|
| +checkUnnamed2207(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1386,7 +1386,7 @@ buildChannelTopicDetails() {
|
| var o = new api.ChannelTopicDetails();
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - o.topicIds = buildUnnamed612();
|
| + o.topicIds = buildUnnamed2207();
|
| }
|
| buildCounterChannelTopicDetails--;
|
| return o;
|
| @@ -1395,7 +1395,7 @@ buildChannelTopicDetails() {
|
| checkChannelTopicDetails(api.ChannelTopicDetails o) {
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - checkUnnamed612(o.topicIds);
|
| + checkUnnamed2207(o.topicIds);
|
| }
|
| buildCounterChannelTopicDetails--;
|
| }
|
| @@ -1425,14 +1425,14 @@ checkComment(api.Comment o) {
|
| buildCounterComment--;
|
| }
|
|
|
| -buildUnnamed613() {
|
| +buildUnnamed2208() {
|
| var o = new core.List<api.Comment>();
|
| o.add(buildComment());
|
| o.add(buildComment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed613(core.List<api.Comment> o) {
|
| +checkUnnamed2208(core.List<api.Comment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComment(o[0]);
|
| checkComment(o[1]);
|
| @@ -1445,7 +1445,7 @@ buildCommentListResponse() {
|
| if (buildCounterCommentListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed613();
|
| + o.items = buildUnnamed2208();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1461,7 +1461,7 @@ checkCommentListResponse(api.CommentListResponse o) {
|
| if (buildCounterCommentListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed613(o.items);
|
| + checkUnnamed2208(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1547,14 +1547,14 @@ checkCommentThread(api.CommentThread o) {
|
| buildCounterCommentThread--;
|
| }
|
|
|
| -buildUnnamed614() {
|
| +buildUnnamed2209() {
|
| var o = new core.List<api.CommentThread>();
|
| o.add(buildCommentThread());
|
| o.add(buildCommentThread());
|
| return o;
|
| }
|
|
|
| -checkUnnamed614(core.List<api.CommentThread> o) {
|
| +checkUnnamed2209(core.List<api.CommentThread> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCommentThread(o[0]);
|
| checkCommentThread(o[1]);
|
| @@ -1567,7 +1567,7 @@ buildCommentThreadListResponse() {
|
| if (buildCounterCommentThreadListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed614();
|
| + o.items = buildUnnamed2209();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1583,7 +1583,7 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
|
| if (buildCounterCommentThreadListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed614(o.items);
|
| + checkUnnamed2209(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1593,14 +1593,14 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
|
| buildCounterCommentThreadListResponse--;
|
| }
|
|
|
| -buildUnnamed615() {
|
| +buildUnnamed2210() {
|
| var o = new core.List<api.Comment>();
|
| o.add(buildComment());
|
| o.add(buildComment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed615(core.List<api.Comment> o) {
|
| +checkUnnamed2210(core.List<api.Comment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComment(o[0]);
|
| checkComment(o[1]);
|
| @@ -1611,7 +1611,7 @@ buildCommentThreadReplies() {
|
| var o = new api.CommentThreadReplies();
|
| buildCounterCommentThreadReplies++;
|
| if (buildCounterCommentThreadReplies < 3) {
|
| - o.comments = buildUnnamed615();
|
| + o.comments = buildUnnamed2210();
|
| }
|
| buildCounterCommentThreadReplies--;
|
| return o;
|
| @@ -1620,7 +1620,7 @@ buildCommentThreadReplies() {
|
| checkCommentThreadReplies(api.CommentThreadReplies o) {
|
| buildCounterCommentThreadReplies++;
|
| if (buildCounterCommentThreadReplies < 3) {
|
| - checkUnnamed615(o.comments);
|
| + checkUnnamed2210(o.comments);
|
| }
|
| buildCounterCommentThreadReplies--;
|
| }
|
| @@ -1654,14 +1654,14 @@ checkCommentThreadSnippet(api.CommentThreadSnippet o) {
|
| buildCounterCommentThreadSnippet--;
|
| }
|
|
|
| -buildUnnamed616() {
|
| +buildUnnamed2211() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed616(core.List<core.String> o) {
|
| +checkUnnamed2211(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1691,7 +1691,7 @@ buildContentRating() {
|
| o.cscfRating = "foo";
|
| o.czfilmRating = "foo";
|
| o.djctqRating = "foo";
|
| - o.djctqRatingReasons = buildUnnamed616();
|
| + o.djctqRatingReasons = buildUnnamed2211();
|
| o.eefilmRating = "foo";
|
| o.egfilmRating = "foo";
|
| o.eirinRating = "foo";
|
| @@ -1763,7 +1763,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'));
|
| - checkUnnamed616(o.djctqRatingReasons);
|
| + checkUnnamed2211(o.djctqRatingReasons);
|
| unittest.expect(o.eefilmRating, unittest.equals('foo'));
|
| unittest.expect(o.egfilmRating, unittest.equals('foo'));
|
| unittest.expect(o.eirinRating, unittest.equals('foo'));
|
| @@ -1860,14 +1860,14 @@ checkGuideCategory(api.GuideCategory o) {
|
| buildCounterGuideCategory--;
|
| }
|
|
|
| -buildUnnamed617() {
|
| +buildUnnamed2212() {
|
| var o = new core.List<api.GuideCategory>();
|
| o.add(buildGuideCategory());
|
| o.add(buildGuideCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed617(core.List<api.GuideCategory> o) {
|
| +checkUnnamed2212(core.List<api.GuideCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGuideCategory(o[0]);
|
| checkGuideCategory(o[1]);
|
| @@ -1880,7 +1880,7 @@ buildGuideCategoryListResponse() {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed617();
|
| + o.items = buildUnnamed2212();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1897,7 +1897,7 @@ checkGuideCategoryListResponse(api.GuideCategoryListResponse o) {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed617(o.items);
|
| + checkUnnamed2212(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1954,14 +1954,14 @@ checkI18nLanguage(api.I18nLanguage o) {
|
| buildCounterI18nLanguage--;
|
| }
|
|
|
| -buildUnnamed618() {
|
| +buildUnnamed2213() {
|
| var o = new core.List<api.I18nLanguage>();
|
| o.add(buildI18nLanguage());
|
| o.add(buildI18nLanguage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed618(core.List<api.I18nLanguage> o) {
|
| +checkUnnamed2213(core.List<api.I18nLanguage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nLanguage(o[0]);
|
| checkI18nLanguage(o[1]);
|
| @@ -1974,7 +1974,7 @@ buildI18nLanguageListResponse() {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed618();
|
| + o.items = buildUnnamed2213();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -1987,7 +1987,7 @@ checkI18nLanguageListResponse(api.I18nLanguageListResponse o) {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed618(o.items);
|
| + checkUnnamed2213(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -2040,14 +2040,14 @@ checkI18nRegion(api.I18nRegion o) {
|
| buildCounterI18nRegion--;
|
| }
|
|
|
| -buildUnnamed619() {
|
| +buildUnnamed2214() {
|
| var o = new core.List<api.I18nRegion>();
|
| o.add(buildI18nRegion());
|
| o.add(buildI18nRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed619(core.List<api.I18nRegion> o) {
|
| +checkUnnamed2214(core.List<api.I18nRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nRegion(o[0]);
|
| checkI18nRegion(o[1]);
|
| @@ -2060,7 +2060,7 @@ buildI18nRegionListResponse() {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed619();
|
| + o.items = buildUnnamed2214();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -2073,7 +2073,7 @@ checkI18nRegionListResponse(api.I18nRegionListResponse o) {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed619(o.items);
|
| + checkUnnamed2214(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -2233,14 +2233,14 @@ checkInvideoPosition(api.InvideoPosition o) {
|
| buildCounterInvideoPosition--;
|
| }
|
|
|
| -buildUnnamed620() {
|
| +buildUnnamed2215() {
|
| var o = new core.List<api.PromotedItem>();
|
| o.add(buildPromotedItem());
|
| o.add(buildPromotedItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed620(core.List<api.PromotedItem> o) {
|
| +checkUnnamed2215(core.List<api.PromotedItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPromotedItem(o[0]);
|
| checkPromotedItem(o[1]);
|
| @@ -2252,7 +2252,7 @@ buildInvideoPromotion() {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| o.defaultTiming = buildInvideoTiming();
|
| - o.items = buildUnnamed620();
|
| + o.items = buildUnnamed2215();
|
| o.position = buildInvideoPosition();
|
| o.useSmartTiming = true;
|
| }
|
| @@ -2264,7 +2264,7 @@ checkInvideoPromotion(api.InvideoPromotion o) {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| checkInvideoTiming(o.defaultTiming);
|
| - checkUnnamed620(o.items);
|
| + checkUnnamed2215(o.items);
|
| checkInvideoPosition(o.position);
|
| unittest.expect(o.useSmartTiming, unittest.isTrue);
|
| }
|
| @@ -2381,14 +2381,14 @@ checkLiveBroadcastContentDetails(api.LiveBroadcastContentDetails o) {
|
| buildCounterLiveBroadcastContentDetails--;
|
| }
|
|
|
| -buildUnnamed621() {
|
| +buildUnnamed2216() {
|
| var o = new core.List<api.LiveBroadcast>();
|
| o.add(buildLiveBroadcast());
|
| o.add(buildLiveBroadcast());
|
| return o;
|
| }
|
|
|
| -checkUnnamed621(core.List<api.LiveBroadcast> o) {
|
| +checkUnnamed2216(core.List<api.LiveBroadcast> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveBroadcast(o[0]);
|
| checkLiveBroadcast(o[1]);
|
| @@ -2401,7 +2401,7 @@ buildLiveBroadcastListResponse() {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed621();
|
| + o.items = buildUnnamed2216();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2418,7 +2418,7 @@ checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed621(o.items);
|
| + checkUnnamed2216(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2535,14 +2535,14 @@ checkLiveBroadcastTopic(api.LiveBroadcastTopic o) {
|
| buildCounterLiveBroadcastTopic--;
|
| }
|
|
|
| -buildUnnamed622() {
|
| +buildUnnamed2217() {
|
| var o = new core.List<api.LiveBroadcastTopic>();
|
| o.add(buildLiveBroadcastTopic());
|
| o.add(buildLiveBroadcastTopic());
|
| return o;
|
| }
|
|
|
| -checkUnnamed622(core.List<api.LiveBroadcastTopic> o) {
|
| +checkUnnamed2217(core.List<api.LiveBroadcastTopic> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveBroadcastTopic(o[0]);
|
| checkLiveBroadcastTopic(o[1]);
|
| @@ -2553,7 +2553,7 @@ buildLiveBroadcastTopicDetails() {
|
| var o = new api.LiveBroadcastTopicDetails();
|
| buildCounterLiveBroadcastTopicDetails++;
|
| if (buildCounterLiveBroadcastTopicDetails < 3) {
|
| - o.topics = buildUnnamed622();
|
| + o.topics = buildUnnamed2217();
|
| }
|
| buildCounterLiveBroadcastTopicDetails--;
|
| return o;
|
| @@ -2562,7 +2562,7 @@ buildLiveBroadcastTopicDetails() {
|
| checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
|
| buildCounterLiveBroadcastTopicDetails++;
|
| if (buildCounterLiveBroadcastTopicDetails < 3) {
|
| - checkUnnamed622(o.topics);
|
| + checkUnnamed2217(o.topics);
|
| }
|
| buildCounterLiveBroadcastTopicDetails--;
|
| }
|
| @@ -2665,14 +2665,14 @@ checkLiveStreamContentDetails(api.LiveStreamContentDetails o) {
|
| buildCounterLiveStreamContentDetails--;
|
| }
|
|
|
| -buildUnnamed623() {
|
| +buildUnnamed2218() {
|
| var o = new core.List<api.LiveStreamConfigurationIssue>();
|
| o.add(buildLiveStreamConfigurationIssue());
|
| o.add(buildLiveStreamConfigurationIssue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed623(core.List<api.LiveStreamConfigurationIssue> o) {
|
| +checkUnnamed2218(core.List<api.LiveStreamConfigurationIssue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveStreamConfigurationIssue(o[0]);
|
| checkLiveStreamConfigurationIssue(o[1]);
|
| @@ -2683,8 +2683,8 @@ buildLiveStreamHealthStatus() {
|
| var o = new api.LiveStreamHealthStatus();
|
| buildCounterLiveStreamHealthStatus++;
|
| if (buildCounterLiveStreamHealthStatus < 3) {
|
| - o.configurationIssues = buildUnnamed623();
|
| - o.lastUpdateTimeS = "foo";
|
| + o.configurationIssues = buildUnnamed2218();
|
| + o.lastUpdateTimeSeconds = "foo";
|
| o.status = "foo";
|
| }
|
| buildCounterLiveStreamHealthStatus--;
|
| @@ -2694,21 +2694,21 @@ buildLiveStreamHealthStatus() {
|
| checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
|
| buildCounterLiveStreamHealthStatus++;
|
| if (buildCounterLiveStreamHealthStatus < 3) {
|
| - checkUnnamed623(o.configurationIssues);
|
| - unittest.expect(o.lastUpdateTimeS, unittest.equals('foo'));
|
| + checkUnnamed2218(o.configurationIssues);
|
| + unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterLiveStreamHealthStatus--;
|
| }
|
|
|
| -buildUnnamed624() {
|
| +buildUnnamed2219() {
|
| var o = new core.List<api.LiveStream>();
|
| o.add(buildLiveStream());
|
| o.add(buildLiveStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed624(core.List<api.LiveStream> o) {
|
| +checkUnnamed2219(core.List<api.LiveStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveStream(o[0]);
|
| checkLiveStream(o[1]);
|
| @@ -2721,7 +2721,7 @@ buildLiveStreamListResponse() {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed624();
|
| + o.items = buildUnnamed2219();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2738,7 +2738,7 @@ checkLiveStreamListResponse(api.LiveStreamListResponse o) {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed624(o.items);
|
| + checkUnnamed2219(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2797,14 +2797,14 @@ checkLiveStreamStatus(api.LiveStreamStatus o) {
|
| buildCounterLiveStreamStatus--;
|
| }
|
|
|
| -buildUnnamed625() {
|
| +buildUnnamed2220() {
|
| var o = new core.List<api.LocalizedString>();
|
| o.add(buildLocalizedString());
|
| o.add(buildLocalizedString());
|
| return o;
|
| }
|
|
|
| -checkUnnamed625(core.List<api.LocalizedString> o) {
|
| +checkUnnamed2220(core.List<api.LocalizedString> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocalizedString(o[0]);
|
| checkLocalizedString(o[1]);
|
| @@ -2817,7 +2817,7 @@ buildLocalizedProperty() {
|
| if (buildCounterLocalizedProperty < 3) {
|
| o.default_ = "foo";
|
| o.defaultLanguage = buildLanguageTag();
|
| - o.localized = buildUnnamed625();
|
| + o.localized = buildUnnamed2220();
|
| }
|
| buildCounterLocalizedProperty--;
|
| return o;
|
| @@ -2828,7 +2828,7 @@ checkLocalizedProperty(api.LocalizedProperty o) {
|
| if (buildCounterLocalizedProperty < 3) {
|
| unittest.expect(o.default_, unittest.equals('foo'));
|
| checkLanguageTag(o.defaultLanguage);
|
| - checkUnnamed625(o.localized);
|
| + checkUnnamed2220(o.localized);
|
| }
|
| buildCounterLocalizedProperty--;
|
| }
|
| @@ -2898,14 +2898,14 @@ checkPageInfo(api.PageInfo o) {
|
| buildCounterPageInfo--;
|
| }
|
|
|
| -buildUnnamed626() {
|
| +buildUnnamed2221() {
|
| var o = new core.Map<core.String, api.PlaylistLocalization>();
|
| o["x"] = buildPlaylistLocalization();
|
| o["y"] = buildPlaylistLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed626(core.Map<core.String, api.PlaylistLocalization> o) {
|
| +checkUnnamed2221(core.Map<core.String, api.PlaylistLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylistLocalization(o["x"]);
|
| checkPlaylistLocalization(o["y"]);
|
| @@ -2920,7 +2920,7 @@ buildPlaylist() {
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed626();
|
| + o.localizations = buildUnnamed2221();
|
| o.player = buildPlaylistPlayer();
|
| o.snippet = buildPlaylistSnippet();
|
| o.status = buildPlaylistStatus();
|
| @@ -2936,7 +2936,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'));
|
| - checkUnnamed626(o.localizations);
|
| + checkUnnamed2221(o.localizations);
|
| checkPlaylistPlayer(o.player);
|
| checkPlaylistSnippet(o.snippet);
|
| checkPlaylistStatus(o.status);
|
| @@ -3017,14 +3017,14 @@ checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) {
|
| buildCounterPlaylistItemContentDetails--;
|
| }
|
|
|
| -buildUnnamed627() {
|
| +buildUnnamed2222() {
|
| var o = new core.List<api.PlaylistItem>();
|
| o.add(buildPlaylistItem());
|
| o.add(buildPlaylistItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed627(core.List<api.PlaylistItem> o) {
|
| +checkUnnamed2222(core.List<api.PlaylistItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylistItem(o[0]);
|
| checkPlaylistItem(o[1]);
|
| @@ -3037,7 +3037,7 @@ buildPlaylistItemListResponse() {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed627();
|
| + o.items = buildUnnamed2222();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3054,7 +3054,7 @@ checkPlaylistItemListResponse(api.PlaylistItemListResponse o) {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed627(o.items);
|
| + checkUnnamed2222(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3119,14 +3119,14 @@ checkPlaylistItemStatus(api.PlaylistItemStatus o) {
|
| buildCounterPlaylistItemStatus--;
|
| }
|
|
|
| -buildUnnamed628() {
|
| +buildUnnamed2223() {
|
| var o = new core.List<api.Playlist>();
|
| o.add(buildPlaylist());
|
| o.add(buildPlaylist());
|
| return o;
|
| }
|
|
|
| -checkUnnamed628(core.List<api.Playlist> o) {
|
| +checkUnnamed2223(core.List<api.Playlist> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylist(o[0]);
|
| checkPlaylist(o[1]);
|
| @@ -3139,7 +3139,7 @@ buildPlaylistListResponse() {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed628();
|
| + o.items = buildUnnamed2223();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3156,7 +3156,7 @@ checkPlaylistListResponse(api.PlaylistListResponse o) {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed628(o.items);
|
| + checkUnnamed2223(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3207,14 +3207,14 @@ checkPlaylistPlayer(api.PlaylistPlayer o) {
|
| buildCounterPlaylistPlayer--;
|
| }
|
|
|
| -buildUnnamed629() {
|
| +buildUnnamed2224() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed629(core.List<core.String> o) {
|
| +checkUnnamed2224(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -3231,7 +3231,7 @@ buildPlaylistSnippet() {
|
| o.description = "foo";
|
| o.localized = buildPlaylistLocalization();
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed629();
|
| + o.tags = buildUnnamed2224();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -3248,7 +3248,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")));
|
| - checkUnnamed629(o.tags);
|
| + checkUnnamed2224(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -3370,14 +3370,14 @@ checkResourceId(api.ResourceId o) {
|
| buildCounterResourceId--;
|
| }
|
|
|
| -buildUnnamed630() {
|
| +buildUnnamed2225() {
|
| var o = new core.List<api.SearchResult>();
|
| o.add(buildSearchResult());
|
| o.add(buildSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed630(core.List<api.SearchResult> o) {
|
| +checkUnnamed2225(core.List<api.SearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSearchResult(o[0]);
|
| checkSearchResult(o[1]);
|
| @@ -3390,7 +3390,7 @@ buildSearchListResponse() {
|
| if (buildCounterSearchListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed630();
|
| + o.items = buildUnnamed2225();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3407,7 +3407,7 @@ checkSearchListResponse(api.SearchListResponse o) {
|
| if (buildCounterSearchListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed630(o.items);
|
| + checkUnnamed2225(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3526,14 +3526,14 @@ checkSubscriptionContentDetails(api.SubscriptionContentDetails o) {
|
| buildCounterSubscriptionContentDetails--;
|
| }
|
|
|
| -buildUnnamed631() {
|
| +buildUnnamed2226() {
|
| var o = new core.List<api.Subscription>();
|
| o.add(buildSubscription());
|
| o.add(buildSubscription());
|
| return o;
|
| }
|
|
|
| -checkUnnamed631(core.List<api.Subscription> o) {
|
| +checkUnnamed2226(core.List<api.Subscription> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubscription(o[0]);
|
| checkSubscription(o[1]);
|
| @@ -3546,7 +3546,7 @@ buildSubscriptionListResponse() {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed631();
|
| + o.items = buildUnnamed2226();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3563,7 +3563,7 @@ checkSubscriptionListResponse(api.SubscriptionListResponse o) {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed631(o.items);
|
| + checkUnnamed2226(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3680,14 +3680,14 @@ checkThumbnailDetails(api.ThumbnailDetails o) {
|
| buildCounterThumbnailDetails--;
|
| }
|
|
|
| -buildUnnamed632() {
|
| +buildUnnamed2227() {
|
| var o = new core.List<api.ThumbnailDetails>();
|
| o.add(buildThumbnailDetails());
|
| o.add(buildThumbnailDetails());
|
| return o;
|
| }
|
|
|
| -checkUnnamed632(core.List<api.ThumbnailDetails> o) {
|
| +checkUnnamed2227(core.List<api.ThumbnailDetails> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThumbnailDetails(o[0]);
|
| checkThumbnailDetails(o[1]);
|
| @@ -3700,7 +3700,7 @@ buildThumbnailSetResponse() {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed632();
|
| + o.items = buildUnnamed2227();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -3713,7 +3713,7 @@ checkThumbnailSetResponse(api.ThumbnailSetResponse o) {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed632(o.items);
|
| + checkUnnamed2227(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -3737,14 +3737,14 @@ checkTokenPagination(api.TokenPagination o) {
|
| buildCounterTokenPagination--;
|
| }
|
|
|
| -buildUnnamed633() {
|
| +buildUnnamed2228() {
|
| var o = new core.Map<core.String, api.VideoLocalization>();
|
| o["x"] = buildVideoLocalization();
|
| o["y"] = buildVideoLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed633(core.Map<core.String, api.VideoLocalization> o) {
|
| +checkUnnamed2228(core.Map<core.String, api.VideoLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoLocalization(o["x"]);
|
| checkVideoLocalization(o["y"]);
|
| @@ -3763,7 +3763,7 @@ buildVideo() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.liveStreamingDetails = buildVideoLiveStreamingDetails();
|
| - o.localizations = buildUnnamed633();
|
| + o.localizations = buildUnnamed2228();
|
| o.monetizationDetails = buildVideoMonetizationDetails();
|
| o.player = buildVideoPlayer();
|
| o.processingDetails = buildVideoProcessingDetails();
|
| @@ -3790,7 +3790,7 @@ checkVideo(api.Video o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkVideoLiveStreamingDetails(o.liveStreamingDetails);
|
| - checkUnnamed633(o.localizations);
|
| + checkUnnamed2228(o.localizations);
|
| checkVideoMonetizationDetails(o.monetizationDetails);
|
| checkVideoPlayer(o.player);
|
| checkVideoProcessingDetails(o.processingDetails);
|
| @@ -3857,14 +3857,14 @@ checkVideoAbuseReportReason(api.VideoAbuseReportReason o) {
|
| buildCounterVideoAbuseReportReason--;
|
| }
|
|
|
| -buildUnnamed634() {
|
| +buildUnnamed2229() {
|
| var o = new core.List<api.VideoAbuseReportReason>();
|
| o.add(buildVideoAbuseReportReason());
|
| o.add(buildVideoAbuseReportReason());
|
| return o;
|
| }
|
|
|
| -checkUnnamed634(core.List<api.VideoAbuseReportReason> o) {
|
| +checkUnnamed2229(core.List<api.VideoAbuseReportReason> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoAbuseReportReason(o[0]);
|
| checkVideoAbuseReportReason(o[1]);
|
| @@ -3877,7 +3877,7 @@ buildVideoAbuseReportReasonListResponse() {
|
| if (buildCounterVideoAbuseReportReasonListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed634();
|
| + o.items = buildUnnamed2229();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -3890,21 +3890,21 @@ checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
|
| if (buildCounterVideoAbuseReportReasonListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed634(o.items);
|
| + checkUnnamed2229(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| buildCounterVideoAbuseReportReasonListResponse--;
|
| }
|
|
|
| -buildUnnamed635() {
|
| +buildUnnamed2230() {
|
| var o = new core.List<api.VideoAbuseReportSecondaryReason>();
|
| o.add(buildVideoAbuseReportSecondaryReason());
|
| o.add(buildVideoAbuseReportSecondaryReason());
|
| return o;
|
| }
|
|
|
| -checkUnnamed635(core.List<api.VideoAbuseReportSecondaryReason> o) {
|
| +checkUnnamed2230(core.List<api.VideoAbuseReportSecondaryReason> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoAbuseReportSecondaryReason(o[0]);
|
| checkVideoAbuseReportSecondaryReason(o[1]);
|
| @@ -3916,7 +3916,7 @@ buildVideoAbuseReportReasonSnippet() {
|
| buildCounterVideoAbuseReportReasonSnippet++;
|
| if (buildCounterVideoAbuseReportReasonSnippet < 3) {
|
| o.label = "foo";
|
| - o.secondaryReasons = buildUnnamed635();
|
| + o.secondaryReasons = buildUnnamed2230();
|
| }
|
| buildCounterVideoAbuseReportReasonSnippet--;
|
| return o;
|
| @@ -3926,7 +3926,7 @@ checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) {
|
| buildCounterVideoAbuseReportReasonSnippet++;
|
| if (buildCounterVideoAbuseReportReasonSnippet < 3) {
|
| unittest.expect(o.label, unittest.equals('foo'));
|
| - checkUnnamed635(o.secondaryReasons);
|
| + checkUnnamed2230(o.secondaryReasons);
|
| }
|
| buildCounterVideoAbuseReportReasonSnippet--;
|
| }
|
| @@ -4000,14 +4000,14 @@ checkVideoCategory(api.VideoCategory o) {
|
| buildCounterVideoCategory--;
|
| }
|
|
|
| -buildUnnamed636() {
|
| +buildUnnamed2231() {
|
| var o = new core.List<api.VideoCategory>();
|
| o.add(buildVideoCategory());
|
| o.add(buildVideoCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed636(core.List<api.VideoCategory> o) {
|
| +checkUnnamed2231(core.List<api.VideoCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoCategory(o[0]);
|
| checkVideoCategory(o[1]);
|
| @@ -4020,7 +4020,7 @@ buildVideoCategoryListResponse() {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed636();
|
| + o.items = buildUnnamed2231();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4037,7 +4037,7 @@ checkVideoCategoryListResponse(api.VideoCategoryListResponse o) {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed636(o.items);
|
| + checkUnnamed2231(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4104,27 +4104,27 @@ checkVideoContentDetails(api.VideoContentDetails o) {
|
| buildCounterVideoContentDetails--;
|
| }
|
|
|
| -buildUnnamed637() {
|
| +buildUnnamed2232() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed637(core.List<core.String> o) {
|
| +checkUnnamed2232(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed638() {
|
| +buildUnnamed2233() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed638(core.List<core.String> o) {
|
| +checkUnnamed2233(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -4135,8 +4135,8 @@ buildVideoContentDetailsRegionRestriction() {
|
| var o = new api.VideoContentDetailsRegionRestriction();
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - o.allowed = buildUnnamed637();
|
| - o.blocked = buildUnnamed638();
|
| + o.allowed = buildUnnamed2232();
|
| + o.blocked = buildUnnamed2233();
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| return o;
|
| @@ -4145,8 +4145,8 @@ buildVideoContentDetailsRegionRestriction() {
|
| checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - checkUnnamed637(o.allowed);
|
| - checkUnnamed638(o.blocked);
|
| + checkUnnamed2232(o.allowed);
|
| + checkUnnamed2233(o.blocked);
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| }
|
| @@ -4172,14 +4172,14 @@ checkVideoConversionPing(api.VideoConversionPing o) {
|
| buildCounterVideoConversionPing--;
|
| }
|
|
|
| -buildUnnamed639() {
|
| +buildUnnamed2234() {
|
| var o = new core.List<api.VideoConversionPing>();
|
| o.add(buildVideoConversionPing());
|
| o.add(buildVideoConversionPing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed639(core.List<api.VideoConversionPing> o) {
|
| +checkUnnamed2234(core.List<api.VideoConversionPing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoConversionPing(o[0]);
|
| checkVideoConversionPing(o[1]);
|
| @@ -4190,7 +4190,7 @@ buildVideoConversionPings() {
|
| var o = new api.VideoConversionPings();
|
| buildCounterVideoConversionPings++;
|
| if (buildCounterVideoConversionPings < 3) {
|
| - o.pings = buildUnnamed639();
|
| + o.pings = buildUnnamed2234();
|
| }
|
| buildCounterVideoConversionPings--;
|
| return o;
|
| @@ -4199,32 +4199,32 @@ buildVideoConversionPings() {
|
| checkVideoConversionPings(api.VideoConversionPings o) {
|
| buildCounterVideoConversionPings++;
|
| if (buildCounterVideoConversionPings < 3) {
|
| - checkUnnamed639(o.pings);
|
| + checkUnnamed2234(o.pings);
|
| }
|
| buildCounterVideoConversionPings--;
|
| }
|
|
|
| -buildUnnamed640() {
|
| +buildUnnamed2235() {
|
| var o = new core.List<api.VideoFileDetailsAudioStream>();
|
| o.add(buildVideoFileDetailsAudioStream());
|
| o.add(buildVideoFileDetailsAudioStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed640(core.List<api.VideoFileDetailsAudioStream> o) {
|
| +checkUnnamed2235(core.List<api.VideoFileDetailsAudioStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsAudioStream(o[0]);
|
| checkVideoFileDetailsAudioStream(o[1]);
|
| }
|
|
|
| -buildUnnamed641() {
|
| +buildUnnamed2236() {
|
| var o = new core.List<api.VideoFileDetailsVideoStream>();
|
| o.add(buildVideoFileDetailsVideoStream());
|
| o.add(buildVideoFileDetailsVideoStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed641(core.List<api.VideoFileDetailsVideoStream> o) {
|
| +checkUnnamed2236(core.List<api.VideoFileDetailsVideoStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsVideoStream(o[0]);
|
| checkVideoFileDetailsVideoStream(o[1]);
|
| @@ -4235,7 +4235,7 @@ buildVideoFileDetails() {
|
| var o = new api.VideoFileDetails();
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - o.audioStreams = buildUnnamed640();
|
| + o.audioStreams = buildUnnamed2235();
|
| o.bitrateBps = "foo";
|
| o.container = "foo";
|
| o.creationTime = "foo";
|
| @@ -4244,7 +4244,7 @@ buildVideoFileDetails() {
|
| o.fileSize = "foo";
|
| o.fileType = "foo";
|
| o.recordingLocation = buildGeoPoint();
|
| - o.videoStreams = buildUnnamed641();
|
| + o.videoStreams = buildUnnamed2236();
|
| }
|
| buildCounterVideoFileDetails--;
|
| return o;
|
| @@ -4253,7 +4253,7 @@ buildVideoFileDetails() {
|
| checkVideoFileDetails(api.VideoFileDetails o) {
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - checkUnnamed640(o.audioStreams);
|
| + checkUnnamed2235(o.audioStreams);
|
| unittest.expect(o.bitrateBps, unittest.equals('foo'));
|
| unittest.expect(o.container, unittest.equals('foo'));
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| @@ -4262,7 +4262,7 @@ checkVideoFileDetails(api.VideoFileDetails o) {
|
| unittest.expect(o.fileSize, unittest.equals('foo'));
|
| unittest.expect(o.fileType, unittest.equals('foo'));
|
| checkGeoPoint(o.recordingLocation);
|
| - checkUnnamed641(o.videoStreams);
|
| + checkUnnamed2236(o.videoStreams);
|
| }
|
| buildCounterVideoFileDetails--;
|
| }
|
| @@ -4325,14 +4325,14 @@ checkVideoFileDetailsVideoStream(api.VideoFileDetailsVideoStream o) {
|
| buildCounterVideoFileDetailsVideoStream--;
|
| }
|
|
|
| -buildUnnamed642() {
|
| +buildUnnamed2237() {
|
| var o = new core.List<api.VideoRating>();
|
| o.add(buildVideoRating());
|
| o.add(buildVideoRating());
|
| return o;
|
| }
|
|
|
| -checkUnnamed642(core.List<api.VideoRating> o) {
|
| +checkUnnamed2237(core.List<api.VideoRating> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoRating(o[0]);
|
| checkVideoRating(o[1]);
|
| @@ -4345,7 +4345,7 @@ buildVideoGetRatingResponse() {
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed642();
|
| + o.items = buildUnnamed2237();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -4358,21 +4358,21 @@ checkVideoGetRatingResponse(api.VideoGetRatingResponse o) {
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed642(o.items);
|
| + checkUnnamed2237(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| buildCounterVideoGetRatingResponse--;
|
| }
|
|
|
| -buildUnnamed643() {
|
| +buildUnnamed2238() {
|
| var o = new core.List<api.Video>();
|
| o.add(buildVideo());
|
| o.add(buildVideo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed643(core.List<api.Video> o) {
|
| +checkUnnamed2238(core.List<api.Video> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideo(o[0]);
|
| checkVideo(o[1]);
|
| @@ -4385,7 +4385,7 @@ buildVideoListResponse() {
|
| if (buildCounterVideoListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed643();
|
| + o.items = buildUnnamed2238();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4402,7 +4402,7 @@ checkVideoListResponse(api.VideoListResponse o) {
|
| if (buildCounterVideoListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed643(o.items);
|
| + checkUnnamed2238(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4555,14 +4555,14 @@ checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
|
| buildCounterVideoProcessingDetailsProcessingProgress--;
|
| }
|
|
|
| -buildUnnamed644() {
|
| +buildUnnamed2239() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed644(core.List<core.String> o) {
|
| +checkUnnamed2239(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -4573,7 +4573,7 @@ buildVideoProjectDetails() {
|
| var o = new api.VideoProjectDetails();
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - o.tags = buildUnnamed644();
|
| + o.tags = buildUnnamed2239();
|
| }
|
| buildCounterVideoProjectDetails--;
|
| return o;
|
| @@ -4582,7 +4582,7 @@ buildVideoProjectDetails() {
|
| checkVideoProjectDetails(api.VideoProjectDetails o) {
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - checkUnnamed644(o.tags);
|
| + checkUnnamed2239(o.tags);
|
| }
|
| buildCounterVideoProjectDetails--;
|
| }
|
| @@ -4631,14 +4631,14 @@ checkVideoRecordingDetails(api.VideoRecordingDetails o) {
|
| buildCounterVideoRecordingDetails--;
|
| }
|
|
|
| -buildUnnamed645() {
|
| +buildUnnamed2240() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed645(core.List<core.String> o) {
|
| +checkUnnamed2240(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -4658,7 +4658,7 @@ buildVideoSnippet() {
|
| o.liveBroadcastContent = "foo";
|
| o.localized = buildVideoLocalization();
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed645();
|
| + o.tags = buildUnnamed2240();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -4678,7 +4678,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")));
|
| - checkUnnamed645(o.tags);
|
| + checkUnnamed2240(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -4745,66 +4745,66 @@ checkVideoStatus(api.VideoStatus o) {
|
| buildCounterVideoStatus--;
|
| }
|
|
|
| -buildUnnamed646() {
|
| +buildUnnamed2241() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed646(core.List<core.String> o) {
|
| +checkUnnamed2241(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed647() {
|
| +buildUnnamed2242() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed647(core.List<core.String> o) {
|
| +checkUnnamed2242(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed648() {
|
| +buildUnnamed2243() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed648(core.List<core.String> o) {
|
| +checkUnnamed2243(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed649() {
|
| +buildUnnamed2244() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed649(core.List<core.String> o) {
|
| +checkUnnamed2244(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed650() {
|
| +buildUnnamed2245() {
|
| var o = new core.List<api.VideoSuggestionsTagSuggestion>();
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed650(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| +checkUnnamed2245(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoSuggestionsTagSuggestion(o[0]);
|
| checkVideoSuggestionsTagSuggestion(o[1]);
|
| @@ -4815,11 +4815,11 @@ buildVideoSuggestions() {
|
| var o = new api.VideoSuggestions();
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - o.editorSuggestions = buildUnnamed646();
|
| - o.processingErrors = buildUnnamed647();
|
| - o.processingHints = buildUnnamed648();
|
| - o.processingWarnings = buildUnnamed649();
|
| - o.tagSuggestions = buildUnnamed650();
|
| + o.editorSuggestions = buildUnnamed2241();
|
| + o.processingErrors = buildUnnamed2242();
|
| + o.processingHints = buildUnnamed2243();
|
| + o.processingWarnings = buildUnnamed2244();
|
| + o.tagSuggestions = buildUnnamed2245();
|
| }
|
| buildCounterVideoSuggestions--;
|
| return o;
|
| @@ -4828,23 +4828,23 @@ buildVideoSuggestions() {
|
| checkVideoSuggestions(api.VideoSuggestions o) {
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - checkUnnamed646(o.editorSuggestions);
|
| - checkUnnamed647(o.processingErrors);
|
| - checkUnnamed648(o.processingHints);
|
| - checkUnnamed649(o.processingWarnings);
|
| - checkUnnamed650(o.tagSuggestions);
|
| + checkUnnamed2241(o.editorSuggestions);
|
| + checkUnnamed2242(o.processingErrors);
|
| + checkUnnamed2243(o.processingHints);
|
| + checkUnnamed2244(o.processingWarnings);
|
| + checkUnnamed2245(o.tagSuggestions);
|
| }
|
| buildCounterVideoSuggestions--;
|
| }
|
|
|
| -buildUnnamed651() {
|
| +buildUnnamed2246() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed651(core.List<core.String> o) {
|
| +checkUnnamed2246(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -4855,7 +4855,7 @@ buildVideoSuggestionsTagSuggestion() {
|
| var o = new api.VideoSuggestionsTagSuggestion();
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - o.categoryRestricts = buildUnnamed651();
|
| + o.categoryRestricts = buildUnnamed2246();
|
| o.tag = "foo";
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| @@ -4865,33 +4865,33 @@ buildVideoSuggestionsTagSuggestion() {
|
| checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - checkUnnamed651(o.categoryRestricts);
|
| + checkUnnamed2246(o.categoryRestricts);
|
| unittest.expect(o.tag, unittest.equals('foo'));
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| }
|
|
|
| -buildUnnamed652() {
|
| +buildUnnamed2247() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed652(core.List<core.String> o) {
|
| +checkUnnamed2247(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed653() {
|
| +buildUnnamed2248() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed653(core.List<core.String> o) {
|
| +checkUnnamed2248(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -4902,8 +4902,8 @@ buildVideoTopicDetails() {
|
| var o = new api.VideoTopicDetails();
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - o.relevantTopicIds = buildUnnamed652();
|
| - o.topicIds = buildUnnamed653();
|
| + o.relevantTopicIds = buildUnnamed2247();
|
| + o.topicIds = buildUnnamed2248();
|
| }
|
| buildCounterVideoTopicDetails--;
|
| return o;
|
| @@ -4912,8 +4912,8 @@ buildVideoTopicDetails() {
|
| checkVideoTopicDetails(api.VideoTopicDetails o) {
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - checkUnnamed652(o.relevantTopicIds);
|
| - checkUnnamed653(o.topicIds);
|
| + checkUnnamed2247(o.relevantTopicIds);
|
| + checkUnnamed2248(o.topicIds);
|
| }
|
| buildCounterVideoTopicDetails--;
|
| }
|
| @@ -7806,6 +7806,61 @@ main() {
|
| })));
|
| });
|
|
|
| + unittest.test("method--bindDirect", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.LiveBroadcastsResourceApi res = new api.YoutubeApi(mock).liveBroadcasts;
|
| + var arg_id = "foo";
|
| + var arg_part = "foo";
|
| + var arg_onBehalfOfContentOwner = "foo";
|
| + var arg_onBehalfOfContentOwnerChannel = "foo";
|
| + var arg_streamId = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("youtube/v3/"));
|
| + pathOffset += 11;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("liveBroadcasts/bind/direct"));
|
| + pathOffset += 26;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
| + unittest.expect(queryMap["part"].first, unittest.equals(arg_part));
|
| + unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
|
| + unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first, unittest.equals(arg_onBehalfOfContentOwnerChannel));
|
| + unittest.expect(queryMap["streamId"].first, unittest.equals(arg_streamId));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildLiveBroadcast());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.bindDirect(arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, streamId: arg_streamId).then(unittest.expectAsync(((api.LiveBroadcast response) {
|
| + checkLiveBroadcast(response);
|
| + })));
|
| + });
|
| +
|
| unittest.test("method--control", () {
|
|
|
| var mock = new HttpServerMock();
|
|
|