diff options
author | saturneric <[email protected]> | 2023-12-13 10:01:06 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-13 10:01:06 +0000 |
commit | 42264ed0d7a3c91fbe9f307984964ffc9e5fe65c (patch) | |
tree | a3ddecbd6ad723e42d68cc2c5aed7a88c4e242a3 /src/test/core/GpgCoreTest.cpp | |
parent | feat: move test to src and add submodule googletest (diff) | |
download | GpgFrontend-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.cpp | 4 |
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); } |