|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Linux-specific EthernetPacketBackend readiness tests. More...
#include <chrono>#include <cstdint>#include "ethernetPacketBackendTestFixture.h"#include "profinet/protocol.h"
Include dependency graph for test_ethernetPacketBackendLinux.cpp:Go to the source code of this file.
Functions | |
| TEST_F (EthernetPacketBackendTestFixture, LinuxPacketReadinessReceivesFrame) | |
| TEST_F (EthernetPacketBackendTestFixture, LinuxPacketReadinessTimesOut) | |
Linux-specific EthernetPacketBackend readiness tests.
Exercises the Linux implementation that connects the libpcap selectable descriptor, when available, to an Asio POSIX stream descriptor. On Linux installations where libpcap cannot expose a selectable descriptor, the same tests exercise the documented polling fallback instead.
Definition in file test_ethernetPacketBackendLinux.cpp.
| TEST_F | ( | EthernetPacketBackendTestFixture | , |
| LinuxPacketReadinessReceivesFrame | |||
| ) |
Definition at line 31 of file test_ethernetPacketBackendLinux.cpp.
| TEST_F | ( | EthernetPacketBackendTestFixture | , |
| LinuxPacketReadinessTimesOut | |||
| ) |
Definition at line 53 of file test_ethernetPacketBackendLinux.cpp.