| 226 | { |
| 227 | TestArgsManager() { m_network_only_args.clear(); } |
| 228 | void ReadConfigString(const std::string str_config) |
| 229 | { |
| 230 | std::istringstream streamConfig(str_config); |
| 231 | { |
| 232 | LOCK(cs_args); |
| 233 | m_settings.ro_config.clear(); |
| 234 | m_config_sections.clear(); |
| 235 | } |
| 236 | std::string error; |
| 237 | BOOST_REQUIRE(ReadConfigStream(streamConfig, "", error)); |
| 238 | } |
| 239 | void SetNetworkOnlyArg(const std::string arg) |
| 240 | { |
| 241 | LOCK(cs_args); |
no test coverage detected