Home
last modified time | relevance | path

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

/ide/tools/previewer/cli/
H A DCommandLineInterface.h49 CommandLine::CommandType GetCommandType(std::string name) const;
H A DCommandLineInterface.cpp125 CommandLine::CommandType type = GetCommandType(jsonData["type"].AsString()); in ProcessCommandMessage()
171 CommandLine::CommandType CommandLineInterface::GetCommandType(std::string name) const in GetCommandType() function in CommandLineInterface
259 CommandLine::CommandType commandType = GetCommandType(type); in CreatCommandToSendData()
/ide/tools/previewer/test/unittest/cli/
H A DCommandLineInterfaceTest.cpp218 EXPECT_EQ(instance.GetCommandType(""), CommandLine::CommandType::INVALID); in TEST()
219 EXPECT_EQ(instance.GetCommandType("set"), CommandLine::CommandType::SET); in TEST()
220 EXPECT_EQ(instance.GetCommandType("get"), CommandLine::CommandType::GET); in TEST()
221 EXPECT_EQ(instance.GetCommandType("action"), CommandLine::CommandType::ACTION); in TEST()

Completed in 2 milliseconds