Raven Core
3.0.0
P2P Digital Currency
|
#include "wallet/wallet.h"
#include "chainparams.h"
#include <set>
#include <stdint.h>
#include <utility>
#include <vector>
#include "consensus/validation.h"
#include "rpc/server.h"
#include "test/test_raven.h"
#include "validation.h"
#include "wallet/coincontrol.h"
#include "wallet/test/wallet_test_fixture.h"
#include <boost/test/unit_test.hpp>
#include <univalue.h>
#include "util.h"
Go to the source code of this file.
Classes | |
class | ListCoinsTestingSetup |
Macros | |
#define | RUN_TESTS 100 |
#define | RANDOM_REPEATS 5 |
Typedefs | |
typedef std::set< CInputCoin > | CoinSet |
Functions | |
UniValue | importmulti (const JSONRPCRequest &request) |
UniValue | dumpwallet (const JSONRPCRequest &request) |
UniValue | importwallet (const JSONRPCRequest &request) |
BOOST_AUTO_TEST_CASE (coin_selection_test) | |
BOOST_AUTO_TEST_CASE (ApproximateBestSubset_Test) | |
BOOST_FIXTURE_TEST_CASE (rescan_test, TestChain100Setup) | |
BOOST_FIXTURE_TEST_CASE (importwallet_rescan_test, TestChain100Setup) | |
BOOST_FIXTURE_TEST_CASE (coin_mark_dirty_immature_credit_test, TestChain100Setup) | |
BOOST_AUTO_TEST_CASE (ComputeTimeSmart_test) | |
BOOST_AUTO_TEST_CASE (LoadReceiveRequests_Test) | |
BOOST_FIXTURE_TEST_CASE (ListCoins_test, ListCoinsTestingSetup) | |
Variables | |
CWallet * | pwalletMain |
std::vector< std::unique_ptr< CWalletTx > > | wtxn |
#define RANDOM_REPEATS 5 |
Definition at line 38 of file wallet_tests.cpp.
#define RUN_TESTS 100 |
Definition at line 34 of file wallet_tests.cpp.
typedef std::set<CInputCoin> CoinSet |
Definition at line 42 of file wallet_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | coin_selection_test | ) |
Definition at line 85 of file wallet_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | ApproximateBestSubset_Test | ) |
Definition at line 357 of file wallet_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | ComputeTimeSmart_test | ) |
Definition at line 579 of file wallet_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | LoadReceiveRequests_Test | ) |
BOOST_FIXTURE_TEST_CASE | ( | rescan_test | , |
TestChain100Setup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | importwallet_rescan_test | , |
TestChain100Setup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | coin_mark_dirty_immature_credit_test | , |
TestChain100Setup | |||
) |
Definition at line 531 of file wallet_tests.cpp.
BOOST_FIXTURE_TEST_CASE | ( | ListCoins_test | , |
ListCoinsTestingSetup | |||
) |
UniValue dumpwallet | ( | const JSONRPCRequest & | request | ) |
UniValue importmulti | ( | const JSONRPCRequest & | request | ) |
UniValue importwallet | ( | const JSONRPCRequest & | request | ) |
CWallet* pwalletMain |
Definition at line 12 of file wallet_test_fixture.cpp.
std::vector<std::unique_ptr<CWalletTx> > wtxn |
Definition at line 40 of file wallet_tests.cpp.