Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestScraper.cpp File Reference
#include "FileItem.h"
#include "ServiceBroker.h"
#include "URL.h"
#include "addons/AddonBuilder.h"
#include "addons/AddonManager.h"
#include "addons/AddonSystemSettings.h"
#include "addons/AddonVersion.h"
#include "addons/Repository.h"
#include "addons/Scraper.h"
#include "addons/addoninfo/AddonInfo.h"
#include "addons/addoninfo/AddonInfoBuilder.h"
#include "addons/addoninfo/AddonType.h"
#include "filesystem/Directory.h"
#include "filesystem/File.h"
#include "filesystem/PluginDirectory.h"
#include "filesystem/SpecialProtocol.h"
#include "interfaces/generic/ILanguageInvocationHandler.h"
#include "interfaces/generic/ILanguageInvoker.h"
#include "interfaces/generic/ScriptInvocationManager.h"
#include "music/Album.h"
#include "music/Artist.h"
#include "music/infoscanner/MusicAlbumInfo.h"
#include "music/infoscanner/MusicArtistInfo.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
#include "settings/lib/Setting.h"
#include "utils/ContentNames.h"
#include "utils/JSONVariantParser.h"
#include "utils/ScraperUrl.h"
#include "utils/URIUtils.h"
#include "utils/Variant.h"
#include "utils/XBMCTinyXML.h"
#include "utils/XBMCTinyXML2.h"
#include "video/VideoInfoTag.h"
#include <chrono>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <utility>
#include <vector>
#include <gtest/gtest.h>

Classes

class  TestPythonScraper
 

Functions

 TEST (TestScraper, TranslateContentNamesEachType)
 
 TEST (TestScraper, TranslateContentReadsOnlyTheNamesItWrites)
 
 TEST_F (TestPythonScraper, ASearchThatFailsIsAnError)
 
 TEST_F (TestPythonScraper, ASearchThatFindsNothingIsNoError)
 
 TEST_F (TestPythonScraper, AMusicSearchThatFailsFindsNothing)
 
 TEST_F (TestPythonScraper, AnArtworkRequestIsGivenTheUniqueIDs)
 
 TEST (TestScraper, LocalInformationOnlyLooksNothingUp)
 

Function Documentation

◆ TEST() [1/3]

TEST ( TestScraper ,
LocalInformationOnlyLooksNothingUp  )

◆ TEST() [2/3]

TEST ( TestScraper ,
TranslateContentNamesEachType  )

◆ TEST() [3/3]

TEST ( TestScraper ,
TranslateContentReadsOnlyTheNamesItWrites  )

◆ TEST_F() [1/4]

TEST_F ( TestPythonScraper ,
AMusicSearchThatFailsFindsNothing  )

◆ TEST_F() [2/4]

TEST_F ( TestPythonScraper ,
AnArtworkRequestIsGivenTheUniqueIDs  )

◆ TEST_F() [3/4]

TEST_F ( TestPythonScraper ,
ASearchThatFailsIsAnError  )

◆ TEST_F() [4/4]

TEST_F ( TestPythonScraper ,
ASearchThatFindsNothingIsNoError  )