serial_communication_mock.h
Go to the documentation of this file.
00001 
00024 #include <gmock/gmock.h>
00025 #include "serial_communication_interface.h"
00026 
00027 class MockSerialCommunication : public SerialCommunicationInterface {
00028     public:
00029         MOCK_METHOD1(set_serial_device, void(std::string serial_device));
00030         MOCK_METHOD1(open_port, int(struct termios *oldtio));
00031         MOCK_METHOD1(close_port, int(struct termios *oldtio));
00032         MOCK_METHOD1(send_character, int(unsigned char *str));
00033 };


maggie_serial_comm_drivers
Author(s): Raul Perula-Martinez
autogenerated on Mon Sep 14 2015 03:06:42