public void TestPersonsExtrasExclusive() { // We will intentionally ignore errors reg. missing JSON as we do not request it IgnoreMissingJson(" / changes", " / external_ids", " / images", " / movie_credits", " / tagged_images", " / tv_credits", "external_ids / id", "images / id", "movie_credits / id", "tv_credits / id"); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetPersonAsync(id, extras).Result, IdHelper.BruceWillis); }
public void TestCompaniesExtrasExclusive() { // Ignore missing json IgnoreMissingJson("movies.results[array] / media_type"); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetCompanyAsync(id, extras).Result, IdHelper.TwentiethCenturyFox); }
public void TestCompaniesExtrasExclusive() { // We will intentionally ignore errors reg. missing JSON as we do not request it IgnoreMissingJson = true; TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetCompanyAsync(id, extras).Result, IdHelper.TwentiethCenturyFox); }
public void TestTvEpisodeExtrasExclusive() { IgnoreMissingJson(" / account_states", " / credits", " / external_ids", " / images", " / videos", "credits / id", "external_ids / id", "images / id", "videos / id"); Config.Client.SetSessionInformation(Config.UserSessionId, SessionType.UserSession); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetTvEpisodeAsync(id, 1, 1, extras).Result, IdHelper.BreakingBad); }
public void TestCollectionsExtrasExclusive() { // Ignore missing json IgnoreMissingJson("parts[array] / media_type"); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetCollectionAsync(id, extras).Result, IdHelper.JamesBondCollection); }
public void TestPersonsExtrasExclusive() { // We will intentionally ignore errors reg. missing JSON as we do not request it IgnoreMissingJson = true; TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetPersonAsync(id, extras).Result, IdHelper.BruceWillis); }
public void TestTvSeasonExtrasExclusive() { // We will intentionally ignore errors reg. missing JSON as we do not request it IgnoreMissingJson = true; _config.Client.SetSessionInformation(_config.UserSessionId, SessionType.UserSession); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetTvSeasonAsync(id, 1, extras).Result, IdHelper.BreakingBad); }
public void TestTvSeasonExtrasExclusive() { // TMDb is sending an extra property IgnoreMissingCSharp("_id / _id"); // We will intentionally ignore errors reg. missing JSON as we do not request it IgnoreMissingJson(" / images", " / account_states", " / external_ids", " / images", " / videos", " / credits", "images / id", "external_ids / id", "videos / id", "credits / id", "account_states / id"); Config.Client.SetSessionInformation(Config.UserSessionId, SessionType.UserSession); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetTvSeasonAsync(id, 1, extras).Result, IdHelper.BreakingBad); }
public void TestMoviesExtrasExclusive() { // We ignore the 'notes' field, as TMDb sometimes leaves it out IgnoreMissingJson("release_dates.results[array].release_dates[array] / note"); IgnoreMissingJson(" / id"); // We will intentionally ignore errors reg. missing JSON as we do not request it IgnoreMissingJson(" / account_states", " / alternative_titles", " / changes", " / credits", " / images", " / keywords", " / lists", " / release_dates", " / releases", " / reviews", " / similar", " / translations", " / videos", "alternative_titles / id", "credits / id", "keywords / id", "release_dates / id", "releases / id", "translations / id", "videos / id"); Config.Client.SetSessionInformation(Config.UserSessionId, SessionType.UserSession); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetMovieAsync(id, extras).Result, IdHelper.AGoodDayToDieHard); }
public void TestCollectionsExtrasExclusive() { TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetCollectionAsync(id, extras).Result, IdHelper.JamesBondCollection); }
public void TestCompaniesExtrasExclusive() { TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetCompany(id, extras), TwentiethCenturyFox); }
public void TestCompaniesExtrasExclusive() { TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => Config.Client.GetCompanyAsync(id, extras).Result, IdHelper.TwentiethCenturyFox); }
public async Task TestCompaniesExtrasExclusive() { await TestMethodsHelper.TestGetExclusive(Methods, extras => TMDbClient.GetCompanyAsync(IdHelper.TwentiethCenturyFox, extras)); }
public async void TestMoviesExtrasExclusive() { await TMDbClient.SetSessionInformationAsync(TestConfig.UserSessionId, SessionType.UserSession); await TestMethodsHelper.TestGetExclusive(Methods, extras => TMDbClient.GetMovieAsync(IdHelper.AGoodDayToDieHard, extras)); }
public async Task TestCollectionsExtrasExclusive() { await TestMethodsHelper.TestGetExclusive(Methods, extras => TMDbClient.GetCollectionAsync(IdHelper.BackToTheFutureCollection, extras)); }
public void TestCollectionsExtrasExclusive() { TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetCollection(id, extras), JamesBondCollection); }
public void TestTvSeasonExtrasExclusive() { _config.Client.SetSessionInformation(_config.UserSessionId, SessionType.UserSession); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetTvSeason(id, 1, extras).Result, BreakingBad); }
public void TestPersonsExtrasExclusive() { TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetPerson(id, extras), BruceWillis); }
public void TestMoviesExtrasExclusive() { _config.Client.SetSessionInformation(_config.UserSessionId, SessionType.UserSession); TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetMovie(id, extras), AGoodDayToDieHard); }
public async Task TestTvEpisodeExtrasExclusiveAsync() { await TMDbClient.SetSessionInformationAsync(TestConfig.UserSessionId, SessionType.UserSession); await TestMethodsHelper.TestGetExclusive(Methods, extras => TMDbClient.GetTvEpisodeAsync(IdHelper.BreakingBad, 1, 1, extras)); }
public async Task TestPersonsExtrasExclusive() { await TestMethodsHelper.TestGetExclusive(Methods, extras => TMDbClient.GetPersonAsync(IdHelper.BruceWillis, extras)); }
public void TestMoviesExtrasExclusive() { TestMethodsHelper.TestGetExclusive(_methods, (id, extras) => _config.Client.GetMovie(id, extras), AGoodDayToDieHard); }