TwiceAsNice
2019-02-18
|
This mock fakes a serial line. More...
#include <SerialLineMock.h>
Public Member Functions | |
SerialLineMock () | |
virtual | ~SerialLineMock () |
virtual void | write (const std::string &line) |
std::string | getLatestArgument_write () |
virtual std::string | read () |
void | returnsAlways (const std::string &readResult) |
SerialLineMock () | |
virtual | ~SerialLineMock () |
virtual void | write (const std::string &line) |
std::string | getLatestArgument_write () |
virtual std::string | read () |
void | returnsAlways (const std::string &readResult) |
![]() | |
SerialLine () | |
virtual | ~SerialLine () |
void | setDestinationHostname (const std::string &hostname) |
void | setDestinationPortNr (const unsigned tcpPortNr) |
void | init () |
SerialLine () | |
virtual | ~SerialLine () |
void | setDestinationHostname (const std::string &hostname) |
void | setDestinationPortNr (const unsigned tcpPortNr) |
void | init () |
Private Attributes | |
std::string | latestArgument_write_ |
std::string | result_read_ |
This mock fakes a serial line.
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from basda::quantumcomposers::SerialLine.
|
inlinevirtual |
Reimplemented from basda::quantumcomposers::SerialLine.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from basda::quantumcomposers::SerialLine.
|
inlinevirtual |
Reimplemented from basda::quantumcomposers::SerialLine.
|
private |
|
private |