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

Function SetupArgs

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

Source from the content-addressed store, hash-verified

37}
38
39void SetupArgs(ArgsManager& local_args, const std::vector<std::pair<std::string, unsigned int>>& args)
40{
41 for (const auto& arg : args) {
42 local_args.AddArg(arg.first, "", arg.second, OptionsCategory::OPTIONS);
43 }
44}
45
46// Test behavior of GetArg functions when string, integer, and boolean types
47// 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