xbmc
Protected Member Functions | Protected Attributes | List of all members
TestWebServer Class Reference
Inheritance diagram for TestWebServer:
Inheritance graph
[legend]
Collaboration diagram for TestWebServer:
Collaboration graph
[legend]

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void SetupMediaSources ()
 
void TearDownMediaSources ()
 
std::string GetUrl (const std::string &path)
 
std::string GetUrlOfTestFile (const std::string &testFile)
 
bool GetLastModifiedOfTestFile (const std::string &testFile, CDateTime &lastModified)
 
void CheckHtmlTestFileResponse (const CCurlFile &curl)
 
void CheckRangesTestFileResponse (const CCurlFile &curl, int httpStatus=MHD_HTTP_OK, bool empty=false)
 
void CheckRangesTestFileResponse (const CCurlFile &curl, const std::string &result, const CHttpRanges &ranges)
 
std::string GenerateRangeHeaderValue (unsigned int start, unsigned int end)
 

Protected Attributes

CWebServer webserver
 
CHTTPJsonRpcHandler m_jsonRpcHandler
 
CHTTPVfsHandler m_vfsHandler
 
std::string baseUrl
 
std::string sourcePath
 
uint16_t webserverPort
 

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