Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Thomas Gelf
3a5415f7c8
test/Web/Hook: refactor without mocks
...
Mocks made no sense here. Also introduced a "new" way of naming test
functions. Output now looks as follows:
s\Icinga\Web\Hook
[x] Knows which hooks are registered
[x] Correctly handles multiple instances
[x] Returns null for invalid hooks
[x] Returns null for failing hook
[x] Checks whether created instances inherit base classes
[x] Throws errors for instances not inheriting base classes
[x] Creates identical instances only once
[x] Returns an empty array with no registered hook
2014-09-12 09:07:27 +02:00
Johannes Meyer
290fe9eeb5
Rewrite test for Icinga\Web\Hook
...
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
1df4d9022b
Convert existing mocks to Mockery-mocks (Part 2)
...
refs #4639
2014-04-14 10:57:48 +02:00
Johannes Meyer
927772578d
We do not want to use "@backupStaticAttributes enabled"
...
refs #4639
2014-04-11 15:31:29 +02:00
Johannes Meyer
ccae70bc80
Make all tests inherit from BaseTestCase and fix license headers and style
...
refs #4639
2014-04-10 10:32:50 +02:00
Johannes Meyer
91675bac50
Remove require instructions from all tests and fix namespaces
...
refs #4639
2014-04-09 14:18:14 +02:00
Eric Lippmann
a5908c9553
CS: Replace multiple empty lines with one
...
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Eric Lippmann
35fd9fd391
CS: Remove whitespaces at end of line
...
find application/ library/ test/ modules/ -name *.php | xargs sed -i 's/\s\+$//'
2013-09-04 18:27:16 +02:00
Marius Hein
b403721c11
Extensible configuration system
...
Add object registration for hooks.
refs #4300
2013-06-27 16:10:54 +02:00
Marius Hein
ccd5564a37
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Modify test for hook, add test for notification
refs #4256
2013-06-13 11:59:47 +02:00
Marius Hein
9b907e3cd3
Move tested existing resources to new productive repository
...
Rename docs, tests and test/ui to doc, test and test/frontend to
suite skeleton definition.
refs #4212
2013-06-04 10:20:51 +02:00