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

#include <TestUtils.h>

Public Member Functions

std::string ReferenceFilePath (const std::string &path)
 
bool SetReferenceFileBasePath ()
 
XFILE::CFileCreateTempFile (std::string const &suffix)
 
bool DeleteTempFile (XFILE::CFile *tempfile)
 
std::string TempFilePath (XFILE::CFile const *const tempfile)
 
std::string TempFileDirectory (XFILE::CFile const *const tempfile)
 
std::vector< std::string > & getTestFileFactoryReadUrls ()
 
std::vector< std::string > & getTestFileFactoryWriteUrls ()
 
std::string & getTestFileFactoryWriteInputFile ()
 
void setTestFileFactoryWriteInputFile (std::string const &file)
 
std::vector< std::string > & getAdvancedSettingsFiles ()
 
std::vector< std::string > & getGUISettingsFiles ()
 
XFILE::CFileCreateCorruptedFile (std::string const &strFileName, std::string const &suffix)
 
void ParseArgs (int argc, char **argv)
 
std::string getNewLineCharacters () const
 

Static Public Member Functions

static CXBMCTestUtilsInstance ()
 

Member Function Documentation

◆ CreateCorruptedFile()

XFILE::CFile * CXBMCTestUtils::CreateCorruptedFile ( std::string const & strFileName,
std::string const & suffix )

◆ CreateTempFile()

XFILE::CFile * CXBMCTestUtils::CreateTempFile ( std::string const & suffix)

◆ DeleteTempFile()

bool CXBMCTestUtils::DeleteTempFile ( XFILE::CFile * tempfile)

◆ getAdvancedSettingsFiles()

std::vector< std::string > & CXBMCTestUtils::getAdvancedSettingsFiles ( )

◆ getGUISettingsFiles()

std::vector< std::string > & CXBMCTestUtils::getGUISettingsFiles ( )

◆ getNewLineCharacters()

std::string CXBMCTestUtils::getNewLineCharacters ( ) const

◆ getTestFileFactoryReadUrls()

std::vector< std::string > & CXBMCTestUtils::getTestFileFactoryReadUrls ( )

◆ getTestFileFactoryWriteInputFile()

std::string & CXBMCTestUtils::getTestFileFactoryWriteInputFile ( )

◆ getTestFileFactoryWriteUrls()

std::vector< std::string > & CXBMCTestUtils::getTestFileFactoryWriteUrls ( )

◆ Instance()

CXBMCTestUtils & CXBMCTestUtils::Instance ( )
static

◆ ParseArgs()

void CXBMCTestUtils::ParseArgs ( int argc,
char ** argv )

◆ ReferenceFilePath()

std::string CXBMCTestUtils::ReferenceFilePath ( const std::string & path)

◆ SetReferenceFileBasePath()

bool CXBMCTestUtils::SetReferenceFileBasePath ( )

◆ setTestFileFactoryWriteInputFile()

void CXBMCTestUtils::setTestFileFactoryWriteInputFile ( std::string const & file)

◆ TempFileDirectory()

std::string CXBMCTestUtils::TempFileDirectory ( XFILE::CFile const *const tempfile)

◆ TempFilePath()

std::string CXBMCTestUtils::TempFilePath ( XFILE::CFile const *const tempfile)

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