Commit Graph

130 Commits

Author SHA1 Message Date
Johannes Meyer 02d24200bb Refactor IDO query code
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer d5dc65a752 Add check to the statusdata test for regular file updates
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer f8887c2f89 Update readme file
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer 6eb169b215 Fix vm bootstrapping
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer a443e4a4fc Refactor vm bootstrapping
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer 42687a3616 Add --output switch to the test runner
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 8a9c6c7342 Add checkresult tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 45e5d34ec4 Let the IDO tests take reschedule actions into account
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer c1d31179ef Fix command execution over SSH
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 7f64e58c32 Make setup output quiet
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 17e36fe1cc Add IDO tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 3b04b4dcf5 Add file existence tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer cd05686a70 Add state tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 518d0bfd10 Fix settings section in configuration file
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 9d87ce571b Add configuration aware test runner
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer 9229aa4948 Merge branch 'feature/Array-insert-functionality' into next
resolves #5320
2013-12-12 13:53:27 +01:00
Gunnar Beutner aa4c2b9542 Add unit test for Stream::ReadLine.
Fixes #5077
2013-12-05 09:57:12 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner e368c43081 Remove unused file.
Refs #4635
2013-11-26 18:34:17 +01:00
Gunnar Beutner 378b0bca03 Add test script for Jenkins.
Refs #4635
2013-11-26 18:34:17 +01:00
Gunnar Beutner 0f28e55925 Implement support for non-standard "multi" performance data.
Refs #5082
2013-11-17 03:29:43 +01:00
Michael Friedrich e6128a0a96 Livestatus: Fix invalid livestatus query crashes Icinga 2.
Fixes #5076
2013-11-15 10:56:14 +01:00
Gunnar Beutner 2dacc047ec Remove quotes from perfdata keys.
Fixes #5031
2013-11-13 15:43:59 +01:00
Gunnar Beutner 6ccf4497f2 Fix unit tests on Windows.
Fixes #5068
2013-11-13 09:08:17 +01:00
Gunnar Beutner 4f1cb83f31 Fix Convert::ToString.
Fixes #5054
2013-11-11 13:04:18 +01:00
Gunnar Beutner c3fde98677 Fix compilation on openSUSE 12.3.
Fixes #5038
2013-11-09 08:26:53 +01:00
Gunnar Beutner 49435b80a3 Fix unit tests.
Refs #5036
2013-11-08 21:56:42 +01:00
Gunnar Beutner ba6f64a0ec Remove GetType().
Refs #5036
2013-11-08 21:37:21 +01:00
Gunnar Beutner a84536bea3 Implement serializer support for arbitrary classes.
Fixes #5024
2013-11-08 14:08:59 +01:00
Gunnar Beutner ceb0a54baf Implement support for performance data unit prefixes.
Fixes #5026
2013-11-08 08:39:05 +01:00
Gunnar Beutner e246170374 Fix unit test name.
Refs #2710
2013-11-07 18:21:55 +01:00
Gunnar Beutner 2af388e4ef Implement performance data parser.
Refs #2710
2013-11-07 16:07:52 +01:00
Gunnar Beutner 6acc017707 Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
Fixes #5012
2013-11-07 08:28:33 +01:00
Michael Friedrich 90cf04f088 Additional fixes for log table including test queries.
Refs #4433
2013-11-06 18:45:22 +01:00
Michael Friedrich 835e395fd6 Livestatus: Add statehist table.
Fixes #4434
2013-11-06 15:29:04 +01:00
Michael Friedrich 74f9106243 Implement regex match attribute filters (~, ~~)
Requires the boost regex library.

Refs #5007

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-11-05 17:13:40 +01:00
Gunnar Beutner f2307c4242 Add cmake build files.
Refs #4962
2013-11-03 13:45:26 +01:00
Gunnar Beutner 2c143fbdf8 Remove unused files.
Refs #4962
2013-11-03 11:12:47 +01:00
Gunnar Beutner 3308eb1d87 Add missing newlines.
Refs #4990
2013-11-03 10:59:01 +01:00
Michael Friedrich 75b69411b9 Livestatus: Add log table.
refs #4433
2013-10-31 13:39:16 +01:00
Gunnar Beutner 8567404330 Add support for running tests with xUnit.
Fixes #4950
2013-10-25 08:56:30 +02:00
Michael Friedrich 2164ff22b9 Documentation: Update commands and external commands. 2013-10-17 18:13:33 +02:00
Michael Friedrich 28c69c21ad Fix error msg in process_check_result helper. 2013-10-10 22:54:00 +02:00
Gunnar Beutner fe5c925a63 Windows build fix. 2013-10-09 15:03:24 +02:00
Michael Friedrich a5473a56d0 Reorder test scripts. 2013-10-09 11:27:12 +02:00
Michael Friedrich d2d6653236 Clean contrib/.
fixes #4774
2013-10-03 20:36:44 +02:00
Gunnar Beutner 80f44e1edf Fix tests. 2013-10-03 12:47:53 +02:00
Gunnar Beutner bf1a800e39 Update copyright information. 2013-09-25 07:45:56 +02:00
Gunnar Beutner c552d79774 Add more unit tests for the Value class. 2013-09-02 15:11:39 +02:00
Gunnar Beutner 2e81c28444 Add more unit tests. 2013-09-02 13:08:29 +02:00
Gunnar Beutner 092f941d12 Add more unit tests. 2013-09-02 11:10:04 +02:00
Gunnar Beutner 9f0d47f124 Implement more unit tests. 2013-09-02 10:52:39 +02:00
Gunnar Beutner 86e2f3dd81 Windows build fix. 2013-09-01 06:01:27 +02:00
Michael Friedrich 603ceb9927 livestatus: import test queries and script
refs #2762
2013-07-30 13:07:13 +02:00
Gunnar Beutner 0fcbfdb236 Windows build fix. 2013-04-19 15:28:34 +02:00
Gunnar Beutner fe4fd67405 Bugfixes for the BufferedStream class. 2013-04-19 14:47:41 +02:00
Gunnar Beutner 09d97c551e Fix 'make check-coverage' for VPATH builds. 2013-04-19 13:51:33 +02:00
Gunnar Beutner 4fa9685a18 Removed obsolete debug code. 2013-04-19 13:09:24 +02:00
Gunnar Beutner fcdb690b48 Even more unit tests. 2013-04-19 12:58:16 +02:00
Gunnar Beutner d0113e33da Add more unit tests. 2013-04-19 11:27:18 +02:00
Gunnar Beutner 4a72f592e2 Add some unit tests. 2013-04-18 16:40:09 +02:00
Gunnar Beutner c63684a72f Shell-escape macros. 2013-03-22 10:58:47 +01:00
Gunnar Beutner 734f76af96 Windows build fix. 2013-03-18 22:40:40 +01:00
Gunnar Beutner e6553a7140 Fix unit tests. 2013-03-18 11:15:46 +01:00
Gunnar Beutner 1ef7399cea Remove support for anonymous dictionary items. 2013-03-14 12:40:02 +01:00
Gunnar Beutner a28914928d Fix another unit test bug. 2013-03-12 23:00:40 +01:00
Gunnar Beutner 9baa10c45f Fix the dictionary unit test. 2013-03-12 21:41:44 +01:00
Gunnar Beutner 98ab009b91 Cleaned up VS project files. 2013-03-12 19:49:24 +01:00
Gunnar Beutner 8f9ac837af Removed x64 build target (use Win64 instead).
Fixes #3655
2013-02-08 15:52:21 +01:00
Gunnar Beutner 34d4f32398 Windows build fix. 2013-02-08 07:11:02 +01:00
Gunnar Beutner 01cde2195d Build unit tests on Windows.
Refs #3645
2013-02-08 06:56:38 +01:00
Gunnar Beutner 0f6b31dfd8 Use BOOST_CHECK() instead of BOOST_REQUIRE(). 2013-02-07 11:13:00 +01:00
Gunnar Beutner 98aacd473a Removed unused variable. 2013-02-07 09:38:25 +01:00
Gunnar Beutner c04cfb9dac Make sure that unnamed items in a dictionary are always in the order they were inserted in. 2013-02-07 09:36:17 +01:00
Gunnar Beutner 46ff4a9857 Fixed unit tests. 2012-09-14 11:41:15 +02:00
Gunnar Beutner e807d379ca Build fixes for the unit tests. 2012-07-10 09:44:11 +02:00
Gunnar Beutner 777f39c1ef Renamed Dictionary::{Set,Get}Property -> Dictionary::{Set,Get} 2012-07-09 16:19:56 +02:00
Gunnar Beutner 3027ea1758 Added SQLite. 2012-05-29 13:52:24 +02:00
Gunnar Beutner 3a8e7405a6 Updated Dictionary tests. 2012-05-29 06:25:01 +02:00
Gunnar Beutner fa158c5368 Added makefile support for unit tests. 2012-05-28 12:01:08 +02:00