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

Real-GSDML integration tests for the virtual AUMA and Phoenix simulators. More...

#include <gtest/gtest.h>
#include <algorithm>
#include <chrono>
#include <cstdlib>
#include <functional>
#include <stdexcept>
#include <string>
#include <thread>
#include <vector>
#include "profinet/alarms.h"
#include "profinet/gsdml.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_gsdmlIntegrationMore.cpp:

Go to the source code of this file.

Namespaces

namespace  profinet
 
namespace  profinet::sim
 

Functions

 profinet::sim::TEST (VirtualRealGsdmlIntegrationTests, ParsesRealAumaGsdmlAndBuildsSignalCatalog)
 
 profinet::sim::TEST (VirtualRealGsdmlIntegrationTests, ParsesRealPhoenixGsdmlAndBuildsSignalCatalog)
 
 profinet::sim::TEST (VirtualRealGsdmlIntegrationTests, RunsRealAumaAndPhoenixThroughCyclicController)
 

Detailed Description

Real-GSDML integration tests for the virtual AUMA and Phoenix simulators.

The tests intentionally load the same XML files used by the production GSDML parser. Set PROFINET_AUMA_GSDML and PROFINET_PHOENIX_GSDML to their paths when running these tests. The test suite skips cleanly when either variable is not provided, keeping the default unit-test run hardware-free.

Definition in file test_virtual_gsdmlIntegrationMore.cpp.