PIVX Core  5.6.99
P2P Digital Currency
Functions
rpc_tests.cpp File Reference
#include "rpc/server.h"
#include "rpc/client.h"
#include "netbase.h"
#include "util/system.h"
#include "test/test_pivx.h"
#include <boost/algorithm/string.hpp>
#include <boost/test/unit_test.hpp>
#include <univalue.h>
Include dependency graph for rpc_tests.cpp:

Go to the source code of this file.

Functions

UniValue createArgs (int nRequired, const char *address1=nullptr, const char *address2=nullptr)
 
UniValue CallRPC (std::string args)
 
 BOOST_AUTO_TEST_CASE (rpc_rawparams)
 
 BOOST_AUTO_TEST_CASE (rpc_togglenetwork)
 
 BOOST_AUTO_TEST_CASE (rpc_rawsign)
 
 BOOST_AUTO_TEST_CASE (rpc_format_monetary_values)
 
 BOOST_AUTO_TEST_CASE (rpc_parse_monetary_values)
 
 BOOST_AUTO_TEST_CASE (json_parse_errors)
 
 BOOST_AUTO_TEST_CASE (rpc_ban)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( json_parse_errors  )

Definition at line 210 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( rpc_ban  )

Definition at line 228 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( rpc_format_monetary_values  )

Definition at line 138 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( rpc_parse_monetary_values  )

Definition at line 180 of file rpc_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( rpc_rawparams  )

Definition at line 56 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( rpc_rawsign  )

Definition at line 119 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/7]

BOOST_AUTO_TEST_CASE ( rpc_togglenetwork  )

Definition at line 97 of file rpc_tests.cpp.

Here is the call graph for this function:

◆ CallRPC()

UniValue CallRPC ( std::string  args)

Definition at line 32 of file rpc_tests.cpp.

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

◆ createArgs()

UniValue createArgs ( int  nRequired,
const char *  address1 = nullptr,
const char *  address2 = nullptr 
)

Definition at line 21 of file rpc_tests.cpp.

Here is the call graph for this function: