3#ifndef IMT_BASE_OS_LINUX_GMOCK_MOCKSERIALPORT_H
4#define IMT_BASE_OS_LINUX_GMOCK_MOCKSERIALPORT_H
6#include <gmock/gmock.h>
24 MOCK_METHOD(
void, close, (std::string
const& deviceName), ());
25 MOCK_METHOD(
size_t, read, (std::string
const& deviceName, std::vector<uint8_t>& data,
size_t numberOfBytesToRead), ());
26 MOCK_METHOD(
size_t, write, (std::string
const& deviceName, std::vector<uint8_t> data), ());
Serial port mock implementation.
MOCK_METHOD(size_t, write,(std::string const &deviceName, std::vector< uint8_t > data),())
MOCK_METHOD(void, open,(std::string const &deviceName),())
MOCK_METHOD(size_t, read,(std::string const &deviceName, std::vector< uint8_t > &data, size_t numberOfBytesToRead),())
MOCK_METHOD(void, close,(std::string const &deviceName),())
This is a application specific file which is used to configure Imt.Base.Core.Math.