| 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 9f8bbac645d1440a69eebcfaa3322ebf84916cd6..dece99cdafdf0442e377e855f5fcac1a2791b888 100644
|
| --- a/generated/googleapis/test/youtube/v3_test.dart
|
| +++ b/generated/googleapis/test/youtube/v3_test.dart
|
| @@ -7,7 +7,7 @@ import "dart:convert" as convert;
|
|
|
| import 'package:http/http.dart' as http;
|
| import 'package:http/testing.dart' as http_testing;
|
| -import 'package:unittest/unittest.dart' as unittest;
|
| +import 'package:test/test.dart' as unittest;
|
|
|
| import 'package:googleapis/youtube/v3.dart' as api;
|
|
|
| @@ -46,19 +46,19 @@ class HttpServerMock extends http.BaseClient {
|
| }
|
|
|
| http.StreamedResponse stringResponse(
|
| - core.int status, core.Map headers, core.String body) {
|
| + core.int status, core.Map<core.String, core.String> headers, core.String body) {
|
| var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed505() {
|
| +buildUnnamed507() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed505(core.List<core.String> o) {
|
| +checkUnnamed507(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 = buildUnnamed505();
|
| + o.exception = buildUnnamed507();
|
| }
|
| buildCounterAccessPolicy--;
|
| return o;
|
| @@ -80,7 +80,7 @@ checkAccessPolicy(api.AccessPolicy o) {
|
| buildCounterAccessPolicy++;
|
| if (buildCounterAccessPolicy < 3) {
|
| unittest.expect(o.allowed, unittest.isTrue);
|
| - checkUnnamed505(o.exception);
|
| + checkUnnamed507(o.exception);
|
| }
|
| buildCounterAccessPolicy--;
|
| }
|
| @@ -269,27 +269,27 @@ checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
|
| buildCounterActivityContentDetailsPlaylistItem--;
|
| }
|
|
|
| -buildUnnamed506() {
|
| +buildUnnamed508() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed506(core.List<core.String> o) {
|
| +checkUnnamed508(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'));
|
| }
|
|
|
| -buildUnnamed507() {
|
| +buildUnnamed509() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed507(core.List<core.String> o) {
|
| +checkUnnamed509(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 = buildUnnamed506();
|
| - o.impressionUrl = buildUnnamed507();
|
| + o.forecastingUrl = buildUnnamed508();
|
| + o.impressionUrl = buildUnnamed509();
|
| 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'));
|
| - checkUnnamed506(o.forecastingUrl);
|
| - checkUnnamed507(o.impressionUrl);
|
| + checkUnnamed508(o.forecastingUrl);
|
| + checkUnnamed509(o.impressionUrl);
|
| unittest.expect(o.videoId, unittest.equals('foo'));
|
| }
|
| buildCounterActivityContentDetailsPromotedItem--;
|
| @@ -420,14 +420,14 @@ checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) {
|
| buildCounterActivityContentDetailsUpload--;
|
| }
|
|
|
| -buildUnnamed508() {
|
| +buildUnnamed510() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed508(core.List<api.Activity> o) {
|
| +checkUnnamed510(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 = buildUnnamed508();
|
| + o.items = buildUnnamed510();
|
| 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'));
|
| - checkUnnamed508(o.items);
|
| + checkUnnamed510(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--;
|
| }
|
|
|
| -buildUnnamed509() {
|
| +buildUnnamed511() {
|
| var o = new core.List<api.Caption>();
|
| o.add(buildCaption());
|
| o.add(buildCaption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed509(core.List<api.Caption> o) {
|
| +checkUnnamed511(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 = buildUnnamed509();
|
| + o.items = buildUnnamed511();
|
| 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'));
|
| - checkUnnamed509(o.items);
|
| + checkUnnamed511(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -636,14 +636,14 @@ checkCdnSettings(api.CdnSettings o) {
|
| buildCounterCdnSettings--;
|
| }
|
|
|
| -buildUnnamed510() {
|
| +buildUnnamed512() {
|
| var o = new core.Map<core.String, api.ChannelLocalization>();
|
| o["x"] = buildChannelLocalization();
|
| o["y"] = buildChannelLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed510(core.Map<core.String, api.ChannelLocalization> o) {
|
| +checkUnnamed512(core.Map<core.String, api.ChannelLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelLocalization(o["x"]);
|
| checkChannelLocalization(o["y"]);
|
| @@ -663,7 +663,7 @@ buildChannel() {
|
| o.id = "foo";
|
| o.invideoPromotion = buildInvideoPromotion();
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed510();
|
| + o.localizations = buildUnnamed512();
|
| o.snippet = buildChannelSnippet();
|
| o.statistics = buildChannelStatistics();
|
| o.status = buildChannelStatus();
|
| @@ -685,7 +685,7 @@ checkChannel(api.Channel o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkInvideoPromotion(o.invideoPromotion);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed510(o.localizations);
|
| + checkUnnamed512(o.localizations);
|
| checkChannelSnippet(o.snippet);
|
| checkChannelStatistics(o.statistics);
|
| checkChannelStatus(o.status);
|
| @@ -742,14 +742,14 @@ checkChannelBannerResource(api.ChannelBannerResource o) {
|
| buildCounterChannelBannerResource--;
|
| }
|
|
|
| -buildUnnamed511() {
|
| +buildUnnamed513() {
|
| var o = new core.List<api.PropertyValue>();
|
| o.add(buildPropertyValue());
|
| o.add(buildPropertyValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed511(core.List<api.PropertyValue> o) {
|
| +checkUnnamed513(core.List<api.PropertyValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPropertyValue(o[0]);
|
| checkPropertyValue(o[1]);
|
| @@ -761,7 +761,7 @@ buildChannelBrandingSettings() {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| o.channel = buildChannelSettings();
|
| - o.hints = buildUnnamed511();
|
| + o.hints = buildUnnamed513();
|
| o.image = buildImageSettings();
|
| o.watch = buildWatchSettings();
|
| }
|
| @@ -773,7 +773,7 @@ checkChannelBrandingSettings(api.ChannelBrandingSettings o) {
|
| buildCounterChannelBrandingSettings++;
|
| if (buildCounterChannelBrandingSettings < 3) {
|
| checkChannelSettings(o.channel);
|
| - checkUnnamed511(o.hints);
|
| + checkUnnamed513(o.hints);
|
| checkImageSettings(o.image);
|
| checkWatchSettings(o.watch);
|
| }
|
| @@ -868,14 +868,14 @@ checkChannelConversionPing(api.ChannelConversionPing o) {
|
| buildCounterChannelConversionPing--;
|
| }
|
|
|
| -buildUnnamed512() {
|
| +buildUnnamed514() {
|
| var o = new core.List<api.ChannelConversionPing>();
|
| o.add(buildChannelConversionPing());
|
| o.add(buildChannelConversionPing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed512(core.List<api.ChannelConversionPing> o) {
|
| +checkUnnamed514(core.List<api.ChannelConversionPing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelConversionPing(o[0]);
|
| checkChannelConversionPing(o[1]);
|
| @@ -886,7 +886,7 @@ buildChannelConversionPings() {
|
| var o = new api.ChannelConversionPings();
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - o.pings = buildUnnamed512();
|
| + o.pings = buildUnnamed514();
|
| }
|
| buildCounterChannelConversionPings--;
|
| return o;
|
| @@ -895,19 +895,19 @@ buildChannelConversionPings() {
|
| checkChannelConversionPings(api.ChannelConversionPings o) {
|
| buildCounterChannelConversionPings++;
|
| if (buildCounterChannelConversionPings < 3) {
|
| - checkUnnamed512(o.pings);
|
| + checkUnnamed514(o.pings);
|
| }
|
| buildCounterChannelConversionPings--;
|
| }
|
|
|
| -buildUnnamed513() {
|
| +buildUnnamed515() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed513(core.List<api.Channel> o) {
|
| +checkUnnamed515(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| @@ -920,7 +920,7 @@ buildChannelListResponse() {
|
| if (buildCounterChannelListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed513();
|
| + o.items = buildUnnamed515();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -937,7 +937,7 @@ checkChannelListResponse(api.ChannelListResponse o) {
|
| if (buildCounterChannelListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed513(o.items);
|
| + checkUnnamed515(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -994,14 +994,14 @@ checkChannelProfileDetails(api.ChannelProfileDetails o) {
|
| buildCounterChannelProfileDetails--;
|
| }
|
|
|
| -buildUnnamed514() {
|
| +buildUnnamed516() {
|
| var o = new core.Map<core.String, api.ChannelSectionLocalization>();
|
| o["x"] = buildChannelSectionLocalization();
|
| o["y"] = buildChannelSectionLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed514(core.Map<core.String, api.ChannelSectionLocalization> o) {
|
| +checkUnnamed516(core.Map<core.String, api.ChannelSectionLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelSectionLocalization(o["x"]);
|
| checkChannelSectionLocalization(o["y"]);
|
| @@ -1016,7 +1016,7 @@ buildChannelSection() {
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed514();
|
| + o.localizations = buildUnnamed516();
|
| o.snippet = buildChannelSectionSnippet();
|
| o.targeting = buildChannelSectionTargeting();
|
| }
|
| @@ -1031,34 +1031,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'));
|
| - checkUnnamed514(o.localizations);
|
| + checkUnnamed516(o.localizations);
|
| checkChannelSectionSnippet(o.snippet);
|
| checkChannelSectionTargeting(o.targeting);
|
| }
|
| buildCounterChannelSection--;
|
| }
|
|
|
| -buildUnnamed515() {
|
| +buildUnnamed517() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed515(core.List<core.String> o) {
|
| +checkUnnamed517(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'));
|
| }
|
|
|
| -buildUnnamed516() {
|
| +buildUnnamed518() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed516(core.List<core.String> o) {
|
| +checkUnnamed518(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'));
|
| @@ -1069,8 +1069,8 @@ buildChannelSectionContentDetails() {
|
| var o = new api.ChannelSectionContentDetails();
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - o.channels = buildUnnamed515();
|
| - o.playlists = buildUnnamed516();
|
| + o.channels = buildUnnamed517();
|
| + o.playlists = buildUnnamed518();
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| return o;
|
| @@ -1079,20 +1079,20 @@ buildChannelSectionContentDetails() {
|
| checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
|
| buildCounterChannelSectionContentDetails++;
|
| if (buildCounterChannelSectionContentDetails < 3) {
|
| - checkUnnamed515(o.channels);
|
| - checkUnnamed516(o.playlists);
|
| + checkUnnamed517(o.channels);
|
| + checkUnnamed518(o.playlists);
|
| }
|
| buildCounterChannelSectionContentDetails--;
|
| }
|
|
|
| -buildUnnamed517() {
|
| +buildUnnamed519() {
|
| var o = new core.List<api.ChannelSection>();
|
| o.add(buildChannelSection());
|
| o.add(buildChannelSection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed517(core.List<api.ChannelSection> o) {
|
| +checkUnnamed519(core.List<api.ChannelSection> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannelSection(o[0]);
|
| checkChannelSection(o[1]);
|
| @@ -1105,7 +1105,7 @@ buildChannelSectionListResponse() {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed517();
|
| + o.items = buildUnnamed519();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -1118,7 +1118,7 @@ checkChannelSectionListResponse(api.ChannelSectionListResponse o) {
|
| if (buildCounterChannelSectionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed517(o.items);
|
| + checkUnnamed519(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -1175,40 +1175,40 @@ checkChannelSectionSnippet(api.ChannelSectionSnippet o) {
|
| buildCounterChannelSectionSnippet--;
|
| }
|
|
|
| -buildUnnamed518() {
|
| +buildUnnamed520() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed518(core.List<core.String> o) {
|
| +checkUnnamed520(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'));
|
| }
|
|
|
| -buildUnnamed519() {
|
| +buildUnnamed521() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed519(core.List<core.String> o) {
|
| +checkUnnamed521(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'));
|
| }
|
|
|
| -buildUnnamed520() {
|
| +buildUnnamed522() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed520(core.List<core.String> o) {
|
| +checkUnnamed522(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'));
|
| @@ -1219,9 +1219,9 @@ buildChannelSectionTargeting() {
|
| var o = new api.ChannelSectionTargeting();
|
| buildCounterChannelSectionTargeting++;
|
| if (buildCounterChannelSectionTargeting < 3) {
|
| - o.countries = buildUnnamed518();
|
| - o.languages = buildUnnamed519();
|
| - o.regions = buildUnnamed520();
|
| + o.countries = buildUnnamed520();
|
| + o.languages = buildUnnamed521();
|
| + o.regions = buildUnnamed522();
|
| }
|
| buildCounterChannelSectionTargeting--;
|
| return o;
|
| @@ -1230,21 +1230,21 @@ buildChannelSectionTargeting() {
|
| checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
|
| buildCounterChannelSectionTargeting++;
|
| if (buildCounterChannelSectionTargeting < 3) {
|
| - checkUnnamed518(o.countries);
|
| - checkUnnamed519(o.languages);
|
| - checkUnnamed520(o.regions);
|
| + checkUnnamed520(o.countries);
|
| + checkUnnamed521(o.languages);
|
| + checkUnnamed522(o.regions);
|
| }
|
| buildCounterChannelSectionTargeting--;
|
| }
|
|
|
| -buildUnnamed521() {
|
| +buildUnnamed523() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed521(core.List<core.String> o) {
|
| +checkUnnamed523(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'));
|
| @@ -1260,7 +1260,7 @@ buildChannelSettings() {
|
| o.defaultTab = "foo";
|
| o.description = "foo";
|
| o.featuredChannelsTitle = "foo";
|
| - o.featuredChannelsUrls = buildUnnamed521();
|
| + o.featuredChannelsUrls = buildUnnamed523();
|
| o.keywords = "foo";
|
| o.moderateComments = true;
|
| o.profileColor = "foo";
|
| @@ -1282,7 +1282,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'));
|
| - checkUnnamed521(o.featuredChannelsUrls);
|
| + checkUnnamed523(o.featuredChannelsUrls);
|
| unittest.expect(o.keywords, unittest.equals('foo'));
|
| unittest.expect(o.moderateComments, unittest.isTrue);
|
| unittest.expect(o.profileColor, unittest.equals('foo'));
|
| @@ -1378,27 +1378,27 @@ checkChannelStatus(api.ChannelStatus o) {
|
| buildCounterChannelStatus--;
|
| }
|
|
|
| -buildUnnamed522() {
|
| +buildUnnamed524() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed522(core.List<core.String> o) {
|
| +checkUnnamed524(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'));
|
| }
|
|
|
| -buildUnnamed523() {
|
| +buildUnnamed525() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed523(core.List<core.String> o) {
|
| +checkUnnamed525(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'));
|
| @@ -1409,8 +1409,8 @@ buildChannelTopicDetails() {
|
| var o = new api.ChannelTopicDetails();
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - o.topicCategories = buildUnnamed522();
|
| - o.topicIds = buildUnnamed523();
|
| + o.topicCategories = buildUnnamed524();
|
| + o.topicIds = buildUnnamed525();
|
| }
|
| buildCounterChannelTopicDetails--;
|
| return o;
|
| @@ -1419,8 +1419,8 @@ buildChannelTopicDetails() {
|
| checkChannelTopicDetails(api.ChannelTopicDetails o) {
|
| buildCounterChannelTopicDetails++;
|
| if (buildCounterChannelTopicDetails < 3) {
|
| - checkUnnamed522(o.topicCategories);
|
| - checkUnnamed523(o.topicIds);
|
| + checkUnnamed524(o.topicCategories);
|
| + checkUnnamed525(o.topicIds);
|
| }
|
| buildCounterChannelTopicDetails--;
|
| }
|
| @@ -1450,14 +1450,14 @@ checkComment(api.Comment o) {
|
| buildCounterComment--;
|
| }
|
|
|
| -buildUnnamed524() {
|
| +buildUnnamed526() {
|
| var o = new core.List<api.Comment>();
|
| o.add(buildComment());
|
| o.add(buildComment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed524(core.List<api.Comment> o) {
|
| +checkUnnamed526(core.List<api.Comment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComment(o[0]);
|
| checkComment(o[1]);
|
| @@ -1470,7 +1470,7 @@ buildCommentListResponse() {
|
| if (buildCounterCommentListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed524();
|
| + o.items = buildUnnamed526();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1486,7 +1486,7 @@ checkCommentListResponse(api.CommentListResponse o) {
|
| if (buildCounterCommentListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed524(o.items);
|
| + checkUnnamed526(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1570,14 +1570,14 @@ checkCommentThread(api.CommentThread o) {
|
| buildCounterCommentThread--;
|
| }
|
|
|
| -buildUnnamed525() {
|
| +buildUnnamed527() {
|
| var o = new core.List<api.CommentThread>();
|
| o.add(buildCommentThread());
|
| o.add(buildCommentThread());
|
| return o;
|
| }
|
|
|
| -checkUnnamed525(core.List<api.CommentThread> o) {
|
| +checkUnnamed527(core.List<api.CommentThread> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCommentThread(o[0]);
|
| checkCommentThread(o[1]);
|
| @@ -1590,7 +1590,7 @@ buildCommentThreadListResponse() {
|
| if (buildCounterCommentThreadListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed525();
|
| + o.items = buildUnnamed527();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1606,7 +1606,7 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
|
| if (buildCounterCommentThreadListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed525(o.items);
|
| + checkUnnamed527(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -1616,14 +1616,14 @@ checkCommentThreadListResponse(api.CommentThreadListResponse o) {
|
| buildCounterCommentThreadListResponse--;
|
| }
|
|
|
| -buildUnnamed526() {
|
| +buildUnnamed528() {
|
| var o = new core.List<api.Comment>();
|
| o.add(buildComment());
|
| o.add(buildComment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed526(core.List<api.Comment> o) {
|
| +checkUnnamed528(core.List<api.Comment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComment(o[0]);
|
| checkComment(o[1]);
|
| @@ -1634,7 +1634,7 @@ buildCommentThreadReplies() {
|
| var o = new api.CommentThreadReplies();
|
| buildCounterCommentThreadReplies++;
|
| if (buildCounterCommentThreadReplies < 3) {
|
| - o.comments = buildUnnamed526();
|
| + o.comments = buildUnnamed528();
|
| }
|
| buildCounterCommentThreadReplies--;
|
| return o;
|
| @@ -1643,7 +1643,7 @@ buildCommentThreadReplies() {
|
| checkCommentThreadReplies(api.CommentThreadReplies o) {
|
| buildCounterCommentThreadReplies++;
|
| if (buildCounterCommentThreadReplies < 3) {
|
| - checkUnnamed526(o.comments);
|
| + checkUnnamed528(o.comments);
|
| }
|
| buildCounterCommentThreadReplies--;
|
| }
|
| @@ -1677,27 +1677,27 @@ checkCommentThreadSnippet(api.CommentThreadSnippet o) {
|
| buildCounterCommentThreadSnippet--;
|
| }
|
|
|
| -buildUnnamed527() {
|
| +buildUnnamed529() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed527(core.List<core.String> o) {
|
| +checkUnnamed529(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'));
|
| }
|
|
|
| -buildUnnamed528() {
|
| +buildUnnamed530() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed528(core.List<core.String> o) {
|
| +checkUnnamed530(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'));
|
| @@ -1728,7 +1728,7 @@ buildContentRating() {
|
| o.cscfRating = "foo";
|
| o.czfilmRating = "foo";
|
| o.djctqRating = "foo";
|
| - o.djctqRatingReasons = buildUnnamed527();
|
| + o.djctqRatingReasons = buildUnnamed529();
|
| o.ecbmctRating = "foo";
|
| o.eefilmRating = "foo";
|
| o.egfilmRating = "foo";
|
| @@ -1737,7 +1737,7 @@ buildContentRating() {
|
| o.fcoRating = "foo";
|
| o.fmocRating = "foo";
|
| o.fpbRating = "foo";
|
| - o.fpbRatingReasons = buildUnnamed528();
|
| + o.fpbRatingReasons = buildUnnamed530();
|
| o.fskRating = "foo";
|
| o.grfilmRating = "foo";
|
| o.icaaRating = "foo";
|
| @@ -1804,7 +1804,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'));
|
| - checkUnnamed527(o.djctqRatingReasons);
|
| + checkUnnamed529(o.djctqRatingReasons);
|
| unittest.expect(o.ecbmctRating, unittest.equals('foo'));
|
| unittest.expect(o.eefilmRating, unittest.equals('foo'));
|
| unittest.expect(o.egfilmRating, unittest.equals('foo'));
|
| @@ -1813,7 +1813,7 @@ checkContentRating(api.ContentRating o) {
|
| unittest.expect(o.fcoRating, unittest.equals('foo'));
|
| unittest.expect(o.fmocRating, unittest.equals('foo'));
|
| unittest.expect(o.fpbRating, unittest.equals('foo'));
|
| - checkUnnamed528(o.fpbRatingReasons);
|
| + checkUnnamed530(o.fpbRatingReasons);
|
| unittest.expect(o.fskRating, unittest.equals('foo'));
|
| unittest.expect(o.grfilmRating, unittest.equals('foo'));
|
| unittest.expect(o.icaaRating, unittest.equals('foo'));
|
| @@ -1881,14 +1881,14 @@ checkFanFundingEvent(api.FanFundingEvent o) {
|
| buildCounterFanFundingEvent--;
|
| }
|
|
|
| -buildUnnamed529() {
|
| +buildUnnamed531() {
|
| var o = new core.List<api.FanFundingEvent>();
|
| o.add(buildFanFundingEvent());
|
| o.add(buildFanFundingEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed529(core.List<api.FanFundingEvent> o) {
|
| +checkUnnamed531(core.List<api.FanFundingEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFanFundingEvent(o[0]);
|
| checkFanFundingEvent(o[1]);
|
| @@ -1901,7 +1901,7 @@ buildFanFundingEventListResponse() {
|
| if (buildCounterFanFundingEventListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed529();
|
| + o.items = buildUnnamed531();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -1917,7 +1917,7 @@ checkFanFundingEventListResponse(api.FanFundingEventListResponse o) {
|
| if (buildCounterFanFundingEventListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed529(o.items);
|
| + checkUnnamed531(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2006,14 +2006,14 @@ checkGuideCategory(api.GuideCategory o) {
|
| buildCounterGuideCategory--;
|
| }
|
|
|
| -buildUnnamed530() {
|
| +buildUnnamed532() {
|
| var o = new core.List<api.GuideCategory>();
|
| o.add(buildGuideCategory());
|
| o.add(buildGuideCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed530(core.List<api.GuideCategory> o) {
|
| +checkUnnamed532(core.List<api.GuideCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGuideCategory(o[0]);
|
| checkGuideCategory(o[1]);
|
| @@ -2026,7 +2026,7 @@ buildGuideCategoryListResponse() {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed530();
|
| + o.items = buildUnnamed532();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2043,7 +2043,7 @@ checkGuideCategoryListResponse(api.GuideCategoryListResponse o) {
|
| if (buildCounterGuideCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed530(o.items);
|
| + checkUnnamed532(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2100,14 +2100,14 @@ checkI18nLanguage(api.I18nLanguage o) {
|
| buildCounterI18nLanguage--;
|
| }
|
|
|
| -buildUnnamed531() {
|
| +buildUnnamed533() {
|
| var o = new core.List<api.I18nLanguage>();
|
| o.add(buildI18nLanguage());
|
| o.add(buildI18nLanguage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed531(core.List<api.I18nLanguage> o) {
|
| +checkUnnamed533(core.List<api.I18nLanguage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nLanguage(o[0]);
|
| checkI18nLanguage(o[1]);
|
| @@ -2120,7 +2120,7 @@ buildI18nLanguageListResponse() {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed531();
|
| + o.items = buildUnnamed533();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -2133,7 +2133,7 @@ checkI18nLanguageListResponse(api.I18nLanguageListResponse o) {
|
| if (buildCounterI18nLanguageListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed531(o.items);
|
| + checkUnnamed533(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -2186,14 +2186,14 @@ checkI18nRegion(api.I18nRegion o) {
|
| buildCounterI18nRegion--;
|
| }
|
|
|
| -buildUnnamed532() {
|
| +buildUnnamed534() {
|
| var o = new core.List<api.I18nRegion>();
|
| o.add(buildI18nRegion());
|
| o.add(buildI18nRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed532(core.List<api.I18nRegion> o) {
|
| +checkUnnamed534(core.List<api.I18nRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkI18nRegion(o[0]);
|
| checkI18nRegion(o[1]);
|
| @@ -2206,7 +2206,7 @@ buildI18nRegionListResponse() {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed532();
|
| + o.items = buildUnnamed534();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -2219,7 +2219,7 @@ checkI18nRegionListResponse(api.I18nRegionListResponse o) {
|
| if (buildCounterI18nRegionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed532(o.items);
|
| + checkUnnamed534(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -2379,14 +2379,14 @@ checkInvideoPosition(api.InvideoPosition o) {
|
| buildCounterInvideoPosition--;
|
| }
|
|
|
| -buildUnnamed533() {
|
| +buildUnnamed535() {
|
| var o = new core.List<api.PromotedItem>();
|
| o.add(buildPromotedItem());
|
| o.add(buildPromotedItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed533(core.List<api.PromotedItem> o) {
|
| +checkUnnamed535(core.List<api.PromotedItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPromotedItem(o[0]);
|
| checkPromotedItem(o[1]);
|
| @@ -2398,7 +2398,7 @@ buildInvideoPromotion() {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| o.defaultTiming = buildInvideoTiming();
|
| - o.items = buildUnnamed533();
|
| + o.items = buildUnnamed535();
|
| o.position = buildInvideoPosition();
|
| o.useSmartTiming = true;
|
| }
|
| @@ -2410,7 +2410,7 @@ checkInvideoPromotion(api.InvideoPromotion o) {
|
| buildCounterInvideoPromotion++;
|
| if (buildCounterInvideoPromotion < 3) {
|
| checkInvideoTiming(o.defaultTiming);
|
| - checkUnnamed533(o.items);
|
| + checkUnnamed535(o.items);
|
| checkInvideoPosition(o.position);
|
| unittest.expect(o.useSmartTiming, unittest.isTrue);
|
| }
|
| @@ -2533,14 +2533,14 @@ checkLiveBroadcastContentDetails(api.LiveBroadcastContentDetails o) {
|
| buildCounterLiveBroadcastContentDetails--;
|
| }
|
|
|
| -buildUnnamed534() {
|
| +buildUnnamed536() {
|
| var o = new core.List<api.LiveBroadcast>();
|
| o.add(buildLiveBroadcast());
|
| o.add(buildLiveBroadcast());
|
| return o;
|
| }
|
|
|
| -checkUnnamed534(core.List<api.LiveBroadcast> o) {
|
| +checkUnnamed536(core.List<api.LiveBroadcast> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveBroadcast(o[0]);
|
| checkLiveBroadcast(o[1]);
|
| @@ -2553,7 +2553,7 @@ buildLiveBroadcastListResponse() {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed534();
|
| + o.items = buildUnnamed536();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -2570,7 +2570,7 @@ checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) {
|
| if (buildCounterLiveBroadcastListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed534(o.items);
|
| + checkUnnamed536(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -2689,14 +2689,14 @@ checkLiveBroadcastTopic(api.LiveBroadcastTopic o) {
|
| buildCounterLiveBroadcastTopic--;
|
| }
|
|
|
| -buildUnnamed535() {
|
| +buildUnnamed537() {
|
| var o = new core.List<api.LiveBroadcastTopic>();
|
| o.add(buildLiveBroadcastTopic());
|
| o.add(buildLiveBroadcastTopic());
|
| return o;
|
| }
|
|
|
| -checkUnnamed535(core.List<api.LiveBroadcastTopic> o) {
|
| +checkUnnamed537(core.List<api.LiveBroadcastTopic> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveBroadcastTopic(o[0]);
|
| checkLiveBroadcastTopic(o[1]);
|
| @@ -2707,7 +2707,7 @@ buildLiveBroadcastTopicDetails() {
|
| var o = new api.LiveBroadcastTopicDetails();
|
| buildCounterLiveBroadcastTopicDetails++;
|
| if (buildCounterLiveBroadcastTopicDetails < 3) {
|
| - o.topics = buildUnnamed535();
|
| + o.topics = buildUnnamed537();
|
| }
|
| buildCounterLiveBroadcastTopicDetails--;
|
| return o;
|
| @@ -2716,7 +2716,7 @@ buildLiveBroadcastTopicDetails() {
|
| checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
|
| buildCounterLiveBroadcastTopicDetails++;
|
| if (buildCounterLiveBroadcastTopicDetails < 3) {
|
| - checkUnnamed535(o.topics);
|
| + checkUnnamed537(o.topics);
|
| }
|
| buildCounterLiveBroadcastTopicDetails--;
|
| }
|
| @@ -2896,14 +2896,14 @@ checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) {
|
| buildCounterLiveChatMessageDeletedDetails--;
|
| }
|
|
|
| -buildUnnamed536() {
|
| +buildUnnamed538() {
|
| var o = new core.List<api.LiveChatMessage>();
|
| o.add(buildLiveChatMessage());
|
| o.add(buildLiveChatMessage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed536(core.List<api.LiveChatMessage> o) {
|
| +checkUnnamed538(core.List<api.LiveChatMessage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveChatMessage(o[0]);
|
| checkLiveChatMessage(o[1]);
|
| @@ -2916,7 +2916,7 @@ buildLiveChatMessageListResponse() {
|
| if (buildCounterLiveChatMessageListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed536();
|
| + o.items = buildUnnamed538();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -2934,7 +2934,7 @@ checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) {
|
| if (buildCounterLiveChatMessageListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed536(o.items);
|
| + checkUnnamed538(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")));
|
| @@ -3039,14 +3039,14 @@ checkLiveChatModerator(api.LiveChatModerator o) {
|
| buildCounterLiveChatModerator--;
|
| }
|
|
|
| -buildUnnamed537() {
|
| +buildUnnamed539() {
|
| var o = new core.List<api.LiveChatModerator>();
|
| o.add(buildLiveChatModerator());
|
| o.add(buildLiveChatModerator());
|
| return o;
|
| }
|
|
|
| -checkUnnamed537(core.List<api.LiveChatModerator> o) {
|
| +checkUnnamed539(core.List<api.LiveChatModerator> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveChatModerator(o[0]);
|
| checkLiveChatModerator(o[1]);
|
| @@ -3059,7 +3059,7 @@ buildLiveChatModeratorListResponse() {
|
| if (buildCounterLiveChatModeratorListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed537();
|
| + o.items = buildUnnamed539();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3076,7 +3076,7 @@ checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) {
|
| if (buildCounterLiveChatModeratorListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed537(o.items);
|
| + checkUnnamed539(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3127,14 +3127,14 @@ checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) {
|
| buildCounterLiveChatPollClosedDetails--;
|
| }
|
|
|
| -buildUnnamed538() {
|
| +buildUnnamed540() {
|
| var o = new core.List<api.LiveChatPollItem>();
|
| o.add(buildLiveChatPollItem());
|
| o.add(buildLiveChatPollItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed538(core.List<api.LiveChatPollItem> o) {
|
| +checkUnnamed540(core.List<api.LiveChatPollItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveChatPollItem(o[0]);
|
| checkLiveChatPollItem(o[1]);
|
| @@ -3146,7 +3146,7 @@ buildLiveChatPollEditedDetails() {
|
| buildCounterLiveChatPollEditedDetails++;
|
| if (buildCounterLiveChatPollEditedDetails < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed538();
|
| + o.items = buildUnnamed540();
|
| o.prompt = "foo";
|
| }
|
| buildCounterLiveChatPollEditedDetails--;
|
| @@ -3157,7 +3157,7 @@ checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) {
|
| buildCounterLiveChatPollEditedDetails++;
|
| if (buildCounterLiveChatPollEditedDetails < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed538(o.items);
|
| + checkUnnamed540(o.items);
|
| unittest.expect(o.prompt, unittest.equals('foo'));
|
| }
|
| buildCounterLiveChatPollEditedDetails--;
|
| @@ -3184,14 +3184,14 @@ checkLiveChatPollItem(api.LiveChatPollItem o) {
|
| buildCounterLiveChatPollItem--;
|
| }
|
|
|
| -buildUnnamed539() {
|
| +buildUnnamed541() {
|
| var o = new core.List<api.LiveChatPollItem>();
|
| o.add(buildLiveChatPollItem());
|
| o.add(buildLiveChatPollItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed539(core.List<api.LiveChatPollItem> o) {
|
| +checkUnnamed541(core.List<api.LiveChatPollItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveChatPollItem(o[0]);
|
| checkLiveChatPollItem(o[1]);
|
| @@ -3203,7 +3203,7 @@ buildLiveChatPollOpenedDetails() {
|
| buildCounterLiveChatPollOpenedDetails++;
|
| if (buildCounterLiveChatPollOpenedDetails < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed539();
|
| + o.items = buildUnnamed541();
|
| o.prompt = "foo";
|
| }
|
| buildCounterLiveChatPollOpenedDetails--;
|
| @@ -3214,7 +3214,7 @@ checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) {
|
| buildCounterLiveChatPollOpenedDetails++;
|
| if (buildCounterLiveChatPollOpenedDetails < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed539(o.items);
|
| + checkUnnamed541(o.items);
|
| unittest.expect(o.prompt, unittest.equals('foo'));
|
| }
|
| buildCounterLiveChatPollOpenedDetails--;
|
| @@ -3387,14 +3387,14 @@ checkLiveStreamContentDetails(api.LiveStreamContentDetails o) {
|
| buildCounterLiveStreamContentDetails--;
|
| }
|
|
|
| -buildUnnamed540() {
|
| +buildUnnamed542() {
|
| var o = new core.List<api.LiveStreamConfigurationIssue>();
|
| o.add(buildLiveStreamConfigurationIssue());
|
| o.add(buildLiveStreamConfigurationIssue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed540(core.List<api.LiveStreamConfigurationIssue> o) {
|
| +checkUnnamed542(core.List<api.LiveStreamConfigurationIssue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveStreamConfigurationIssue(o[0]);
|
| checkLiveStreamConfigurationIssue(o[1]);
|
| @@ -3405,7 +3405,7 @@ buildLiveStreamHealthStatus() {
|
| var o = new api.LiveStreamHealthStatus();
|
| buildCounterLiveStreamHealthStatus++;
|
| if (buildCounterLiveStreamHealthStatus < 3) {
|
| - o.configurationIssues = buildUnnamed540();
|
| + o.configurationIssues = buildUnnamed542();
|
| o.lastUpdateTimeSeconds = "foo";
|
| o.status = "foo";
|
| }
|
| @@ -3416,21 +3416,21 @@ buildLiveStreamHealthStatus() {
|
| checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
|
| buildCounterLiveStreamHealthStatus++;
|
| if (buildCounterLiveStreamHealthStatus < 3) {
|
| - checkUnnamed540(o.configurationIssues);
|
| + checkUnnamed542(o.configurationIssues);
|
| unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterLiveStreamHealthStatus--;
|
| }
|
|
|
| -buildUnnamed541() {
|
| +buildUnnamed543() {
|
| var o = new core.List<api.LiveStream>();
|
| o.add(buildLiveStream());
|
| o.add(buildLiveStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed541(core.List<api.LiveStream> o) {
|
| +checkUnnamed543(core.List<api.LiveStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLiveStream(o[0]);
|
| checkLiveStream(o[1]);
|
| @@ -3443,7 +3443,7 @@ buildLiveStreamListResponse() {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed541();
|
| + o.items = buildUnnamed543();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3460,7 +3460,7 @@ checkLiveStreamListResponse(api.LiveStreamListResponse o) {
|
| if (buildCounterLiveStreamListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed541(o.items);
|
| + checkUnnamed543(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3519,14 +3519,14 @@ checkLiveStreamStatus(api.LiveStreamStatus o) {
|
| buildCounterLiveStreamStatus--;
|
| }
|
|
|
| -buildUnnamed542() {
|
| +buildUnnamed544() {
|
| var o = new core.List<api.LocalizedString>();
|
| o.add(buildLocalizedString());
|
| o.add(buildLocalizedString());
|
| return o;
|
| }
|
|
|
| -checkUnnamed542(core.List<api.LocalizedString> o) {
|
| +checkUnnamed544(core.List<api.LocalizedString> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocalizedString(o[0]);
|
| checkLocalizedString(o[1]);
|
| @@ -3539,7 +3539,7 @@ buildLocalizedProperty() {
|
| if (buildCounterLocalizedProperty < 3) {
|
| o.default_ = "foo";
|
| o.defaultLanguage = buildLanguageTag();
|
| - o.localized = buildUnnamed542();
|
| + o.localized = buildUnnamed544();
|
| }
|
| buildCounterLocalizedProperty--;
|
| return o;
|
| @@ -3550,7 +3550,7 @@ checkLocalizedProperty(api.LocalizedProperty o) {
|
| if (buildCounterLocalizedProperty < 3) {
|
| unittest.expect(o.default_, unittest.equals('foo'));
|
| checkLanguageTag(o.defaultLanguage);
|
| - checkUnnamed542(o.localized);
|
| + checkUnnamed544(o.localized);
|
| }
|
| buildCounterLocalizedProperty--;
|
| }
|
| @@ -3620,14 +3620,14 @@ checkPageInfo(api.PageInfo o) {
|
| buildCounterPageInfo--;
|
| }
|
|
|
| -buildUnnamed543() {
|
| +buildUnnamed545() {
|
| var o = new core.Map<core.String, api.PlaylistLocalization>();
|
| o["x"] = buildPlaylistLocalization();
|
| o["y"] = buildPlaylistLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed543(core.Map<core.String, api.PlaylistLocalization> o) {
|
| +checkUnnamed545(core.Map<core.String, api.PlaylistLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylistLocalization(o["x"]);
|
| checkPlaylistLocalization(o["y"]);
|
| @@ -3642,7 +3642,7 @@ buildPlaylist() {
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.localizations = buildUnnamed543();
|
| + o.localizations = buildUnnamed545();
|
| o.player = buildPlaylistPlayer();
|
| o.snippet = buildPlaylistSnippet();
|
| o.status = buildPlaylistStatus();
|
| @@ -3658,7 +3658,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'));
|
| - checkUnnamed543(o.localizations);
|
| + checkUnnamed545(o.localizations);
|
| checkPlaylistPlayer(o.player);
|
| checkPlaylistSnippet(o.snippet);
|
| checkPlaylistStatus(o.status);
|
| @@ -3741,14 +3741,14 @@ checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) {
|
| buildCounterPlaylistItemContentDetails--;
|
| }
|
|
|
| -buildUnnamed544() {
|
| +buildUnnamed546() {
|
| var o = new core.List<api.PlaylistItem>();
|
| o.add(buildPlaylistItem());
|
| o.add(buildPlaylistItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed544(core.List<api.PlaylistItem> o) {
|
| +checkUnnamed546(core.List<api.PlaylistItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylistItem(o[0]);
|
| checkPlaylistItem(o[1]);
|
| @@ -3761,7 +3761,7 @@ buildPlaylistItemListResponse() {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed544();
|
| + o.items = buildUnnamed546();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3778,7 +3778,7 @@ checkPlaylistItemListResponse(api.PlaylistItemListResponse o) {
|
| if (buildCounterPlaylistItemListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed544(o.items);
|
| + checkUnnamed546(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3843,14 +3843,14 @@ checkPlaylistItemStatus(api.PlaylistItemStatus o) {
|
| buildCounterPlaylistItemStatus--;
|
| }
|
|
|
| -buildUnnamed545() {
|
| +buildUnnamed547() {
|
| var o = new core.List<api.Playlist>();
|
| o.add(buildPlaylist());
|
| o.add(buildPlaylist());
|
| return o;
|
| }
|
|
|
| -checkUnnamed545(core.List<api.Playlist> o) {
|
| +checkUnnamed547(core.List<api.Playlist> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPlaylist(o[0]);
|
| checkPlaylist(o[1]);
|
| @@ -3863,7 +3863,7 @@ buildPlaylistListResponse() {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed545();
|
| + o.items = buildUnnamed547();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -3880,7 +3880,7 @@ checkPlaylistListResponse(api.PlaylistListResponse o) {
|
| if (buildCounterPlaylistListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed545(o.items);
|
| + checkUnnamed547(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -3931,14 +3931,14 @@ checkPlaylistPlayer(api.PlaylistPlayer o) {
|
| buildCounterPlaylistPlayer--;
|
| }
|
|
|
| -buildUnnamed546() {
|
| +buildUnnamed548() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed546(core.List<core.String> o) {
|
| +checkUnnamed548(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'));
|
| @@ -3955,7 +3955,7 @@ buildPlaylistSnippet() {
|
| o.description = "foo";
|
| o.localized = buildPlaylistLocalization();
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed546();
|
| + o.tags = buildUnnamed548();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -3972,7 +3972,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")));
|
| - checkUnnamed546(o.tags);
|
| + checkUnnamed548(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -4094,14 +4094,14 @@ checkResourceId(api.ResourceId o) {
|
| buildCounterResourceId--;
|
| }
|
|
|
| -buildUnnamed547() {
|
| +buildUnnamed549() {
|
| var o = new core.List<api.SearchResult>();
|
| o.add(buildSearchResult());
|
| o.add(buildSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed547(core.List<api.SearchResult> o) {
|
| +checkUnnamed549(core.List<api.SearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSearchResult(o[0]);
|
| checkSearchResult(o[1]);
|
| @@ -4114,7 +4114,7 @@ buildSearchListResponse() {
|
| if (buildCounterSearchListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed547();
|
| + o.items = buildUnnamed549();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4132,7 +4132,7 @@ checkSearchListResponse(api.SearchListResponse o) {
|
| if (buildCounterSearchListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed547(o.items);
|
| + checkUnnamed549(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4225,14 +4225,14 @@ checkSponsor(api.Sponsor o) {
|
| buildCounterSponsor--;
|
| }
|
|
|
| -buildUnnamed548() {
|
| +buildUnnamed550() {
|
| var o = new core.List<api.Sponsor>();
|
| o.add(buildSponsor());
|
| o.add(buildSponsor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed548(core.List<api.Sponsor> o) {
|
| +checkUnnamed550(core.List<api.Sponsor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSponsor(o[0]);
|
| checkSponsor(o[1]);
|
| @@ -4245,7 +4245,7 @@ buildSponsorListResponse() {
|
| if (buildCounterSponsorListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed548();
|
| + o.items = buildUnnamed550();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4261,7 +4261,7 @@ checkSponsorListResponse(api.SponsorListResponse o) {
|
| if (buildCounterSponsorListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed548(o.items);
|
| + checkUnnamed550(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4346,14 +4346,14 @@ checkSubscriptionContentDetails(api.SubscriptionContentDetails o) {
|
| buildCounterSubscriptionContentDetails--;
|
| }
|
|
|
| -buildUnnamed549() {
|
| +buildUnnamed551() {
|
| var o = new core.List<api.Subscription>();
|
| o.add(buildSubscription());
|
| o.add(buildSubscription());
|
| return o;
|
| }
|
|
|
| -checkUnnamed549(core.List<api.Subscription> o) {
|
| +checkUnnamed551(core.List<api.Subscription> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubscription(o[0]);
|
| checkSubscription(o[1]);
|
| @@ -4366,7 +4366,7 @@ buildSubscriptionListResponse() {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed549();
|
| + o.items = buildUnnamed551();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4383,7 +4383,7 @@ checkSubscriptionListResponse(api.SubscriptionListResponse o) {
|
| if (buildCounterSubscriptionListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed549(o.items);
|
| + checkUnnamed551(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4475,14 +4475,14 @@ checkSuperChatEvent(api.SuperChatEvent o) {
|
| buildCounterSuperChatEvent--;
|
| }
|
|
|
| -buildUnnamed550() {
|
| +buildUnnamed552() {
|
| var o = new core.List<api.SuperChatEvent>();
|
| o.add(buildSuperChatEvent());
|
| o.add(buildSuperChatEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed550(core.List<api.SuperChatEvent> o) {
|
| +checkUnnamed552(core.List<api.SuperChatEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSuperChatEvent(o[0]);
|
| checkSuperChatEvent(o[1]);
|
| @@ -4495,7 +4495,7 @@ buildSuperChatEventListResponse() {
|
| if (buildCounterSuperChatEventListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed550();
|
| + o.items = buildUnnamed552();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4511,7 +4511,7 @@ checkSuperChatEventListResponse(api.SuperChatEventListResponse o) {
|
| if (buildCounterSuperChatEventListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed550(o.items);
|
| + checkUnnamed552(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -4604,14 +4604,14 @@ checkThumbnailDetails(api.ThumbnailDetails o) {
|
| buildCounterThumbnailDetails--;
|
| }
|
|
|
| -buildUnnamed551() {
|
| +buildUnnamed553() {
|
| var o = new core.List<api.ThumbnailDetails>();
|
| o.add(buildThumbnailDetails());
|
| o.add(buildThumbnailDetails());
|
| return o;
|
| }
|
|
|
| -checkUnnamed551(core.List<api.ThumbnailDetails> o) {
|
| +checkUnnamed553(core.List<api.ThumbnailDetails> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThumbnailDetails(o[0]);
|
| checkThumbnailDetails(o[1]);
|
| @@ -4624,7 +4624,7 @@ buildThumbnailSetResponse() {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed551();
|
| + o.items = buildUnnamed553();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -4637,7 +4637,7 @@ checkThumbnailSetResponse(api.ThumbnailSetResponse o) {
|
| if (buildCounterThumbnailSetResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed551(o.items);
|
| + checkUnnamed553(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| @@ -4661,14 +4661,14 @@ checkTokenPagination(api.TokenPagination o) {
|
| buildCounterTokenPagination--;
|
| }
|
|
|
| -buildUnnamed552() {
|
| +buildUnnamed554() {
|
| var o = new core.Map<core.String, api.VideoLocalization>();
|
| o["x"] = buildVideoLocalization();
|
| o["y"] = buildVideoLocalization();
|
| return o;
|
| }
|
|
|
| -checkUnnamed552(core.Map<core.String, api.VideoLocalization> o) {
|
| +checkUnnamed554(core.Map<core.String, api.VideoLocalization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoLocalization(o["x"]);
|
| checkVideoLocalization(o["y"]);
|
| @@ -4686,7 +4686,7 @@ buildVideo() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.liveStreamingDetails = buildVideoLiveStreamingDetails();
|
| - o.localizations = buildUnnamed552();
|
| + o.localizations = buildUnnamed554();
|
| o.monetizationDetails = buildVideoMonetizationDetails();
|
| o.player = buildVideoPlayer();
|
| o.processingDetails = buildVideoProcessingDetails();
|
| @@ -4712,7 +4712,7 @@ checkVideo(api.Video o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkVideoLiveStreamingDetails(o.liveStreamingDetails);
|
| - checkUnnamed552(o.localizations);
|
| + checkUnnamed554(o.localizations);
|
| checkVideoMonetizationDetails(o.monetizationDetails);
|
| checkVideoPlayer(o.player);
|
| checkVideoProcessingDetails(o.processingDetails);
|
| @@ -4779,14 +4779,14 @@ checkVideoAbuseReportReason(api.VideoAbuseReportReason o) {
|
| buildCounterVideoAbuseReportReason--;
|
| }
|
|
|
| -buildUnnamed553() {
|
| +buildUnnamed555() {
|
| var o = new core.List<api.VideoAbuseReportReason>();
|
| o.add(buildVideoAbuseReportReason());
|
| o.add(buildVideoAbuseReportReason());
|
| return o;
|
| }
|
|
|
| -checkUnnamed553(core.List<api.VideoAbuseReportReason> o) {
|
| +checkUnnamed555(core.List<api.VideoAbuseReportReason> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoAbuseReportReason(o[0]);
|
| checkVideoAbuseReportReason(o[1]);
|
| @@ -4799,7 +4799,7 @@ buildVideoAbuseReportReasonListResponse() {
|
| if (buildCounterVideoAbuseReportReasonListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed553();
|
| + o.items = buildUnnamed555();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -4812,21 +4812,21 @@ checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
|
| if (buildCounterVideoAbuseReportReasonListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed553(o.items);
|
| + checkUnnamed555(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| buildCounterVideoAbuseReportReasonListResponse--;
|
| }
|
|
|
| -buildUnnamed554() {
|
| +buildUnnamed556() {
|
| var o = new core.List<api.VideoAbuseReportSecondaryReason>();
|
| o.add(buildVideoAbuseReportSecondaryReason());
|
| o.add(buildVideoAbuseReportSecondaryReason());
|
| return o;
|
| }
|
|
|
| -checkUnnamed554(core.List<api.VideoAbuseReportSecondaryReason> o) {
|
| +checkUnnamed556(core.List<api.VideoAbuseReportSecondaryReason> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoAbuseReportSecondaryReason(o[0]);
|
| checkVideoAbuseReportSecondaryReason(o[1]);
|
| @@ -4838,7 +4838,7 @@ buildVideoAbuseReportReasonSnippet() {
|
| buildCounterVideoAbuseReportReasonSnippet++;
|
| if (buildCounterVideoAbuseReportReasonSnippet < 3) {
|
| o.label = "foo";
|
| - o.secondaryReasons = buildUnnamed554();
|
| + o.secondaryReasons = buildUnnamed556();
|
| }
|
| buildCounterVideoAbuseReportReasonSnippet--;
|
| return o;
|
| @@ -4848,7 +4848,7 @@ checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) {
|
| buildCounterVideoAbuseReportReasonSnippet++;
|
| if (buildCounterVideoAbuseReportReasonSnippet < 3) {
|
| unittest.expect(o.label, unittest.equals('foo'));
|
| - checkUnnamed554(o.secondaryReasons);
|
| + checkUnnamed556(o.secondaryReasons);
|
| }
|
| buildCounterVideoAbuseReportReasonSnippet--;
|
| }
|
| @@ -4922,14 +4922,14 @@ checkVideoCategory(api.VideoCategory o) {
|
| buildCounterVideoCategory--;
|
| }
|
|
|
| -buildUnnamed555() {
|
| +buildUnnamed557() {
|
| var o = new core.List<api.VideoCategory>();
|
| o.add(buildVideoCategory());
|
| o.add(buildVideoCategory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed555(core.List<api.VideoCategory> o) {
|
| +checkUnnamed557(core.List<api.VideoCategory> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoCategory(o[0]);
|
| checkVideoCategory(o[1]);
|
| @@ -4942,7 +4942,7 @@ buildVideoCategoryListResponse() {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed555();
|
| + o.items = buildUnnamed557();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -4959,7 +4959,7 @@ checkVideoCategoryListResponse(api.VideoCategoryListResponse o) {
|
| if (buildCounterVideoCategoryListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed555(o.items);
|
| + checkUnnamed557(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -5030,27 +5030,27 @@ checkVideoContentDetails(api.VideoContentDetails o) {
|
| buildCounterVideoContentDetails--;
|
| }
|
|
|
| -buildUnnamed556() {
|
| +buildUnnamed558() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed556(core.List<core.String> o) {
|
| +checkUnnamed558(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'));
|
| }
|
|
|
| -buildUnnamed557() {
|
| +buildUnnamed559() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed557(core.List<core.String> o) {
|
| +checkUnnamed559(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'));
|
| @@ -5061,8 +5061,8 @@ buildVideoContentDetailsRegionRestriction() {
|
| var o = new api.VideoContentDetailsRegionRestriction();
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - o.allowed = buildUnnamed556();
|
| - o.blocked = buildUnnamed557();
|
| + o.allowed = buildUnnamed558();
|
| + o.blocked = buildUnnamed559();
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| return o;
|
| @@ -5071,33 +5071,33 @@ buildVideoContentDetailsRegionRestriction() {
|
| checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
|
| buildCounterVideoContentDetailsRegionRestriction++;
|
| if (buildCounterVideoContentDetailsRegionRestriction < 3) {
|
| - checkUnnamed556(o.allowed);
|
| - checkUnnamed557(o.blocked);
|
| + checkUnnamed558(o.allowed);
|
| + checkUnnamed559(o.blocked);
|
| }
|
| buildCounterVideoContentDetailsRegionRestriction--;
|
| }
|
|
|
| -buildUnnamed558() {
|
| +buildUnnamed560() {
|
| var o = new core.List<api.VideoFileDetailsAudioStream>();
|
| o.add(buildVideoFileDetailsAudioStream());
|
| o.add(buildVideoFileDetailsAudioStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed558(core.List<api.VideoFileDetailsAudioStream> o) {
|
| +checkUnnamed560(core.List<api.VideoFileDetailsAudioStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsAudioStream(o[0]);
|
| checkVideoFileDetailsAudioStream(o[1]);
|
| }
|
|
|
| -buildUnnamed559() {
|
| +buildUnnamed561() {
|
| var o = new core.List<api.VideoFileDetailsVideoStream>();
|
| o.add(buildVideoFileDetailsVideoStream());
|
| o.add(buildVideoFileDetailsVideoStream());
|
| return o;
|
| }
|
|
|
| -checkUnnamed559(core.List<api.VideoFileDetailsVideoStream> o) {
|
| +checkUnnamed561(core.List<api.VideoFileDetailsVideoStream> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoFileDetailsVideoStream(o[0]);
|
| checkVideoFileDetailsVideoStream(o[1]);
|
| @@ -5108,7 +5108,7 @@ buildVideoFileDetails() {
|
| var o = new api.VideoFileDetails();
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - o.audioStreams = buildUnnamed558();
|
| + o.audioStreams = buildUnnamed560();
|
| o.bitrateBps = "foo";
|
| o.container = "foo";
|
| o.creationTime = "foo";
|
| @@ -5116,7 +5116,7 @@ buildVideoFileDetails() {
|
| o.fileName = "foo";
|
| o.fileSize = "foo";
|
| o.fileType = "foo";
|
| - o.videoStreams = buildUnnamed559();
|
| + o.videoStreams = buildUnnamed561();
|
| }
|
| buildCounterVideoFileDetails--;
|
| return o;
|
| @@ -5125,7 +5125,7 @@ buildVideoFileDetails() {
|
| checkVideoFileDetails(api.VideoFileDetails o) {
|
| buildCounterVideoFileDetails++;
|
| if (buildCounterVideoFileDetails < 3) {
|
| - checkUnnamed558(o.audioStreams);
|
| + checkUnnamed560(o.audioStreams);
|
| unittest.expect(o.bitrateBps, unittest.equals('foo'));
|
| unittest.expect(o.container, unittest.equals('foo'));
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| @@ -5133,7 +5133,7 @@ checkVideoFileDetails(api.VideoFileDetails o) {
|
| unittest.expect(o.fileName, unittest.equals('foo'));
|
| unittest.expect(o.fileSize, unittest.equals('foo'));
|
| unittest.expect(o.fileType, unittest.equals('foo'));
|
| - checkUnnamed559(o.videoStreams);
|
| + checkUnnamed561(o.videoStreams);
|
| }
|
| buildCounterVideoFileDetails--;
|
| }
|
| @@ -5196,14 +5196,14 @@ checkVideoFileDetailsVideoStream(api.VideoFileDetailsVideoStream o) {
|
| buildCounterVideoFileDetailsVideoStream--;
|
| }
|
|
|
| -buildUnnamed560() {
|
| +buildUnnamed562() {
|
| var o = new core.List<api.VideoRating>();
|
| o.add(buildVideoRating());
|
| o.add(buildVideoRating());
|
| return o;
|
| }
|
|
|
| -checkUnnamed560(core.List<api.VideoRating> o) {
|
| +checkUnnamed562(core.List<api.VideoRating> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoRating(o[0]);
|
| checkVideoRating(o[1]);
|
| @@ -5216,7 +5216,7 @@ buildVideoGetRatingResponse() {
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed560();
|
| + o.items = buildUnnamed562();
|
| o.kind = "foo";
|
| o.visitorId = "foo";
|
| }
|
| @@ -5229,21 +5229,21 @@ checkVideoGetRatingResponse(api.VideoGetRatingResponse o) {
|
| if (buildCounterVideoGetRatingResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed560(o.items);
|
| + checkUnnamed562(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.visitorId, unittest.equals('foo'));
|
| }
|
| buildCounterVideoGetRatingResponse--;
|
| }
|
|
|
| -buildUnnamed561() {
|
| +buildUnnamed563() {
|
| var o = new core.List<api.Video>();
|
| o.add(buildVideo());
|
| o.add(buildVideo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed561(core.List<api.Video> o) {
|
| +checkUnnamed563(core.List<api.Video> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideo(o[0]);
|
| checkVideo(o[1]);
|
| @@ -5256,7 +5256,7 @@ buildVideoListResponse() {
|
| if (buildCounterVideoListResponse < 3) {
|
| o.etag = "foo";
|
| o.eventId = "foo";
|
| - o.items = buildUnnamed561();
|
| + o.items = buildUnnamed563();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.pageInfo = buildPageInfo();
|
| @@ -5273,7 +5273,7 @@ checkVideoListResponse(api.VideoListResponse o) {
|
| if (buildCounterVideoListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.eventId, unittest.equals('foo'));
|
| - checkUnnamed561(o.items);
|
| + checkUnnamed563(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| @@ -5432,14 +5432,14 @@ checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
|
| buildCounterVideoProcessingDetailsProcessingProgress--;
|
| }
|
|
|
| -buildUnnamed562() {
|
| +buildUnnamed564() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed562(core.List<core.String> o) {
|
| +checkUnnamed564(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'));
|
| @@ -5450,7 +5450,7 @@ buildVideoProjectDetails() {
|
| var o = new api.VideoProjectDetails();
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - o.tags = buildUnnamed562();
|
| + o.tags = buildUnnamed564();
|
| }
|
| buildCounterVideoProjectDetails--;
|
| return o;
|
| @@ -5459,7 +5459,7 @@ buildVideoProjectDetails() {
|
| checkVideoProjectDetails(api.VideoProjectDetails o) {
|
| buildCounterVideoProjectDetails++;
|
| if (buildCounterVideoProjectDetails < 3) {
|
| - checkUnnamed562(o.tags);
|
| + checkUnnamed564(o.tags);
|
| }
|
| buildCounterVideoProjectDetails--;
|
| }
|
| @@ -5508,14 +5508,14 @@ checkVideoRecordingDetails(api.VideoRecordingDetails o) {
|
| buildCounterVideoRecordingDetails--;
|
| }
|
|
|
| -buildUnnamed563() {
|
| +buildUnnamed565() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed563(core.List<core.String> o) {
|
| +checkUnnamed565(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'));
|
| @@ -5535,7 +5535,7 @@ buildVideoSnippet() {
|
| o.liveBroadcastContent = "foo";
|
| o.localized = buildVideoLocalization();
|
| o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.tags = buildUnnamed563();
|
| + o.tags = buildUnnamed565();
|
| o.thumbnails = buildThumbnailDetails();
|
| o.title = "foo";
|
| }
|
| @@ -5555,7 +5555,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")));
|
| - checkUnnamed563(o.tags);
|
| + checkUnnamed565(o.tags);
|
| checkThumbnailDetails(o.thumbnails);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| @@ -5622,66 +5622,66 @@ checkVideoStatus(api.VideoStatus o) {
|
| buildCounterVideoStatus--;
|
| }
|
|
|
| -buildUnnamed564() {
|
| +buildUnnamed566() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed564(core.List<core.String> o) {
|
| +checkUnnamed566(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'));
|
| }
|
|
|
| -buildUnnamed565() {
|
| +buildUnnamed567() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed565(core.List<core.String> o) {
|
| +checkUnnamed567(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'));
|
| }
|
|
|
| -buildUnnamed566() {
|
| +buildUnnamed568() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed566(core.List<core.String> o) {
|
| +checkUnnamed568(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'));
|
| }
|
|
|
| -buildUnnamed567() {
|
| +buildUnnamed569() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed567(core.List<core.String> o) {
|
| +checkUnnamed569(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'));
|
| }
|
|
|
| -buildUnnamed568() {
|
| +buildUnnamed570() {
|
| var o = new core.List<api.VideoSuggestionsTagSuggestion>();
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| o.add(buildVideoSuggestionsTagSuggestion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed568(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| +checkUnnamed570(core.List<api.VideoSuggestionsTagSuggestion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVideoSuggestionsTagSuggestion(o[0]);
|
| checkVideoSuggestionsTagSuggestion(o[1]);
|
| @@ -5692,11 +5692,11 @@ buildVideoSuggestions() {
|
| var o = new api.VideoSuggestions();
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - o.editorSuggestions = buildUnnamed564();
|
| - o.processingErrors = buildUnnamed565();
|
| - o.processingHints = buildUnnamed566();
|
| - o.processingWarnings = buildUnnamed567();
|
| - o.tagSuggestions = buildUnnamed568();
|
| + o.editorSuggestions = buildUnnamed566();
|
| + o.processingErrors = buildUnnamed567();
|
| + o.processingHints = buildUnnamed568();
|
| + o.processingWarnings = buildUnnamed569();
|
| + o.tagSuggestions = buildUnnamed570();
|
| }
|
| buildCounterVideoSuggestions--;
|
| return o;
|
| @@ -5705,23 +5705,23 @@ buildVideoSuggestions() {
|
| checkVideoSuggestions(api.VideoSuggestions o) {
|
| buildCounterVideoSuggestions++;
|
| if (buildCounterVideoSuggestions < 3) {
|
| - checkUnnamed564(o.editorSuggestions);
|
| - checkUnnamed565(o.processingErrors);
|
| - checkUnnamed566(o.processingHints);
|
| - checkUnnamed567(o.processingWarnings);
|
| - checkUnnamed568(o.tagSuggestions);
|
| + checkUnnamed566(o.editorSuggestions);
|
| + checkUnnamed567(o.processingErrors);
|
| + checkUnnamed568(o.processingHints);
|
| + checkUnnamed569(o.processingWarnings);
|
| + checkUnnamed570(o.tagSuggestions);
|
| }
|
| buildCounterVideoSuggestions--;
|
| }
|
|
|
| -buildUnnamed569() {
|
| +buildUnnamed571() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed569(core.List<core.String> o) {
|
| +checkUnnamed571(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'));
|
| @@ -5732,7 +5732,7 @@ buildVideoSuggestionsTagSuggestion() {
|
| var o = new api.VideoSuggestionsTagSuggestion();
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - o.categoryRestricts = buildUnnamed569();
|
| + o.categoryRestricts = buildUnnamed571();
|
| o.tag = "foo";
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| @@ -5742,46 +5742,46 @@ buildVideoSuggestionsTagSuggestion() {
|
| checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
|
| buildCounterVideoSuggestionsTagSuggestion++;
|
| if (buildCounterVideoSuggestionsTagSuggestion < 3) {
|
| - checkUnnamed569(o.categoryRestricts);
|
| + checkUnnamed571(o.categoryRestricts);
|
| unittest.expect(o.tag, unittest.equals('foo'));
|
| }
|
| buildCounterVideoSuggestionsTagSuggestion--;
|
| }
|
|
|
| -buildUnnamed570() {
|
| +buildUnnamed572() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed570(core.List<core.String> o) {
|
| +checkUnnamed572(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'));
|
| }
|
|
|
| -buildUnnamed571() {
|
| +buildUnnamed573() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed571(core.List<core.String> o) {
|
| +checkUnnamed573(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'));
|
| }
|
|
|
| -buildUnnamed572() {
|
| +buildUnnamed574() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed572(core.List<core.String> o) {
|
| +checkUnnamed574(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'));
|
| @@ -5792,9 +5792,9 @@ buildVideoTopicDetails() {
|
| var o = new api.VideoTopicDetails();
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - o.relevantTopicIds = buildUnnamed570();
|
| - o.topicCategories = buildUnnamed571();
|
| - o.topicIds = buildUnnamed572();
|
| + o.relevantTopicIds = buildUnnamed572();
|
| + o.topicCategories = buildUnnamed573();
|
| + o.topicIds = buildUnnamed574();
|
| }
|
| buildCounterVideoTopicDetails--;
|
| return o;
|
| @@ -5803,9 +5803,9 @@ buildVideoTopicDetails() {
|
| checkVideoTopicDetails(api.VideoTopicDetails o) {
|
| buildCounterVideoTopicDetails++;
|
| if (buildCounterVideoTopicDetails < 3) {
|
| - checkUnnamed570(o.relevantTopicIds);
|
| - checkUnnamed571(o.topicCategories);
|
| - checkUnnamed572(o.topicIds);
|
| + checkUnnamed572(o.relevantTopicIds);
|
| + checkUnnamed573(o.topicCategories);
|
| + checkUnnamed574(o.topicIds);
|
| }
|
| buildCounterVideoTopicDetails--;
|
| }
|
| @@ -7444,7 +7444,7 @@ main() {
|
| api.ActivitiesResourceApi res = new api.YoutubeApi(mock).activities;
|
| var arg_request = buildActivity();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Activity.fromJson(json);
|
| checkActivity(obj);
|
|
|
| @@ -7484,7 +7484,7 @@ main() {
|
| var resp = convert.JSON.encode(buildActivity());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part).then(unittest.expectAsync(((api.Activity response) {
|
| + res.insert(arg_request, arg_part).then(unittest.expectAsync1(((api.Activity response) {
|
| checkActivity(response);
|
| })));
|
| });
|
| @@ -7502,7 +7502,7 @@ main() {
|
| var arg_publishedAfter = core.DateTime.parse("2002-02-27T14:01:02");
|
| var arg_publishedBefore = core.DateTime.parse("2002-02-27T14:01:02");
|
| var arg_regionCode = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -7547,7 +7547,7 @@ main() {
|
| var resp = convert.JSON.encode(buildActivityListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, channelId: arg_channelId, home: arg_home, maxResults: arg_maxResults, mine: arg_mine, pageToken: arg_pageToken, publishedAfter: arg_publishedAfter, publishedBefore: arg_publishedBefore, regionCode: arg_regionCode).then(unittest.expectAsync(((api.ActivityListResponse response) {
|
| + res.list(arg_part, channelId: arg_channelId, home: arg_home, maxResults: arg_maxResults, mine: arg_mine, pageToken: arg_pageToken, publishedAfter: arg_publishedAfter, publishedBefore: arg_publishedBefore, regionCode: arg_regionCode).then(unittest.expectAsync1(((api.ActivityListResponse response) {
|
| checkActivityListResponse(response);
|
| })));
|
| });
|
| @@ -7563,7 +7563,7 @@ main() {
|
| var arg_id = "foo";
|
| var arg_onBehalfOf = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -7602,7 +7602,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--download", () {
|
| @@ -7616,7 +7616,7 @@ main() {
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_tfmt = "foo";
|
| var arg_tlang = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -7659,7 +7659,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.download(arg_id, 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.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -7673,7 +7673,7 @@ main() {
|
| var arg_onBehalfOf = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_sync = true;
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Caption.fromJson(json);
|
| checkCaption(obj);
|
|
|
| @@ -7716,7 +7716,7 @@ main() {
|
| var resp = convert.JSON.encode(buildCaption());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part, 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.expectAsync1(((api.Caption response) {
|
| checkCaption(response);
|
| })));
|
| });
|
| @@ -7730,7 +7730,7 @@ main() {
|
| var arg_id = "foo";
|
| var arg_onBehalfOf = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -7771,7 +7771,7 @@ main() {
|
| var resp = convert.JSON.encode(buildCaptionListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, arg_videoId, 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.expectAsync1(((api.CaptionListResponse response) {
|
| checkCaptionListResponse(response);
|
| })));
|
| });
|
| @@ -7787,7 +7787,7 @@ main() {
|
| var arg_onBehalfOf = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_sync = true;
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Caption.fromJson(json);
|
| checkCaption(obj);
|
|
|
| @@ -7830,7 +7830,7 @@ main() {
|
| var resp = convert.JSON.encode(buildCaption());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, 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.expectAsync1(((api.Caption response) {
|
| checkCaption(response);
|
| })));
|
| });
|
| @@ -7847,7 +7847,7 @@ main() {
|
| api.ChannelBannersResourceApi res = new api.YoutubeApi(mock).channelBanners;
|
| var arg_request = buildChannelBannerResource();
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.ChannelBannerResource.fromJson(json);
|
| checkChannelBannerResource(obj);
|
|
|
| @@ -7887,7 +7887,7 @@ main() {
|
| var resp = convert.JSON.encode(buildChannelBannerResource());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.ChannelBannerResource response) {
|
| + res.insert(arg_request, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.ChannelBannerResource response) {
|
| checkChannelBannerResource(response);
|
| })));
|
| });
|
| @@ -7902,7 +7902,7 @@ main() {
|
| api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSections;
|
| var arg_id = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -7940,7 +7940,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -7951,7 +7951,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.ChannelSection.fromJson(json);
|
| checkChannelSection(obj);
|
|
|
| @@ -7993,7 +7993,7 @@ main() {
|
| var resp = convert.JSON.encode(buildChannelSection());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync(((api.ChannelSection response) {
|
| + res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1(((api.ChannelSection response) {
|
| checkChannelSection(response);
|
| })));
|
| });
|
| @@ -8008,7 +8008,7 @@ main() {
|
| var arg_id = "foo";
|
| var arg_mine = true;
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8050,7 +8050,7 @@ main() {
|
| var resp = convert.JSON.encode(buildChannelSectionListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, channelId: arg_channelId, hl: arg_hl, id: arg_id, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.ChannelSectionListResponse response) {
|
| + res.list(arg_part, channelId: arg_channelId, hl: arg_hl, id: arg_id, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.ChannelSectionListResponse response) {
|
| checkChannelSectionListResponse(response);
|
| })));
|
| });
|
| @@ -8062,7 +8062,7 @@ main() {
|
| var arg_request = buildChannelSection();
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.ChannelSection.fromJson(json);
|
| checkChannelSection(obj);
|
|
|
| @@ -8103,7 +8103,7 @@ main() {
|
| var resp = convert.JSON.encode(buildChannelSection());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.ChannelSection response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.ChannelSection response) {
|
| checkChannelSection(response);
|
| })));
|
| });
|
| @@ -8127,7 +8127,7 @@ main() {
|
| var arg_mySubscribers = true;
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8174,7 +8174,7 @@ main() {
|
| var resp = convert.JSON.encode(buildChannelListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, categoryId: arg_categoryId, forUsername: arg_forUsername, hl: arg_hl, id: arg_id, managedByMe: arg_managedByMe, maxResults: arg_maxResults, mine: arg_mine, mySubscribers: arg_mySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ChannelListResponse response) {
|
| + res.list(arg_part, categoryId: arg_categoryId, forUsername: arg_forUsername, hl: arg_hl, id: arg_id, managedByMe: arg_managedByMe, maxResults: arg_maxResults, mine: arg_mine, mySubscribers: arg_mySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ChannelListResponse response) {
|
| checkChannelListResponse(response);
|
| })));
|
| });
|
| @@ -8186,7 +8186,7 @@ main() {
|
| var arg_request = buildChannel();
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Channel.fromJson(json);
|
| checkChannel(obj);
|
|
|
| @@ -8227,7 +8227,7 @@ main() {
|
| var resp = convert.JSON.encode(buildChannel());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.Channel response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.Channel response) {
|
| checkChannel(response);
|
| })));
|
| });
|
| @@ -8242,7 +8242,7 @@ main() {
|
| api.CommentThreadsResourceApi res = new api.YoutubeApi(mock).commentThreads;
|
| var arg_request = buildCommentThread();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.CommentThread.fromJson(json);
|
| checkCommentThread(obj);
|
|
|
| @@ -8282,7 +8282,7 @@ main() {
|
| var resp = convert.JSON.encode(buildCommentThread());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part).then(unittest.expectAsync(((api.CommentThread response) {
|
| + res.insert(arg_request, arg_part).then(unittest.expectAsync1(((api.CommentThread response) {
|
| checkCommentThread(response);
|
| })));
|
| });
|
| @@ -8302,7 +8302,7 @@ main() {
|
| var arg_searchTerms = "foo";
|
| var arg_textFormat = "foo";
|
| var arg_videoId = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8349,7 +8349,7 @@ main() {
|
| var resp = convert.JSON.encode(buildCommentThreadListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, allThreadsRelatedToChannelId: arg_allThreadsRelatedToChannelId, channelId: arg_channelId, id: arg_id, maxResults: arg_maxResults, moderationStatus: arg_moderationStatus, order: arg_order, pageToken: arg_pageToken, searchTerms: arg_searchTerms, textFormat: arg_textFormat, videoId: arg_videoId).then(unittest.expectAsync(((api.CommentThreadListResponse response) {
|
| + res.list(arg_part, allThreadsRelatedToChannelId: arg_allThreadsRelatedToChannelId, channelId: arg_channelId, id: arg_id, maxResults: arg_maxResults, moderationStatus: arg_moderationStatus, order: arg_order, pageToken: arg_pageToken, searchTerms: arg_searchTerms, textFormat: arg_textFormat, videoId: arg_videoId).then(unittest.expectAsync1(((api.CommentThreadListResponse response) {
|
| checkCommentThreadListResponse(response);
|
| })));
|
| });
|
| @@ -8360,7 +8360,7 @@ main() {
|
| api.CommentThreadsResourceApi res = new api.YoutubeApi(mock).commentThreads;
|
| var arg_request = buildCommentThread();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.CommentThread.fromJson(json);
|
| checkCommentThread(obj);
|
|
|
| @@ -8400,7 +8400,7 @@ main() {
|
| var resp = convert.JSON.encode(buildCommentThread());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part).then(unittest.expectAsync(((api.CommentThread response) {
|
| + res.update(arg_request, arg_part).then(unittest.expectAsync1(((api.CommentThread response) {
|
| checkCommentThread(response);
|
| })));
|
| });
|
| @@ -8414,7 +8414,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
|
| var arg_id = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8451,7 +8451,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -8460,7 +8460,7 @@ main() {
|
| api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
|
| var arg_request = buildComment();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Comment.fromJson(json);
|
| checkComment(obj);
|
|
|
| @@ -8500,7 +8500,7 @@ main() {
|
| var resp = convert.JSON.encode(buildComment());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part).then(unittest.expectAsync(((api.Comment response) {
|
| + res.insert(arg_request, arg_part).then(unittest.expectAsync1(((api.Comment response) {
|
| checkComment(response);
|
| })));
|
| });
|
| @@ -8515,7 +8515,7 @@ main() {
|
| var arg_pageToken = "foo";
|
| var arg_parentId = "foo";
|
| var arg_textFormat = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8557,7 +8557,7 @@ main() {
|
| var resp = convert.JSON.encode(buildCommentListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, id: arg_id, maxResults: arg_maxResults, pageToken: arg_pageToken, parentId: arg_parentId, textFormat: arg_textFormat).then(unittest.expectAsync(((api.CommentListResponse response) {
|
| + res.list(arg_part, id: arg_id, maxResults: arg_maxResults, pageToken: arg_pageToken, parentId: arg_parentId, textFormat: arg_textFormat).then(unittest.expectAsync1(((api.CommentListResponse response) {
|
| checkCommentListResponse(response);
|
| })));
|
| });
|
| @@ -8567,7 +8567,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
|
| var arg_id = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8604,7 +8604,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.markAsSpam(arg_id).then(unittest.expectAsync((_) {}));
|
| + res.markAsSpam(arg_id).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--setModerationStatus", () {
|
| @@ -8614,7 +8614,7 @@ main() {
|
| var arg_id = "foo";
|
| var arg_moderationStatus = "foo";
|
| var arg_banAuthor = true;
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8653,7 +8653,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.setModerationStatus(arg_id, arg_moderationStatus, banAuthor: arg_banAuthor).then(unittest.expectAsync((_) {}));
|
| + res.setModerationStatus(arg_id, arg_moderationStatus, banAuthor: arg_banAuthor).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--update", () {
|
| @@ -8662,7 +8662,7 @@ main() {
|
| api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
|
| var arg_request = buildComment();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Comment.fromJson(json);
|
| checkComment(obj);
|
|
|
| @@ -8702,7 +8702,7 @@ main() {
|
| var resp = convert.JSON.encode(buildComment());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part).then(unittest.expectAsync(((api.Comment response) {
|
| + res.update(arg_request, arg_part).then(unittest.expectAsync1(((api.Comment response) {
|
| checkComment(response);
|
| })));
|
| });
|
| @@ -8719,7 +8719,7 @@ main() {
|
| var arg_hl = "foo";
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8759,7 +8759,7 @@ main() {
|
| var resp = convert.JSON.encode(buildFanFundingEventListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.FanFundingEventListResponse response) {
|
| + res.list(arg_part, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.FanFundingEventListResponse response) {
|
| checkFanFundingEventListResponse(response);
|
| })));
|
| });
|
| @@ -8776,7 +8776,7 @@ main() {
|
| var arg_hl = "foo";
|
| var arg_id = "foo";
|
| var arg_regionCode = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8816,7 +8816,7 @@ main() {
|
| var resp = convert.JSON.encode(buildGuideCategoryListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, hl: arg_hl, id: arg_id, regionCode: arg_regionCode).then(unittest.expectAsync(((api.GuideCategoryListResponse response) {
|
| + res.list(arg_part, hl: arg_hl, id: arg_id, regionCode: arg_regionCode).then(unittest.expectAsync1(((api.GuideCategoryListResponse response) {
|
| checkGuideCategoryListResponse(response);
|
| })));
|
| });
|
| @@ -8831,7 +8831,7 @@ main() {
|
| api.I18nLanguagesResourceApi res = new api.YoutubeApi(mock).i18nLanguages;
|
| var arg_part = "foo";
|
| var arg_hl = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8869,7 +8869,7 @@ main() {
|
| var resp = convert.JSON.encode(buildI18nLanguageListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, hl: arg_hl).then(unittest.expectAsync(((api.I18nLanguageListResponse response) {
|
| + res.list(arg_part, hl: arg_hl).then(unittest.expectAsync1(((api.I18nLanguageListResponse response) {
|
| checkI18nLanguageListResponse(response);
|
| })));
|
| });
|
| @@ -8884,7 +8884,7 @@ main() {
|
| api.I18nRegionsResourceApi res = new api.YoutubeApi(mock).i18nRegions;
|
| var arg_part = "foo";
|
| var arg_hl = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8922,7 +8922,7 @@ main() {
|
| var resp = convert.JSON.encode(buildI18nRegionListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, hl: arg_hl).then(unittest.expectAsync(((api.I18nRegionListResponse response) {
|
| + res.list(arg_part, hl: arg_hl).then(unittest.expectAsync1(((api.I18nRegionListResponse response) {
|
| checkI18nRegionListResponse(response);
|
| })));
|
| });
|
| @@ -8940,7 +8940,7 @@ main() {
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| var arg_streamId = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -8981,7 +8981,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveBroadcast());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.bind(arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, streamId: arg_streamId).then(unittest.expectAsync(((api.LiveBroadcast response) {
|
| + res.bind(arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, streamId: arg_streamId).then(unittest.expectAsync1(((api.LiveBroadcast response) {
|
| checkLiveBroadcast(response);
|
| })));
|
| });
|
| @@ -8997,7 +8997,7 @@ main() {
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| var arg_walltime = core.DateTime.parse("2002-02-27T14:01:02");
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9040,7 +9040,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveBroadcast());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.control(arg_id, arg_part, displaySlate: arg_displaySlate, offsetTimeMs: arg_offsetTimeMs, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, walltime: arg_walltime).then(unittest.expectAsync(((api.LiveBroadcast response) {
|
| + res.control(arg_id, arg_part, displaySlate: arg_displaySlate, offsetTimeMs: arg_offsetTimeMs, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, walltime: arg_walltime).then(unittest.expectAsync1(((api.LiveBroadcast response) {
|
| checkLiveBroadcast(response);
|
| })));
|
| });
|
| @@ -9052,7 +9052,7 @@ main() {
|
| var arg_id = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9091,7 +9091,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -9102,7 +9102,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.LiveBroadcast.fromJson(json);
|
| checkLiveBroadcast(obj);
|
|
|
| @@ -9144,7 +9144,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveBroadcast());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync(((api.LiveBroadcast response) {
|
| + res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1(((api.LiveBroadcast response) {
|
| checkLiveBroadcast(response);
|
| })));
|
| });
|
| @@ -9162,7 +9162,7 @@ main() {
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9207,7 +9207,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveBroadcastListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, broadcastStatus: arg_broadcastStatus, broadcastType: arg_broadcastType, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, pageToken: arg_pageToken).then(unittest.expectAsync(((api.LiveBroadcastListResponse response) {
|
| + res.list(arg_part, broadcastStatus: arg_broadcastStatus, broadcastType: arg_broadcastType, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.LiveBroadcastListResponse response) {
|
| checkLiveBroadcastListResponse(response);
|
| })));
|
| });
|
| @@ -9221,7 +9221,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9262,7 +9262,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveBroadcast());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.transition(arg_broadcastStatus, arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync(((api.LiveBroadcast response) {
|
| + res.transition(arg_broadcastStatus, arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1(((api.LiveBroadcast response) {
|
| checkLiveBroadcast(response);
|
| })));
|
| });
|
| @@ -9275,7 +9275,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.LiveBroadcast.fromJson(json);
|
| checkLiveBroadcast(obj);
|
|
|
| @@ -9317,7 +9317,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveBroadcast());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync(((api.LiveBroadcast response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1(((api.LiveBroadcast response) {
|
| checkLiveBroadcast(response);
|
| })));
|
| });
|
| @@ -9331,7 +9331,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.LiveChatBansResourceApi res = new api.YoutubeApi(mock).liveChatBans;
|
| var arg_id = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9368,7 +9368,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -9377,7 +9377,7 @@ main() {
|
| api.LiveChatBansResourceApi res = new api.YoutubeApi(mock).liveChatBans;
|
| var arg_request = buildLiveChatBan();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.LiveChatBan.fromJson(json);
|
| checkLiveChatBan(obj);
|
|
|
| @@ -9417,7 +9417,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveChatBan());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part).then(unittest.expectAsync(((api.LiveChatBan response) {
|
| + res.insert(arg_request, arg_part).then(unittest.expectAsync1(((api.LiveChatBan response) {
|
| checkLiveChatBan(response);
|
| })));
|
| });
|
| @@ -9431,7 +9431,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.LiveChatMessagesResourceApi res = new api.YoutubeApi(mock).liveChatMessages;
|
| var arg_id = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9468,7 +9468,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -9477,7 +9477,7 @@ main() {
|
| api.LiveChatMessagesResourceApi res = new api.YoutubeApi(mock).liveChatMessages;
|
| var arg_request = buildLiveChatMessage();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.LiveChatMessage.fromJson(json);
|
| checkLiveChatMessage(obj);
|
|
|
| @@ -9517,7 +9517,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveChatMessage());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part).then(unittest.expectAsync(((api.LiveChatMessage response) {
|
| + res.insert(arg_request, arg_part).then(unittest.expectAsync1(((api.LiveChatMessage response) {
|
| checkLiveChatMessage(response);
|
| })));
|
| });
|
| @@ -9532,7 +9532,7 @@ main() {
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_profileImageSize = 42;
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9574,7 +9574,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveChatMessageListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_liveChatId, arg_part, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken, profileImageSize: arg_profileImageSize).then(unittest.expectAsync(((api.LiveChatMessageListResponse response) {
|
| + res.list(arg_liveChatId, arg_part, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken, profileImageSize: arg_profileImageSize).then(unittest.expectAsync1(((api.LiveChatMessageListResponse response) {
|
| checkLiveChatMessageListResponse(response);
|
| })));
|
| });
|
| @@ -9588,7 +9588,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.LiveChatModeratorsResourceApi res = new api.YoutubeApi(mock).liveChatModerators;
|
| var arg_id = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9625,7 +9625,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -9634,7 +9634,7 @@ main() {
|
| api.LiveChatModeratorsResourceApi res = new api.YoutubeApi(mock).liveChatModerators;
|
| var arg_request = buildLiveChatModerator();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.LiveChatModerator.fromJson(json);
|
| checkLiveChatModerator(obj);
|
|
|
| @@ -9674,7 +9674,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveChatModerator());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part).then(unittest.expectAsync(((api.LiveChatModerator response) {
|
| + res.insert(arg_request, arg_part).then(unittest.expectAsync1(((api.LiveChatModerator response) {
|
| checkLiveChatModerator(response);
|
| })));
|
| });
|
| @@ -9687,7 +9687,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9727,7 +9727,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveChatModeratorListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_liveChatId, arg_part, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.LiveChatModeratorListResponse response) {
|
| + res.list(arg_liveChatId, arg_part, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.LiveChatModeratorListResponse response) {
|
| checkLiveChatModeratorListResponse(response);
|
| })));
|
| });
|
| @@ -9743,7 +9743,7 @@ main() {
|
| var arg_id = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9782,7 +9782,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -9793,7 +9793,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.LiveStream.fromJson(json);
|
| checkLiveStream(obj);
|
|
|
| @@ -9835,7 +9835,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveStream());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync(((api.LiveStream response) {
|
| + res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1(((api.LiveStream response) {
|
| checkLiveStream(response);
|
| })));
|
| });
|
| @@ -9851,7 +9851,7 @@ main() {
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -9894,7 +9894,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveStreamListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, pageToken: arg_pageToken).then(unittest.expectAsync(((api.LiveStreamListResponse response) {
|
| + res.list(arg_part, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.LiveStreamListResponse response) {
|
| checkLiveStreamListResponse(response);
|
| })));
|
| });
|
| @@ -9907,7 +9907,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.LiveStream.fromJson(json);
|
| checkLiveStream(obj);
|
|
|
| @@ -9949,7 +9949,7 @@ main() {
|
| var resp = convert.JSON.encode(buildLiveStream());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync(((api.LiveStream response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1(((api.LiveStream response) {
|
| checkLiveStream(response);
|
| })));
|
| });
|
| @@ -9964,7 +9964,7 @@ main() {
|
| api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems;
|
| var arg_id = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10002,7 +10002,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -10012,7 +10012,7 @@ main() {
|
| var arg_request = buildPlaylistItem();
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.PlaylistItem.fromJson(json);
|
| checkPlaylistItem(obj);
|
|
|
| @@ -10053,7 +10053,7 @@ main() {
|
| var resp = convert.JSON.encode(buildPlaylistItem());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.PlaylistItem response) {
|
| + res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.PlaylistItem response) {
|
| checkPlaylistItem(response);
|
| })));
|
| });
|
| @@ -10069,7 +10069,7 @@ main() {
|
| var arg_pageToken = "foo";
|
| var arg_playlistId = "foo";
|
| var arg_videoId = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10112,7 +10112,7 @@ main() {
|
| var resp = convert.JSON.encode(buildPlaylistItemListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, id: arg_id, maxResults: arg_maxResults, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, playlistId: arg_playlistId, videoId: arg_videoId).then(unittest.expectAsync(((api.PlaylistItemListResponse response) {
|
| + res.list(arg_part, id: arg_id, maxResults: arg_maxResults, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, playlistId: arg_playlistId, videoId: arg_videoId).then(unittest.expectAsync1(((api.PlaylistItemListResponse response) {
|
| checkPlaylistItemListResponse(response);
|
| })));
|
| });
|
| @@ -10124,7 +10124,7 @@ main() {
|
| var arg_request = buildPlaylistItem();
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.PlaylistItem.fromJson(json);
|
| checkPlaylistItem(obj);
|
|
|
| @@ -10165,7 +10165,7 @@ main() {
|
| var resp = convert.JSON.encode(buildPlaylistItem());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.PlaylistItem response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.PlaylistItem response) {
|
| checkPlaylistItem(response);
|
| })));
|
| });
|
| @@ -10180,7 +10180,7 @@ main() {
|
| api.PlaylistsResourceApi res = new api.YoutubeApi(mock).playlists;
|
| var arg_id = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10218,7 +10218,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -10229,7 +10229,7 @@ main() {
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Playlist.fromJson(json);
|
| checkPlaylist(obj);
|
|
|
| @@ -10271,7 +10271,7 @@ main() {
|
| var resp = convert.JSON.encode(buildPlaylist());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync(((api.Playlist response) {
|
| + res.insert(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel).then(unittest.expectAsync1(((api.Playlist response) {
|
| checkPlaylist(response);
|
| })));
|
| });
|
| @@ -10289,7 +10289,7 @@ main() {
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10334,7 +10334,7 @@ main() {
|
| var resp = convert.JSON.encode(buildPlaylistListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, channelId: arg_channelId, hl: arg_hl, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, pageToken: arg_pageToken).then(unittest.expectAsync(((api.PlaylistListResponse response) {
|
| + res.list(arg_part, channelId: arg_channelId, hl: arg_hl, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.PlaylistListResponse response) {
|
| checkPlaylistListResponse(response);
|
| })));
|
| });
|
| @@ -10346,7 +10346,7 @@ main() {
|
| var arg_request = buildPlaylist();
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Playlist.fromJson(json);
|
| checkPlaylist(obj);
|
|
|
| @@ -10387,7 +10387,7 @@ main() {
|
| var resp = convert.JSON.encode(buildPlaylist());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.Playlist response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.Playlist response) {
|
| checkPlaylist(response);
|
| })));
|
| });
|
| @@ -10431,7 +10431,7 @@ main() {
|
| var arg_videoLicense = "foo";
|
| var arg_videoSyndicated = "foo";
|
| var arg_videoType = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10498,7 +10498,7 @@ main() {
|
| var resp = convert.JSON.encode(buildSearchListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, channelId: arg_channelId, channelType: arg_channelType, eventType: arg_eventType, forContentOwner: arg_forContentOwner, forDeveloper: arg_forDeveloper, forMine: arg_forMine, location: arg_location, locationRadius: arg_locationRadius, maxResults: arg_maxResults, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, order: arg_order, pageToken: arg_pageToken, publishedAfter: arg_publishedAfter, publishedBefore: arg_publishedBefore, q: arg_q, regionCode: arg_regionCode, relatedToVideoId: arg_relatedToVideoId, relevanceLanguage: arg_relevanceLanguage, safeSearch: arg_safeSearch, topicId: arg_topicId, type: arg_type, videoCaption: arg_videoCaption, videoCategoryId: arg_videoCategoryId, videoDefinition: arg_videoDefinition, videoDimension: arg_videoDimension, videoDuration: arg_videoDuration, videoEmbeddable: arg_videoEmbeddable, videoLicense: arg_videoLicense, videoSyndicated: arg_videoSyndicated, videoType: arg_videoType).then(unittest.expectAsync(((api.SearchListResponse response) {
|
| + res.list(arg_part, channelId: arg_channelId, channelType: arg_channelType, eventType: arg_eventType, forContentOwner: arg_forContentOwner, forDeveloper: arg_forDeveloper, forMine: arg_forMine, location: arg_location, locationRadius: arg_locationRadius, maxResults: arg_maxResults, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, order: arg_order, pageToken: arg_pageToken, publishedAfter: arg_publishedAfter, publishedBefore: arg_publishedBefore, q: arg_q, regionCode: arg_regionCode, relatedToVideoId: arg_relatedToVideoId, relevanceLanguage: arg_relevanceLanguage, safeSearch: arg_safeSearch, topicId: arg_topicId, type: arg_type, videoCaption: arg_videoCaption, videoCategoryId: arg_videoCategoryId, videoDefinition: arg_videoDefinition, videoDimension: arg_videoDimension, videoDuration: arg_videoDuration, videoEmbeddable: arg_videoEmbeddable, videoLicense: arg_videoLicense, videoSyndicated: arg_videoSyndicated, videoType: arg_videoType).then(unittest.expectAsync1(((api.SearchListResponse response) {
|
| checkSearchListResponse(response);
|
| })));
|
| });
|
| @@ -10515,7 +10515,7 @@ main() {
|
| var arg_filter = "foo";
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10555,7 +10555,7 @@ main() {
|
| var resp = convert.JSON.encode(buildSponsorListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, filter: arg_filter, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.SponsorListResponse response) {
|
| + res.list(arg_part, filter: arg_filter, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.SponsorListResponse response) {
|
| checkSponsorListResponse(response);
|
| })));
|
| });
|
| @@ -10569,7 +10569,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.SubscriptionsResourceApi res = new api.YoutubeApi(mock).subscriptions;
|
| var arg_id = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10606,7 +10606,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--insert", () {
|
| @@ -10615,7 +10615,7 @@ main() {
|
| api.SubscriptionsResourceApi res = new api.YoutubeApi(mock).subscriptions;
|
| var arg_request = buildSubscription();
|
| var arg_part = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Subscription.fromJson(json);
|
| checkSubscription(obj);
|
|
|
| @@ -10655,7 +10655,7 @@ main() {
|
| var resp = convert.JSON.encode(buildSubscription());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part).then(unittest.expectAsync(((api.Subscription response) {
|
| + res.insert(arg_request, arg_part).then(unittest.expectAsync1(((api.Subscription response) {
|
| checkSubscription(response);
|
| })));
|
| });
|
| @@ -10676,7 +10676,7 @@ main() {
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| var arg_order = "foo";
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10724,7 +10724,7 @@ main() {
|
| var resp = convert.JSON.encode(buildSubscriptionListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelId, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, myRecentSubscribers: arg_myRecentSubscribers, mySubscribers: arg_mySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, order: arg_order, pageToken: arg_pageToken).then(unittest.expectAsync(((api.SubscriptionListResponse response) {
|
| + res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelId, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, myRecentSubscribers: arg_myRecentSubscribers, mySubscribers: arg_mySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, order: arg_order, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.SubscriptionListResponse response) {
|
| checkSubscriptionListResponse(response);
|
| })));
|
| });
|
| @@ -10741,7 +10741,7 @@ main() {
|
| var arg_hl = "foo";
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10781,7 +10781,7 @@ main() {
|
| var resp = convert.JSON.encode(buildSuperChatEventListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.SuperChatEventListResponse response) {
|
| + res.list(arg_part, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.SuperChatEventListResponse response) {
|
| checkSuperChatEventListResponse(response);
|
| })));
|
| });
|
| @@ -10798,7 +10798,7 @@ main() {
|
| api.ThumbnailsResourceApi res = new api.YoutubeApi(mock).thumbnails;
|
| var arg_videoId = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10836,7 +10836,7 @@ main() {
|
| var resp = convert.JSON.encode(buildThumbnailSetResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.set(arg_videoId, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.ThumbnailSetResponse response) {
|
| + res.set(arg_videoId, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.ThumbnailSetResponse response) {
|
| checkThumbnailSetResponse(response);
|
| })));
|
| });
|
| @@ -10851,7 +10851,7 @@ main() {
|
| api.VideoAbuseReportReasonsResourceApi res = new api.YoutubeApi(mock).videoAbuseReportReasons;
|
| var arg_part = "foo";
|
| var arg_hl = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10889,7 +10889,7 @@ main() {
|
| var resp = convert.JSON.encode(buildVideoAbuseReportReasonListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, hl: arg_hl).then(unittest.expectAsync(((api.VideoAbuseReportReasonListResponse response) {
|
| + res.list(arg_part, hl: arg_hl).then(unittest.expectAsync1(((api.VideoAbuseReportReasonListResponse response) {
|
| checkVideoAbuseReportReasonListResponse(response);
|
| })));
|
| });
|
| @@ -10906,7 +10906,7 @@ main() {
|
| var arg_hl = "foo";
|
| var arg_id = "foo";
|
| var arg_regionCode = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10946,7 +10946,7 @@ main() {
|
| var resp = convert.JSON.encode(buildVideoCategoryListResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_part, hl: arg_hl, id: arg_id, regionCode: arg_regionCode).then(unittest.expectAsync(((api.VideoCategoryListResponse response) {
|
| + res.list(arg_part, hl: arg_hl, id: arg_id, regionCode: arg_regionCode).then(unittest.expectAsync1(((api.VideoCategoryListResponse response) {
|
| checkVideoCategoryListResponse(response);
|
| })));
|
| });
|
| @@ -10961,7 +10961,7 @@ main() {
|
| api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
|
| var arg_id = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -10999,7 +10999,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--getRating", () {
|
| @@ -11008,7 +11008,7 @@ main() {
|
| api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
|
| var arg_id = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -11046,7 +11046,7 @@ main() {
|
| var resp = convert.JSON.encode(buildVideoGetRatingResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.getRating(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.VideoGetRatingResponse response) {
|
| + res.getRating(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.VideoGetRatingResponse response) {
|
| checkVideoGetRatingResponse(response);
|
| })));
|
| });
|
| @@ -11064,7 +11064,7 @@ main() {
|
| var arg_onBehalfOfContentOwner = "foo";
|
| var arg_onBehalfOfContentOwnerChannel = "foo";
|
| var arg_stabilize = true;
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Video.fromJson(json);
|
| checkVideo(obj);
|
|
|
| @@ -11109,7 +11109,7 @@ main() {
|
| var resp = convert.JSON.encode(buildVideo());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, arg_part, autoLevels: arg_autoLevels, notifySubscribers: arg_notifySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, stabilize: arg_stabilize).then(unittest.expectAsync(((api.Video response) {
|
| + res.insert(arg_request, arg_part, autoLevels: arg_autoLevels, notifySubscribers: arg_notifySubscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, stabilize: arg_stabilize).then(unittest.expectAsync1(((api.Video response) {
|
| checkVideo(response);
|
| })));
|
| });
|
| @@ -11131,7 +11131,7 @@ main() {
|
| var arg_pageToken = "foo";
|
| var arg_regionCode = "foo";
|
| var arg_videoCategoryId = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -11180,7 +11180,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, hl: arg_hl, id: arg_id, locale: arg_locale, maxHeight: arg_maxHeight, maxResults: arg_maxResults, maxWidth: arg_maxWidth, 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, maxHeight: arg_maxHeight, maxResults: arg_maxResults, maxWidth: arg_maxWidth, myRating: arg_myRating, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, regionCode: arg_regionCode, videoCategoryId: arg_videoCategoryId).then(unittest.expectAsync1(((api.VideoListResponse response) {
|
| checkVideoListResponse(response);
|
| })));
|
| });
|
| @@ -11191,7 +11191,7 @@ main() {
|
| api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
|
| var arg_id = "foo";
|
| var arg_rating = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -11229,7 +11229,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.rate(arg_id, arg_rating).then(unittest.expectAsync((_) {}));
|
| + res.rate(arg_id, arg_rating).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--reportAbuse", () {
|
| @@ -11238,7 +11238,7 @@ main() {
|
| api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
|
| var arg_request = buildVideoAbuseReport();
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.VideoAbuseReport.fromJson(json);
|
| checkVideoAbuseReport(obj);
|
|
|
| @@ -11278,7 +11278,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.reportAbuse(arg_request, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.reportAbuse(arg_request, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--update", () {
|
| @@ -11288,7 +11288,7 @@ main() {
|
| var arg_request = buildVideo();
|
| var arg_part = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Video.fromJson(json);
|
| checkVideo(obj);
|
|
|
| @@ -11329,7 +11329,7 @@ main() {
|
| var resp = convert.JSON.encode(buildVideo());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.Video response) {
|
| + res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.Video response) {
|
| checkVideo(response);
|
| })));
|
| });
|
| @@ -11347,7 +11347,7 @@ main() {
|
| var arg_request = buildInvideoBranding();
|
| var arg_channelId = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.InvideoBranding.fromJson(json);
|
| checkInvideoBranding(obj);
|
|
|
| @@ -11388,7 +11388,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.set(arg_request, arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.set(arg_request, arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| unittest.test("method--unset", () {
|
| @@ -11397,7 +11397,7 @@ main() {
|
| api.WatermarksResourceApi res = new api.YoutubeApi(mock).watermarks;
|
| var arg_channelId = "foo";
|
| var arg_onBehalfOfContentOwner = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -11435,7 +11435,7 @@ main() {
|
| var resp = "";
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync((_) {}));
|
| + res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1((_) {}));
|
| });
|
|
|
| });
|
|
|