Don't pollute users local state dir when running test cases
This commit is contained in:
parent
e5d6875523
commit
be9f7a4c3d
@ -12,8 +12,9 @@
|
|||||||
#include <cpp-utils/process/subprocess.h>
|
#include <cpp-utils/process/subprocess.h>
|
||||||
#include <cpp-utils/network/FakeHttpClient.h>
|
#include <cpp-utils/network/FakeHttpClient.h>
|
||||||
#include "../../cryfs/testutils/MockConsole.h"
|
#include "../../cryfs/testutils/MockConsole.h"
|
||||||
|
#include "../../cryfs/testutils/TestWithFakeHomeDirectory.h"
|
||||||
|
|
||||||
class CliTest : public ::testing::Test {
|
class CliTest : public ::testing::Test, TestWithFakeHomeDirectory {
|
||||||
public:
|
public:
|
||||||
CliTest(): _basedir(), _mountdir(), basedir(_basedir.path()), mountdir(_mountdir.path()), logfile(), configfile(false), console(std::make_shared<MockConsole>()) {}
|
CliTest(): _basedir(), _mountdir(), basedir(_basedir.path()), mountdir(_mountdir.path()), logfile(), configfile(false), console(std::make_shared<MockConsole>()) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user