| 67 | } |
| 68 | |
| 69 | fs::path BasicTestingSetup::SetDataDir(const std::string& name) |
| 70 | { |
| 71 | fs::path ret = m_path_root / name; |
| 72 | fs::create_directories(ret); |
| 73 | gArgs.ForceSetArg("-datadir", ret.string()); |
| 74 | return ret; |
| 75 | } |
| 76 | |
| 77 | TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(chainName) |
| 78 | { |
nothing calls this directly
no test coverage detected