| 16 | BOOST_FIXTURE_TEST_SUITE(db_tests, BasicTestingSetup) |
| 17 | |
| 18 | static std::shared_ptr<BerkeleyEnvironment> GetWalletEnv(const fs::path& path, std::string& database_filename) |
| 19 | { |
| 20 | fs::path data_file = BDBDataFile(path); |
| 21 | database_filename = fs::PathToString(data_file.filename()); |
| 22 | return GetBerkeleyEnv(data_file.parent_path()); |
| 23 | } |
| 24 | |
| 25 | BOOST_AUTO_TEST_CASE(getwalletenv_file) |
| 26 | { |
no test coverage detected