![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <core_io.h>#include <interfaces/chain.h>#include <node/context.h>#include <rpc/blockchain.h>#include <rpc/client.h>#include <rpc/server.h>#include <rpc/util.h>#include <test/util/common.h>#include <test/util/setup_common.h>#include <univalue.h>#include <util/time.h>#include <any>#include <string_view>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| class | HasJSON |
| class | RPCTestingSetup |
Functions | |
| static UniValue | JSON (std::string_view json) |
| BOOST_AUTO_TEST_CASE (rpc_namedparams) | |
| BOOST_AUTO_TEST_CASE (rpc_namedonlyparams) | |
| 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) noexcept |
| BOOST_AUTO_TEST_CASE (rpc_parse_monetary_values) | |
| 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 (check_dup_param_names) | |
| BOOST_AUTO_TEST_CASE (help_example) | |
| static void | CheckRpc (const std::vector< RPCArg > ¶ms, const UniValue &args, RPCHelpMan::RPCMethodImpl test_impl) |
| BOOST_AUTO_TEST_CASE (rpc_arg_helper) | |
| std::vector< std::string > | SplitString (std::string_view str, char sep) |
| BOOST_AUTO_TEST_CASE | ( | check_dup_param_names | ) |
Definition at line 509 of file rpc_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | help_example | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_arg_helper | ) |
Parameters with which the RPCHelpMan is instantiated
Check that self.Arg returns the same value as the request.params accessors
Definition at line 603 of file rpc_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | rpc_ban | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_convert_values_generatetoaddress | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_createraw_op_return | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_format_monetary_values | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_getblockstats_calculate_percentiles_by_weight | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_namedonlyparams | ) |
Definition at line 116 of file rpc_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | rpc_namedparams | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_parse_monetary_values | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_rawparams | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_rawsign | ) |
| BOOST_AUTO_TEST_CASE | ( | rpc_togglenetwork | ) |
|
static |
Definition at line 593 of file rpc_tests.cpp.
|
static |
|
inlinenodiscard |
|
staticnoexcept |
Definition at line 274 of file rpc_tests.cpp.