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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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 f9dadd25435ba55f1144312b7f778a7fc67243d9..b45af9c5291b2a0cb35918da67621706e0852ec4 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);
}
-buildUnnamed617() {
+buildUnnamed876() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed617(core.List<core.String> o) {
+checkUnnamed876(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@ buildAccessPolicy() {
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
o.allowed = true;
- o.exception = buildUnnamed617();
+ o.exception = buildUnnamed876();
}
buildCounterAccessPolicy--;
return o;
@@ -80,7 +80,7 @@ checkAccessPolicy(api.AccessPolicy o) {
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed617(o.exception);
+ checkUnnamed876(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -269,27 +269,27 @@ checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed618() {
+buildUnnamed877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed618(core.List<core.String> o) {
+checkUnnamed877(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed619() {
+buildUnnamed878() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed619(core.List<core.String> o) {
+checkUnnamed878(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -307,8 +307,8 @@ buildActivityContentDetailsPromotedItem() {
o.customCtaButtonText = "foo";
o.descriptionText = "foo";
o.destinationUrl = "foo";
- o.forecastingUrl = buildUnnamed618();
- o.impressionUrl = buildUnnamed619();
+ o.forecastingUrl = buildUnnamed877();
+ o.impressionUrl = buildUnnamed878();
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'));
- checkUnnamed618(o.forecastingUrl);
- checkUnnamed619(o.impressionUrl);
+ checkUnnamed877(o.forecastingUrl);
+ checkUnnamed878(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -420,14 +420,14 @@ checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) {
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed620() {
+buildUnnamed879() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed620(core.List<api.Activity> o) {
+checkUnnamed879(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 = buildUnnamed620();
+ o.items = buildUnnamed879();
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'));
- checkUnnamed620(o.items);
+ checkUnnamed879(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--;
}
-buildUnnamed621() {
+buildUnnamed880() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed621(core.List<api.Caption> o) {
+checkUnnamed880(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 = buildUnnamed621();
+ o.items = buildUnnamed880();
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'));
- checkUnnamed621(o.items);
+ checkUnnamed880(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--;
}
-buildUnnamed622() {
+buildUnnamed881() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed622(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed881(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 = buildUnnamed622();
+ o.localizations = buildUnnamed881();
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'));
- checkUnnamed622(o.localizations);
+ checkUnnamed881(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -738,14 +738,14 @@ checkChannelBannerResource(api.ChannelBannerResource o) {
buildCounterChannelBannerResource--;
}
-buildUnnamed623() {
+buildUnnamed882() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed623(core.List<api.PropertyValue> o) {
+checkUnnamed882(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 = buildUnnamed623();
+ o.hints = buildUnnamed882();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -769,7 +769,7 @@ checkChannelBrandingSettings(api.ChannelBrandingSettings o) {
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed623(o.hints);
+ checkUnnamed882(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -866,14 +866,14 @@ checkChannelConversionPing(api.ChannelConversionPing o) {
buildCounterChannelConversionPing--;
}
-buildUnnamed624() {
+buildUnnamed883() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed624(core.List<api.ChannelConversionPing> o) {
+checkUnnamed883(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 = buildUnnamed624();
+ o.pings = buildUnnamed883();
}
buildCounterChannelConversionPings--;
return o;
@@ -893,38 +893,19 @@ buildChannelConversionPings() {
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed624(o.pings);
+ checkUnnamed883(o.pings);
}
buildCounterChannelConversionPings--;
}
-core.int buildCounterChannelId = 0;
-buildChannelId() {
- var o = new api.ChannelId();
- buildCounterChannelId++;
- if (buildCounterChannelId < 3) {
- o.value = "foo";
- }
- buildCounterChannelId--;
- return o;
-}
-
-checkChannelId(api.ChannelId o) {
- buildCounterChannelId++;
- if (buildCounterChannelId < 3) {
- unittest.expect(o.value, unittest.equals('foo'));
- }
- buildCounterChannelId--;
-}
-
-buildUnnamed625() {
+buildUnnamed884() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed625(core.List<api.Channel> o) {
+checkUnnamed884(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -937,7 +918,7 @@ buildChannelListResponse() {
if (buildCounterChannelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed625();
+ o.items = buildUnnamed884();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -954,7 +935,7 @@ checkChannelListResponse(api.ChannelListResponse o) {
if (buildCounterChannelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed625(o.items);
+ checkUnnamed884(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1011,14 +992,14 @@ checkChannelProfileDetails(api.ChannelProfileDetails o) {
buildCounterChannelProfileDetails--;
}
-buildUnnamed626() {
+buildUnnamed885() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed626(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed885(core.Map<core.String, api.ChannelSectionLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSectionLocalization(o["x"]);
checkChannelSectionLocalization(o["y"]);
@@ -1033,7 +1014,7 @@ buildChannelSection() {
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed626();
+ o.localizations = buildUnnamed885();
o.snippet = buildChannelSectionSnippet();
o.targeting = buildChannelSectionTargeting();
}
@@ -1048,34 +1029,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'));
- checkUnnamed626(o.localizations);
+ checkUnnamed885(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed627() {
+buildUnnamed886() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed627(core.List<core.String> o) {
+checkUnnamed886(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed628() {
+buildUnnamed887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed628(core.List<core.String> o) {
+checkUnnamed887(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1086,8 +1067,8 @@ buildChannelSectionContentDetails() {
var o = new api.ChannelSectionContentDetails();
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- o.channels = buildUnnamed627();
- o.playlists = buildUnnamed628();
+ o.channels = buildUnnamed886();
+ o.playlists = buildUnnamed887();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1096,20 +1077,20 @@ buildChannelSectionContentDetails() {
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed627(o.channels);
- checkUnnamed628(o.playlists);
+ checkUnnamed886(o.channels);
+ checkUnnamed887(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed629() {
+buildUnnamed888() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed629(core.List<api.ChannelSection> o) {
+checkUnnamed888(core.List<api.ChannelSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSection(o[0]);
checkChannelSection(o[1]);
@@ -1122,7 +1103,7 @@ buildChannelSectionListResponse() {
if (buildCounterChannelSectionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed629();
+ o.items = buildUnnamed888();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1135,7 +1116,7 @@ checkChannelSectionListResponse(api.ChannelSectionListResponse o) {
if (buildCounterChannelSectionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed629(o.items);
+ checkUnnamed888(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1192,40 +1173,40 @@ checkChannelSectionSnippet(api.ChannelSectionSnippet o) {
buildCounterChannelSectionSnippet--;
}
-buildUnnamed630() {
+buildUnnamed889() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed630(core.List<core.String> o) {
+checkUnnamed889(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed631() {
+buildUnnamed890() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed631(core.List<core.String> o) {
+checkUnnamed890(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed632() {
+buildUnnamed891() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed632(core.List<core.String> o) {
+checkUnnamed891(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1236,9 +1217,9 @@ buildChannelSectionTargeting() {
var o = new api.ChannelSectionTargeting();
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- o.countries = buildUnnamed630();
- o.languages = buildUnnamed631();
- o.regions = buildUnnamed632();
+ o.countries = buildUnnamed889();
+ o.languages = buildUnnamed890();
+ o.regions = buildUnnamed891();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1247,21 +1228,21 @@ buildChannelSectionTargeting() {
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed630(o.countries);
- checkUnnamed631(o.languages);
- checkUnnamed632(o.regions);
+ checkUnnamed889(o.countries);
+ checkUnnamed890(o.languages);
+ checkUnnamed891(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed633() {
+buildUnnamed892() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed633(core.List<core.String> o) {
+checkUnnamed892(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1277,7 +1258,7 @@ buildChannelSettings() {
o.defaultTab = "foo";
o.description = "foo";
o.featuredChannelsTitle = "foo";
- o.featuredChannelsUrls = buildUnnamed633();
+ o.featuredChannelsUrls = buildUnnamed892();
o.keywords = "foo";
o.moderateComments = true;
o.profileColor = "foo";
@@ -1299,7 +1280,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'));
- checkUnnamed633(o.featuredChannelsUrls);
+ checkUnnamed892(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1318,6 +1299,7 @@ buildChannelSnippet() {
buildCounterChannelSnippet++;
if (buildCounterChannelSnippet < 3) {
o.country = "foo";
+ o.customUrl = "foo";
o.defaultLanguage = "foo";
o.description = "foo";
o.localized = buildChannelLocalization();
@@ -1333,6 +1315,7 @@ checkChannelSnippet(api.ChannelSnippet o) {
buildCounterChannelSnippet++;
if (buildCounterChannelSnippet < 3) {
unittest.expect(o.country, unittest.equals('foo'));
+ unittest.expect(o.customUrl, unittest.equals('foo'));
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkChannelLocalization(o.localized);
@@ -1393,14 +1376,14 @@ checkChannelStatus(api.ChannelStatus o) {
buildCounterChannelStatus--;
}
-buildUnnamed634() {
+buildUnnamed893() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed634(core.List<core.String> o) {
+checkUnnamed893(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1411,7 +1394,7 @@ buildChannelTopicDetails() {
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicIds = buildUnnamed634();
+ o.topicIds = buildUnnamed893();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1420,7 +1403,7 @@ buildChannelTopicDetails() {
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed634(o.topicIds);
+ checkUnnamed893(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1450,14 +1433,14 @@ checkComment(api.Comment o) {
buildCounterComment--;
}
-buildUnnamed635() {
+buildUnnamed894() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed635(core.List<api.Comment> o) {
+checkUnnamed894(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1470,7 +1453,7 @@ buildCommentListResponse() {
if (buildCounterCommentListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed635();
+ o.items = buildUnnamed894();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1486,7 +1469,7 @@ checkCommentListResponse(api.CommentListResponse o) {
if (buildCounterCommentListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed635(o.items);
+ checkUnnamed894(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1501,7 +1484,7 @@ buildCommentSnippet() {
var o = new api.CommentSnippet();
buildCounterCommentSnippet++;
if (buildCounterCommentSnippet < 3) {
- o.authorChannelId = buildChannelId();
+ o.authorChannelId = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.authorChannelUrl = "foo";
o.authorDisplayName = "foo";
o.authorGoogleplusProfileUrl = "foo";
@@ -1525,7 +1508,7 @@ buildCommentSnippet() {
checkCommentSnippet(api.CommentSnippet o) {
buildCounterCommentSnippet++;
if (buildCounterCommentSnippet < 3) {
- checkChannelId(o.authorChannelId);
+ var casted1 = (o.authorChannelId) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
unittest.expect(o.authorChannelUrl, unittest.equals('foo'));
unittest.expect(o.authorDisplayName, unittest.equals('foo'));
unittest.expect(o.authorGoogleplusProfileUrl, unittest.equals('foo'));
@@ -1572,14 +1555,14 @@ checkCommentThread(api.CommentThread o) {
buildCounterCommentThread--;
}
-buildUnnamed636() {
+buildUnnamed895() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed636(core.List<api.CommentThread> o) {
+checkUnnamed895(core.List<api.CommentThread> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentThread(o[0]);
checkCommentThread(o[1]);
@@ -1592,7 +1575,7 @@ buildCommentThreadListResponse() {
if (buildCounterCommentThreadListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed636();
+ o.items = buildUnnamed895();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1608,7 +1591,7 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
if (buildCounterCommentThreadListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed636(o.items);
+ checkUnnamed895(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1618,14 +1601,14 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
buildCounterCommentThreadListResponse--;
}
-buildUnnamed637() {
+buildUnnamed896() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed637(core.List<api.Comment> o) {
+checkUnnamed896(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1636,7 +1619,7 @@ buildCommentThreadReplies() {
var o = new api.CommentThreadReplies();
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- o.comments = buildUnnamed637();
+ o.comments = buildUnnamed896();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1645,7 +1628,7 @@ buildCommentThreadReplies() {
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed637(o.comments);
+ checkUnnamed896(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1679,14 +1662,14 @@ checkCommentThreadSnippet(api.CommentThreadSnippet o) {
buildCounterCommentThreadSnippet--;
}
-buildUnnamed638() {
+buildUnnamed897() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed638(core.List<core.String> o) {
+checkUnnamed897(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1717,7 +1700,7 @@ buildContentRating() {
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed638();
+ o.djctqRatingReasons = buildUnnamed897();
o.ecbmctRating = "foo";
o.eefilmRating = "foo";
o.egfilmRating = "foo";
@@ -1791,7 +1774,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'));
- checkUnnamed638(o.djctqRatingReasons);
+ checkUnnamed897(o.djctqRatingReasons);
unittest.expect(o.ecbmctRating, unittest.equals('foo'));
unittest.expect(o.eefilmRating, unittest.equals('foo'));
unittest.expect(o.egfilmRating, unittest.equals('foo'));
@@ -1866,14 +1849,14 @@ checkFanFundingEvent(api.FanFundingEvent o) {
buildCounterFanFundingEvent--;
}
-buildUnnamed639() {
+buildUnnamed898() {
var o = new core.List<api.FanFundingEvent>();
o.add(buildFanFundingEvent());
o.add(buildFanFundingEvent());
return o;
}
-checkUnnamed639(core.List<api.FanFundingEvent> o) {
+checkUnnamed898(core.List<api.FanFundingEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkFanFundingEvent(o[0]);
checkFanFundingEvent(o[1]);
@@ -1886,7 +1869,7 @@ buildFanFundingEventListResponse() {
if (buildCounterFanFundingEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed639();
+ o.items = buildUnnamed898();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1902,7 +1885,7 @@ checkFanFundingEventListResponse(api.FanFundingEventListResponse o) {
if (buildCounterFanFundingEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed639(o.items);
+ checkUnnamed898(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1991,14 +1974,14 @@ checkGuideCategory(api.GuideCategory o) {
buildCounterGuideCategory--;
}
-buildUnnamed640() {
+buildUnnamed899() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed640(core.List<api.GuideCategory> o) {
+checkUnnamed899(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -2011,7 +1994,7 @@ buildGuideCategoryListResponse() {
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed640();
+ o.items = buildUnnamed899();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2028,7 +2011,7 @@ checkGuideCategoryListResponse(api.GuideCategoryListResponse o) {
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed640(o.items);
+ checkUnnamed899(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2085,14 +2068,14 @@ checkI18nLanguage(api.I18nLanguage o) {
buildCounterI18nLanguage--;
}
-buildUnnamed641() {
+buildUnnamed900() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed641(core.List<api.I18nLanguage> o) {
+checkUnnamed900(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -2105,7 +2088,7 @@ buildI18nLanguageListResponse() {
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed641();
+ o.items = buildUnnamed900();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2118,7 +2101,7 @@ checkI18nLanguageListResponse(api.I18nLanguageListResponse o) {
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed641(o.items);
+ checkUnnamed900(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2171,14 +2154,14 @@ checkI18nRegion(api.I18nRegion o) {
buildCounterI18nRegion--;
}
-buildUnnamed642() {
+buildUnnamed901() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed642(core.List<api.I18nRegion> o) {
+checkUnnamed901(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2191,7 +2174,7 @@ buildI18nRegionListResponse() {
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed642();
+ o.items = buildUnnamed901();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2204,7 +2187,7 @@ checkI18nRegionListResponse(api.I18nRegionListResponse o) {
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed642(o.items);
+ checkUnnamed901(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2364,14 +2347,14 @@ checkInvideoPosition(api.InvideoPosition o) {
buildCounterInvideoPosition--;
}
-buildUnnamed643() {
+buildUnnamed902() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed643(core.List<api.PromotedItem> o) {
+checkUnnamed902(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -2383,7 +2366,7 @@ buildInvideoPromotion() {
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed643();
+ o.items = buildUnnamed902();
o.position = buildInvideoPosition();
o.useSmartTiming = true;
}
@@ -2395,7 +2378,7 @@ checkInvideoPromotion(api.InvideoPromotion o) {
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed643(o.items);
+ checkUnnamed902(o.items);
checkInvideoPosition(o.position);
unittest.expect(o.useSmartTiming, unittest.isTrue);
}
@@ -2514,14 +2497,14 @@ checkLiveBroadcastContentDetails(api.LiveBroadcastContentDetails o) {
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed644() {
+buildUnnamed903() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed644(core.List<api.LiveBroadcast> o) {
+checkUnnamed903(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2534,7 +2517,7 @@ buildLiveBroadcastListResponse() {
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed644();
+ o.items = buildUnnamed903();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2551,7 +2534,7 @@ checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) {
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed644(o.items);
+ checkUnnamed903(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2670,14 +2653,14 @@ checkLiveBroadcastTopic(api.LiveBroadcastTopic o) {
buildCounterLiveBroadcastTopic--;
}
-buildUnnamed645() {
+buildUnnamed904() {
var o = new core.List<api.LiveBroadcastTopic>();
o.add(buildLiveBroadcastTopic());
o.add(buildLiveBroadcastTopic());
return o;
}
-checkUnnamed645(core.List<api.LiveBroadcastTopic> o) {
+checkUnnamed904(core.List<api.LiveBroadcastTopic> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcastTopic(o[0]);
checkLiveBroadcastTopic(o[1]);
@@ -2688,7 +2671,7 @@ buildLiveBroadcastTopicDetails() {
var o = new api.LiveBroadcastTopicDetails();
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- o.topics = buildUnnamed645();
+ o.topics = buildUnnamed904();
}
buildCounterLiveBroadcastTopicDetails--;
return o;
@@ -2697,7 +2680,7 @@ buildLiveBroadcastTopicDetails() {
checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- checkUnnamed645(o.topics);
+ checkUnnamed904(o.topics);
}
buildCounterLiveBroadcastTopicDetails--;
}
@@ -2858,14 +2841,14 @@ checkLiveChatMessageAuthorDetails(api.LiveChatMessageAuthorDetails o) {
buildCounterLiveChatMessageAuthorDetails--;
}
-buildUnnamed646() {
+buildUnnamed905() {
var o = new core.List<api.LiveChatMessage>();
o.add(buildLiveChatMessage());
o.add(buildLiveChatMessage());
return o;
}
-checkUnnamed646(core.List<api.LiveChatMessage> o) {
+checkUnnamed905(core.List<api.LiveChatMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatMessage(o[0]);
checkLiveChatMessage(o[1]);
@@ -2878,7 +2861,7 @@ buildLiveChatMessageListResponse() {
if (buildCounterLiveChatMessageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed646();
+ o.items = buildUnnamed905();
o.kind = "foo";
o.nextPageToken = "foo";
o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2896,7 +2879,7 @@ checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) {
if (buildCounterLiveChatMessageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed646(o.items);
+ checkUnnamed905(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2966,14 +2949,14 @@ checkLiveChatModerator(api.LiveChatModerator o) {
buildCounterLiveChatModerator--;
}
-buildUnnamed647() {
+buildUnnamed906() {
var o = new core.List<api.LiveChatModerator>();
o.add(buildLiveChatModerator());
o.add(buildLiveChatModerator());
return o;
}
-checkUnnamed647(core.List<api.LiveChatModerator> o) {
+checkUnnamed906(core.List<api.LiveChatModerator> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatModerator(o[0]);
checkLiveChatModerator(o[1]);
@@ -2986,7 +2969,7 @@ buildLiveChatModeratorListResponse() {
if (buildCounterLiveChatModeratorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed647();
+ o.items = buildUnnamed906();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3003,7 +2986,7 @@ checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) {
if (buildCounterLiveChatModeratorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed647(o.items);
+ checkUnnamed906(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3131,14 +3114,14 @@ checkLiveStreamContentDetails(api.LiveStreamContentDetails o) {
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed648() {
+buildUnnamed907() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed648(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed907(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -3149,7 +3132,7 @@ buildLiveStreamHealthStatus() {
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed648();
+ o.configurationIssues = buildUnnamed907();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -3160,21 +3143,21 @@ buildLiveStreamHealthStatus() {
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed648(o.configurationIssues);
+ checkUnnamed907(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed649() {
+buildUnnamed908() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed649(core.List<api.LiveStream> o) {
+checkUnnamed908(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -3187,7 +3170,7 @@ buildLiveStreamListResponse() {
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed649();
+ o.items = buildUnnamed908();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3204,7 +3187,7 @@ checkLiveStreamListResponse(api.LiveStreamListResponse o) {
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed649(o.items);
+ checkUnnamed908(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3263,14 +3246,14 @@ checkLiveStreamStatus(api.LiveStreamStatus o) {
buildCounterLiveStreamStatus--;
}
-buildUnnamed650() {
+buildUnnamed909() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed650(core.List<api.LocalizedString> o) {
+checkUnnamed909(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -3283,7 +3266,7 @@ buildLocalizedProperty() {
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed650();
+ o.localized = buildUnnamed909();
}
buildCounterLocalizedProperty--;
return o;
@@ -3294,7 +3277,7 @@ checkLocalizedProperty(api.LocalizedProperty o) {
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed650(o.localized);
+ checkUnnamed909(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -3364,14 +3347,14 @@ checkPageInfo(api.PageInfo o) {
buildCounterPageInfo--;
}
-buildUnnamed651() {
+buildUnnamed910() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed651(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed910(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -3386,7 +3369,7 @@ buildPlaylist() {
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed651();
+ o.localizations = buildUnnamed910();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -3402,7 +3385,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'));
- checkUnnamed651(o.localizations);
+ checkUnnamed910(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3483,14 +3466,14 @@ checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) {
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed652() {
+buildUnnamed911() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed652(core.List<api.PlaylistItem> o) {
+checkUnnamed911(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3503,7 +3486,7 @@ buildPlaylistItemListResponse() {
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed652();
+ o.items = buildUnnamed911();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3520,7 +3503,7 @@ checkPlaylistItemListResponse(api.PlaylistItemListResponse o) {
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed652(o.items);
+ checkUnnamed911(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3585,14 +3568,14 @@ checkPlaylistItemStatus(api.PlaylistItemStatus o) {
buildCounterPlaylistItemStatus--;
}
-buildUnnamed653() {
+buildUnnamed912() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed653(core.List<api.Playlist> o) {
+checkUnnamed912(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3605,7 +3588,7 @@ buildPlaylistListResponse() {
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed653();
+ o.items = buildUnnamed912();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3622,7 +3605,7 @@ checkPlaylistListResponse(api.PlaylistListResponse o) {
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed653(o.items);
+ checkUnnamed912(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3673,14 +3656,14 @@ checkPlaylistPlayer(api.PlaylistPlayer o) {
buildCounterPlaylistPlayer--;
}
-buildUnnamed654() {
+buildUnnamed913() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed654(core.List<core.String> o) {
+checkUnnamed913(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3697,7 +3680,7 @@ buildPlaylistSnippet() {
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed654();
+ o.tags = buildUnnamed913();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3714,7 +3697,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")));
- checkUnnamed654(o.tags);
+ checkUnnamed913(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -3836,14 +3819,14 @@ checkResourceId(api.ResourceId o) {
buildCounterResourceId--;
}
-buildUnnamed655() {
+buildUnnamed914() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed655(core.List<api.SearchResult> o) {
+checkUnnamed914(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -3856,11 +3839,12 @@ buildSearchListResponse() {
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed655();
+ o.items = buildUnnamed914();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
o.prevPageToken = "foo";
+ o.regionCode = "foo";
o.tokenPagination = buildTokenPagination();
o.visitorId = "foo";
}
@@ -3873,11 +3857,12 @@ checkSearchListResponse(api.SearchListResponse o) {
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed655(o.items);
+ checkUnnamed914(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
unittest.expect(o.prevPageToken, unittest.equals('foo'));
+ unittest.expect(o.regionCode, unittest.equals('foo'));
checkTokenPagination(o.tokenPagination);
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -3965,14 +3950,14 @@ checkSponsor(api.Sponsor o) {
buildCounterSponsor--;
}
-buildUnnamed656() {
+buildUnnamed915() {
var o = new core.List<api.Sponsor>();
o.add(buildSponsor());
o.add(buildSponsor());
return o;
}
-checkUnnamed656(core.List<api.Sponsor> o) {
+checkUnnamed915(core.List<api.Sponsor> o) {
unittest.expect(o, unittest.hasLength(2));
checkSponsor(o[0]);
checkSponsor(o[1]);
@@ -3985,7 +3970,7 @@ buildSponsorListResponse() {
if (buildCounterSponsorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed656();
+ o.items = buildUnnamed915();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4001,7 +3986,7 @@ checkSponsorListResponse(api.SponsorListResponse o) {
if (buildCounterSponsorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed656(o.items);
+ checkUnnamed915(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4086,14 +4071,14 @@ checkSubscriptionContentDetails(api.SubscriptionContentDetails o) {
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed657() {
+buildUnnamed916() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed657(core.List<api.Subscription> o) {
+checkUnnamed916(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -4106,7 +4091,7 @@ buildSubscriptionListResponse() {
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed657();
+ o.items = buildUnnamed916();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4123,7 +4108,7 @@ checkSubscriptionListResponse(api.SubscriptionListResponse o) {
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed657(o.items);
+ checkUnnamed916(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4240,14 +4225,14 @@ checkThumbnailDetails(api.ThumbnailDetails o) {
buildCounterThumbnailDetails--;
}
-buildUnnamed658() {
+buildUnnamed917() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed658(core.List<api.ThumbnailDetails> o) {
+checkUnnamed917(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -4260,7 +4245,7 @@ buildThumbnailSetResponse() {
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed658();
+ o.items = buildUnnamed917();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4273,7 +4258,7 @@ checkThumbnailSetResponse(api.ThumbnailSetResponse o) {
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed658(o.items);
+ checkUnnamed917(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -4297,14 +4282,14 @@ checkTokenPagination(api.TokenPagination o) {
buildCounterTokenPagination--;
}
-buildUnnamed659() {
+buildUnnamed918() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed659(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed918(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -4322,7 +4307,7 @@ buildVideo() {
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed659();
+ o.localizations = buildUnnamed918();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -4348,7 +4333,7 @@ checkVideo(api.Video o) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed659(o.localizations);
+ checkUnnamed918(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -4415,14 +4400,14 @@ checkVideoAbuseReportReason(api.VideoAbuseReportReason o) {
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed660() {
+buildUnnamed919() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed660(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed919(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -4435,7 +4420,7 @@ buildVideoAbuseReportReasonListResponse() {
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed660();
+ o.items = buildUnnamed919();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4448,21 +4433,21 @@ checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed660(o.items);
+ checkUnnamed919(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed661() {
+buildUnnamed920() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed661(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed920(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -4474,7 +4459,7 @@ buildVideoAbuseReportReasonSnippet() {
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed661();
+ o.secondaryReasons = buildUnnamed920();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -4484,7 +4469,7 @@ checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) {
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed661(o.secondaryReasons);
+ checkUnnamed920(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -4558,14 +4543,14 @@ checkVideoCategory(api.VideoCategory o) {
buildCounterVideoCategory--;
}
-buildUnnamed662() {
+buildUnnamed921() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed662(core.List<api.VideoCategory> o) {
+checkUnnamed921(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -4578,7 +4563,7 @@ buildVideoCategoryListResponse() {
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed662();
+ o.items = buildUnnamed921();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4595,7 +4580,7 @@ checkVideoCategoryListResponse(api.VideoCategoryListResponse o) {
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed662(o.items);
+ checkUnnamed921(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4662,27 +4647,27 @@ checkVideoContentDetails(api.VideoContentDetails o) {
buildCounterVideoContentDetails--;
}
-buildUnnamed663() {
+buildUnnamed922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed663(core.List<core.String> o) {
+checkUnnamed922(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed664() {
+buildUnnamed923() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed664(core.List<core.String> o) {
+checkUnnamed923(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4693,8 +4678,8 @@ buildVideoContentDetailsRegionRestriction() {
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed663();
- o.blocked = buildUnnamed664();
+ o.allowed = buildUnnamed922();
+ o.blocked = buildUnnamed923();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -4703,33 +4688,33 @@ buildVideoContentDetailsRegionRestriction() {
checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed663(o.allowed);
- checkUnnamed664(o.blocked);
+ checkUnnamed922(o.allowed);
+ checkUnnamed923(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
-buildUnnamed665() {
+buildUnnamed924() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed665(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed924(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed666() {
+buildUnnamed925() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed666(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed925(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -4740,7 +4725,7 @@ buildVideoFileDetails() {
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed665();
+ o.audioStreams = buildUnnamed924();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -4749,7 +4734,7 @@ buildVideoFileDetails() {
o.fileSize = "foo";
o.fileType = "foo";
o.recordingLocation = buildGeoPoint();
- o.videoStreams = buildUnnamed666();
+ o.videoStreams = buildUnnamed925();
}
buildCounterVideoFileDetails--;
return o;
@@ -4758,7 +4743,7 @@ buildVideoFileDetails() {
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed665(o.audioStreams);
+ checkUnnamed924(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -4767,7 +4752,7 @@ checkVideoFileDetails(api.VideoFileDetails o) {
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
checkGeoPoint(o.recordingLocation);
- checkUnnamed666(o.videoStreams);
+ checkUnnamed925(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -4830,14 +4815,14 @@ checkVideoFileDetailsVideoStream(api.VideoFileDetailsVideoStream o) {
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed667() {
+buildUnnamed926() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed667(core.List<api.VideoRating> o) {
+checkUnnamed926(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -4850,7 +4835,7 @@ buildVideoGetRatingResponse() {
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed667();
+ o.items = buildUnnamed926();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4863,21 +4848,21 @@ checkVideoGetRatingResponse(api.VideoGetRatingResponse o) {
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed667(o.items);
+ checkUnnamed926(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed668() {
+buildUnnamed927() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed668(core.List<api.Video> o) {
+checkUnnamed927(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -4890,7 +4875,7 @@ buildVideoListResponse() {
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed668();
+ o.items = buildUnnamed927();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4907,7 +4892,7 @@ checkVideoListResponse(api.VideoListResponse o) {
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed668(o.items);
+ checkUnnamed927(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5062,14 +5047,14 @@ checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed669() {
+buildUnnamed928() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed669(core.List<core.String> o) {
+checkUnnamed928(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5080,7 +5065,7 @@ buildVideoProjectDetails() {
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed669();
+ o.tags = buildUnnamed928();
}
buildCounterVideoProjectDetails--;
return o;
@@ -5089,7 +5074,7 @@ buildVideoProjectDetails() {
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed669(o.tags);
+ checkUnnamed928(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -5138,14 +5123,14 @@ checkVideoRecordingDetails(api.VideoRecordingDetails o) {
buildCounterVideoRecordingDetails--;
}
-buildUnnamed670() {
+buildUnnamed929() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed670(core.List<core.String> o) {
+checkUnnamed929(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5165,7 +5150,7 @@ buildVideoSnippet() {
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed670();
+ o.tags = buildUnnamed929();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -5185,7 +5170,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")));
- checkUnnamed670(o.tags);
+ checkUnnamed929(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5252,66 +5237,66 @@ checkVideoStatus(api.VideoStatus o) {
buildCounterVideoStatus--;
}
-buildUnnamed671() {
+buildUnnamed930() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed671(core.List<core.String> o) {
+checkUnnamed930(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed672() {
+buildUnnamed931() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed672(core.List<core.String> o) {
+checkUnnamed931(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed673() {
+buildUnnamed932() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed673(core.List<core.String> o) {
+checkUnnamed932(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'));
}
-buildUnnamed674() {
+buildUnnamed933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed674(core.List<core.String> o) {
+checkUnnamed933(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'));
}
-buildUnnamed675() {
+buildUnnamed934() {
var o = new core.List<api.VideoSuggestionsTagSuggestion>();
o.add(buildVideoSuggestionsTagSuggestion());
o.add(buildVideoSuggestionsTagSuggestion());
return o;
}
-checkUnnamed675(core.List<api.VideoSuggestionsTagSuggestion> o) {
+checkUnnamed934(core.List<api.VideoSuggestionsTagSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoSuggestionsTagSuggestion(o[0]);
checkVideoSuggestionsTagSuggestion(o[1]);
@@ -5322,11 +5307,11 @@ buildVideoSuggestions() {
var o = new api.VideoSuggestions();
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- o.editorSuggestions = buildUnnamed671();
- o.processingErrors = buildUnnamed672();
- o.processingHints = buildUnnamed673();
- o.processingWarnings = buildUnnamed674();
- o.tagSuggestions = buildUnnamed675();
+ o.editorSuggestions = buildUnnamed930();
+ o.processingErrors = buildUnnamed931();
+ o.processingHints = buildUnnamed932();
+ o.processingWarnings = buildUnnamed933();
+ o.tagSuggestions = buildUnnamed934();
}
buildCounterVideoSuggestions--;
return o;
@@ -5335,23 +5320,23 @@ buildVideoSuggestions() {
checkVideoSuggestions(api.VideoSuggestions o) {
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- checkUnnamed671(o.editorSuggestions);
- checkUnnamed672(o.processingErrors);
- checkUnnamed673(o.processingHints);
- checkUnnamed674(o.processingWarnings);
- checkUnnamed675(o.tagSuggestions);
+ checkUnnamed930(o.editorSuggestions);
+ checkUnnamed931(o.processingErrors);
+ checkUnnamed932(o.processingHints);
+ checkUnnamed933(o.processingWarnings);
+ checkUnnamed934(o.tagSuggestions);
}
buildCounterVideoSuggestions--;
}
-buildUnnamed676() {
+buildUnnamed935() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed676(core.List<core.String> o) {
+checkUnnamed935(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'));
@@ -5362,7 +5347,7 @@ buildVideoSuggestionsTagSuggestion() {
var o = new api.VideoSuggestionsTagSuggestion();
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed676();
+ o.categoryRestricts = buildUnnamed935();
o.tag = "foo";
}
buildCounterVideoSuggestionsTagSuggestion--;
@@ -5372,33 +5357,33 @@ buildVideoSuggestionsTagSuggestion() {
checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed676(o.categoryRestricts);
+ checkUnnamed935(o.categoryRestricts);
unittest.expect(o.tag, unittest.equals('foo'));
}
buildCounterVideoSuggestionsTagSuggestion--;
}
-buildUnnamed677() {
+buildUnnamed936() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed677(core.List<core.String> o) {
+checkUnnamed936(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'));
}
-buildUnnamed678() {
+buildUnnamed937() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed678(core.List<core.String> o) {
+checkUnnamed937(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'));
@@ -5409,8 +5394,8 @@ buildVideoTopicDetails() {
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed677();
- o.topicIds = buildUnnamed678();
+ o.relevantTopicIds = buildUnnamed936();
+ o.topicIds = buildUnnamed937();
}
buildCounterVideoTopicDetails--;
return o;
@@ -5419,8 +5404,8 @@ buildVideoTopicDetails() {
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed677(o.relevantTopicIds);
- checkUnnamed678(o.topicIds);
+ checkUnnamed936(o.relevantTopicIds);
+ checkUnnamed937(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
@@ -5711,15 +5696,6 @@ main() {
});
- unittest.group("obj-schema-ChannelId", () {
- unittest.test("to-json--from-json", () {
- var o = buildChannelId();
- var od = new api.ChannelId.fromJson(o.toJson());
- checkChannelId(od);
- });
- });
-
-
unittest.group("obj-schema-ChannelListResponse", () {
unittest.test("to-json--from-json", () {
var o = buildChannelListResponse();
« 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