| 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 c5af14559c5c46a57a8764aa3aa01fafc717e6da..7bab1777da0a53d88dc1215338fbae82a0d395bf 100644
|
| --- a/generated/googleapis/test/youtube/v3_test.dart
|
| +++ b/generated/googleapis/test/youtube/v3_test.dart
|
| @@ -16,14 +16,14 @@ import 'package:googleapis/youtube/v3.dart' as api;
|
|
|
|
|
|
|
| -buildUnnamed1112() {
|
| +buildUnnamed339() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1112(core.List<core.String> o) {
|
| +checkUnnamed339(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -35,7 +35,7 @@ buildAccessPolicy() {
|
| buildCounterAccessPolicy++;
|
| if (buildCounterAccessPolicy < 3) {
|
| o.allowed = true;
|
| - o.exception = buildUnnamed1112();
|
| + o.exception = buildUnnamed339();
|
| }
|
| buildCounterAccessPolicy--;
|
| return o;
|
| @@ -45,7 +45,7 @@ checkAccessPolicy(api.AccessPolicy o) {
|
| buildCounterAccessPolicy++;
|
| if (buildCounterAccessPolicy < 3) {
|
| unittest.expect(o.allowed, unittest.isTrue);
|
| - checkUnnamed1112(o.exception);
|
| + checkUnnamed339(o.exception);
|
| }
|
| buildCounterAccessPolicy--;
|
| }
|
| @@ -234,27 +234,27 @@ checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
|
| buildCounterActivityContentDetailsPlaylistItem--;
|
| }
|
|
|
| -buildUnnamed1113() {
|
| +buildUnnamed340() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1113(core.List<core.String> o) {
|
| +checkUnnamed340(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1114() {
|
| +buildUnnamed341() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1114(core.List<core.String> o) {
|
| +checkUnnamed341(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -272,8 +272,8 @@ buildActivityContentDetailsPromotedItem() {
|
| o.customCtaButtonText = "foo";
|
| o.descriptionText = "foo";
|
| o.destinationUrl = "foo";
|
| - o.forecastingUrl = buildUnnamed1113();
|
| - o.impressionUrl = buildUnnamed1114();
|
| + o.forecastingUrl = buildUnnamed340();
|
| + o.impressionUrl = buildUnnamed341();
|
| o.videoId = "foo";
|
| }
|
| buildCounterActivityContentDetailsPromotedItem--;
|
| @@ -290,8 +290,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'));
|
| - checkUnnamed1113(o.forecastingUrl);
|
| - checkUnnamed1114(o.impressionUrl);
|
| + checkUnnamed340(o.forecastingUrl);
|
| + checkUnnamed341(o.impressionUrl);
|
| unittest.expect(o.videoId, unittest.equals('foo'));
|
| }
|
| buildCounterActivityContentDetailsPromotedItem--;
|
| @@ -385,14 +385,14 @@ checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) {
|
| buildCounterActivityContentDetailsUpload--;
|
| }
|
|
|
| -buildUnnamed1115() {
|
| +buildUnnamed342() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1115(core.List<api.Activity> o) {
|
| +checkUnnamed342(core.List<api.Activity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivity(o[0]);
|
| checkActivity(o[1]);
|
| @@ -405,7 +405,7 @@ buildActivityListResponse() {
|
| if (buildCounterActivityListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1115();
|
| + o.items = buildUnnamed342();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -422,7 +422,7 @@ checkActivityListResponse(api.ActivityListResponse o) {
|
| if (buildCounterActivityListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1115(o.items);
|
| + checkUnnamed342(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -580,14 +580,14 @@ checkChannelBannerResource(api.ChannelBannerResource o) {
|
| buildCounterChannelBannerResource--;
|
| }
|
|
|
| -buildUnnamed1116() {
|
| +buildUnnamed343() {
|
| var o = new core.List<api.PropertyValue>();
|
| o.add(buildPropertyValue());
|
| o.add(buildPropertyValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1116(core.List<api.PropertyValue> o) {
|
| +checkUnnamed343(core.List<api.PropertyValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPropertyValue(o[0]);
|
| checkPropertyValue(o[1]);
|
| @@ -599,7 +599,7 @@ buildChannelBrandingSettings() {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| o.channel = buildChannelSettings();
|
| - o.hints = buildUnnamed1116();
|
| + o.hints = buildUnnamed343();
|
| o.image = buildImageSettings();
|
| o.watch = buildWatchSettings();
|
| }
|
| @@ -611,7 +611,7 @@ checkChannelBrandingSettings(api.ChannelBrandingSettings o) {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| checkChannelSettings(o.channel);
|
| - checkUnnamed1116(o.hints);
|
| + checkUnnamed343(o.hints);
|
| checkImageSettings(o.image);
|
| checkWatchSettings(o.watch);
|
| }
|
| @@ -708,14 +708,14 @@ checkChannelConversionPing(api.ChannelConversionPing o) {
|
| buildCounterChannelConversionPing--;
|
| }
|
|
|
| -buildUnnamed1117() {
|
| +buildUnnamed344() {
|
| var o = new core.List<api.ChannelConversionPing>();
|
| o.add(buildChannelConversionPing());
|
| o.add(buildChannelConversionPing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1117(core.List<api.ChannelConversionPing> o) {
|
| +checkUnnamed344(core.List<api.ChannelConversionPing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelConversionPing(o[0]);
|
| checkChannelConversionPing(o[1]);
|
| @@ -726,7 +726,7 @@ buildChannelConversionPings() {
|
| var o = new api.ChannelConversionPings();
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - o.pings = buildUnnamed1117();
|
| + o.pings = buildUnnamed344();
|
| }
|
| buildCounterChannelConversionPings--;
|
| return o;
|
| @@ -735,19 +735,19 @@ buildChannelConversionPings() {
|
| checkChannelConversionPings(api.ChannelConversionPings o) {
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - checkUnnamed1117(o.pings);
|
| + checkUnnamed344(o.pings);
|
| }
|
| buildCounterChannelConversionPings--;
|
| }
|
|
|
| -buildUnnamed1118() {
|
| +buildUnnamed345() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1118(core.List<api.Channel> o) {
|
| +checkUnnamed345(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| @@ -760,7 +760,7 @@ buildChannelListResponse() {
|
| if (buildCounterChannelListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1118();
|
| + o.items = buildUnnamed345();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -777,7 +777,7 @@ checkChannelListResponse(api.ChannelListResponse o) {
|
| if (buildCounterChannelListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1118(o.items);
|
| + checkUnnamed345(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -815,27 +815,27 @@ checkChannelSection(api.ChannelSection o) {
|
| buildCounterChannelSection--;
|
| }
|
|
|
| -buildUnnamed1119() {
|
| +buildUnnamed346() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1119(core.List<core.String> o) {
|
| +checkUnnamed346(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1120() {
|
| +buildUnnamed347() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1120(core.List<core.String> o) {
|
| +checkUnnamed347(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -846,8 +846,8 @@ buildChannelSectionContentDetails() {
|
| var o = new api.ChannelSectionContentDetails();
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - o.channels = buildUnnamed1119();
|
| - o.playlists = buildUnnamed1120();
|
| + o.channels = buildUnnamed346();
|
| + o.playlists = buildUnnamed347();
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| return o;
|
| @@ -856,20 +856,20 @@ buildChannelSectionContentDetails() {
|
| checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - checkUnnamed1119(o.channels);
|
| - checkUnnamed1120(o.playlists);
|
| + checkUnnamed346(o.channels);
|
| + checkUnnamed347(o.playlists);
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| }
|
|
|
| -buildUnnamed1121() {
|
| +buildUnnamed348() {
|
| var o = new core.List<api.ChannelSection>();
|
| o.add(buildChannelSection());
|
| o.add(buildChannelSection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1121(core.List<api.ChannelSection> o) {
|
| +checkUnnamed348(core.List<api.ChannelSection> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelSection(o[0]);
|
| checkChannelSection(o[1]);
|
| @@ -882,7 +882,7 @@ buildChannelSectionListResponse() {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1121();
|
| + o.items = buildUnnamed348();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -895,7 +895,7 @@ checkChannelSectionListResponse(api.ChannelSectionListResponse o) {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1121(o.items);
|
| + checkUnnamed348(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -929,14 +929,14 @@ checkChannelSectionSnippet(api.ChannelSectionSnippet o) {
|
| buildCounterChannelSectionSnippet--;
|
| }
|
|
|
| -buildUnnamed1122() {
|
| +buildUnnamed349() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1122(core.List<core.String> o) {
|
| +checkUnnamed349(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -950,7 +950,7 @@ buildChannelSettings() {
|
| o.defaultTab = "foo";
|
| o.description = "foo";
|
| o.featuredChannelsTitle = "foo";
|
| - o.featuredChannelsUrls = buildUnnamed1122();
|
| + o.featuredChannelsUrls = buildUnnamed349();
|
| o.keywords = "foo";
|
| o.moderateComments = true;
|
| o.profileColor = "foo";
|
| @@ -970,7 +970,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'));
|
| - checkUnnamed1122(o.featuredChannelsUrls);
|
| + checkUnnamed349(o.featuredChannelsUrls);
|
| unittest.expect(o.keywords, unittest.equals('foo'));
|
| unittest.expect(o.moderateComments, unittest.isTrue);
|
| unittest.expect(o.profileColor, unittest.equals('foo'));
|
| @@ -1058,14 +1058,14 @@ checkChannelStatus(api.ChannelStatus o) {
|
| buildCounterChannelStatus--;
|
| }
|
|
|
| -buildUnnamed1123() {
|
| +buildUnnamed350() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1123(core.List<core.String> o) {
|
| +checkUnnamed350(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1076,7 +1076,7 @@ buildChannelTopicDetails() {
|
| var o = new api.ChannelTopicDetails();
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - o.topicIds = buildUnnamed1123();
|
| + o.topicIds = buildUnnamed350();
|
| }
|
| buildCounterChannelTopicDetails--;
|
| return o;
|
| @@ -1085,11 +1085,24 @@ buildChannelTopicDetails() {
|
| checkChannelTopicDetails(api.ChannelTopicDetails o) {
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - checkUnnamed1123(o.topicIds);
|
| + checkUnnamed350(o.topicIds);
|
| }
|
| buildCounterChannelTopicDetails--;
|
| }
|
|
|
| +buildUnnamed351() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed351(core.List<core.String> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + unittest.expect(o[0], unittest.equals('foo'));
|
| + unittest.expect(o[1], unittest.equals('foo'));
|
| +}
|
| +
|
| core.int buildCounterContentRating = 0;
|
| buildContentRating() {
|
| var o = new api.ContentRating();
|
| @@ -1114,6 +1127,7 @@ buildContentRating() {
|
| o.cscfRating = "foo";
|
| o.czfilmRating = "foo";
|
| o.djctqRating = "foo";
|
| + o.djctqRatingReasons = buildUnnamed351();
|
| o.eefilmRating = "foo";
|
| o.egfilmRating = "foo";
|
| o.eirinRating = "foo";
|
| @@ -1185,6 +1199,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'));
|
| + checkUnnamed351(o.djctqRatingReasons);
|
| unittest.expect(o.eefilmRating, unittest.equals('foo'));
|
| unittest.expect(o.egfilmRating, unittest.equals('foo'));
|
| unittest.expect(o.eirinRating, unittest.equals('foo'));
|
| @@ -1281,14 +1296,14 @@ checkGuideCategory(api.GuideCategory o) {
|
| buildCounterGuideCategory--;
|
| }
|
|
|
| -buildUnnamed1124() {
|
| +buildUnnamed352() {
|
| var o = new core.List<api.GuideCategory>();
|
| o.add(buildGuideCategory());
|
| o.add(buildGuideCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1124(core.List<api.GuideCategory> o) {
|
| +checkUnnamed352(core.List<api.GuideCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGuideCategory(o[0]);
|
| checkGuideCategory(o[1]);
|
| @@ -1301,7 +1316,7 @@ buildGuideCategoryListResponse() {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1124();
|
| + o.items = buildUnnamed352();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1318,7 +1333,7 @@ checkGuideCategoryListResponse(api.GuideCategoryListResponse o) {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1124(o.items);
|
| + checkUnnamed352(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1375,14 +1390,14 @@ checkI18nLanguage(api.I18nLanguage o) {
|
| buildCounterI18nLanguage--;
|
| }
|
|
|
| -buildUnnamed1125() {
|
| +buildUnnamed353() {
|
| var o = new core.List<api.I18nLanguage>();
|
| o.add(buildI18nLanguage());
|
| o.add(buildI18nLanguage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1125(core.List<api.I18nLanguage> o) {
|
| +checkUnnamed353(core.List<api.I18nLanguage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nLanguage(o[0]);
|
| checkI18nLanguage(o[1]);
|
| @@ -1395,7 +1410,7 @@ buildI18nLanguageListResponse() {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1125();
|
| + o.items = buildUnnamed353();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -1408,7 +1423,7 @@ checkI18nLanguageListResponse(api.I18nLanguageListResponse o) {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1125(o.items);
|
| + checkUnnamed353(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -1461,14 +1476,14 @@ checkI18nRegion(api.I18nRegion o) {
|
| buildCounterI18nRegion--;
|
| }
|
|
|
| -buildUnnamed1126() {
|
| +buildUnnamed354() {
|
| var o = new core.List<api.I18nRegion>();
|
| o.add(buildI18nRegion());
|
| o.add(buildI18nRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1126(core.List<api.I18nRegion> o) {
|
| +checkUnnamed354(core.List<api.I18nRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nRegion(o[0]);
|
| checkI18nRegion(o[1]);
|
| @@ -1481,7 +1496,7 @@ buildI18nRegionListResponse() {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1126();
|
| + o.items = buildUnnamed354();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -1494,7 +1509,7 @@ checkI18nRegionListResponse(api.I18nRegionListResponse o) {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1126(o.items);
|
| + checkUnnamed354(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -1654,14 +1669,14 @@ checkInvideoPosition(api.InvideoPosition o) {
|
| buildCounterInvideoPosition--;
|
| }
|
|
|
| -buildUnnamed1127() {
|
| +buildUnnamed355() {
|
| var o = new core.List<api.PromotedItem>();
|
| o.add(buildPromotedItem());
|
| o.add(buildPromotedItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1127(core.List<api.PromotedItem> o) {
|
| +checkUnnamed355(core.List<api.PromotedItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPromotedItem(o[0]);
|
| checkPromotedItem(o[1]);
|
| @@ -1673,7 +1688,7 @@ buildInvideoPromotion() {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| o.defaultTiming = buildInvideoTiming();
|
| - o.items = buildUnnamed1127();
|
| + o.items = buildUnnamed355();
|
| o.position = buildInvideoPosition();
|
| o.useSmartTiming = true;
|
| }
|
| @@ -1685,7 +1700,7 @@ checkInvideoPromotion(api.InvideoPromotion o) {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| checkInvideoTiming(o.defaultTiming);
|
| - checkUnnamed1127(o.items);
|
| + checkUnnamed355(o.items);
|
| checkInvideoPosition(o.position);
|
| unittest.expect(o.useSmartTiming, unittest.isTrue);
|
| }
|
| @@ -1777,14 +1792,14 @@ checkLiveBroadcastContentDetails(api.LiveBroadcastContentDetails o) {
|
| buildCounterLiveBroadcastContentDetails--;
|
| }
|
|
|
| -buildUnnamed1128() {
|
| +buildUnnamed356() {
|
| var o = new core.List<api.LiveBroadcast>();
|
| o.add(buildLiveBroadcast());
|
| o.add(buildLiveBroadcast());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1128(core.List<api.LiveBroadcast> o) {
|
| +checkUnnamed356(core.List<api.LiveBroadcast> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveBroadcast(o[0]);
|
| checkLiveBroadcast(o[1]);
|
| @@ -1797,7 +1812,7 @@ buildLiveBroadcastListResponse() {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1128();
|
| + o.items = buildUnnamed356();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1814,7 +1829,7 @@ checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1128(o.items);
|
| + checkUnnamed356(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1937,14 +1952,14 @@ checkLiveStreamContentDetails(api.LiveStreamContentDetails o) {
|
| buildCounterLiveStreamContentDetails--;
|
| }
|
|
|
| -buildUnnamed1129() {
|
| +buildUnnamed357() {
|
| var o = new core.List<api.LiveStream>();
|
| o.add(buildLiveStream());
|
| o.add(buildLiveStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1129(core.List<api.LiveStream> o) {
|
| +checkUnnamed357(core.List<api.LiveStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveStream(o[0]);
|
| checkLiveStream(o[1]);
|
| @@ -1957,7 +1972,7 @@ buildLiveStreamListResponse() {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1129();
|
| + o.items = buildUnnamed357();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1974,7 +1989,7 @@ checkLiveStreamListResponse(api.LiveStreamListResponse o) {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1129(o.items);
|
| + checkUnnamed357(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2029,14 +2044,14 @@ checkLiveStreamStatus(api.LiveStreamStatus o) {
|
| buildCounterLiveStreamStatus--;
|
| }
|
|
|
| -buildUnnamed1130() {
|
| +buildUnnamed358() {
|
| var o = new core.List<api.LocalizedString>();
|
| o.add(buildLocalizedString());
|
| o.add(buildLocalizedString());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1130(core.List<api.LocalizedString> o) {
|
| +checkUnnamed358(core.List<api.LocalizedString> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocalizedString(o[0]);
|
| checkLocalizedString(o[1]);
|
| @@ -2048,7 +2063,7 @@ buildLocalizedProperty() {
|
| buildCounterLocalizedProperty++;
|
| if (buildCounterLocalizedProperty < 3) {
|
| o.default_ = "foo";
|
| - o.localized = buildUnnamed1130();
|
| + o.localized = buildUnnamed358();
|
| }
|
| buildCounterLocalizedProperty--;
|
| return o;
|
| @@ -2058,7 +2073,7 @@ checkLocalizedProperty(api.LocalizedProperty o) {
|
| buildCounterLocalizedProperty++;
|
| if (buildCounterLocalizedProperty < 3) {
|
| unittest.expect(o.default_, unittest.equals('foo'));
|
| - checkUnnamed1130(o.localized);
|
| + checkUnnamed358(o.localized);
|
| }
|
| buildCounterLocalizedProperty--;
|
| }
|
| @@ -2232,14 +2247,14 @@ checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) {
|
| buildCounterPlaylistItemContentDetails--;
|
| }
|
|
|
| -buildUnnamed1131() {
|
| +buildUnnamed359() {
|
| var o = new core.List<api.PlaylistItem>();
|
| o.add(buildPlaylistItem());
|
| o.add(buildPlaylistItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1131(core.List<api.PlaylistItem> o) {
|
| +checkUnnamed359(core.List<api.PlaylistItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylistItem(o[0]);
|
| checkPlaylistItem(o[1]);
|
| @@ -2252,7 +2267,7 @@ buildPlaylistItemListResponse() {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1131();
|
| + o.items = buildUnnamed359();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2269,7 +2284,7 @@ checkPlaylistItemListResponse(api.PlaylistItemListResponse o) {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1131(o.items);
|
| + checkUnnamed359(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2334,14 +2349,14 @@ checkPlaylistItemStatus(api.PlaylistItemStatus o) {
|
| buildCounterPlaylistItemStatus--;
|
| }
|
|
|
| -buildUnnamed1132() {
|
| +buildUnnamed360() {
|
| var o = new core.List<api.Playlist>();
|
| o.add(buildPlaylist());
|
| o.add(buildPlaylist());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1132(core.List<api.Playlist> o) {
|
| +checkUnnamed360(core.List<api.Playlist> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylist(o[0]);
|
| checkPlaylist(o[1]);
|
| @@ -2354,7 +2369,7 @@ buildPlaylistListResponse() {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1132();
|
| + o.items = buildUnnamed360();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2371,7 +2386,7 @@ checkPlaylistListResponse(api.PlaylistListResponse o) {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1132(o.items);
|
| + checkUnnamed360(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2401,14 +2416,14 @@ checkPlaylistPlayer(api.PlaylistPlayer o) {
|
| buildCounterPlaylistPlayer--;
|
| }
|
|
|
| -buildUnnamed1133() {
|
| +buildUnnamed361() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1133(core.List<core.String> o) {
|
| +checkUnnamed361(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -2423,7 +2438,7 @@ buildPlaylistSnippet() {
|
| o.channelTitle = "foo";
|
| o.description = "foo";
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed1133();
|
| + o.tags = buildUnnamed361();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -2438,7 +2453,7 @@ checkPlaylistSnippet(api.PlaylistSnippet o) {
|
| unittest.expect(o.channelTitle, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - checkUnnamed1133(o.tags);
|
| + checkUnnamed361(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -2560,14 +2575,14 @@ checkResourceId(api.ResourceId o) {
|
| buildCounterResourceId--;
|
| }
|
|
|
| -buildUnnamed1134() {
|
| +buildUnnamed362() {
|
| var o = new core.List<api.SearchResult>();
|
| o.add(buildSearchResult());
|
| o.add(buildSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1134(core.List<api.SearchResult> o) {
|
| +checkUnnamed362(core.List<api.SearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSearchResult(o[0]);
|
| checkSearchResult(o[1]);
|
| @@ -2580,7 +2595,7 @@ buildSearchListResponse() {
|
| if (buildCounterSearchListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1134();
|
| + o.items = buildUnnamed362();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2597,7 +2612,7 @@ checkSearchListResponse(api.SearchListResponse o) {
|
| if (buildCounterSearchListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1134(o.items);
|
| + checkUnnamed362(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2716,14 +2731,14 @@ checkSubscriptionContentDetails(api.SubscriptionContentDetails o) {
|
| buildCounterSubscriptionContentDetails--;
|
| }
|
|
|
| -buildUnnamed1135() {
|
| +buildUnnamed363() {
|
| var o = new core.List<api.Subscription>();
|
| o.add(buildSubscription());
|
| o.add(buildSubscription());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1135(core.List<api.Subscription> o) {
|
| +checkUnnamed363(core.List<api.Subscription> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubscription(o[0]);
|
| checkSubscription(o[1]);
|
| @@ -2736,7 +2751,7 @@ buildSubscriptionListResponse() {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1135();
|
| + o.items = buildUnnamed363();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2753,7 +2768,7 @@ checkSubscriptionListResponse(api.SubscriptionListResponse o) {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1135(o.items);
|
| + checkUnnamed363(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2870,14 +2885,14 @@ checkThumbnailDetails(api.ThumbnailDetails o) {
|
| buildCounterThumbnailDetails--;
|
| }
|
|
|
| -buildUnnamed1136() {
|
| +buildUnnamed364() {
|
| var o = new core.List<api.ThumbnailDetails>();
|
| o.add(buildThumbnailDetails());
|
| o.add(buildThumbnailDetails());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1136(core.List<api.ThumbnailDetails> o) {
|
| +checkUnnamed364(core.List<api.ThumbnailDetails> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThumbnailDetails(o[0]);
|
| checkThumbnailDetails(o[1]);
|
| @@ -2890,7 +2905,7 @@ buildThumbnailSetResponse() {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1136();
|
| + o.items = buildUnnamed364();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -2903,7 +2918,7 @@ checkThumbnailSetResponse(api.ThumbnailSetResponse o) {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1136(o.items);
|
| + checkUnnamed364(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -3028,14 +3043,14 @@ checkVideoCategory(api.VideoCategory o) {
|
| buildCounterVideoCategory--;
|
| }
|
|
|
| -buildUnnamed1137() {
|
| +buildUnnamed365() {
|
| var o = new core.List<api.VideoCategory>();
|
| o.add(buildVideoCategory());
|
| o.add(buildVideoCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1137(core.List<api.VideoCategory> o) {
|
| +checkUnnamed365(core.List<api.VideoCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoCategory(o[0]);
|
| checkVideoCategory(o[1]);
|
| @@ -3048,7 +3063,7 @@ buildVideoCategoryListResponse() {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1137();
|
| + o.items = buildUnnamed365();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3065,7 +3080,7 @@ checkVideoCategoryListResponse(api.VideoCategoryListResponse o) {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1137(o.items);
|
| + checkUnnamed365(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3132,27 +3147,27 @@ checkVideoContentDetails(api.VideoContentDetails o) {
|
| buildCounterVideoContentDetails--;
|
| }
|
|
|
| -buildUnnamed1138() {
|
| +buildUnnamed366() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1138(core.List<core.String> o) {
|
| +checkUnnamed366(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1139() {
|
| +buildUnnamed367() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1139(core.List<core.String> o) {
|
| +checkUnnamed367(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -3163,8 +3178,8 @@ buildVideoContentDetailsRegionRestriction() {
|
| var o = new api.VideoContentDetailsRegionRestriction();
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - o.allowed = buildUnnamed1138();
|
| - o.blocked = buildUnnamed1139();
|
| + o.allowed = buildUnnamed366();
|
| + o.blocked = buildUnnamed367();
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| return o;
|
| @@ -3173,8 +3188,8 @@ buildVideoContentDetailsRegionRestriction() {
|
| checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - checkUnnamed1138(o.allowed);
|
| - checkUnnamed1139(o.blocked);
|
| + checkUnnamed366(o.allowed);
|
| + checkUnnamed367(o.blocked);
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| }
|
| @@ -3200,14 +3215,14 @@ checkVideoConversionPing(api.VideoConversionPing o) {
|
| buildCounterVideoConversionPing--;
|
| }
|
|
|
| -buildUnnamed1140() {
|
| +buildUnnamed368() {
|
| var o = new core.List<api.VideoConversionPing>();
|
| o.add(buildVideoConversionPing());
|
| o.add(buildVideoConversionPing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1140(core.List<api.VideoConversionPing> o) {
|
| +checkUnnamed368(core.List<api.VideoConversionPing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoConversionPing(o[0]);
|
| checkVideoConversionPing(o[1]);
|
| @@ -3218,7 +3233,7 @@ buildVideoConversionPings() {
|
| var o = new api.VideoConversionPings();
|
| buildCounterVideoConversionPings++;
|
| if (buildCounterVideoConversionPings < 3) {
|
| - o.pings = buildUnnamed1140();
|
| + o.pings = buildUnnamed368();
|
| }
|
| buildCounterVideoConversionPings--;
|
| return o;
|
| @@ -3227,32 +3242,32 @@ buildVideoConversionPings() {
|
| checkVideoConversionPings(api.VideoConversionPings o) {
|
| buildCounterVideoConversionPings++;
|
| if (buildCounterVideoConversionPings < 3) {
|
| - checkUnnamed1140(o.pings);
|
| + checkUnnamed368(o.pings);
|
| }
|
| buildCounterVideoConversionPings--;
|
| }
|
|
|
| -buildUnnamed1141() {
|
| +buildUnnamed369() {
|
| var o = new core.List<api.VideoFileDetailsAudioStream>();
|
| o.add(buildVideoFileDetailsAudioStream());
|
| o.add(buildVideoFileDetailsAudioStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1141(core.List<api.VideoFileDetailsAudioStream> o) {
|
| +checkUnnamed369(core.List<api.VideoFileDetailsAudioStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsAudioStream(o[0]);
|
| checkVideoFileDetailsAudioStream(o[1]);
|
| }
|
|
|
| -buildUnnamed1142() {
|
| +buildUnnamed370() {
|
| var o = new core.List<api.VideoFileDetailsVideoStream>();
|
| o.add(buildVideoFileDetailsVideoStream());
|
| o.add(buildVideoFileDetailsVideoStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1142(core.List<api.VideoFileDetailsVideoStream> o) {
|
| +checkUnnamed370(core.List<api.VideoFileDetailsVideoStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsVideoStream(o[0]);
|
| checkVideoFileDetailsVideoStream(o[1]);
|
| @@ -3263,7 +3278,7 @@ buildVideoFileDetails() {
|
| var o = new api.VideoFileDetails();
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - o.audioStreams = buildUnnamed1141();
|
| + o.audioStreams = buildUnnamed369();
|
| o.bitrateBps = "foo";
|
| o.container = "foo";
|
| o.creationTime = "foo";
|
| @@ -3272,7 +3287,7 @@ buildVideoFileDetails() {
|
| o.fileSize = "foo";
|
| o.fileType = "foo";
|
| o.recordingLocation = buildGeoPoint();
|
| - o.videoStreams = buildUnnamed1142();
|
| + o.videoStreams = buildUnnamed370();
|
| }
|
| buildCounterVideoFileDetails--;
|
| return o;
|
| @@ -3281,7 +3296,7 @@ buildVideoFileDetails() {
|
| checkVideoFileDetails(api.VideoFileDetails o) {
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - checkUnnamed1141(o.audioStreams);
|
| + checkUnnamed369(o.audioStreams);
|
| unittest.expect(o.bitrateBps, unittest.equals('foo'));
|
| unittest.expect(o.container, unittest.equals('foo'));
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| @@ -3290,7 +3305,7 @@ checkVideoFileDetails(api.VideoFileDetails o) {
|
| unittest.expect(o.fileSize, unittest.equals('foo'));
|
| unittest.expect(o.fileType, unittest.equals('foo'));
|
| checkGeoPoint(o.recordingLocation);
|
| - checkUnnamed1142(o.videoStreams);
|
| + checkUnnamed370(o.videoStreams);
|
| }
|
| buildCounterVideoFileDetails--;
|
| }
|
| @@ -3353,14 +3368,14 @@ checkVideoFileDetailsVideoStream(api.VideoFileDetailsVideoStream o) {
|
| buildCounterVideoFileDetailsVideoStream--;
|
| }
|
|
|
| -buildUnnamed1143() {
|
| +buildUnnamed371() {
|
| var o = new core.List<api.VideoRating>();
|
| o.add(buildVideoRating());
|
| o.add(buildVideoRating());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1143(core.List<api.VideoRating> o) {
|
| +checkUnnamed371(core.List<api.VideoRating> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoRating(o[0]);
|
| checkVideoRating(o[1]);
|
| @@ -3372,7 +3387,7 @@ buildVideoGetRatingResponse() {
|
| buildCounterVideoGetRatingResponse++;
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed1143();
|
| + o.items = buildUnnamed371();
|
| o.kind = "foo";
|
| }
|
| buildCounterVideoGetRatingResponse--;
|
| @@ -3383,20 +3398,20 @@ checkVideoGetRatingResponse(api.VideoGetRatingResponse o) {
|
| buildCounterVideoGetRatingResponse++;
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed1143(o.items);
|
| + checkUnnamed371(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterVideoGetRatingResponse--;
|
| }
|
|
|
| -buildUnnamed1144() {
|
| +buildUnnamed372() {
|
| var o = new core.List<api.Video>();
|
| o.add(buildVideo());
|
| o.add(buildVideo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1144(core.List<api.Video> o) {
|
| +checkUnnamed372(core.List<api.Video> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideo(o[0]);
|
| checkVideo(o[1]);
|
| @@ -3409,7 +3424,7 @@ buildVideoListResponse() {
|
| if (buildCounterVideoListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed1144();
|
| + o.items = buildUnnamed372();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3426,7 +3441,7 @@ checkVideoListResponse(api.VideoListResponse o) {
|
| if (buildCounterVideoListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed1144(o.items);
|
| + checkUnnamed372(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3558,14 +3573,14 @@ checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
|
| buildCounterVideoProcessingDetailsProcessingProgress--;
|
| }
|
|
|
| -buildUnnamed1145() {
|
| +buildUnnamed373() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1145(core.List<core.String> o) {
|
| +checkUnnamed373(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -3576,7 +3591,7 @@ buildVideoProjectDetails() {
|
| var o = new api.VideoProjectDetails();
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - o.tags = buildUnnamed1145();
|
| + o.tags = buildUnnamed373();
|
| }
|
| buildCounterVideoProjectDetails--;
|
| return o;
|
| @@ -3585,7 +3600,7 @@ buildVideoProjectDetails() {
|
| checkVideoProjectDetails(api.VideoProjectDetails o) {
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - checkUnnamed1145(o.tags);
|
| + checkUnnamed373(o.tags);
|
| }
|
| buildCounterVideoProjectDetails--;
|
| }
|
| @@ -3634,14 +3649,14 @@ checkVideoRecordingDetails(api.VideoRecordingDetails o) {
|
| buildCounterVideoRecordingDetails--;
|
| }
|
|
|
| -buildUnnamed1146() {
|
| +buildUnnamed374() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1146(core.List<core.String> o) {
|
| +checkUnnamed374(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -3658,7 +3673,7 @@ buildVideoSnippet() {
|
| o.description = "foo";
|
| o.liveBroadcastContent = "foo";
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed1146();
|
| + o.tags = buildUnnamed374();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -3675,7 +3690,7 @@ checkVideoSnippet(api.VideoSnippet o) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.liveBroadcastContent, unittest.equals('foo'));
|
| unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - checkUnnamed1146(o.tags);
|
| + checkUnnamed374(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -3742,66 +3757,66 @@ checkVideoStatus(api.VideoStatus o) {
|
| buildCounterVideoStatus--;
|
| }
|
|
|
| -buildUnnamed1147() {
|
| +buildUnnamed375() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1147(core.List<core.String> o) {
|
| +checkUnnamed375(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1148() {
|
| +buildUnnamed376() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1148(core.List<core.String> o) {
|
| +checkUnnamed376(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1149() {
|
| +buildUnnamed377() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1149(core.List<core.String> o) {
|
| +checkUnnamed377(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1150() {
|
| +buildUnnamed378() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1150(core.List<core.String> o) {
|
| +checkUnnamed378(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1151() {
|
| +buildUnnamed379() {
|
| var o = new core.List<api.VideoSuggestionsTagSuggestion>();
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1151(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| +checkUnnamed379(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoSuggestionsTagSuggestion(o[0]);
|
| checkVideoSuggestionsTagSuggestion(o[1]);
|
| @@ -3812,11 +3827,11 @@ buildVideoSuggestions() {
|
| var o = new api.VideoSuggestions();
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - o.editorSuggestions = buildUnnamed1147();
|
| - o.processingErrors = buildUnnamed1148();
|
| - o.processingHints = buildUnnamed1149();
|
| - o.processingWarnings = buildUnnamed1150();
|
| - o.tagSuggestions = buildUnnamed1151();
|
| + o.editorSuggestions = buildUnnamed375();
|
| + o.processingErrors = buildUnnamed376();
|
| + o.processingHints = buildUnnamed377();
|
| + o.processingWarnings = buildUnnamed378();
|
| + o.tagSuggestions = buildUnnamed379();
|
| }
|
| buildCounterVideoSuggestions--;
|
| return o;
|
| @@ -3825,23 +3840,23 @@ buildVideoSuggestions() {
|
| checkVideoSuggestions(api.VideoSuggestions o) {
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - checkUnnamed1147(o.editorSuggestions);
|
| - checkUnnamed1148(o.processingErrors);
|
| - checkUnnamed1149(o.processingHints);
|
| - checkUnnamed1150(o.processingWarnings);
|
| - checkUnnamed1151(o.tagSuggestions);
|
| + checkUnnamed375(o.editorSuggestions);
|
| + checkUnnamed376(o.processingErrors);
|
| + checkUnnamed377(o.processingHints);
|
| + checkUnnamed378(o.processingWarnings);
|
| + checkUnnamed379(o.tagSuggestions);
|
| }
|
| buildCounterVideoSuggestions--;
|
| }
|
|
|
| -buildUnnamed1152() {
|
| +buildUnnamed380() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1152(core.List<core.String> o) {
|
| +checkUnnamed380(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -3852,7 +3867,7 @@ buildVideoSuggestionsTagSuggestion() {
|
| var o = new api.VideoSuggestionsTagSuggestion();
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - o.categoryRestricts = buildUnnamed1152();
|
| + o.categoryRestricts = buildUnnamed380();
|
| o.tag = "foo";
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| @@ -3862,33 +3877,33 @@ buildVideoSuggestionsTagSuggestion() {
|
| checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - checkUnnamed1152(o.categoryRestricts);
|
| + checkUnnamed380(o.categoryRestricts);
|
| unittest.expect(o.tag, unittest.equals('foo'));
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| }
|
|
|
| -buildUnnamed1153() {
|
| +buildUnnamed381() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1153(core.List<core.String> o) {
|
| +checkUnnamed381(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1154() {
|
| +buildUnnamed382() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1154(core.List<core.String> o) {
|
| +checkUnnamed382(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -3899,8 +3914,8 @@ buildVideoTopicDetails() {
|
| var o = new api.VideoTopicDetails();
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - o.relevantTopicIds = buildUnnamed1153();
|
| - o.topicIds = buildUnnamed1154();
|
| + o.relevantTopicIds = buildUnnamed381();
|
| + o.topicIds = buildUnnamed382();
|
| }
|
| buildCounterVideoTopicDetails--;
|
| return o;
|
| @@ -3909,8 +3924,8 @@ buildVideoTopicDetails() {
|
| checkVideoTopicDetails(api.VideoTopicDetails o) {
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - checkUnnamed1153(o.relevantTopicIds);
|
| - checkUnnamed1154(o.topicIds);
|
| + checkUnnamed381(o.relevantTopicIds);
|
| + checkUnnamed382(o.topicIds);
|
| }
|
| buildCounterVideoTopicDetails--;
|
| }
|
| @@ -5228,6 +5243,7 @@ main() {
|
| var mock = new common_test.HttpServerMock();
|
| api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSections;
|
| var arg_id = "foo";
|
| + var arg_onBehalfOfContentOwner = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -5257,6 +5273,7 @@ main() {
|
| }
|
| }
|
| unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
|
| + unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
|
|
|
|
|
| var h = {
|
| @@ -5265,7 +5282,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -5384,6 +5401,7 @@ main() {
|
| api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSections;
|
| var arg_request = buildChannelSection();
|
| var arg_part = "foo";
|
| + var arg_onBehalfOfContentOwner = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var obj = new api.ChannelSection.fromJson(json);
|
| checkChannelSection(obj);
|
| @@ -5416,6 +5434,7 @@ main() {
|
| }
|
| }
|
| unittest.expect(queryMap["part"].first, unittest.equals(arg_part));
|
| + unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
|
|
|
|
|
| var h = {
|
| @@ -5424,7 +5443,7 @@ main() {
|
| var resp = convert.JSON.encode(buildChannelSection());
|
| return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part).then(unittest.expectAsync(((api.ChannelSection response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.ChannelSection response) {
|
| checkChannelSection(response);
|
| })));
|
| });
|
|
|