diff --git a/tests/executables_src/testStatusModule.cc b/tests/executables_src/testStatusModule.cc index 0b5b989cb9b66634bcd25286e50d71047c7f855b..578c07b2e0c2d1e1d77cbe8b936a226b9a5155df 100644 --- a/tests/executables_src/testStatusModule.cc +++ b/tests/executables_src/testStatusModule.cc @@ -40,6 +40,10 @@ BOOST_AUTO_TEST_CASE(testMaxMonitor) { std::cout << "testMaxMonitor" << std::endl; TestApplication<ctk::MaxMonitor<double_t>> app; + // check that the reserved StatusOutput tag is present at the output, required for StatusAggregator integration + auto tags = ctk::VariableNetworkNode(app.monitor.status).getTags(); + BOOST_CHECK(tags.find(ctk::StatusOutput::tagStatusOutput) != tags.end()); + ctk::TestFacility test; test.runApplication(); //app.cs.dump(); @@ -180,6 +184,10 @@ BOOST_AUTO_TEST_CASE(testMinMonitor) { TestApplication<ctk::MinMonitor<uint>> app; + // check that the reserved StatusOutput tag is present at the output, required for StatusAggregator integration + auto tags = ctk::VariableNetworkNode(app.monitor.status).getTags(); + BOOST_CHECK(tags.find(ctk::StatusOutput::tagStatusOutput) != tags.end()); + ctk::TestFacility test; test.runApplication(); //app.dumpConnections(); @@ -323,6 +331,10 @@ BOOST_AUTO_TEST_CASE(testRangeMonitor) { std::cout << "testRangeMonitor" << std::endl; TestApplication<ctk::RangeMonitor<int>> app; + // check that the reserved StatusOutput tag is present at the output, required for StatusAggregator integration + auto tags = ctk::VariableNetworkNode(app.monitor.status).getTags(); + BOOST_CHECK(tags.find(ctk::StatusOutput::tagStatusOutput) != tags.end()); + ctk::TestFacility test; test.runApplication(); //app.dumpConnections(); @@ -542,6 +554,10 @@ BOOST_AUTO_TEST_CASE(testExactMonitor) { std::cout << "testExactMonitor" << std::endl; TestApplication<ctk::ExactMonitor<float>> app; + // check that the reserved StatusOutput tag is present at the output, required for StatusAggregator integration + auto tags = ctk::VariableNetworkNode(app.monitor.status).getTags(); + BOOST_CHECK(tags.find(ctk::StatusOutput::tagStatusOutput) != tags.end()); + ctk::TestFacility test; test.runApplication(); //app.dumpConnections();