Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestCaptureService.cpp File Reference
#include "ServiceBroker.h"
#include "jobs/JobManager.h"
#include "rendering/capture/CaptureHandle.h"
#include "rendering/capture/CapturePixels.h"
#include "rendering/capture/CaptureService.h"
#include "rendering/capture/CaptureTypes.h"
#include "test/MtTestUtils.h"
#include <atomic>
#include <chrono>
#include <memory>
#include <gtest/gtest.h>

Functions

 TEST_F (TestCaptureService, OneShotCompleteWait)
 
 TEST_F (TestCaptureService, HandleDestructionCancels)
 
 TEST_F (TestCaptureService, ContentFilter)
 
 TEST_F (TestCaptureService, FailWakesWaiter)
 
 TEST_F (TestCaptureService, FailDispatchesEmptyResult)
 
 TEST_F (TestCaptureService, CallbackRunsOnWorker)
 
 TEST_F (TestCaptureService, ContinuousStaysActive)
 
 TEST_F (TestCaptureService, DetachedRequestCompletes)
 
 TEST_F (TestCaptureService, CancelledRequestPrunedAtLatch)
 
 TEST_F (TestCaptureService, ContinuousWaitNextSeesEachComplete)
 
 TEST_F (TestCaptureService, ContinuousFailIsTerminal)
 
 TEST_F (TestCaptureService, OneShotFailIsTerminal)
 
 TEST_F (TestCaptureService, BothServedByBothTapsSameFrame)
 
 TEST_F (TestCaptureService, BothWithoutCallbackRefused)
 
 TEST_F (TestCaptureService, MostRecentRequestWins)
 
 TEST_F (TestCaptureService, WaitNextFalseOnCancel)
 
 TEST_F (TestCaptureService, CopyResultLatestWins)
 
 TEST_F (TestCaptureService, OneShotWaitNextSeesDelivery)
 
 TEST_F (TestCaptureService, OneShotPreemptsContinuous)
 
 TEST_F (TestCaptureService, StackedOneShotsServeNewestFirst)
 
 TEST_F (TestCaptureService, LoneContinuousDoesNotForceFrames)
 
 TEST_F (TestCaptureService, StarvedRequestTimesOutClean)
 
 TEST_F (TestCaptureService, UnservedOneShotFailsAtFrameEnd)
 
 TEST_F (TestCaptureService, UnservedContinuousFailsAtFrameEnd)
 
 TEST_F (TestCaptureService, ServedContinuousSurvivesFrameEnd)
 

Function Documentation

◆ TEST_F() [1/25]

TEST_F ( TestCaptureService ,
BothServedByBothTapsSameFrame  )

◆ TEST_F() [2/25]

TEST_F ( TestCaptureService ,
BothWithoutCallbackRefused  )

◆ TEST_F() [3/25]

TEST_F ( TestCaptureService ,
CallbackRunsOnWorker  )

◆ TEST_F() [4/25]

TEST_F ( TestCaptureService ,
CancelledRequestPrunedAtLatch  )

◆ TEST_F() [5/25]

TEST_F ( TestCaptureService ,
ContentFilter  )

◆ TEST_F() [6/25]

TEST_F ( TestCaptureService ,
ContinuousFailIsTerminal  )

◆ TEST_F() [7/25]

TEST_F ( TestCaptureService ,
ContinuousStaysActive  )

◆ TEST_F() [8/25]

TEST_F ( TestCaptureService ,
ContinuousWaitNextSeesEachComplete  )

◆ TEST_F() [9/25]

TEST_F ( TestCaptureService ,
CopyResultLatestWins  )

◆ TEST_F() [10/25]

TEST_F ( TestCaptureService ,
DetachedRequestCompletes  )

◆ TEST_F() [11/25]

TEST_F ( TestCaptureService ,
FailDispatchesEmptyResult  )

◆ TEST_F() [12/25]

TEST_F ( TestCaptureService ,
FailWakesWaiter  )

◆ TEST_F() [13/25]

TEST_F ( TestCaptureService ,
HandleDestructionCancels  )

◆ TEST_F() [14/25]

TEST_F ( TestCaptureService ,
LoneContinuousDoesNotForceFrames  )

◆ TEST_F() [15/25]

TEST_F ( TestCaptureService ,
MostRecentRequestWins  )

◆ TEST_F() [16/25]

TEST_F ( TestCaptureService ,
OneShotCompleteWait  )

◆ TEST_F() [17/25]

TEST_F ( TestCaptureService ,
OneShotFailIsTerminal  )

◆ TEST_F() [18/25]

TEST_F ( TestCaptureService ,
OneShotPreemptsContinuous  )

◆ TEST_F() [19/25]

TEST_F ( TestCaptureService ,
OneShotWaitNextSeesDelivery  )

◆ TEST_F() [20/25]

TEST_F ( TestCaptureService ,
ServedContinuousSurvivesFrameEnd  )

◆ TEST_F() [21/25]

TEST_F ( TestCaptureService ,
StackedOneShotsServeNewestFirst  )

◆ TEST_F() [22/25]

TEST_F ( TestCaptureService ,
StarvedRequestTimesOutClean  )

◆ TEST_F() [23/25]

TEST_F ( TestCaptureService ,
UnservedContinuousFailsAtFrameEnd  )

◆ TEST_F() [24/25]

TEST_F ( TestCaptureService ,
UnservedOneShotFailsAtFrameEnd  )

◆ TEST_F() [25/25]

TEST_F ( TestCaptureService ,
WaitNextFalseOnCancel  )