MCPcopy Create free account
hub / github.com/ElementsProject/elements / ReadConfigString

Method ReadConfigString

src/test/util_tests.cpp:228–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected