|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
Points a database slot of the advanced settings, which Open() connects to, at an empty test database for the life of the guard, so code that opens the library itself can be tested. More...
#include <DatabaseTestUtils.h>
Public Member Functions | |
| CScopedTestDatabase (DatabaseSettings CAdvancedSettings::*slot, const std::string &baseName) | |
| ~CScopedTestDatabase () | |
| CScopedTestDatabase (const CScopedTestDatabase &)=delete | |
| CScopedTestDatabase & | operator= (const CScopedTestDatabase &)=delete |
| DATABASE & | Get () |
Points a database slot of the advanced settings, which Open() connects to, at an empty test database for the life of the guard, so code that opens the library itself can be tested.
|
inline |
|
inline |
|
delete |
|
inline |
|
delete |