Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestScreenshotDeletion Class Reference

Exercises deletion against a real screenshot folder. More...

Inheritance diagram for TestScreenshotDeletion:
TestScreenshotTaking

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void Write (const std::string &name, const std::string &content="")
 
std::string Read (const std::string &name) const
 
bool Exists (const std::string &name) const
 
int FileCount () const
 

Protected Attributes

std::string m_dir
 
std::optional< CScopedSetting > m_screenshotPath
 

Detailed Description

Exercises deletion against a real screenshot folder.

Member Function Documentation

◆ Exists()

bool TestScreenshotDeletion::Exists ( const std::string & name) const
inlineprotected

◆ FileCount()

int TestScreenshotDeletion::FileCount ( ) const
inlineprotected

◆ Read()

std::string TestScreenshotDeletion::Read ( const std::string & name) const
inlineprotected

◆ SetUp()

void TestScreenshotDeletion::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void TestScreenshotDeletion::TearDown ( )
inlineoverrideprotected

◆ Write()

void TestScreenshotDeletion::Write ( const std::string & name,
const std::string & content = "" )
inlineprotected

Member Data Documentation

◆ m_dir

std::string TestScreenshotDeletion::m_dir
protected

◆ m_screenshotPath

std::optional<CScopedSetting> TestScreenshotDeletion::m_screenshotPath
protected

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