Home
last modified time | relevance | path

Searched refs:argumentsAndOptions (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Darguments_parser_test.cpp107 const ArgumentsAndOptions argumentsAndOptions = parser.parseArguments( in TEST() local
109 EXPECT_FALSE(argumentsAndOptions.hasOption("a")); in TEST()
110 EXPECT_EQ("default", argumentsAndOptions.getOptionValue("b")); in TEST()
111 EXPECT_EQ("arg", argumentsAndOptions.getSingleArgument("arg0")); in TEST()
112 EXPECT_FALSE(argumentsAndOptions.hasArgument("arg1")); in TEST()
119 const ArgumentsAndOptions argumentsAndOptions = parser.parseArguments( in TEST() local
121 EXPECT_TRUE(argumentsAndOptions.hasOption("a")); in TEST()
122 EXPECT_EQ("default", argumentsAndOptions.getOptionValue("b")); in TEST()
123 EXPECT_EQ("arg", argumentsAndOptions.getSingleArgument("arg0")); in TEST()
124 EXPECT_TRUE(argumentsAndOptions.hasArgument("arg1")); in TEST()
[all …]
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/
Dmakedict_executor.cpp27 const ArgumentsAndOptions argumentsAndOptions = in run() local
29 if (!argumentsAndOptions.isValid()) { in run()