Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestDiscStateHistory.cpp File Reference
#include "cores/RetroPlayer/playback/DiscStateHistory.h"
#include "cores/RetroPlayer/streams/memory/DeltaPairMemoryStream.h"
#include "games/addons/disc/GameClientDiscModel.h"
#include <algorithm>
#include <cstring>
#include <optional>
#include <vector>
#include <gtest/gtest.h>

Functions

 TEST (TestDiscStateHistory, EqualStatesReuseImmutableSnapshot)
 
 TEST (TestDiscStateHistory, DiscTopologySelectionAndTrayProduceDistinctStates)
 
 TEST (TestDiscStateHistory, SnapshotsRemainImmutableAndClearInvalidatesIds)
 
 TEST (TestDiscStateTimeline, RewindAndAdvanceRestoreMemoryAndFullDiscModels)
 
 TEST (TestDiscStateTimeline, BranchingCannotRestoreAbandonedDiscState)
 
 TEST (TestDiscStateTimeline, CapacityEvictionAndResetKeepModelLookupSynchronized)
 

Function Documentation

◆ TEST() [1/6]

TEST ( TestDiscStateHistory ,
DiscTopologySelectionAndTrayProduceDistinctStates  )

◆ TEST() [2/6]

TEST ( TestDiscStateHistory ,
EqualStatesReuseImmutableSnapshot  )

◆ TEST() [3/6]

TEST ( TestDiscStateHistory ,
SnapshotsRemainImmutableAndClearInvalidatesIds  )

◆ TEST() [4/6]

TEST ( TestDiscStateTimeline ,
BranchingCannotRestoreAbandonedDiscState  )

◆ TEST() [5/6]

TEST ( TestDiscStateTimeline ,
CapacityEvictionAndResetKeepModelLookupSynchronized  )

◆ TEST() [6/6]

TEST ( TestDiscStateTimeline ,
RewindAndAdvanceRestoreMemoryAndFullDiscModels  )