Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
accounting_tests.cpp File Reference
#include <wallet/wallet.h>
#include <wallet/test/wallet_test_fixture.h>
#include <stdint.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for accounting_tests.cpp:
Go to the source code of this file.
Functions | |
static void | GetResults (CWallet &wallet, std::map< CAmount, CAccountingEntry > &results) |
BOOST_AUTO_TEST_CASE (acc_orderupgrade) | |
Function Documentation
◆ BOOST_AUTO_TEST_CASE()
BOOST_AUTO_TEST_CASE | ( | acc_orderupgrade | ) |
Definition at line 29 of file accounting_tests.cpp.
References BOOST_CHECK, CMerkleTx::GetHash(), GetResults(), LOCK, MakeTransactionRef(), CWalletTx::mapValue, CAccountingEntry::nCreditDebit, CMutableTransaction::nLockTime, CAccountingEntry::nOrderPos, CAccountingEntry::nTime, CMerkleTx::SetTx(), CAccountingEntry::strAccount, CAccountingEntry::strComment, CAccountingEntry::strOtherAccount, and CMerkleTx::tx.
◆ GetResults()
|
static |
Definition at line 16 of file accounting_tests.cpp.
References BOOST_CHECK, DB_LOAD_OK, CWallet::ListAccountCreditDebit(), and CWallet::ReorderTransactions().
Referenced by BOOST_AUTO_TEST_CASE().