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

Function SetupArgs

src/test/getarg_tests.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void SetupArgs(ArgsManager& local_args, const std::vector<std::pair<std::string, unsigned int>>& args)
45{
46 for (const auto& arg : args) {
47 local_args.AddArg(arg.first, "", arg.second, OptionsCategory::OPTIONS);
48 }
49}
50
51// Test behavior of GetArg functions when string, integer, and boolean types
52// are specified in the settings.json file. GetArg functions are convenience

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

AddArgMethod · 0.80

Tested by

no test coverage detected