Bitcoin Core  27.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_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)
 

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/6]

BOOST_FIXTURE_TEST_CASE ( logging_Conf  ,
LogSetup   
)

Definition at line 219 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/6]

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/6]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacros  ,
LogSetup   
)

Definition at line 135 of file logging_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [4/6]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacros_CategoryName  ,
LogSetup   
)

Definition at line 156 of file logging_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [5/6]

BOOST_FIXTURE_TEST_CASE ( logging_LogPrintMacrosDeprecated  ,
LogSetup   
)

Definition at line 108 of file logging_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [6/6]

BOOST_FIXTURE_TEST_CASE ( logging_SeverityLevels  ,
LogSetup   
)

Definition at line 186 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: