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

Method Parse

src/test/argsman_tests.cpp:175–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173
174struct NoIncludeConfTest {
175 std::string Parse(const char* arg)
176 {
177 TestArgsManager test;
178 test.SetupArgs({{"-includeconf", ArgsManager::ALLOW_ANY}});
179 std::array argv{"ignored", arg};
180 std::string error;
181 (void)test.ParseParameters(argv.size(), argv.data(), error);
182 return error;
183 }
184};
185
186BOOST_FIXTURE_TEST_CASE(util_NoIncludeConf, NoIncludeConfTest)

Callers

nothing calls this directly

Calls 4

SetupArgsMethod · 0.80
ParseParametersMethod · 0.80
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected