Home
last modified time | relevance | path

Searched refs:getCommandType (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Dcommand_utils_test.cpp26 EXPECT_EQ(CommandUtils::getCommandType(""), CommandType::Unknown); in TEST()
27 EXPECT_EQ(CommandUtils::getCommandType("abc"), CommandType::Unknown); in TEST()
28 EXPECT_EQ(CommandUtils::getCommandType("info"), CommandType::Info); in TEST()
29 EXPECT_EQ(CommandUtils::getCommandType("diff"), CommandType::Diff); in TEST()
30 EXPECT_EQ(CommandUtils::getCommandType("makedict"), CommandType::Makedict); in TEST()
31 EXPECT_EQ(CommandUtils::getCommandType("header"), CommandType::Header); in TEST()
32 EXPECT_EQ(CommandUtils::getCommandType("help"), CommandType::Help); in TEST()
/packages/inputmethods/LatinIME/native/dicttoolkit/
Ddict_toolkit_main.cpp32 const CommandType commandType = CommandUtils::getCommandType(argv[1]); in main()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Dcommand_utils.h40 static CommandType getCommandType(const std::string &commandName);
Dcommand_utils.cpp30 /* static */ CommandType CommandUtils::getCommandType(const std::string &commandName) { in getCommandType() function in latinime::dicttoolkit::CommandUtils