Searched refs:getCommandType (Results 1 – 4 of 4) sorted by relevance
26 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()
32 const CommandType commandType = CommandUtils::getCommandType(argv[1]); in main()
40 static CommandType getCommandType(const std::string &commandName);
30 /* static */ CommandType CommandUtils::getCommandType(const std::string &commandName) { in getCommandType() function in latinime::dicttoolkit::CommandUtils