|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include "URL.h"#include "addons/Addon.h"#include "addons/addoninfo/AddonInfo.h"#include "addons/addoninfo/AddonInfoBuilder.h"#include "addons/addoninfo/AddonType.h"#include "filesystem/File.h"#include "interfaces/generic/ILanguageInvocationHandler.h"#include "interfaces/generic/ILanguageInvoker.h"#include "interfaces/generic/RunningScriptsHandler.h"#include "interfaces/generic/ScriptInvocationManager.h"#include "interfaces/generic/ScriptRunner.h"#include "test/TestUtils.h"#include "utils/URIUtils.h"#include <algorithm>#include <atomic>#include <chrono>#include <condition_variable>#include <functional>#include <future>#include <memory>#include <mutex>#include <optional>#include <set>#include <string>#include <thread>#include <vector>#include <gtest/gtest.h>Classes | |
| class | TestScriptInvocationManager |
Typedefs | |
| using | Affinity = CScriptInvocationManager::CAffinity |
Functions | |
| TEST_F (TestScriptInvocationManager, AFinishedRunsThreadRunsTheScriptAgainWithItsHandle) | |
| TEST_F (TestScriptInvocationManager, ARunWithoutAHandleRunsOnAKeptThread) | |
| TEST_F (TestScriptInvocationManager, ARunWithoutAHandleThatIsNotQueuedLetsItsThreadGo) | |
| TEST_F (TestScriptInvocationManager, APluginOtherThanAScraperKeepsOneThread) | |
| TEST_F (TestScriptInvocationManager, OnlyAFewThreadsAreKept) | |
| TEST_F (TestScriptInvocationManager, AScriptsKeptThreadsAreKnownByItsPathOnceARunAlongsideEnds) | |
| TEST_F (TestScriptInvocationManager, StoppingTheRunningScriptsStopsEachRunOfAScript) | |
| TEST_F (TestScriptInvocationManager, AThreadKeptForAScriptIsLetGoWhenAnotherIsRun) | |
| TEST_F (TestScriptInvocationManager, ARunWithoutAHandleLetsGoOfAThreadKeptForAnotherScript) | |
| TEST_F (TestScriptInvocationManager, ARunGivenItsOwnInvokerLetsGoOfAThreadKeptForAnotherScript) | |
| TEST_F (TestScriptInvocationManager, TheRunsOfAnAffinityKeepToItsThread) | |
| TEST_F (TestScriptInvocationManager, AThreadBoundToAnAffinityIsLeftToItsRunsUntilItGoes) | |
| TEST_F (TestScriptInvocationManager, AThreadBoundToAnAffinityIsKeptWhenAnotherScriptIsRun) | |
| TEST_F (TestScriptInvocationManager, ARunWaitsWhileAnotherRunOfItsAffinityHasItsThread) | |
| TEST_F (TestScriptInvocationManager, ARunDoesntWaitForASlowRunOfItsAffinity) | |
| TEST_F (TestScriptInvocationManager, ARunNotWaitingForItsThreadBorrowsAnIdleOneOfAnotherAffinity) | |
| TEST_F (TestScriptInvocationManager, ARunWaitsForItsThreadWhileAnotherAffinityHasBorrowedIt) | |
| TEST_F (TestScriptInvocationManager, AStoppedCallerStopsWaitingForItsRun) | |
| TEST_F (TestScriptInvocationManager, AStoppedCallerStopsWaitingForItsCancelledRun) | |
| TEST_F (TestScriptInvocationManager, AStoppedCallerStopsWaitingForItsThread) | |
| TEST_F | ( | TestScriptInvocationManager | , |
| AFinishedRunsThreadRunsTheScriptAgainWithItsHandle | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| APluginOtherThanAScraperKeepsOneThread | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunDoesntWaitForASlowRunOfItsAffinity | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunGivenItsOwnInvokerLetsGoOfAThreadKeptForAnotherScript | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunNotWaitingForItsThreadBorrowsAnIdleOneOfAnotherAffinity | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunWaitsForItsThreadWhileAnotherAffinityHasBorrowedIt | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunWaitsWhileAnotherRunOfItsAffinityHasItsThread | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunWithoutAHandleLetsGoOfAThreadKeptForAnotherScript | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunWithoutAHandleRunsOnAKeptThread | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| ARunWithoutAHandleThatIsNotQueuedLetsItsThreadGo | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| AScriptsKeptThreadsAreKnownByItsPathOnceARunAlongsideEnds | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| AStoppedCallerStopsWaitingForItsCancelledRun | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| AStoppedCallerStopsWaitingForItsRun | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| AStoppedCallerStopsWaitingForItsThread | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| AThreadBoundToAnAffinityIsKeptWhenAnotherScriptIsRun | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| AThreadBoundToAnAffinityIsLeftToItsRunsUntilItGoes | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| AThreadKeptForAScriptIsLetGoWhenAnotherIsRun | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| OnlyAFewThreadsAreKept | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| StoppingTheRunningScriptsStopsEachRunOfAScript | ) |
| TEST_F | ( | TestScriptInvocationManager | , |
| TheRunsOfAnAffinityKeepToItsThread | ) |