icinga2/test
Johannes Schmidt 68b3b9fd3a Add unit-tests for NotificationComponent
This includes a few common scenarios and a reproduction of the current behavior
affected by the underlying bug of issue #10575. This is done both to document
the change in behavior, as well as to ensure the behavior of the other scenarios
stays the same before and after the fix is applied.
2025-11-03 15:39:35 +01:00
..
config Remove unnecessary imports from unit test config 2016-08-28 10:41:46 +02:00
livestatus Livestatus: Fix "class" filter for log table 2015-11-26 19:15:54 +01:00
base-array.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-atomic.cpp Introduce AtomicDuration 2025-09-23 11:04:58 +02:00
base-base64.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-configuration-fixture.hpp Add unit-tests for HttpServerConnection and HTTP message classes 2025-08-28 13:22:18 +02:00
base-convert.cpp Convert::ToString(double): handle integral values too large for long long correctly 2021-04-27 17:31:50 +02:00
base-dictionary.cpp Dictionary: Make sure underlaying map is ordered 2021-11-12 13:34:57 +01:00
base-fifo.cpp Stream#Read(): remove de facto unused param allow_partial 2023-07-13 16:55:48 +02:00
base-io-engine.cpp Don't use removed boost::asio::spawn() overload if Boost >= v1.87 2025-04-14 17:30:19 +02:00
base-json.cpp fix comment 2025-07-11 14:05:54 +02:00
base-match.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-netstring.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-object-packer.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-object.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-serialize.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-shellescape.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-stacktrace.cpp Remove MSVC warnings about unknown pragmas GCC/clang 2025-09-24 15:43:09 +02:00
base-stream.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base-string.cpp Avoid undefined behavior in string/vector_move test 2025-03-10 09:28:33 +01:00
base-testloggerfixture.hpp Add ClearTestLogger method to TestLoggerFixture 2025-10-22 10:31:17 +02:00
base-timer.cpp tests: speed up timer tests using smaller sleep times 2025-09-12 12:54:18 +02:00
base-tlsstream-fixture.hpp Add unit-tests for HttpServerConnection and HTTP message classes 2025-08-28 13:22:18 +02:00
base-tlsutility.cpp VerifyCertificate: Work around issue in OpenSSL < 1.1.0 causing invalid certifcates being treated as valid 2025-05-21 10:50:12 +02:00
base-type.cpp Add basic test cases for Type::GetConfigTypesSortedByLoadDependencies() 2024-09-20 16:18:12 +02:00
base-utility.cpp Ensure consistent mktime() DST behavior across different implementations 2025-04-28 13:38:55 +02:00
base-value.cpp Make base_value/format test easier to understand 2021-05-31 17:28:35 +02:00
BoostTestConfig.h.in Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
CMakeLists.txt Add unit-tests for NotificationComponent 2025-11-03 15:39:35 +01:00
config-apply.cpp Tests: config_apply/gettargetservices_*: use BOOST_CHECK_EQUAL_COLLECTIONS() 2023-12-18 16:01:31 +01:00
config-ops.cpp Merge commit from fork 2025-10-16 14:14:45 +02:00
icinga-checkable-fixture.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
icinga-checkable-flapping.cpp Require to pass WaitGroup::Ptr to several methods 2025-05-23 14:53:58 +02:00
icinga-checkresult.cpp Fix rediscovered test-cases in icinga-checkresult 2025-09-09 16:09:00 +02:00
icinga-dependencies.cpp Add basic unittests for bulk group registration 2025-03-19 16:28:00 +01:00
icinga-legacytimeperiod.cpp Fix compiler warnings by removing unused variables 2025-10-17 09:56:46 +02:00
icinga-macros.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
icinga-notification.cpp No longer allow overriding the frozen attribute of containers 2025-07-08 14:16:20 +02:00
icinga-perfdata.cpp Fix PerfdataValue Counter Parsing 2025-05-12 16:34:05 +02:00
icingaapplication-fixture.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
icingaapplication-fixture.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
livestatus-fixture.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
livestatus.cpp Require to pass WaitGroup::Ptr to several methods 2025-05-23 14:53:58 +02:00
methods-pluginnotificationtask.cpp No longer allow overriding the frozen attribute of containers 2025-07-08 14:16:20 +02:00
notification-notificationcomponent.cpp Add unit-tests for NotificationComponent 2025-11-03 15:39:35 +01:00
remote-certificate-fixture.cpp Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
remote-certificate-fixture.hpp Rename/Move existing certs/ca instead of symlinking 2025-09-16 13:35:18 +02:00
remote-configpackageutility.cpp De-couple package and stage name validation 2021-08-02 15:40:14 +02:00
remote-filterutility.cpp Add test-cases for checking permissions in filter exprs 2025-10-02 15:51:42 +02:00
remote-httpmessage.cpp Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
remote-httpserverconnection.cpp HttpServerConnection: use std::chrono for m_Seen 2025-09-12 13:40:36 +02:00
remote-url.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
test-ctest.cpp Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
test-ctest.hpp Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
test-runner.cpp Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
utils.cpp tests: Move GlobalTimezoneFixture to utils file 2025-04-28 13:38:38 +02:00
utils.hpp tests: Move GlobalTimezoneFixture to utils file 2025-04-28 13:38:38 +02:00