Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
47
bool 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
54
ADD_TEST(OptionsTest, TestOption) {
55
Callers
1
ADD_TEST
Function · 0.85
Calls
1
process
Method · 0.45
Tested by
no test coverage detected