mavtables
0.2.1
MAVLink router and firewall.
|
#include <chrono>
#include <cstdint>
#include <cstring>
#include <stdexcept>
#include <string>
#include <system_error>
#include <catch.hpp>
#include <errno.h>
#include <fakeit.hpp>
#include "PartialSendError.hpp"
#include "UnixSerialPort.hpp"
#include "UnixSyscalls.hpp"
#include "utility.hpp"
#include "common.hpp"
Go to the source code of this file.
Functions | |
TEST_CASE ("UnixSerialPort's open and configure a serial port on construction" "and closes the port on destruction.", "[UnixSerialPort]") | |
TEST_CASE ("UnixSerialPort's open method configures the baud rate.", "[UnixSerialPort]") | |
TEST_CASE ("UnixSerialPort's 'read' method receives data on the socket.", "[UnixSerialPort]") | |
TEST_CASE ("UnixSerialPort's 'write' method sends data over the serial port.", "[UnixSerialPort]") | |
TEST_CASE ("UnixSerialPort's are printable.", "[UnixSerialPort]") | |
TEST_CASE | ( | "UnixSerialPort's open and configure a serial port on construction" "and closes the port on destruction." | , |
"" | [UnixSerialPort] | ||
) |
Definition at line 40 of file test_UnixSerialPort.cpp.
TEST_CASE | ( | "UnixSerialPort's open method configures the baud rate." | , |
"" | [UnixSerialPort] | ||
) |
Definition at line 303 of file test_UnixSerialPort.cpp.
TEST_CASE | ( | "UnixSerialPort's 'read' method receives data on the socket." | , |
"" | [UnixSerialPort] | ||
) |
Definition at line 524 of file test_UnixSerialPort.cpp.
References SerialPort::DEFAULT, and mock_unique().
TEST_CASE | ( | "UnixSerialPort's 'write' method sends data over the serial port." | , |
"" | [UnixSerialPort] | ||
) |
Definition at line 742 of file test_UnixSerialPort.cpp.
References SerialPort::DEFAULT, and mock_unique().
TEST_CASE | ( | "UnixSerialPort's are printable." | , |
"" | [UnixSerialPort] | ||
) |
Definition at line 819 of file test_UnixSerialPort.cpp.