Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestPythonScraper Class Reference
Inheritance diagram for TestPythonScraper:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
bool Write (const std::string &name, const std::string &content) const
 
void SearchesFail (bool fail)
 Makes the searches made of the scraper fail, or not.
 
std::vector< int > Threads ()
 
std::vector< CURL > Options ()
 The options each run of the scraper was given, as a plugin's url gives them.
 

Static Protected Member Functions

static CScriptInvocationManager & Scripts ()
 

Protected Attributes

CSearchingHandler m_handler
 
bool m_registered {false}
 
std::string m_folder
 
ScraperPtr m_scraper
 

Member Function Documentation

◆ Options()

std::vector< CURL > TestPythonScraper::Options ( )
inlineprotected

The options each run of the scraper was given, as a plugin's url gives them.

◆ Scripts()

static CScriptInvocationManager & TestPythonScraper::Scripts ( )
inlinestaticprotected

◆ SearchesFail()

void TestPythonScraper::SearchesFail ( bool fail)
inlineprotected

Makes the searches made of the scraper fail, or not.

◆ SetUp()

void TestPythonScraper::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void TestPythonScraper::TearDown ( )
inlineoverrideprotected

◆ Threads()

std::vector< int > TestPythonScraper::Threads ( )
inlineprotected

◆ Write()

bool TestPythonScraper::Write ( const std::string & name,
const std::string & content ) const
inlineprotected

Member Data Documentation

◆ m_folder

std::string TestPythonScraper::m_folder
protected

◆ m_handler

CSearchingHandler TestPythonScraper::m_handler
protected

◆ m_registered

bool TestPythonScraper::m_registered {false}
protected

◆ m_scraper

ScraperPtr TestPythonScraper::m_scraper
protected

The documentation for this class was generated from the following file: