icingaweb2/test/php/library/Icinga/Web
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
..
Form We do not want to use "@backupStaticAttributes enabled" 2014-04-11 15:31:29 +02:00
Paginator/ScrollingStyle tests/ScrollingStyle: adjust, pagination shortened 2014-08-19 12:45:42 +02:00
Session SessionNamespaceTest: expect the correct exception 2014-09-04 18:39:02 +02:00
Widget SearchDashboard: adjust SearchDashboardTest and rename searchQuery to searchString 2014-09-04 22:54:41 +02:00
FormTest.php Rewrite test for Icinga\Web\Form 2014-04-28 14:06:40 +02:00
HookTest.php test/Web/Hook: refactor without mocks 2014-09-12 09:07:27 +02:00
MenuTest.php Adjust the test for Icinga\Web\MenuItem as its test subject has changed 2014-07-03 15:14:47 +02:00
UrlTest.php Web\UrlTest: test the new matches() function 2014-09-04 18:59:22 +02:00