Home
last modified time | relevance | path

Searched refs:commands (Results 1 - 3 of 3) sorted by relevance

/ide/tools/previewer/cli/
H A DCommandLineInterface.cpp199 Json2::Value commands = versionMembers[version]; in ApplyConfig() local
200 if (!commands.IsObject()) { in ApplyConfig()
203 Json2::Value::Members members = commands.GetMemberNames(); in ApplyConfig()
205 ApplyConfigMembers(commands, members); in ApplyConfig()
210 void CommandLineInterface::ApplyConfigMembers(const Json2::Value& commands, in ApplyConfigMembers() argument
215 if (!commands[key].IsObject() || !commands[key].IsMember("args") || !commands[key]["args"].IsObject()) { in ApplyConfigMembers()
216 ELOG("Invalid JSON: %s", commands[key].AsString().c_str()); in ApplyConfigMembers()
219 Json2::Value val = commands[ke in ApplyConfigMembers()
[all...]
H A DCommandLineInterface.h37 void ApplyConfigMembers(const Json2::Value& commands, const Json2::Value::Members& members) const;
/ide/tools/previewer/test/unittest/cli/
H A DCommandLineInterfaceTest.cpp369 Json2::Value commands = JsonReader::ParseJsonData2(jsonStr); in TEST() local
370 CommandLineInterface::GetInstance().ApplyConfigMembers(commands, members); in TEST()

Completed in 2 milliseconds