|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
Takes screenshots with the test standing in for the render loop. More...
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| bool | Deliver (CaptureContent content) |
| Draw one frame of the given content for the request on top, once there is one. | |
| bool | Deliver (CaptureContent content, bool readable) |
readable false delivers a frame whose pixels cannot be locked, so nothing is written | |
| bool | WaitForFile (const std::string &name, int attempts) const |
Wait up to attempts x 5ms for a file to appear, read from the disk. | |
Protected Member Functions inherited from TestScreenshotDeletion | |
| 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 |
Static Protected Member Functions | |
| static bool | WaitForJoinedCalls (int calls) |
Wait until calls calls are waiting for another call's screenshot. | |
Protected Attributes | |
| std::shared_ptr< CCaptureService > | m_service |
Protected Attributes inherited from TestScreenshotDeletion | |
| std::string | m_dir |
| std::optional< CScopedSetting > | m_screenshotPath |
Takes screenshots with the test standing in for the render loop.
|
inlineprotected |
Draw one frame of the given content for the request on top, once there is one.
|
inlineprotected |
readable false delivers a frame whose pixels cannot be locked, so nothing is written
|
inlineoverrideprotected |
|
inlineoverrideprotected |
|
inlineprotected |
Wait up to attempts x 5ms for a file to appear, read from the disk.
Wait until calls calls are waiting for another call's screenshot.
|
protected |