5#include <boost/test/unit_test.hpp>
18 SetWalletDir(m_walletdir_path_cases[
"default"]);
19 bool result = m_wallet_loader->verify();
21 fs::path walletdir = m_args.GetPathArg(
"-walletdir");
22 fs::path expected_path = fs::canonical(m_walletdir_path_cases[
"default"]);
28 SetWalletDir(m_walletdir_path_cases[
"custom"]);
29 bool result = m_wallet_loader->verify();
31 fs::path walletdir = m_args.GetPathArg(
"-walletdir");
32 fs::path expected_path = fs::canonical(m_walletdir_path_cases[
"custom"]);
38 SetWalletDir(m_walletdir_path_cases[
"nonexistent"]);
41 bool result = m_wallet_loader->verify();
48 SetWalletDir(m_walletdir_path_cases[
"file"]);
51 bool result = m_wallet_loader->verify();
58 SetWalletDir(m_walletdir_path_cases[
"relative"]);
61 bool result = m_wallet_loader->verify();
68 SetWalletDir(m_walletdir_path_cases[
"trailing"]);
69 bool result = m_wallet_loader->verify();
71 fs::path walletdir = m_args.GetPathArg(
"-walletdir");
72 fs::path expected_path = fs::canonical(m_walletdir_path_cases[
"default"]);
78 SetWalletDir(m_walletdir_path_cases[
"trailing2"]);
79 bool result = m_wallet_loader->verify();
81 fs::path walletdir = m_args.GetPathArg(
"-walletdir");
82 fs::path expected_path = fs::canonical(m_walletdir_path_cases[
"default"]);
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
BOOST_FIXTURE_TEST_SUITE(cuckoocache_tests, BasicTestingSetup)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(bnb_search_test)
#define BOOST_CHECK_EQUAL(v1, v2)
#define BOOST_CHECK(expr)
#define ASSERT_DEBUG_LOG(message)