| 237 | |
| 238 | |
| 239 | void ChannelLinter::TestCommand(std::shared_ptr<MockDeviceBridge> const& channel) |
| 240 | { |
| 241 | assert(m_Config.m_Command); |
| 242 | std::cout << "Executing command ... " << std::flush; |
| 243 | auto binaryCommand = TranslateCommand(*m_Config.m_Command); |
| 244 | channel->RunCommand(binaryCommand); |
| 245 | std::cout << "OK" << std::endl; |
| 246 | } |
| 247 | |
| 248 | FSecure::ByteVector ChannelLinter::TranslateCommand(StringVector const& commandParams) |
| 249 | { |
nothing calls this directly
no test coverage detected