MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / ProcessArg

Function ProcessArg

UnitTests/sources/OptionsTest.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool ProcessArg(const char* arg, const Options::ForEach& handler=nullptr) {
48 const char* argv[] = {"", arg};
49
50 Exception ex;
51 return _Options.process(ex, 2, argv, handler) && !ex;
52}
53
54ADD_TEST(OptionsTest, TestOption) {
55

Callers 1

ADD_TESTFunction · 0.85

Calls 1

processMethod · 0.45

Tested by

no test coverage detected