|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include "FileItemList.h"#include "ServiceBroker.h"#include "filesystem/Directory.h"#include "filesystem/File.h"#include "filesystem/SpecialProtocol.h"#include "jobs/JobManager.h"#include "rendering/capture/CapturePixels.h"#include "rendering/capture/CaptureService.h"#include "rendering/capture/CaptureTypes.h"#include "settings/Settings.h"#include "test/TestUtils.h"#include "utils/Screenshot.h"#include "utils/URIUtils.h"#include <chrono>#include <future>#include <memory>#include <optional>#include <thread>#include <vector>#include <gtest/gtest.h>Classes | |
| class | TestScreenshotDeletion |
| Exercises deletion against a real screenshot folder. More... | |
| class | TestScreenshotTaking |
| Takes screenshots with the test standing in for the render loop. More... | |
Typedefs | |
| using | Error = CScreenShot::ScreenshotError |
Functions | |
| TEST_F (TestScreenshotDeletion, ClearsEveryScreenshotAndSaysHowMany) | |
| TEST_F (TestScreenshotDeletion, ClearsAScreenshotTheFolderHides) | |
| TEST_F (TestScreenshotDeletion, LeavesWhatIsNotAScreenshotAlone) | |
| TEST_F (TestScreenshotDeletion, ClearingAnEmptyFolderIsNotAFailure) | |
| TEST_F (TestScreenshotDeletion, DeletesTheOneNamed) | |
| TEST_F (TestScreenshotDeletion, AcceptsThePathTakeScreenshotAnswered) | |
| TEST_F (TestScreenshotDeletion, RefusesANameThatWouldLeaveTheFolder) | |
| TEST_F (TestScreenshotDeletion, RefusesANameThatIsNotAPng) | |
| TEST_F (TestScreenshotDeletion, ReportsAScreenshotThatIsNotThere) | |
| TEST_F (TestScreenshotDeletion, ClearingSaysWhenAScreenshotCouldNotBeDeleted) | |
| TEST_F (TestScreenshotTaking, WritesTheFrameAndAnswersItsPath) | |
| TEST_F (TestScreenshotTaking, BothWithNoVideoFrameFailsAtOnceAndLeavesNoFile) | |
| TEST_F (TestScreenshotTaking, AFailedScreenshotLeavesTheOneItsNameAlreadyHeld) | |
| TEST_F (TestScreenshotTaking, AFailedPairLeavesBothScreenshotsItsNameAlreadyHeld) | |
| TEST_F (TestScreenshotTaking, ANamedPairReplacesTheScreenshotsItsNameHeld) | |
| TEST_F (TestScreenshotTaking, APairDrawnOncePerEyeWritesOneVideoFrame) | |
| TEST_F (TestScreenshotTaking, ANumberItsVideoFrameStillHoldsIsNotTakenAgain) | |
| TEST_F (TestScreenshotTaking, ACallWhileOneIsInFlightAnswersThatOnesScreenshot) | |
| TEST_F (TestScreenshotTaking, NoScreenshotIsNumberedWhileAnotherMovesIntoPlace) | |
| TEST (TestScreenshotPath, OnlyAPlainPngUnderTheScreenshotFolderIsAScreenshot) | |
| TEST (TestScreenshotPath, NothingIsAScreenshotWhileNoFolderIsSet) | |
| using Error = CScreenShot::ScreenshotError |
| TEST | ( | TestScreenshotPath | , |
| NothingIsAScreenshotWhileNoFolderIsSet | ) |
| TEST | ( | TestScreenshotPath | , |
| OnlyAPlainPngUnderTheScreenshotFolderIsAScreenshot | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| AcceptsThePathTakeScreenshotAnswered | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| ClearingAnEmptyFolderIsNotAFailure | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| ClearingSaysWhenAScreenshotCouldNotBeDeleted | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| ClearsAScreenshotTheFolderHides | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| ClearsEveryScreenshotAndSaysHowMany | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| DeletesTheOneNamed | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| LeavesWhatIsNotAScreenshotAlone | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| RefusesANameThatIsNotAPng | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| RefusesANameThatWouldLeaveTheFolder | ) |
| TEST_F | ( | TestScreenshotDeletion | , |
| ReportsAScreenshotThatIsNotThere | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| ACallWhileOneIsInFlightAnswersThatOnesScreenshot | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| AFailedPairLeavesBothScreenshotsItsNameAlreadyHeld | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| AFailedScreenshotLeavesTheOneItsNameAlreadyHeld | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| ANamedPairReplacesTheScreenshotsItsNameHeld | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| ANumberItsVideoFrameStillHoldsIsNotTakenAgain | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| APairDrawnOncePerEyeWritesOneVideoFrame | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| BothWithNoVideoFrameFailsAtOnceAndLeavesNoFile | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| NoScreenshotIsNumberedWhileAnotherMovesIntoPlace | ) |
| TEST_F | ( | TestScreenshotTaking | , |
| WritesTheFrameAndAnswersItsPath | ) |