Bitcoin Core 29.99.0
P2P Digital Currency
Classes | Functions
logging_tests.cpp File Reference
#include <init/common.h>
#include <logging.h>
#include <logging/timer.h>
#include <scheduler.h>
#include <test/util/logging.h>
#include <test/util/setup_common.h>
#include <tinyformat.h>
#include <util/fs.h>
#include <util/fs_helpers.h>
#include <util/string.h>
#include <chrono>
#include <fstream>
#include <future>
#include <ios>
#include <iostream>
#include <source_location>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <boost/test/unit_test.hpp>
Include dependency graph for logging_tests.cpp:

Go to the source code of this file.

Classes

struct  LogSetup
 
struct  ScopedScheduler
 

Functions

static void ResetLogger ()
 
static std::vector< std::string > ReadDebugLogLines ()
 
 BOOST_AUTO_TEST_CASE (logging_timer)
 
 BOOST_FIXTURE_TEST_CASE (logging_LogPrintStr, LogSetup)
 
 BOOST_FIXTURE_TEST_CASE (logging_LogPrintMacrosDeprecated, LogSetup)
 
 BOOST_FIXTURE_TEST_CASE (logging_LogPrintMacros, LogSetup)
 
 BOOST_FIXTURE_TEST_CASE (logging_LogPrintMacros_CategoryName, LogSetup)
 
 BOOST_FIXTURE_TEST_CASE (logging_SeverityLevels, LogSetup)
 
 BOOST_FIXTURE_TEST_CASE (logging_Conf, LogSetup)
 
 BOOST_AUTO_TEST_CASE (logging_log_rate_limiter)
 
 BOOST_AUTO_TEST_CASE (logging_log_limit_stats)
 
 BOOST_FIXTURE_TEST_CASE (logging_filesize_rate_limit, LogSetup)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( logging_log_limit_stats  )

Definition at line 362 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( logging_log_rate_limiter  )

Definition at line 321 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( logging_timer  )

Definition at line 105 of file logging_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [1/7]

BOOST_FIXTURE_TEST_CASE ( logging_Conf  ,
LogSetup   
)

Definition at line 233 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/7]

BOOST_FIXTURE_TEST_CASE ( logging_filesize_rate_limit  ,
LogSetup   
)

Definition at line 447 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [3/7]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacros  ,
LogSetup   
)

Definition at line 162 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [4/7]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacros_CategoryName  ,
LogSetup   
)

Definition at line 180 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [5/7]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacrosDeprecated  ,
LogSetup   
)

Definition at line 142 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [6/7]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintStr  ,
LogSetup   
)

Definition at line 112 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [7/7]

BOOST_FIXTURE_TEST_CASE ( logging_SeverityLevels  ,
LogSetup   
)

Definition at line 206 of file logging_tests.cpp.

Here is the call graph for this function:

◆ ReadDebugLogLines()

static std::vector< std::string > ReadDebugLogLines ( )
static

Definition at line 40 of file logging_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResetLogger()

static void ResetLogger ( )
static

Definition at line 34 of file logging_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: