MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / GetValue

Method GetValue

cpp/iedriverserver/CommandLineArguments.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27std::wstring CommandLineArguments::GetValue(std::wstring arg_name,
28 std::wstring default_value) {
29 std::map<std::wstring, std::wstring>::const_iterator it =
30 this->args_map_.find(arg_name);
31 if (it != this->args_map_.end()) {
32 return it->second;
33 }
34 return default_value;
35}
36
37void CommandLineArguments::ParseArguments(int argc, _TCHAR* argv[]) {
38 this->is_help_requested_ = false;

Callers 1

_tmainFunction · 0.45

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected