API
 
Loading...
Searching...
No Matches
modbus_test.cpp File Reference

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"
Include dependency graph for modbus_test.cpp:

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.
 

Detailed Description

Catch2 tests for the MagAO-X Modbus transport.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file modbus_test.cpp.

Macro Definition Documentation

◆ private

#define private   public

Definition at line 12 of file modbus_test.cpp.