Commit graph

35 commits

Author SHA1 Message Date
Eric Lippmann
a2854e8cf4 Use display_name as alias for host and service nodes 2020-02-05 15:01:22 +01:00
Johannes Meyer
af11c3e715 tests: Fix that some test cases work with invalid configurations
This has been no problem previously. But since the parser establishes
parent-child relationships these are not parseable anymore. They'll
now work with monitored nodes instead of processes.
2019-02-22 12:26:24 +01:00
Johannes Meyer
431a5e0085 Streamline usage of a node's name 2019-02-22 12:26:24 +01:00
Johannes Meyer
00b88055f7 BpConfig: Delay processing of imported configurations
Solves the issue that two processes cannot import each other
2019-02-22 12:26:24 +01:00
Johannes Meyer
e76de6515e Fix tests 2019-02-18 15:24:12 +01:00
Johannes Meyer
d195b78886 Drop libs and tests of Icinga\Module\Businessprocess\Html
refs #130
2019-01-17 13:45:42 +01:00
Markus Frosch
fae50360f5 MinOperatorTest: Update tests for fixed comparsion
refs #167
2018-03-20 16:59:18 +01:00
Thomas Gelf
52ee6d759f Metadata: add support for 'prefix' restriction
refs #106
2017-02-08 16:05:06 +01:00
Thomas Gelf
60d043cb18 Simulation: refactor the whole class
First step, more to come. Single node simulations should be moved to a
dedicated class of course

fixes #88
fixes #89
2017-01-26 22:09:38 +01:00
Thomas Gelf
5c84ae3051 LegacyStorageTest: use better-fitting helper 2017-01-26 21:22:14 +01:00
Thomas Gelf
39ddd47b20 LegacyStorage: add an info_url-related test
refs #71
2017-01-23 23:44:59 +01:00
Thomas Gelf
afa26301f4 TabsTest: test rendering empty tabs
refs #81
2017-01-20 13:17:28 +01:00
Thomas Gelf
e31a52bc48 test: improve wording, fix typos 2017-01-12 00:04:58 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
d8298417e4 TextTest: more tests 2017-01-11 13:37:21 +01:00
Thomas Gelf
4c01909cf8 test/php: simple new tests 2017-01-11 08:35:45 +01:00
Thomas Gelf
dcba547f8f LegacyStorageTest: be strict on natsort and test...
...imported nodes
2017-01-03 11:05:09 +01:00
Thomas Gelf
ad5cf47862 tests: adjust namespaces 2016-12-23 12:46:56 +01:00
Thomas Gelf
d24d0237f4 LegacyStorageTest: add a test targeting metadata 2016-12-09 14:03:49 +01:00
Thomas Gelf
c11a181701 Process: add and use new form 2016-11-29 15:32:56 +01:00
Thomas Gelf
962faab992 AndOperatorTest: test pending
fixes #8727
2016-11-29 11:27:15 +01:00
Thomas Gelf
7511d0f4c5 Tests: add some more basic tests 2016-11-29 11:17:42 +01:00
Thomas Gelf
b256488cba Host/ServiceNodeTest: adjust tests...
...legacy methods have been removed
2016-11-29 00:36:05 +01:00
Thomas Gelf
386326efdf HostNodeTest: fix and improve test 2016-11-28 00:54:07 +01:00
Thomas Gelf
1f43d2c71c tests: first tests for our HTML classes 2016-11-27 23:55:01 +01:00
Thomas Gelf
08f56452fc NodeTests: phpcs 2016-11-26 21:13:54 +01:00
Thomas Gelf
8c05ed7277 Test and implement loop detection
fixes #9786
2016-11-24 10:57:30 +01:00
Thomas Gelf
d51dc6cd07 NotOperatorTest: remove obsolete test 2016-11-24 00:48:50 +01:00
Thomas Gelf
91087b73ab Host/ServiceNode: fix tests using Link component
That way it's no longer directly based on Icinga\Web\Url and runs through.
Also fixed wrong expectations in HostNodeTest
2016-11-24 00:35:22 +01:00
Thomas Gelf
8c12491a84 Host/ServiceNodeTest: just a few simple tests
fixes #13303
2016-11-24 00:29:30 +01:00
Thomas Gelf
12a9459eaf LegacyStorageTest: improve readability...
...and move config "loading" to BaseTestCase
2016-11-23 23:03:48 +01:00
Thomas Gelf
d6f1d86ea4 NotOperatorTest: make it easier to understand 2016-11-23 23:02:32 +01:00
Thomas Gelf
8b9716c9b2 Operators: add new tests and a related helper
fixes #13299
2016-11-23 22:41:10 +01:00
Thomas Gelf
c774d686a0 NotOperatorTest: test NOT operator, parser and...
...state evaluation

fixes #10315
2016-11-23 20:55:57 +01:00
Thomas Gelf
9087c2614c LegacyStorageTest: add a bunch of tests 2016-11-23 15:17:25 +01:00