|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
Points debug.screenshotpath somewhere no media source covers. More...
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| std::string | WriteFile (const std::string &directory, const std::string &specialPath) |
| Writes a file and answers the /vfs URL of the special:// path GUI.TakeScreenshot would hand out for it. | |
Protected Member Functions inherited from TestWebServer | |
| TestWebServer () | |
| ~TestWebServer () override=default | |
| 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) |
| CVariant | PrepareDownloadOfTestFile (const std::string &testFile, const std::string &forwardedProtocol="") |
| Files.PrepareDownload for a test file over HTTP POST, with an optional X-Forwarded-Proto header. | |
Protected Attributes | |
| const std::string | m_name {"screenshot00000.png"} |
| std::string | m_screenshotDir |
Protected Attributes inherited from TestWebServer | |
| std::string | sourcePath |
Additional Inherited Members | |
Static Protected Member Functions inherited from TestWebServer | |
| static void | StartSuiteServer (std::string_view username, std::string_view password) |
| static void | StopSuiteServer () |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
Static Protected Attributes inherited from TestWebServer | |
| static constexpr std::string_view | SERVER_USERNAME {""} |
| static constexpr std::string_view | SERVER_PASSWORD {""} |
| static std::unique_ptr< CWebServer > | s_webserver |
| static std::unique_ptr< CHTTPJsonRpcHandler > | s_jsonRpcHandler |
| static std::unique_ptr< CHTTPVfsHandler > | s_vfsHandler |
| static std::string | s_baseUrl |
Points debug.screenshotpath somewhere no media source covers.
|
inlineoverrideprotected |
|
inlineoverrideprotected |
|
inlineprotected |
Writes a file and answers the /vfs URL of the special:// path GUI.TakeScreenshot would hand out for it.
|
protected |
|
protected |