PIVX Core  5.6.99
P2P Digital Currency
Functions
sapling_rpc_wallet_tests.cpp File Reference
#include "fs.h"
#include "wallet/test/wallet_test_fixture.h"
#include "test/librust/utiltest.h"
#include "rpc/server.h"
#include "core_io.h"
#include "key_io.h"
#include "consensus/merkle.h"
#include "wallet/wallet.h"
#include "wallet/walletutil.h"
#include "sapling/key_io_sapling.h"
#include "sapling/address.h"
#include "sapling/sapling_operation.h"
#include <unordered_set>
#include <boost/test/unit_test.hpp>
#include <univalue.h>
Include dependency graph for sapling_rpc_wallet_tests.cpp:

Go to the source code of this file.

Functions

UniValue CallRPC (std::string args)
 
 BOOST_AUTO_TEST_CASE (rpc_wallet_sapling_validateaddress)
 This test covers RPC command validateaddress. More...
 
 BOOST_AUTO_TEST_CASE (rpc_wallet_getbalance)
 
 BOOST_AUTO_TEST_CASE (rpc_wallet_sapling_importkey_paymentaddress)
 
 BOOST_AUTO_TEST_CASE (rpc_wallet_sapling_importexport)
 
void CheckHaveAddr (CWallet &pwallet, const libzcash::PaymentAddress &addr)
 
 BOOST_AUTO_TEST_CASE (rpc_wallet_getnewshieldaddress)
 
 BOOST_AUTO_TEST_CASE (rpc_shieldsendmany_parameters)
 
 BOOST_AUTO_TEST_CASE (saplingOperationTests)
 
 BOOST_AUTO_TEST_CASE (rpc_shieldsendmany_taddr_to_sapling)
 
 BOOST_AUTO_TEST_CASE (rpc_listshieldunspent_parameters)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( rpc_listshieldunspent_parameters  )

Definition at line 501 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( rpc_shieldsendmany_parameters  )

Definition at line 268 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( rpc_shieldsendmany_taddr_to_sapling  )

Definition at line 414 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( rpc_wallet_getbalance  )

Definition at line 92 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( rpc_wallet_getnewshieldaddress  )

Definition at line 250 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( rpc_wallet_sapling_importexport  )

Definition at line 154 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( rpc_wallet_sapling_importkey_paymentaddress  )

Definition at line 123 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( rpc_wallet_sapling_validateaddress  )

This test covers RPC command validateaddress.

Definition at line 57 of file sapling_rpc_wallet_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( saplingOperationTests  )
Todo:
: test private methods

Definition at line 333 of file sapling_rpc_wallet_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:

◆ CheckHaveAddr()

void CheckHaveAddr ( CWallet pwallet,
const libzcash::PaymentAddress addr 
)

Definition at line 241 of file sapling_rpc_wallet_tests.cpp.

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