Lines Matching refs:input

170   const std::string input{ "abort" };  in TEST()  local
172 Command command = Command::Parse(input, 0, &err); in TEST()
182 const std::string input{ "abort" }; in TEST() local
184 Command command = Command::Parse(input, 0, &err); in TEST()
189 const std::string input{ in TEST() local
196 Command command = Command::Parse(input, 1, &err); in TEST()
201 ASSERT_EQ(input, command.cmdline()); in TEST()
214 const std::string input{ "erase 2,5,10" }; in TEST() local
216 Command command = Command::Parse(input, 2, &err); in TEST()
221 ASSERT_EQ(input, command.cmdline()); in TEST()
230 const std::string input{ "free hash1" }; in TEST() local
232 Command command = Command::Parse(input, 3, &err); in TEST()
237 ASSERT_EQ(input, command.cmdline()); in TEST()
246 const std::string input{ in TEST() local
253 Command command = Command::Parse(input, 4, &err); in TEST()
258 ASSERT_EQ(input, command.cmdline()); in TEST()
270 const std::string input{ in TEST() local
275 Command command = Command::Parse(input, 5, &err); in TEST()
280 ASSERT_EQ(input, command.cmdline()); in TEST()
293 const std::string input{ "new 4,3,5,10,12" }; in TEST() local
295 Command command = Command::Parse(input, 6, &err); in TEST()
300 ASSERT_EQ(input, command.cmdline()); in TEST()
309 const std::string input{ "stash hash1 2,5,10" }; in TEST() local
311 Command command = Command::Parse(input, 7, &err); in TEST()
316 ASSERT_EQ(input, command.cmdline()); in TEST()
325 const std::string input{ "zero 2,1,5" }; in TEST() local
327 Command command = Command::Parse(input, 8, &err); in TEST()
332 ASSERT_EQ(input, command.cmdline()); in TEST()
341 const std::string input{ "compute_hash_tree 2,0,1 2,3,4 sha1 unknown-salt unknown-root-hash" }; in TEST() local
343 Command command = Command::Parse(input, 9, &err); in TEST()
348 ASSERT_EQ(input, command.cmdline()); in TEST()
382 for (const auto& input : inputs) { in TEST() local
384 ASSERT_FALSE(Command::Parse(input, 0, &err)); in TEST()