PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
test_virtual_profinet_rpc_device.cpp File Reference

End-to-end tests for the virtual PROFINET device lifecycle. More...

#include <gtest/gtest.h>
#include <chrono>
#include <cstdint>
#include <memory>
#include <thread>
#include "profinet/rpc.h"
#include "profinet/sim/virtual_profinet_rpc_device.h"
+ Include dependency graph for test_virtual_profinet_rpc_device.cpp:

Go to the source code of this file.

Detailed Description

End-to-end tests for the virtual PROFINET device lifecycle.

These tests use the production RPCCon over real localhost UDP. The device side is simulated by VirtualProfinetRpcDevice. No RPC methods are mocked. This is intentionally different from a unit test: malformed startup order and missing CONNECT configuration must be observable as device failures.

Definition in file test_virtual_profinet_rpc_device.cpp.