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

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
std::string AddSource (const std::string &name, const std::vector< uint8_t > &image) const
 Write an image as a local file.
 
std::string AddStaleRow (const std::string &source, const std::string &extension)
 Add a database row for the image, without a hash, naming a cached file that isn't there.
 
std::string WaitForCachedFile (const std::string &source)
 The cached file of an image, once it is there.
 

Protected Attributes

std::string m_tempPath
 
CTestWinSystem m_winSystem
 
std::shared_ptr< CTextureCache > m_cache {std::make_shared<CTextureCache>()}
 

Member Function Documentation

◆ AddSource()

std::string TestTextureCache::AddSource ( const std::string & name,
const std::vector< uint8_t > & image ) const
inlineprotected

Write an image as a local file.

◆ AddStaleRow()

std::string TestTextureCache::AddStaleRow ( const std::string & source,
const std::string & extension )
inlineprotected

Add a database row for the image, without a hash, naming a cached file that isn't there.

◆ SetUp()

void TestTextureCache::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void TestTextureCache::TearDown ( )
inlineoverrideprotected

◆ WaitForCachedFile()

std::string TestTextureCache::WaitForCachedFile ( const std::string & source)
inlineprotected

The cached file of an image, once it is there.

Member Data Documentation

◆ m_cache

std::shared_ptr<CTextureCache> TestTextureCache::m_cache {std::make_shared<CTextureCache>()}
protected

◆ m_tempPath

std::string TestTextureCache::m_tempPath
protected

◆ m_winSystem

CTestWinSystem TestTextureCache::m_winSystem
protected

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