feat(tests): rework tests in numerous ways (#3059)

This commit is contained in:
ns6089
2024-08-22 23:48:24 +03:00
committed by GitHub
parent 3088823ffc
commit 764ce03520
19 changed files with 316 additions and 446 deletions

View File

@@ -16,6 +16,9 @@ extern boost::log::sources::severity_logger<int> info;
extern boost::log::sources::severity_logger<int> warning;
extern boost::log::sources::severity_logger<int> error;
extern boost::log::sources::severity_logger<int> fatal;
#ifdef SUNSHINE_TESTS
extern boost::log::sources::severity_logger<int> tests;
#endif
#include "config.h"
#include "stat_trackers.h"
@@ -41,6 +44,9 @@ namespace logging {
void
deinit();
void
formatter(const boost::log::record_view &view, boost::log::formatting_ostream &os);
/**
* @brief Initialize the logging system.
* @param min_log_level The minimum log level to output.