MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SetupArgs

Method SetupArgs

src/test/argsman_tests.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 BOOST_REQUIRE(ArgsManager::ReadConfigString(str_config));
57 }
58 void SetupArgs(const std::vector<std::pair<std::string, unsigned int>>& args)
59 {
60 for (const auto& arg : args) {
61 AddArg(arg.first, "", arg.second, OptionsCategory::OPTIONS);
62 }
63 }
64
65 // make protected methods available for testing
66 using ArgsManager::ReadConfigStream;

Callers 4

CheckValueMethod · 0.80
ParseMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
TestParseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected