aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/GpgFrontendTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/GpgFrontendTest.h')
-rw-r--r--src/test/GpgFrontendTest.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/test/GpgFrontendTest.h b/src/test/GpgFrontendTest.h
index 55c6b734..897a8a05 100644
--- a/src/test/GpgFrontendTest.h
+++ b/src/test/GpgFrontendTest.h
@@ -28,14 +28,23 @@
#pragma once
-#include <gtest/gtest.h>
-#include <spdlog/sinks/rotating_file_sink.h>
-#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
+#include "GpgFrontendTestExport.h"
-#include <libconfig.h++>
+namespace GpgFrontend::Test {
-#include "GpgFrontendTestExport.h"
+struct GpgFrontendContext {
+ int argc;
+ char **argv;
+ spdlog::level::level_enum log_level;
+};
+
+void GPGFRONTEND_TEST_EXPORT
+InitTestLoggingSystem(spdlog::level::level_enum level);
+
+void GPGFRONTEND_TEST_EXPORT ShutdownTestLoggingSystem();
+
+auto GPGFRONTEND_TEST_EXPORT ExecuteAllTestCase(GpgFrontendContext args) -> int;
-namespace GpgFrontend::Test {} // namespace GpgFrontend::Test
+} // namespace GpgFrontend::Test