Bitcoin Core 28.99.0
P2P Digital Currency
Functions | Variables
translation_tests.cpp File Reference
#include <tinyformat.h>
#include <util/translation.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for translation_tests.cpp:

Go to the source code of this file.

Functions

consteval auto _t (util::TranslatedLiteral str)
 
 BOOST_AUTO_TEST_CASE (translation_namedparams)
 

Variables

static TranslateFn translate {[](const char * str) { return strprintf("t(%s)", str); }}
 

Function Documentation

◆ _t()

consteval auto _t ( util::TranslatedLiteral  str)

Definition at line 15 of file translation_tests.cpp.

Here is the caller graph for this function:

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( translation_namedparams  )

Definition at line 21 of file translation_tests.cpp.

Here is the call graph for this function:

Variable Documentation

◆ translate

TranslateFn translate {[](const char * str) { return strprintf("t(%s)", str); }}
static

Definition at line 12 of file translation_tests.cpp.