Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestDatabaseTransactions.cpp File Reference
#include "dbwrappers/test/DatabaseTestUtils.h"
#include "filesystem/File.h"
#include "utils/StringUtils.h"
#include "video/VideoDatabase.h"
#include <cstdlib>
#include <string>
#include <gtest/gtest.h>

Functions

 TEST_F (TestDatabaseTransactions, ACommittedTransactionKeepsWhatWasWrittenInIt)
 
 TEST_F (TestDatabaseTransactions, ATransactionTheEngineRolledBackTakesNothingMoreAndFailsItsCommit)
 
 TEST_F (TestDatabaseTransactions, ACommitThatFailsSaysSoAndLeavesNothingOfTheTransaction)
 
 TEST_F (TestDatabaseTransactions, ATransactionThatCouldntBeBegunTakesNothingAndFailsItsCommit)
 
 TEST_F (TestDatabaseTransactions, ATransactionOfAClosedDatabaseIsNeitherBegunNorCommitted)
 
 TEST_F (TestDatabaseTransactions, ATransactionOfADatabaseNeverOpenedIsNeitherBegunNorCommitted)
 

Function Documentation

◆ TEST_F() [1/6]

TEST_F ( TestDatabaseTransactions ,
ACommittedTransactionKeepsWhatWasWrittenInIt  )

◆ TEST_F() [2/6]

TEST_F ( TestDatabaseTransactions ,
ACommitThatFailsSaysSoAndLeavesNothingOfTheTransaction  )

◆ TEST_F() [3/6]

TEST_F ( TestDatabaseTransactions ,
ATransactionOfAClosedDatabaseIsNeitherBegunNorCommitted  )

◆ TEST_F() [4/6]

TEST_F ( TestDatabaseTransactions ,
ATransactionOfADatabaseNeverOpenedIsNeitherBegunNorCommitted  )

◆ TEST_F() [5/6]

TEST_F ( TestDatabaseTransactions ,
ATransactionThatCouldntBeBegunTakesNothingAndFailsItsCommit  )

◆ TEST_F() [6/6]

TEST_F ( TestDatabaseTransactions ,
ATransactionTheEngineRolledBackTakesNothingMoreAndFailsItsCommit  )