Catch2 tests for the MagAO-X Modbus transport. More...
#include "../../../tests/catch2/catch.hpp"#include <sys/socket.h>#include <unistd.h>#include "../modbus.hpp"#include "../modbus_exception.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | libXWCTest |
| Namespace for all libXWC tests. | |
| namespace | libXWCTest::modbusTest |
Macros | |
| #define | private public |
Functions | |
| libXWCTest::modbusTest::TEST_CASE ("modbus reports a dropped peer as a connection exception", "[modbus]") | |
| Verify the Modbus client throws instead of dying when the peer disappears. | |
Catch2 tests for the MagAO-X Modbus transport.
Definition in file modbus_test.cpp.
| #define private public |
Definition at line 12 of file modbus_test.cpp.