11359 Commits

Author SHA1 Message Date
Eric Lippmann
c083747f67 Add "Fetchable" interface for classes providing data retrieval
Classes for retrieving data must implement the Fetchable interface
which defines the usual fetch*() functions.
2014-04-15 15:40:07 +02:00
Eric Lippmann
2cc3823a95 Implement interface "Browsable" for classes providing page turning
This interface is intended to be used everywhere a Zend_Paginator
is returned within our code.
2014-04-15 15:36:13 +02:00
Johannes Meyer
f209393711 Add Mockery when provisioning vagrant
resolves #5623
2014-04-15 10:07:48 +02:00
Johannes Meyer
8e4b47d6e1 Merge branch 'bugfix/cleanup-test-4639'
fixes #4639
2014-04-14 15:39:00 +02:00
Johannes Meyer
301e29b5e8 Remove statusdat protocol tests
refs #4639
2014-04-14 15:35:27 +02:00
Johannes Meyer
1555f55857 Remove broken, invalid and useless ModuleManager tests
refs #4639
2014-04-14 14:32:04 +02:00
Johannes Meyer
f69707e6de Remove Notification tests
refs #4639
2014-04-14 13:17:04 +02:00
Johannes Meyer
4667a53121 Remove tab tests
refs #4639
2014-04-14 12:50:16 +02:00
Johannes Meyer
1ed1c0bc3c Remove user auth and backend tests
refs #4639
2014-04-14 11:44:02 +02:00
Johannes Meyer
9d9624b331 Remove testcase for the IndexController
refs #4639
2014-04-14 10:58:24 +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
a844d33735 Do not create alias mock for Icinga\Application\Icinga
refs #4639
2014-04-14 08:31:46 +02:00
Johannes Meyer
4c8428423e Convert existing mocks to Mockery-mocks (Part 1)
refs #4639
2014-04-11 17:03:45 +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
f3c87782cb Remove uneccesary date_default_timezone_set calls
refs #4639
2014-04-11 10:32:47 +02:00
Johannes Meyer
6897db63a7 Extend session namespace tests
refs #4639
2014-04-11 09:36:09 +02:00
Johannes Meyer
3d62b8fda2 Add bootstrapping code for Mockery
refs #4639
2014-04-11 09:35:19 +02:00
Johannes Meyer
7903d44af9 Fix testing documentation
refs #4639
2014-04-10 15:54:50 +02:00
Johannes Meyer
1db9247d0d Fix module tests
refs #4639
2014-04-10 14:52:08 +02:00
Johannes Meyer
fe9cff843d Fix GeneralForm tests
refs #4639
2014-04-10 14:08:11 +02:00
Johannes Meyer
1e69169bab Fix database tests
refs #4639
2014-04-10 11:33:24 +02:00
Johannes Meyer
d78aec2d48 Fix statusdat component test
refs #4639
2014-04-10 10:42:50 +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
6056327c6d Fix that it's not possible to set non-existing values in a session with setAll()
refs #4639
2014-04-09 16:18:51 +02:00
Johannes Meyer
bd986e8c81 Skip widget tests as view objects cannot be passed "around" anymore
refs #4639
2014-04-09 15:29:05 +02:00
Johannes Meyer
4c65acac13 Fix web url test
refs #4639
2014-04-09 15:03:09 +02:00
Johannes Meyer
e1793c9ea1 Make the statusdat reader test using its own cache location
refs #4639
2014-04-09 14:56:25 +02:00
Johannes Meyer
f9324032cb Fix autoloader not ignoring vendor prefixed class names
refs #4639
2014-04-09 14:20:05 +02:00
Johannes Meyer
3a29cc34c9 Mark faulty tests as skipped
refs #4639
2014-04-09 14:18:56 +02:00
Johannes Meyer
91675bac50 Remove require instructions from all tests and fix namespaces
refs #4639
2014-04-09 14:18:14 +02:00
Johannes Meyer
0dc4a4f541 Refactor php unittest bootstrapping
refs #4639
2014-04-09 10:42:06 +02:00
Marius Hein
7708b9901f Drop BaseTestCase static class loader
refs #4639
2014-04-09 09:27:01 +02:00
Marius Hein
746cc4b5d9 Drop obsolete test cases
refs #4639
2014-04-09 09:26:11 +02:00
Marius Hein
34822d9a02 Clean up tests [WIP]
refs #4639
2014-04-09 09:23:59 +02:00
Marius Hein
0ca0eef311 Test: Using autoloader for tests
refs #4639
2014-04-09 09:23:58 +02:00
Johannes Meyer
139023571f Fix exception on 404 in monitoring/show/ 2014-04-09 08:44:51 +02:00
Johannes Meyer
82ca774331 Re-enable setting the current configuration when showing icingaweb/config
fixes #5972
2014-04-08 15:18:14 +02:00
Johannes Meyer
875f338824 Merge branch 'bugfix/preference-dbstore-broken-5682'
fixes #5682
2014-04-08 13:30:34 +02:00
Johannes Meyer
3195e6a897 Rewrite preference DbStore
refs #5682
2014-04-08 13:28:45 +02:00
Johannes Meyer
a1649a1f22 Refactor PreferencesStore and IniStore
refs #5682
2014-04-07 15:13:28 +02:00
Johannes Meyer
6692f253fd Fix that the preference configuration does not handle defaults properly 2014-04-07 15:03:08 +02:00
Thomas Gelf
072f157064 Allow developers to disable minimizers 2014-04-07 12:04:23 +00:00
Thomas Gelf
a857af60be Intendation 2014-04-07 12:03:53 +00:00
Thomas Gelf
88cdf99934 More code style 2014-04-07 12:03:53 +00:00
Johannes Meyer
d658eff9b1 Add form field to set the database name for a resource of type db
fixes #5115
2014-04-07 09:55:19 +02:00
Johannes Meyer
d109046bc0 Fix that the general and logging form cannot write configuration changes
fixes #5952
2014-04-07 09:27:37 +02:00
Michael Friedrich
e6bb32be64 Fix division by zero in Perfdata.php
Fixes #5708

Signed-off-by: Michael Friedrich <Michael.Friedrich@netways.de>
2014-04-06 19:35:08 +02:00
Johannes Meyer
ea44ae3693 Improve failure handling when setting the locale 2014-04-04 15:34:46 +02:00
Johannes Meyer
8be3ccc527 Make it possible to save the session by its associated session namespaces 2014-04-04 11:13:07 +02:00
Johannes Meyer
98b640f1e0 Fix that removed values/namespaces remain in the session storage
fixes #5934
2014-04-04 11:10:45 +02:00