aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/core/GpgCoreTest.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-13 10:01:06 +0000
committersaturneric <[email protected]>2023-12-13 10:01:06 +0000
commit42264ed0d7a3c91fbe9f307984964ffc9e5fe65c (patch)
treea3ddecbd6ad723e42d68cc2c5aed7a88c4e242a3 /src/test/core/GpgCoreTest.cpp
parentfeat: move test to src and add submodule googletest (diff)
downloadGpgFrontend-42264ed0d7a3c91fbe9f307984964ffc9e5fe65c.tar.gz
GpgFrontend-42264ed0d7a3c91fbe9f307984964ffc9e5fe65c.zip
refactor: improve the structure of main,core and test module
Diffstat (limited to 'src/test/core/GpgCoreTest.cpp')
-rw-r--r--src/test/core/GpgCoreTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/core/GpgCoreTest.cpp b/src/test/core/GpgCoreTest.cpp
index b4cf2f73..f2616573 100644
--- a/src/test/core/GpgCoreTest.cpp
+++ b/src/test/core/GpgCoreTest.cpp
@@ -30,6 +30,7 @@
#include "core/function/gpg/GpgKeyImportExporter.h"
#include "core/utils/IOUtils.h"
+#include "spdlog/spdlog.h"
namespace GpgFrontend::Test {
@@ -54,7 +55,8 @@ void GpgCoreTest::TearDown() {}
void GpgCoreTest::SetUp() {
libconfig::Config cfg;
- ASSERT_NO_THROW(cfg.readFile(config_path_.c_str()));
+ SPDLOG_INFO("test case config file path: {}", config_path_.string());
+ ASSERT_NO_THROW(cfg.readFile(config_path_.string()));
auto& root = cfg.getRoot();
import_private_keys(root);
}