Bitcoin Core  24.99.0
P2P Digital Currency
Functions
getarg_tests.cpp File Reference
#include <test/util/setup_common.h>
#include <univalue.h>
#include <util/settings.h>
#include <util/strencodings.h>
#include <util/system.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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( boolarg  )

Definition at line 156 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 395 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 380 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 239 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 423 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 268 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 53 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 211 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 20 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 39 of file getarg_tests.cpp.

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