We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d28af commit fe0b31eCopy full SHA for fe0b31e
src/common/tests/CommonTest.cpp
@@ -1,5 +1,8 @@
1
#include "firebird.h"
2
#include "firebird/Interface.h"
3
+#include "../common/classes/init.h"
4
+#include "../common/classes/TempFile.h"
5
+#include "../common/config/config.h"
6
#include "../common/gdsassert.h"
7
8
#define BOOST_TEST_MODULE CommonTest
@@ -14,6 +17,19 @@ int ISC_EXPORT fb_shutdown(unsigned int, const int)
14
17
15
18
namespace Firebird
16
19
{
20
+ namespace
21
+ {
22
+ struct Init
23
24
+ Init(auto&&)
25
26
+ Config::setRootDirectoryFromCommandLine(TempFile::getTempPath());
27
+ }
28
+ };
29
+
30
+ GlobalPtr<Init> init;
31
32
33
IMaster* API_ROUTINE fb_get_master_interface()
34
35
fb_assert(false);
0 commit comments