Searched refs:ConvertCommand (Results 1 – 4 of 4) sorted by relevance
29 class ConvertCommand : public Command {31 explicit ConvertCommand() : Command("convert") { in ConvertCommand() function
57 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()95 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()125 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()189 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()
380 const char* ConvertCommand::kOutputFormatProto = "proto";381 const char* ConvertCommand::kOutputFormatBinary = "binary";383 int ConvertCommand::Action(const std::vector<std::string>& args) { in Action()412 if (!output_format_ || output_format_.value() == ConvertCommand::kOutputFormatBinary) { in Action()414 } else if (output_format_.value() == ConvertCommand::kOutputFormatProto) { in Action()
74 AddOptionalSubcommand(util::make_unique<ConvertCommand>()); in MainCommand()