Commit Graph

264 Commits

Author SHA1 Message Date
Gunnar Beutner ac155d1dda Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
Michael Friedrich cd33b8b508
Merge pull request #5936 from Icinga/feature/source-lists
Clean up source lists in the CMakeLists.txt files
2018-01-03 11:59:35 +01:00
Gunnar Beutner 75e2473616 Clean up source lists in the CMakeLists.txt files 2018-01-03 11:47:46 +01:00
Michael Friedrich 0e6f4b1966
Merge pull request #5939 from Icinga/fix/build-fix-wheezy
Build fix for Debian wheezy
2018-01-03 11:28:57 +01:00
Gunnar Beutner abe3f8a959 Build fix for Debian wheezy 2018-01-03 10:32:33 +01:00
Gunnar Beutner 90496b5456 Build libraries as static libraries 2018-01-02 23:29:48 +01:00
Michael Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Jean Flach 2636e6a77a Whitespace fix
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
2017-12-20 14:53:52 +01:00
Jean Flach bde3263d5c
Merge pull request #5885 from Icinga/fix/build-fix-gcc
Workaround for GCC bug 61321
2017-12-20 09:59:45 +01:00
Jean Flach 629c502ca9 Fix build errors 2017-12-20 08:08:02 +01:00
Adam James 37d100ddef Implement unit tests for the time period parser
fixes #11146
2017-12-20 08:08:02 +01:00
Gunnar Beutner 88af57e2ec Fix for outdated libstdcxx 2017-12-20 08:02:17 +01:00
Gunnar Beutner ab8386cf5c Use std::unique_ptr for Expression objects 2017-12-15 10:44:54 +01:00
Gunnar Beutner 4c2f13c414 Fix memory leaks in the unit tests 2017-12-14 14:57:23 +01:00
Gunnar Beutner ff0b6ba630 Fix build problems with Visual Studio 2017 2017-12-14 08:55:36 +01:00
Michael Friedrich a238613fdc
Merge pull request #5825 from Icinga/feature/boost-assign
Replace boost::assign::list_of with initializer lists
2017-11-30 21:20:46 +01:00
Gunnar Beutner 83f17b5bfa Replace boost::assign::list_of with initializer lists 2017-11-30 18:09:38 +01:00
Gunnar Beutner df8266631d Replace boost::tuple with std::tuple 2017-11-30 17:41:02 +01:00
Gunnar Beutner d5961bb76c Re-implement WrapFunction() using C++11 features 2017-11-29 11:53:45 +01:00
Gunnar Beutner 858873b940 Replace boost::bind/boost::function with std::bind/std::function 2017-11-27 15:15:11 +01:00
Jean Flach 34651553b2 Add additional tests for flapping
refs #4982
2017-11-02 14:38:17 +01:00
Jean Flach a21ffd6fe4 Fix flapping
Re-implement flapping following the 'old way' of just observing the last
20 stage changes.

refs #4982
2017-10-24 15:54:05 +02:00
Michael Friedrich 29b7971fef Merge pull request #5624 from mcktr/mcktr/fix/missing-include-statements
Fixed missing include statement in unit test
2017-10-02 13:27:04 +02:00
Michael 2d036e6886 Fixed missing include statement in unit test
This adds the missing iostream include to the notification unit test.

refs #5613
2017-09-26 22:01:07 +02:00
Michael 631d1e85fc Fixed missing include statement in unit tests
refs #5613
2017-09-25 01:07:50 +02:00
Michael Friedrich d74b15d640 Move Base64 class into libbase
refs #5538
2017-09-11 16:51:13 +02:00
Michael Friedrich 08486a0f7c Fix tests for URL formatting changes
refs #5558
2017-09-07 11:26:19 +02:00
Michael Friedrich 79dcb789c2 Move PerfdataValue() class into base library
This is required for libremote and ApiListener stats in #5133
2017-05-15 16:32:29 +02:00
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich f8e6d2d603 Add unit test for notification state/type filters
fixes #13225
2016-11-17 14:36:55 +01:00
Michael Friedrich 7e0c48643b Fix Flapping{Start,End} notifications in SOFT states or downtimes
fixes #12560
fixes #12892
2016-11-10 14:16:02 +01:00
Jean Flach d264a0dab8 Fix Url Query formatting
fixes #12883
2016-10-10 16:16:52 +02:00
Gunnar Beutner 1dc4ab367e Fix: Unit tests randomly crash after the tests have completed
fixes #12610
2016-09-07 08:25:53 +02:00
Gunnar Beutner 6d4e305fe3 Add more unit tests
fixes #12530
2016-08-30 09:10:00 +02:00
Gunnar Beutner 903db81fe0 Make sure that libmethods is automatically loaded even when not using the ITL
fixes #12578
2016-08-28 17:03:08 +02:00
Gunnar Beutner 20174a0baa Fix livestatus unit tests on Linux/Windows
refs #8806
2016-08-28 15:14:49 +02:00
Gunnar Beutner 4876a78ab5 Remove unnecessary imports from unit test config
refs #12575
2016-08-28 10:41:46 +02:00
Gunnar Beutner 2c8be90232 Fix livestatus unit tests on OS X
fixes #8806
2016-08-28 08:18:40 +02:00
Gunnar Beutner 288413f046 Replace BOOST_FOREACH with range-based for loops
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner ae1ab5f865 Implement unit tests for state changes
fixes #12530
2016-08-24 19:45:52 +02:00
Gunnar Beutner 827b230467 Use the "plugin-check-command" template in the livestatus unit tests
refs #12338
2016-08-10 08:37:30 +02:00
Gunnar Beutner 039461e218 Fix unit tests for Convert::ToString
refs #11483
2016-06-16 15:32:29 +02:00
Gunnar Beutner 99735a5b2d Fix dependencies for the unit tests
fixes #11832
2016-05-24 13:49:37 +02:00
Gunnar Beutner fc889eb9ad Revert "Implement unit tests for the time period parser"
This reverts commit 1246d7dda3.

refs #11146
2016-05-11 18:12:20 +02:00
Adam James 1246d7dda3 Implement unit tests for the time period parser
fixes #11146
2016-05-11 09:23:39 +02:00
Gunnar Beutner 112f024810 Build fix for GCC
refs #9839
2016-03-29 14:52:48 +02:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Jean Flach 957cf3169f Replace boost-base64 with an openssl implementation
Also add unit tests

fixes #10714
2016-01-11 15:35:20 +01:00
Michael Friedrich 3d4e48aa12 Livestatus: Fix "class" filter for log table
fixes #10449
2015-11-26 19:15:54 +01:00
Gunnar Beutner c9f175790f Fix unit tests for livestatus
refs #10643
2015-11-19 20:25:10 +01:00