Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
theme_migration_test.cpp File Reference
#include "interface/theme_manager.h"
#include <QByteArray>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QIODevice>
#include <QString>
#include <QStringLiteral>
#include <QTemporaryDir>
#include <gtest/gtest.h>
#include <string>
Include dependency graph for theme_migration_test.cpp:

Functions

 TEST_F (ThemeMigrationTest, NoLegacyDirectoryIsANoOp)
 TEST_F (ThemeMigrationTest, RenamesDirectoryWhenTargetIsFree)
 TEST_F (ThemeMigrationTest, RenamesForAnAlreadyMigratedUserWhoseDirectoryWasLeftBehind)
 TEST_F (ThemeMigrationTest, MergesIntoAnExistingTargetWithoutOverwriting)
 TEST_F (ThemeMigrationTest, LeavesAnotherThemesDefaultDirectoryAlone)
 TEST_F (ThemeMigrationTest, IsIdempotent)
int main (int argc, char **argv)

Variables

ThemeManager * themeManager = nullptr

Function Documentation

◆ main()

int main ( int argc,
char ** argv )
Here is the call graph for this function:

◆ TEST_F() [1/6]

TEST_F ( ThemeMigrationTest ,
IsIdempotent  )
Here is the call graph for this function:

◆ TEST_F() [2/6]

TEST_F ( ThemeMigrationTest ,
LeavesAnotherThemesDefaultDirectoryAlone  )
Here is the call graph for this function:

◆ TEST_F() [3/6]

TEST_F ( ThemeMigrationTest ,
MergesIntoAnExistingTargetWithoutOverwriting  )
Here is the call graph for this function:

◆ TEST_F() [4/6]

TEST_F ( ThemeMigrationTest ,
NoLegacyDirectoryIsANoOp  )
Here is the call graph for this function:

◆ TEST_F() [5/6]

TEST_F ( ThemeMigrationTest ,
RenamesDirectoryWhenTargetIsFree  )
Here is the call graph for this function:

◆ TEST_F() [6/6]

TEST_F ( ThemeMigrationTest ,
RenamesForAnAlreadyMigratedUserWhoseDirectoryWasLeftBehind  )
Here is the call graph for this function:

Variable Documentation

◆ themeManager

ThemeManager* themeManager = nullptr