|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Additional behavioral tests for the in-memory Ethernet switch. More...
#include <gtest/gtest.h>#include <chrono>#include <cstdint>#include <memory>#include <thread>#include <vector>#include "profinet/protocol.h"#include "profinet/sim/in_memory_ethernet.h"
Include dependency graph for test_in_memory_ethernetMore.cpp:Go to the source code of this file.
Namespaces | |
| namespace | profinet |
| namespace | profinet::sim |
Functions | |
| profinet::sim::TEST (InMemoryEthernetRoutingTests, UnicastReachesOnlyMatchingEndpoint) | |
| profinet::sim::TEST (InMemoryEthernetRoutingTests, BroadcastIsFloodedWithoutLoopback) | |
| profinet::sim::TEST (InMemoryEthernetRoutingTests, MulticastIsFlooded) | |
| profinet::sim::TEST (InMemoryEthernetRoutingTests, SameMacSocketsDoNotLoopBackTraffic) | |
| profinet::sim::TEST (InMemoryEthernetSocketTests, ReceiveTimeoutReturnsEmptyFrame) | |
| profinet::sim::TEST (InMemoryEthernetSocketTests, NegativeTimeoutThrows) | |
| profinet::sim::TEST (InMemoryEthernetRoutingTests, ShortFrameThrows) | |
| profinet::sim::TEST (InMemoryEthernetBusTests, ClearQueuesRemovesPendingFrames) | |
| profinet::sim::TEST (InMemoryEthernetBusTests, EndpointDestructionDetachesSocket) | |
Additional behavioral tests for the in-memory Ethernet switch.
These tests intentionally treat the switch as a Layer-2 transport. They validate unicast routing, broadcast/multicast flooding, timeout behavior, same-MAC TX/RX isolation, queue management and invalid-frame handling.
Definition in file test_in_memory_ethernetMore.cpp.