Bitcoin Core  24.99.0
P2P Digital Currency
Classes | Functions
logging_tests.cpp File Reference
#include <init/common.h>
#include <logging.h>
#include <logging/timer.h>
#include <test/util/setup_common.h>
#include <util/string.h>
#include <chrono>
#include <fstream>
#include <iostream>
#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
 

Functions

static void ResetLogger ()
 
 BOOST_AUTO_TEST_CASE (logging_timer)
 
 BOOST_FIXTURE_TEST_CASE (logging_LogPrintf_, 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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( logging_timer  )

Definition at line 76 of file logging_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

BOOST_FIXTURE_TEST_CASE ( logging_Conf  ,
LogSetup   
)

Definition at line 193 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintf_  ,
LogSetup   
)

Definition at line 83 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacros  ,
LogSetup   
)

Definition at line 104 of file logging_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacros_CategoryName  ,
LogSetup   
)

Definition at line 130 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

BOOST_FIXTURE_TEST_CASE ( logging_SeverityLevels  ,
LogSetup   
)

Definition at line 160 of file logging_tests.cpp.

Here is the call graph for this function:

◆ ResetLogger()

static void ResetLogger ( )
static

Definition at line 22 of file logging_tests.cpp.

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