|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Tests for received PROFINET IOPS handling. More...
#include <gtest/gtest.h>#include <array>#include <cstdint>#include <vector>#include "profinet/cyclic.h"
Include dependency graph for test_receivedIops.cpp:Go to the source code of this file.
Classes | |
| class | profinet::cyclic::ReceivedIopsTest |
| Test fixture for received cyclic input IOPS behavior. More... | |
Namespaces | |
| namespace | profinet |
| namespace | profinet::cyclic |
Functions | |
| profinet::cyclic::TEST_F (ReceivedIopsTest, GoodIopsDeliversInputData) | |
| profinet::cyclic::TEST_F (ReceivedIopsTest, DISABLED_BadIopsWithholdsStaleInputData) | |
| profinet::cyclic::TEST_F (ReceivedIopsTest, StatusCallbackFiresOnlyOnTransitions) | |
| profinet::cyclic::TEST_F (ReceivedIopsTest, InputCallbackSkipsBadData) | |
| profinet::cyclic::TEST_F (ReceivedIopsTest, DISABLED_LowerIopsBitsDoNotAffectGoodState) | |
Tests for received PROFINET IOPS handling.
Verifies that cyclic input data is gated by the Provider Status (IOPS) reported by the device.
A device may continue transmitting cyclic frames while reporting BAD IOPS for a submodule. Such payload data is considered stale and must not be delivered to the application as valid input.
The tests also verify IOPS transition callbacks and correct handling of the IOPS DataState bit.
Definition in file test_receivedIops.cpp.