Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
getarg_tests.cpp File Reference
#include <common/args.h>
#include <common/settings.h>
#include <logging.h>
#include <test/util/common.h>
#include <test/util/setup_common.h>
#include <univalue.h>
#include <util/strencodings.h>
#include <limits>
#include <string>
#include <utility>
#include <vector>
#include <boost/test/unit_test.hpp>
Include dependency graph for getarg_tests.cpp:

Go to the source code of this file.

Functions

void ResetArgs (ArgsManager &local_args, const std::string &strArg)
void SetupArgs (ArgsManager &local_args, const std::vector< std::pair< std::string, unsigned int > > &args)
 BOOST_AUTO_TEST_CASE (setting_args)
 BOOST_AUTO_TEST_CASE (boolarg)
 BOOST_AUTO_TEST_CASE (stringarg)
 BOOST_AUTO_TEST_CASE (intarg)
 BOOST_AUTO_TEST_CASE (patharg)
 BOOST_AUTO_TEST_CASE (doubledash)
 BOOST_AUTO_TEST_CASE (boolargno)
 BOOST_AUTO_TEST_CASE (logargs)
std::vector< std::string > SplitString (std::string_view str, char sep)

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( boolarg )

Definition at line 161 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/8]

BOOST_AUTO_TEST_CASE ( boolargno )

Definition at line 415 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/8]

BOOST_AUTO_TEST_CASE ( doubledash )

Definition at line 400 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/8]

BOOST_AUTO_TEST_CASE ( intarg )

Definition at line 244 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/8]

BOOST_AUTO_TEST_CASE ( logargs )

Definition at line 443 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/8]

BOOST_AUTO_TEST_CASE ( patharg )

Definition at line 288 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/8]

BOOST_AUTO_TEST_CASE ( setting_args )

Definition at line 58 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/8]

BOOST_AUTO_TEST_CASE ( stringarg )

Definition at line 216 of file getarg_tests.cpp.

Here is the call graph for this function:

◆ ResetArgs()

void ResetArgs ( ArgsManager & local_args,
const std::string & strArg )

Definition at line 24 of file getarg_tests.cpp.

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

◆ SetupArgs()

void SetupArgs ( ArgsManager & local_args,
const std::vector< std::pair< std::string, unsigned int > > & args )

Definition at line 44 of file getarg_tests.cpp.

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

◆ SplitString()

std::vector< std::string > util::SplitString ( std::string_view str,
char sep )
inlinenodiscard

Definition at line 149 of file string.h.