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

Behavioral tests for the virtual AUMA SGx valve simulator. More...

#include <gtest/gtest.h>
#include <algorithm>
#include <array>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <mutex>
#include <stdexcept>
#include <string>
#include <thread>
#include <vector>
#include "profinet/alarms.h"
#include "profinet/gsdml.h"
#include "profinet/rt.h"
#include "profinet/sim/virtual_auma_config.h"
#include "profinet/sim/virtual_auma_valve.h"
#include "profinet/sim/virtual_phoenix_plc.h"
#include "virtual_sim_test_helpers.h"
+ Include dependency graph for test_virtual_auma_valveMore.cpp:

Go to the source code of this file.

Namespaces

namespace  profinet
 
namespace  profinet::sim
 

Functions

 profinet::sim::TEST (VirtualAumaValveTests, StartsFromConfiguredGsdmlPosition)
 
 profinet::sim::TEST (VirtualAumaValveTests, OpenCommandMovesValveToEndStop)
 
 profinet::sim::TEST (VirtualAumaValveTests, RejectsFramesFromSecondController)
 
 profinet::sim::TEST (VirtualAumaValveTests, SlowValveMovesButAtReducedSpeed)
 
 profinet::sim::TEST (VirtualAumaValveTests, JammedPreventsMovement)
 
 profinet::sim::TEST (VirtualAumaScenarioTests, JammedKeepsIopsGood)
 
 profinet::sim::TEST (VirtualAumaScenarioTests, BadIopsStillEmitsCyclicFramesWithBadIops)
 
 profinet::sim::TEST (VirtualAumaAlarmTests, RequestedScenariosExposeBothAlarmPaths)
 
 profinet::sim::TEST (VirtualAumaAlarmTests, ThrowingAlarmCallbackDoesNotKillSimulator)
 
 profinet::sim::TEST (VirtualAumaScenarioTests, NoInputSuppressesDeviceInputTraffic)
 
 profinet::sim::TEST (VirtualAumaScenarioTests, InvalidInputClearsDataValidity)
 
 profinet::sim::TEST (VirtualAumaScenarioTests, DuplicateInputProducesDuplicateCycleCounters)
 
 profinet::sim::TEST (VirtualAumaScenarioTests, OutOfOrderInputProducesOutOfOrderCycles)
 
 profinet::sim::TEST (VirtualAumaScenarioTests, EveryScenarioHasStableName)
 
 profinet::sim::TEST (VirtualAumaValveTests, RejectsInvalidMotionConfiguration)
 

Detailed Description

Behavioral tests for the virtual AUMA SGx valve simulator.

Tests exercise the real RTFrame parser and in-memory transport rather than calling private application methods. A small GSDML model is used for fast unit tests; real AUMA XML is covered by the integration test file.

Definition in file test_virtual_auma_valveMore.cpp.