Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: generated/googleapis/test/youtube/v3_test.dart

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5cf700b90e22d9afaee59e7667349b3e7b64c4b1..d618aac54855cbf30b374fea1273b6b870db6b94 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);
}
-buildUnnamed2190() {
+buildUnnamed597() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2190(core.List<core.String> o) {
+checkUnnamed597(core.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 = buildUnnamed2190();
+ o.exception = buildUnnamed597();
}
buildCounterAccessPolicy--;
return o;
@@ -80,7 +80,7 @@ checkAccessPolicy(api.AccessPolicy o) {
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed2190(o.exception);
+ checkUnnamed597(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -269,27 +269,27 @@ checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed2191() {
+buildUnnamed598() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2191(core.List<core.String> o) {
+checkUnnamed598(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2192() {
+buildUnnamed599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2192(core.List<core.String> o) {
+checkUnnamed599(core.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 = buildUnnamed2191();
- o.impressionUrl = buildUnnamed2192();
+ o.forecastingUrl = buildUnnamed598();
+ o.impressionUrl = buildUnnamed599();
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'));
- checkUnnamed2191(o.forecastingUrl);
- checkUnnamed2192(o.impressionUrl);
+ checkUnnamed598(o.forecastingUrl);
+ checkUnnamed599(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -420,14 +420,14 @@ checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) {
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed2193() {
+buildUnnamed600() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed2193(core.List<api.Activity> o) {
+checkUnnamed600(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 = buildUnnamed2193();
+ o.items = buildUnnamed600();
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'));
- checkUnnamed2193(o.items);
+ checkUnnamed600(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--;
}
-buildUnnamed2194() {
+buildUnnamed601() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed2194(core.List<api.Caption> o) {
+checkUnnamed601(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 = buildUnnamed2194();
+ o.items = buildUnnamed601();
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'));
- checkUnnamed2194(o.items);
+ checkUnnamed601(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--;
}
-buildUnnamed2195() {
+buildUnnamed602() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed2195(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed602(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 = buildUnnamed2195();
+ o.localizations = buildUnnamed602();
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'));
- checkUnnamed2195(o.localizations);
+ checkUnnamed602(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -738,14 +738,14 @@ checkChannelBannerResource(api.ChannelBannerResource o) {
buildCounterChannelBannerResource--;
}
-buildUnnamed2196() {
+buildUnnamed603() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed2196(core.List<api.PropertyValue> o) {
+checkUnnamed603(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 = buildUnnamed2196();
+ o.hints = buildUnnamed603();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -769,7 +769,7 @@ checkChannelBrandingSettings(api.ChannelBrandingSettings o) {
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed2196(o.hints);
+ checkUnnamed603(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -866,14 +866,14 @@ checkChannelConversionPing(api.ChannelConversionPing o) {
buildCounterChannelConversionPing--;
}
-buildUnnamed2197() {
+buildUnnamed604() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed2197(core.List<api.ChannelConversionPing> o) {
+checkUnnamed604(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 = buildUnnamed2197();
+ o.pings = buildUnnamed604();
}
buildCounterChannelConversionPings--;
return o;
@@ -893,7 +893,7 @@ buildChannelConversionPings() {
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed2197(o.pings);
+ checkUnnamed604(o.pings);
}
buildCounterChannelConversionPings--;
}
@@ -917,14 +917,14 @@ checkChannelId(api.ChannelId o) {
buildCounterChannelId--;
}
-buildUnnamed2198() {
+buildUnnamed605() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2198(core.List<api.Channel> o) {
+checkUnnamed605(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 = buildUnnamed2198();
+ o.items = buildUnnamed605();
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'));
- checkUnnamed2198(o.items);
+ checkUnnamed605(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--;
}
-buildUnnamed2199() {
+buildUnnamed606() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed2199(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed606(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 = buildUnnamed2199();
+ o.localizations = buildUnnamed606();
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'));
- checkUnnamed2199(o.localizations);
+ checkUnnamed606(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed2200() {
+buildUnnamed607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2200(core.List<core.String> o) {
+checkUnnamed607(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2201() {
+buildUnnamed608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2201(core.List<core.String> o) {
+checkUnnamed608(core.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 = buildUnnamed2200();
- o.playlists = buildUnnamed2201();
+ o.channels = buildUnnamed607();
+ o.playlists = buildUnnamed608();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1071,20 +1071,20 @@ buildChannelSectionContentDetails() {
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed2200(o.channels);
- checkUnnamed2201(o.playlists);
+ checkUnnamed607(o.channels);
+ checkUnnamed608(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed2202() {
+buildUnnamed609() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed2202(core.List<api.ChannelSection> o) {
+checkUnnamed609(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 = buildUnnamed2202();
+ o.items = buildUnnamed609();
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'));
- checkUnnamed2202(o.items);
+ checkUnnamed609(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--;
}
-buildUnnamed2203() {
+buildUnnamed610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2203(core.List<core.String> o) {
+checkUnnamed610(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2204() {
+buildUnnamed611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2204(core.List<core.String> o) {
+checkUnnamed611(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2205() {
+buildUnnamed612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2205(core.List<core.String> o) {
+checkUnnamed612(core.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 = buildUnnamed2203();
- o.languages = buildUnnamed2204();
- o.regions = buildUnnamed2205();
+ o.countries = buildUnnamed610();
+ o.languages = buildUnnamed611();
+ o.regions = buildUnnamed612();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1222,21 +1222,21 @@ buildChannelSectionTargeting() {
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed2203(o.countries);
- checkUnnamed2204(o.languages);
- checkUnnamed2205(o.regions);
+ checkUnnamed610(o.countries);
+ checkUnnamed611(o.languages);
+ checkUnnamed612(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed2206() {
+buildUnnamed613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2206(core.List<core.String> o) {
+checkUnnamed613(core.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 = buildUnnamed2206();
+ o.featuredChannelsUrls = buildUnnamed613();
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'));
- checkUnnamed2206(o.featuredChannelsUrls);
+ checkUnnamed613(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--;
}
-buildUnnamed2207() {
+buildUnnamed614() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2207(core.List<core.String> o) {
+checkUnnamed614(core.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 = buildUnnamed2207();
+ o.topicIds = buildUnnamed614();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1395,7 +1395,7 @@ buildChannelTopicDetails() {
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed2207(o.topicIds);
+ checkUnnamed614(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1425,14 +1425,14 @@ checkComment(api.Comment o) {
buildCounterComment--;
}
-buildUnnamed2208() {
+buildUnnamed615() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2208(core.List<api.Comment> o) {
+checkUnnamed615(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 = buildUnnamed2208();
+ o.items = buildUnnamed615();
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'));
- checkUnnamed2208(o.items);
+ checkUnnamed615(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--;
}
-buildUnnamed2209() {
+buildUnnamed616() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed2209(core.List<api.CommentThread> o) {
+checkUnnamed616(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 = buildUnnamed2209();
+ o.items = buildUnnamed616();
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'));
- checkUnnamed2209(o.items);
+ checkUnnamed616(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--;
}
-buildUnnamed2210() {
+buildUnnamed617() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2210(core.List<api.Comment> o) {
+checkUnnamed617(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 = buildUnnamed2210();
+ o.comments = buildUnnamed617();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1620,7 +1620,7 @@ buildCommentThreadReplies() {
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed2210(o.comments);
+ checkUnnamed617(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1654,14 +1654,14 @@ checkCommentThreadSnippet(api.CommentThreadSnippet o) {
buildCounterCommentThreadSnippet--;
}
-buildUnnamed2211() {
+buildUnnamed618() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2211(core.List<core.String> o) {
+checkUnnamed618(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1687,11 +1687,12 @@ buildContentRating() {
o.chvrsRating = "foo";
o.cicfRating = "foo";
o.cnaRating = "foo";
+ o.cncRating = "foo";
o.csaRating = "foo";
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed2211();
+ o.djctqRatingReasons = buildUnnamed618();
o.eefilmRating = "foo";
o.egfilmRating = "foo";
o.eirinRating = "foo";
@@ -1759,11 +1760,12 @@ checkContentRating(api.ContentRating o) {
unittest.expect(o.chvrsRating, unittest.equals('foo'));
unittest.expect(o.cicfRating, unittest.equals('foo'));
unittest.expect(o.cnaRating, unittest.equals('foo'));
+ unittest.expect(o.cncRating, unittest.equals('foo'));
unittest.expect(o.csaRating, unittest.equals('foo'));
unittest.expect(o.cscfRating, unittest.equals('foo'));
unittest.expect(o.czfilmRating, unittest.equals('foo'));
unittest.expect(o.djctqRating, unittest.equals('foo'));
- checkUnnamed2211(o.djctqRatingReasons);
+ checkUnnamed618(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 +1862,14 @@ checkGuideCategory(api.GuideCategory o) {
buildCounterGuideCategory--;
}
-buildUnnamed2212() {
+buildUnnamed619() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed2212(core.List<api.GuideCategory> o) {
+checkUnnamed619(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -1880,7 +1882,7 @@ buildGuideCategoryListResponse() {
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2212();
+ o.items = buildUnnamed619();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1897,7 +1899,7 @@ checkGuideCategoryListResponse(api.GuideCategoryListResponse o) {
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2212(o.items);
+ checkUnnamed619(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1954,14 +1956,14 @@ checkI18nLanguage(api.I18nLanguage o) {
buildCounterI18nLanguage--;
}
-buildUnnamed2213() {
+buildUnnamed620() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed2213(core.List<api.I18nLanguage> o) {
+checkUnnamed620(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -1974,7 +1976,7 @@ buildI18nLanguageListResponse() {
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2213();
+ o.items = buildUnnamed620();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1987,7 +1989,7 @@ checkI18nLanguageListResponse(api.I18nLanguageListResponse o) {
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2213(o.items);
+ checkUnnamed620(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2040,14 +2042,14 @@ checkI18nRegion(api.I18nRegion o) {
buildCounterI18nRegion--;
}
-buildUnnamed2214() {
+buildUnnamed621() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed2214(core.List<api.I18nRegion> o) {
+checkUnnamed621(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2060,7 +2062,7 @@ buildI18nRegionListResponse() {
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2214();
+ o.items = buildUnnamed621();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2073,7 +2075,7 @@ checkI18nRegionListResponse(api.I18nRegionListResponse o) {
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2214(o.items);
+ checkUnnamed621(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2233,14 +2235,14 @@ checkInvideoPosition(api.InvideoPosition o) {
buildCounterInvideoPosition--;
}
-buildUnnamed2215() {
+buildUnnamed622() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed2215(core.List<api.PromotedItem> o) {
+checkUnnamed622(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -2252,7 +2254,7 @@ buildInvideoPromotion() {
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed2215();
+ o.items = buildUnnamed622();
o.position = buildInvideoPosition();
o.useSmartTiming = true;
}
@@ -2264,7 +2266,7 @@ checkInvideoPromotion(api.InvideoPromotion o) {
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed2215(o.items);
+ checkUnnamed622(o.items);
checkInvideoPosition(o.position);
unittest.expect(o.useSmartTiming, unittest.isTrue);
}
@@ -2381,14 +2383,14 @@ checkLiveBroadcastContentDetails(api.LiveBroadcastContentDetails o) {
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed2216() {
+buildUnnamed623() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed2216(core.List<api.LiveBroadcast> o) {
+checkUnnamed623(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2401,7 +2403,7 @@ buildLiveBroadcastListResponse() {
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2216();
+ o.items = buildUnnamed623();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2418,7 +2420,7 @@ checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) {
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2216(o.items);
+ checkUnnamed623(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2535,14 +2537,14 @@ checkLiveBroadcastTopic(api.LiveBroadcastTopic o) {
buildCounterLiveBroadcastTopic--;
}
-buildUnnamed2217() {
+buildUnnamed624() {
var o = new core.List<api.LiveBroadcastTopic>();
o.add(buildLiveBroadcastTopic());
o.add(buildLiveBroadcastTopic());
return o;
}
-checkUnnamed2217(core.List<api.LiveBroadcastTopic> o) {
+checkUnnamed624(core.List<api.LiveBroadcastTopic> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcastTopic(o[0]);
checkLiveBroadcastTopic(o[1]);
@@ -2553,7 +2555,7 @@ buildLiveBroadcastTopicDetails() {
var o = new api.LiveBroadcastTopicDetails();
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- o.topics = buildUnnamed2217();
+ o.topics = buildUnnamed624();
}
buildCounterLiveBroadcastTopicDetails--;
return o;
@@ -2562,7 +2564,7 @@ buildLiveBroadcastTopicDetails() {
checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- checkUnnamed2217(o.topics);
+ checkUnnamed624(o.topics);
}
buildCounterLiveBroadcastTopicDetails--;
}
@@ -2665,14 +2667,14 @@ checkLiveStreamContentDetails(api.LiveStreamContentDetails o) {
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed2218() {
+buildUnnamed625() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed2218(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed625(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -2683,7 +2685,7 @@ buildLiveStreamHealthStatus() {
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed2218();
+ o.configurationIssues = buildUnnamed625();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -2694,21 +2696,21 @@ buildLiveStreamHealthStatus() {
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed2218(o.configurationIssues);
+ checkUnnamed625(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed2219() {
+buildUnnamed626() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed2219(core.List<api.LiveStream> o) {
+checkUnnamed626(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -2721,7 +2723,7 @@ buildLiveStreamListResponse() {
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2219();
+ o.items = buildUnnamed626();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2738,7 +2740,7 @@ checkLiveStreamListResponse(api.LiveStreamListResponse o) {
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2219(o.items);
+ checkUnnamed626(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2797,14 +2799,14 @@ checkLiveStreamStatus(api.LiveStreamStatus o) {
buildCounterLiveStreamStatus--;
}
-buildUnnamed2220() {
+buildUnnamed627() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed2220(core.List<api.LocalizedString> o) {
+checkUnnamed627(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -2817,7 +2819,7 @@ buildLocalizedProperty() {
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed2220();
+ o.localized = buildUnnamed627();
}
buildCounterLocalizedProperty--;
return o;
@@ -2828,7 +2830,7 @@ checkLocalizedProperty(api.LocalizedProperty o) {
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed2220(o.localized);
+ checkUnnamed627(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -2898,14 +2900,14 @@ checkPageInfo(api.PageInfo o) {
buildCounterPageInfo--;
}
-buildUnnamed2221() {
+buildUnnamed628() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed2221(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed628(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -2920,7 +2922,7 @@ buildPlaylist() {
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed2221();
+ o.localizations = buildUnnamed628();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -2936,7 +2938,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'));
- checkUnnamed2221(o.localizations);
+ checkUnnamed628(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3017,14 +3019,14 @@ checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) {
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed2222() {
+buildUnnamed629() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed2222(core.List<api.PlaylistItem> o) {
+checkUnnamed629(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3037,7 +3039,7 @@ buildPlaylistItemListResponse() {
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2222();
+ o.items = buildUnnamed629();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3054,7 +3056,7 @@ checkPlaylistItemListResponse(api.PlaylistItemListResponse o) {
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2222(o.items);
+ checkUnnamed629(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3119,14 +3121,14 @@ checkPlaylistItemStatus(api.PlaylistItemStatus o) {
buildCounterPlaylistItemStatus--;
}
-buildUnnamed2223() {
+buildUnnamed630() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed2223(core.List<api.Playlist> o) {
+checkUnnamed630(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3139,7 +3141,7 @@ buildPlaylistListResponse() {
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2223();
+ o.items = buildUnnamed630();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3156,7 +3158,7 @@ checkPlaylistListResponse(api.PlaylistListResponse o) {
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2223(o.items);
+ checkUnnamed630(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3207,14 +3209,14 @@ checkPlaylistPlayer(api.PlaylistPlayer o) {
buildCounterPlaylistPlayer--;
}
-buildUnnamed2224() {
+buildUnnamed631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2224(core.List<core.String> o) {
+checkUnnamed631(core.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 +3233,7 @@ buildPlaylistSnippet() {
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed2224();
+ o.tags = buildUnnamed631();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3248,7 +3250,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")));
- checkUnnamed2224(o.tags);
+ checkUnnamed631(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -3370,14 +3372,14 @@ checkResourceId(api.ResourceId o) {
buildCounterResourceId--;
}
-buildUnnamed2225() {
+buildUnnamed632() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed2225(core.List<api.SearchResult> o) {
+checkUnnamed632(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -3390,7 +3392,7 @@ buildSearchListResponse() {
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2225();
+ o.items = buildUnnamed632();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3407,7 +3409,7 @@ checkSearchListResponse(api.SearchListResponse o) {
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2225(o.items);
+ checkUnnamed632(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3526,14 +3528,14 @@ checkSubscriptionContentDetails(api.SubscriptionContentDetails o) {
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed2226() {
+buildUnnamed633() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed2226(core.List<api.Subscription> o) {
+checkUnnamed633(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -3546,7 +3548,7 @@ buildSubscriptionListResponse() {
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2226();
+ o.items = buildUnnamed633();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3563,7 +3565,7 @@ checkSubscriptionListResponse(api.SubscriptionListResponse o) {
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2226(o.items);
+ checkUnnamed633(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3680,14 +3682,14 @@ checkThumbnailDetails(api.ThumbnailDetails o) {
buildCounterThumbnailDetails--;
}
-buildUnnamed2227() {
+buildUnnamed634() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed2227(core.List<api.ThumbnailDetails> o) {
+checkUnnamed634(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -3700,7 +3702,7 @@ buildThumbnailSetResponse() {
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2227();
+ o.items = buildUnnamed634();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -3713,7 +3715,7 @@ checkThumbnailSetResponse(api.ThumbnailSetResponse o) {
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2227(o.items);
+ checkUnnamed634(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -3737,14 +3739,14 @@ checkTokenPagination(api.TokenPagination o) {
buildCounterTokenPagination--;
}
-buildUnnamed2228() {
+buildUnnamed635() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed2228(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed635(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -3763,7 +3765,7 @@ buildVideo() {
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed2228();
+ o.localizations = buildUnnamed635();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -3790,7 +3792,7 @@ checkVideo(api.Video o) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed2228(o.localizations);
+ checkUnnamed635(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -3857,14 +3859,14 @@ checkVideoAbuseReportReason(api.VideoAbuseReportReason o) {
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed2229() {
+buildUnnamed636() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed2229(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed636(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -3877,7 +3879,7 @@ buildVideoAbuseReportReasonListResponse() {
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2229();
+ o.items = buildUnnamed636();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -3890,21 +3892,21 @@ checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2229(o.items);
+ checkUnnamed636(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed2230() {
+buildUnnamed637() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed2230(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed637(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -3916,7 +3918,7 @@ buildVideoAbuseReportReasonSnippet() {
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed2230();
+ o.secondaryReasons = buildUnnamed637();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -3926,7 +3928,7 @@ checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) {
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed2230(o.secondaryReasons);
+ checkUnnamed637(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -4000,14 +4002,14 @@ checkVideoCategory(api.VideoCategory o) {
buildCounterVideoCategory--;
}
-buildUnnamed2231() {
+buildUnnamed638() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed2231(core.List<api.VideoCategory> o) {
+checkUnnamed638(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -4020,7 +4022,7 @@ buildVideoCategoryListResponse() {
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2231();
+ o.items = buildUnnamed638();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4037,7 +4039,7 @@ checkVideoCategoryListResponse(api.VideoCategoryListResponse o) {
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2231(o.items);
+ checkUnnamed638(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4104,27 +4106,27 @@ checkVideoContentDetails(api.VideoContentDetails o) {
buildCounterVideoContentDetails--;
}
-buildUnnamed2232() {
+buildUnnamed639() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2232(core.List<core.String> o) {
+checkUnnamed639(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2233() {
+buildUnnamed640() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2233(core.List<core.String> o) {
+checkUnnamed640(core.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 +4137,8 @@ buildVideoContentDetailsRegionRestriction() {
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed2232();
- o.blocked = buildUnnamed2233();
+ o.allowed = buildUnnamed639();
+ o.blocked = buildUnnamed640();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -4145,8 +4147,8 @@ buildVideoContentDetailsRegionRestriction() {
checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed2232(o.allowed);
- checkUnnamed2233(o.blocked);
+ checkUnnamed639(o.allowed);
+ checkUnnamed640(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
@@ -4172,14 +4174,14 @@ checkVideoConversionPing(api.VideoConversionPing o) {
buildCounterVideoConversionPing--;
}
-buildUnnamed2234() {
+buildUnnamed641() {
var o = new core.List<api.VideoConversionPing>();
o.add(buildVideoConversionPing());
o.add(buildVideoConversionPing());
return o;
}
-checkUnnamed2234(core.List<api.VideoConversionPing> o) {
+checkUnnamed641(core.List<api.VideoConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoConversionPing(o[0]);
checkVideoConversionPing(o[1]);
@@ -4190,7 +4192,7 @@ buildVideoConversionPings() {
var o = new api.VideoConversionPings();
buildCounterVideoConversionPings++;
if (buildCounterVideoConversionPings < 3) {
- o.pings = buildUnnamed2234();
+ o.pings = buildUnnamed641();
}
buildCounterVideoConversionPings--;
return o;
@@ -4199,32 +4201,32 @@ buildVideoConversionPings() {
checkVideoConversionPings(api.VideoConversionPings o) {
buildCounterVideoConversionPings++;
if (buildCounterVideoConversionPings < 3) {
- checkUnnamed2234(o.pings);
+ checkUnnamed641(o.pings);
}
buildCounterVideoConversionPings--;
}
-buildUnnamed2235() {
+buildUnnamed642() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed2235(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed642(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed2236() {
+buildUnnamed643() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed2236(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed643(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -4235,7 +4237,7 @@ buildVideoFileDetails() {
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed2235();
+ o.audioStreams = buildUnnamed642();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -4244,7 +4246,7 @@ buildVideoFileDetails() {
o.fileSize = "foo";
o.fileType = "foo";
o.recordingLocation = buildGeoPoint();
- o.videoStreams = buildUnnamed2236();
+ o.videoStreams = buildUnnamed643();
}
buildCounterVideoFileDetails--;
return o;
@@ -4253,7 +4255,7 @@ buildVideoFileDetails() {
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed2235(o.audioStreams);
+ checkUnnamed642(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 +4264,7 @@ checkVideoFileDetails(api.VideoFileDetails o) {
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
checkGeoPoint(o.recordingLocation);
- checkUnnamed2236(o.videoStreams);
+ checkUnnamed643(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -4325,14 +4327,14 @@ checkVideoFileDetailsVideoStream(api.VideoFileDetailsVideoStream o) {
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed2237() {
+buildUnnamed644() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed2237(core.List<api.VideoRating> o) {
+checkUnnamed644(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -4345,7 +4347,7 @@ buildVideoGetRatingResponse() {
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2237();
+ o.items = buildUnnamed644();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4358,21 +4360,21 @@ checkVideoGetRatingResponse(api.VideoGetRatingResponse o) {
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2237(o.items);
+ checkUnnamed644(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed2238() {
+buildUnnamed645() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed2238(core.List<api.Video> o) {
+checkUnnamed645(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -4385,7 +4387,7 @@ buildVideoListResponse() {
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed2238();
+ o.items = buildUnnamed645();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4402,7 +4404,7 @@ checkVideoListResponse(api.VideoListResponse o) {
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed2238(o.items);
+ checkUnnamed645(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4555,14 +4557,14 @@ checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed2239() {
+buildUnnamed646() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2239(core.List<core.String> o) {
+checkUnnamed646(core.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 +4575,7 @@ buildVideoProjectDetails() {
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed2239();
+ o.tags = buildUnnamed646();
}
buildCounterVideoProjectDetails--;
return o;
@@ -4582,7 +4584,7 @@ buildVideoProjectDetails() {
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed2239(o.tags);
+ checkUnnamed646(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -4631,14 +4633,14 @@ checkVideoRecordingDetails(api.VideoRecordingDetails o) {
buildCounterVideoRecordingDetails--;
}
-buildUnnamed2240() {
+buildUnnamed647() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2240(core.List<core.String> o) {
+checkUnnamed647(core.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 +4660,7 @@ buildVideoSnippet() {
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed2240();
+ o.tags = buildUnnamed647();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -4678,7 +4680,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")));
- checkUnnamed2240(o.tags);
+ checkUnnamed647(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -4745,66 +4747,66 @@ checkVideoStatus(api.VideoStatus o) {
buildCounterVideoStatus--;
}
-buildUnnamed2241() {
+buildUnnamed648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2241(core.List<core.String> o) {
+checkUnnamed648(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2242() {
+buildUnnamed649() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2242(core.List<core.String> o) {
+checkUnnamed649(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2243() {
+buildUnnamed650() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2243(core.List<core.String> o) {
+checkUnnamed650(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2244() {
+buildUnnamed651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2244(core.List<core.String> o) {
+checkUnnamed651(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2245() {
+buildUnnamed652() {
var o = new core.List<api.VideoSuggestionsTagSuggestion>();
o.add(buildVideoSuggestionsTagSuggestion());
o.add(buildVideoSuggestionsTagSuggestion());
return o;
}
-checkUnnamed2245(core.List<api.VideoSuggestionsTagSuggestion> o) {
+checkUnnamed652(core.List<api.VideoSuggestionsTagSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoSuggestionsTagSuggestion(o[0]);
checkVideoSuggestionsTagSuggestion(o[1]);
@@ -4815,11 +4817,11 @@ buildVideoSuggestions() {
var o = new api.VideoSuggestions();
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- o.editorSuggestions = buildUnnamed2241();
- o.processingErrors = buildUnnamed2242();
- o.processingHints = buildUnnamed2243();
- o.processingWarnings = buildUnnamed2244();
- o.tagSuggestions = buildUnnamed2245();
+ o.editorSuggestions = buildUnnamed648();
+ o.processingErrors = buildUnnamed649();
+ o.processingHints = buildUnnamed650();
+ o.processingWarnings = buildUnnamed651();
+ o.tagSuggestions = buildUnnamed652();
}
buildCounterVideoSuggestions--;
return o;
@@ -4828,23 +4830,23 @@ buildVideoSuggestions() {
checkVideoSuggestions(api.VideoSuggestions o) {
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- checkUnnamed2241(o.editorSuggestions);
- checkUnnamed2242(o.processingErrors);
- checkUnnamed2243(o.processingHints);
- checkUnnamed2244(o.processingWarnings);
- checkUnnamed2245(o.tagSuggestions);
+ checkUnnamed648(o.editorSuggestions);
+ checkUnnamed649(o.processingErrors);
+ checkUnnamed650(o.processingHints);
+ checkUnnamed651(o.processingWarnings);
+ checkUnnamed652(o.tagSuggestions);
}
buildCounterVideoSuggestions--;
}
-buildUnnamed2246() {
+buildUnnamed653() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2246(core.List<core.String> o) {
+checkUnnamed653(core.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 +4857,7 @@ buildVideoSuggestionsTagSuggestion() {
var o = new api.VideoSuggestionsTagSuggestion();
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed2246();
+ o.categoryRestricts = buildUnnamed653();
o.tag = "foo";
}
buildCounterVideoSuggestionsTagSuggestion--;
@@ -4865,33 +4867,33 @@ buildVideoSuggestionsTagSuggestion() {
checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed2246(o.categoryRestricts);
+ checkUnnamed653(o.categoryRestricts);
unittest.expect(o.tag, unittest.equals('foo'));
}
buildCounterVideoSuggestionsTagSuggestion--;
}
-buildUnnamed2247() {
+buildUnnamed654() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2247(core.List<core.String> o) {
+checkUnnamed654(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2248() {
+buildUnnamed655() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2248(core.List<core.String> o) {
+checkUnnamed655(core.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 +4904,8 @@ buildVideoTopicDetails() {
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed2247();
- o.topicIds = buildUnnamed2248();
+ o.relevantTopicIds = buildUnnamed654();
+ o.topicIds = buildUnnamed655();
}
buildCounterVideoTopicDetails--;
return o;
@@ -4912,8 +4914,8 @@ buildVideoTopicDetails() {
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed2247(o.relevantTopicIds);
- checkUnnamed2248(o.topicIds);
+ checkUnnamed654(o.relevantTopicIds);
+ checkUnnamed655(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
@@ -6426,7 +6428,6 @@ main() {
var mock = new HttpServerMock();
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_id = "foo";
- var arg_debugProjectIdOverride = "foo";
var arg_onBehalfOf = "foo";
var arg_onBehalfOfContentOwner = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -6458,7 +6459,6 @@ main() {
}
}
unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
- unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equals(arg_debugProjectIdOverride));
unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
@@ -6469,7 +6469,7 @@ main() {
var resp = "";
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_id, debugProjectIdOverride: arg_debugProjectIdOverride, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
+ res.delete(arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
});
unittest.test("method--download", () {
@@ -6479,7 +6479,6 @@ main() {
var mock = new HttpServerMock();
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_id = "foo";
- var arg_debugProjectIdOverride = "foo";
var arg_onBehalfOf = "foo";
var arg_onBehalfOfContentOwner = "foo";
var arg_tfmt = "foo";
@@ -6515,7 +6514,6 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equals(arg_debugProjectIdOverride));
unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["tfmt"].first, unittest.equals(arg_tfmt));
@@ -6528,7 +6526,7 @@ main() {
var resp = "";
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.download(arg_id, debugProjectIdOverride: arg_debugProjectIdOverride, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, tfmt: arg_tfmt, tlang: arg_tlang).then(unittest.expectAsync((_) {}));
+ res.download(arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, tfmt: arg_tfmt, tlang: arg_tlang).then(unittest.expectAsync((_) {}));
});
unittest.test("method--insert", () {
@@ -6539,7 +6537,6 @@ main() {
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_request = buildCaption();
var arg_part = "foo";
- var arg_debugProjectIdOverride = "foo";
var arg_onBehalfOf = "foo";
var arg_onBehalfOfContentOwner = "foo";
var arg_sync = true;
@@ -6575,7 +6572,6 @@ main() {
}
}
unittest.expect(queryMap["part"].first, unittest.equals(arg_part));
- unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equals(arg_debugProjectIdOverride));
unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync"));
@@ -6587,7 +6583,7 @@ main() {
var resp = convert.JSON.encode(buildCaption());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_part, debugProjectIdOverride: arg_debugProjectIdOverride, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, sync: arg_sync).then(unittest.expectAsync(((api.Caption response) {
+ res.insert(arg_request, arg_part, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, sync: arg_sync).then(unittest.expectAsync(((api.Caption response) {
checkCaption(response);
})));
});
@@ -6598,7 +6594,6 @@ main() {
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_part = "foo";
var arg_videoId = "foo";
- var arg_debugProjectIdOverride = "foo";
var arg_id = "foo";
var arg_onBehalfOf = "foo";
var arg_onBehalfOfContentOwner = "foo";
@@ -6632,7 +6627,6 @@ main() {
}
unittest.expect(queryMap["part"].first, unittest.equals(arg_part));
unittest.expect(queryMap["videoId"].first, unittest.equals(arg_videoId));
- unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equals(arg_debugProjectIdOverride));
unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
@@ -6644,7 +6638,7 @@ main() {
var resp = convert.JSON.encode(buildCaptionListResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_part, arg_videoId, debugProjectIdOverride: arg_debugProjectIdOverride, id: arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.CaptionListResponse response) {
+ res.list(arg_part, arg_videoId, id: arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.CaptionListResponse response) {
checkCaptionListResponse(response);
})));
});
@@ -6657,7 +6651,6 @@ main() {
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_request = buildCaption();
var arg_part = "foo";
- var arg_debugProjectIdOverride = "foo";
var arg_onBehalfOf = "foo";
var arg_onBehalfOfContentOwner = "foo";
var arg_sync = true;
@@ -6693,7 +6686,6 @@ main() {
}
}
unittest.expect(queryMap["part"].first, unittest.equals(arg_part));
- unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equals(arg_debugProjectIdOverride));
unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync"));
@@ -6705,7 +6697,7 @@ main() {
var resp = convert.JSON.encode(buildCaption());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_part, debugProjectIdOverride: arg_debugProjectIdOverride, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, sync: arg_sync).then(unittest.expectAsync(((api.Caption response) {
+ res.update(arg_request, arg_part, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, sync: arg_sync).then(unittest.expectAsync(((api.Caption response) {
checkCaption(response);
})));
});
@@ -9463,7 +9455,6 @@ main() {
api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
var arg_part = "foo";
var arg_chart = "foo";
- var arg_debugProjectIdOverride = "foo";
var arg_hl = "foo";
var arg_id = "foo";
var arg_locale = "foo";
@@ -9503,7 +9494,6 @@ main() {
}
unittest.expect(queryMap["part"].first, unittest.equals(arg_part));
unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart));
- unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equals(arg_debugProjectIdOverride));
unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
@@ -9521,7 +9511,7 @@ main() {
var resp = convert.JSON.encode(buildVideoListResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_part, chart: arg_chart, debugProjectIdOverride: arg_debugProjectIdOverride, hl: arg_hl, id: arg_id, locale: arg_locale, maxResults: arg_maxResults, myRating: arg_myRating, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, regionCode: arg_regionCode, videoCategoryId: arg_videoCategoryId).then(unittest.expectAsync(((api.VideoListResponse response) {
+ res.list(arg_part, chart: arg_chart, hl: arg_hl, id: arg_id, locale: arg_locale, maxResults: arg_maxResults, myRating: arg_myRating, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, regionCode: arg_regionCode, videoCategoryId: arg_videoCategoryId).then(unittest.expectAsync(((api.VideoListResponse response) {
checkVideoListResponse(response);
})));
});
« no previous file with comments | « generated/googleapis/test/webmasters/v3_test.dart ('k') | generated/googleapis/test/youtubeanalytics/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698