| 14 | BOOST_FIXTURE_TEST_SUITE(init_tests, InitWalletDirTestingSetup) |
| 15 | |
| 16 | BOOST_AUTO_TEST_CASE(walletinit_verify_walletdir_default) |
| 17 | { |
| 18 | SetWalletDir(m_walletdir_path_cases["default"]); |
| 19 | bool result = m_wallet_loader->verify(); |
| 20 | BOOST_CHECK(result == true); |
| 21 | fs::path walletdir = gArgs.GetPathArg("-walletdir"); |
| 22 | fs::path expected_path = fs::canonical(m_walletdir_path_cases["default"]); |
| 23 | BOOST_CHECK_EQUAL(walletdir, expected_path); |
| 24 | } |
| 25 | |
| 26 | BOOST_AUTO_TEST_CASE(walletinit_verify_walletdir_custom) |
| 27 | { |
nothing calls this directly
no test coverage detected