Bitcoin Core 28.99.0
P2P Digital Currency
Functions
util_string_tests.cpp File Reference
#include <util/string.h>
#include <boost/test/unit_test.hpp>
#include <test/util/setup_common.h>
Include dependency graph for util_string_tests.cpp:

Go to the source code of this file.

Functions

template<unsigned NumArgs>
void TfmFormatZeroes (const std::string &fmt)
 
template<unsigned NumArgs>
void PassFmt (ConstevalFormatString< NumArgs > fmt)
 
template<unsigned WrongNumArgs>
void FailFmtWithError (const char *wrong_fmt, std::string_view error)
 
 BOOST_AUTO_TEST_CASE (ConstevalFormatString_NumSpec)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( ConstevalFormatString_NumSpec  )

Definition at line 43 of file util_string_tests.cpp.

Here is the call graph for this function:

◆ FailFmtWithError()

template<unsigned WrongNumArgs>
void FailFmtWithError ( const char *  wrong_fmt,
std::string_view  error 
)

Definition at line 38 of file util_string_tests.cpp.

◆ PassFmt()

template<unsigned NumArgs>
void PassFmt ( ConstevalFormatString< NumArgs >  fmt)

Definition at line 26 of file util_string_tests.cpp.

◆ TfmFormatZeroes()

template<unsigned NumArgs>
void TfmFormatZeroes ( const std::string &  fmt)

Definition at line 16 of file util_string_tests.cpp.

Here is the call graph for this function: