Bitcoin Core  22.99.0
P2P Digital Currency
Classes | Functions
rpc_tests.cpp File Reference
#include <rpc/client.h>
#include <rpc/server.h>
#include <rpc/util.h>
#include <core_io.h>
#include <interfaces/chain.h>
#include <node/context.h>
#include <test/util/setup_common.h>
#include <util/time.h>
#include <any>
#include <boost/algorithm/string.hpp>
#include <boost/test/unit_test.hpp>
#include <univalue.h>
#include <rpc/blockchain.h>
Include dependency graph for rpc_tests.cpp:

Go to the source code of this file.

Classes

class  RPCTestingSetup
 

Functions

 BOOST_AUTO_TEST_CASE (rpc_rawparams)
 
 BOOST_AUTO_TEST_CASE (rpc_togglenetwork)
 
 BOOST_AUTO_TEST_CASE (rpc_rawsign)
 
 BOOST_AUTO_TEST_CASE (rpc_createraw_op_return)
 
 BOOST_AUTO_TEST_CASE (rpc_format_monetary_values)
 
static UniValue ValueFromString (const std::string &str)
 
 BOOST_AUTO_TEST_CASE (rpc_parse_monetary_values)
 
 BOOST_AUTO_TEST_CASE (json_parse_errors)
 
 BOOST_AUTO_TEST_CASE (rpc_ban)
 
 BOOST_AUTO_TEST_CASE (rpc_convert_values_generatetoaddress)
 
 BOOST_AUTO_TEST_CASE (rpc_getblockstats_calculate_percentiles_by_weight)
 
 BOOST_AUTO_TEST_CASE (help_example)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/11]

BOOST_AUTO_TEST_CASE ( help_example  )

Definition at line 441 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/11]

BOOST_AUTO_TEST_CASE ( json_parse_errors  )

Definition at line 229 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/11]

BOOST_AUTO_TEST_CASE ( rpc_ban  )

Definition at line 250 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/11]

BOOST_AUTO_TEST_CASE ( rpc_convert_values_generatetoaddress  )

Definition at line 340 of file rpc_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/11]

BOOST_AUTO_TEST_CASE ( rpc_createraw_op_return  )

Definition at line 129 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/11]

BOOST_AUTO_TEST_CASE ( rpc_format_monetary_values  )

Definition at line 144 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/11]

BOOST_AUTO_TEST_CASE ( rpc_getblockstats_calculate_percentiles_by_weight  )

Definition at line 363 of file rpc_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/11]

BOOST_AUTO_TEST_CASE ( rpc_parse_monetary_values  )

Definition at line 196 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/11]

BOOST_AUTO_TEST_CASE ( rpc_rawparams  )

Definition at line 53 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [10/11]

BOOST_AUTO_TEST_CASE ( rpc_rawsign  )

Definition at line 110 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/11]

BOOST_AUTO_TEST_CASE ( rpc_togglenetwork  )

Definition at line 88 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ ValueFromString()

static UniValue ValueFromString ( const std::string &  str)
static

Definition at line 189 of file rpc_tests.cpp.

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