Bitcoin Core  27.99.0
P2P Digital Currency
Functions
getarg_tests.cpp File Reference
#include <common/args.h>
#include <common/settings.h>
#include <logging.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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( boolarg  )

Definition at line 158 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 397 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 382 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 241 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 425 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 270 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 55 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 213 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 21 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 41 of file getarg_tests.cpp.

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