Commit Graph

420 Commits

Author SHA1 Message Date
Jannis Moßhammer 03ad76b739 Add Makefile for generating extcmd_test when it doesn't exist
extcmd_test contains the external-command parser from icinga-core
and allows the commandpipe tests to check if the commands would
be accepted by the core

refs #4258
2013-06-11 18:04:29 +02:00
Marius Hein ed53ab6c9d Refactor Authentication Code
Fix PSR, fix testing

refs #4265
2013-06-11 13:53:42 +02:00
Jannis Moßhammer 3199f21f29 Added License header, removed deprecated or empty files
refs #4265
2013-06-11 13:33:16 +02:00
Jannis Moßhammer e325ad3417 Add LdapUserBackend and (skipping) test
The test is skipped due to the tight coupling of the Ldap Protocol
Backend to the rest of the application, this has to be addressed
as soon as the Connection is cleaned up

refs #4265
refs #4250
2013-06-11 13:33:15 +02:00
Jannis Moßhammer 70e8562814 Add PhpSession with tests
PhpSession handles file based sessions as supported by PHP

refs #4265
refs #4250
2013-06-11 13:32:33 +02:00
Jannis Moßhammer db61cfafe1 Update and test Auth/Manager implementation
- remove Storable inheritance from User and make it a plain DAO
- remove Authorization methods from User

refs #4265
refs #4250
2013-06-11 13:32:33 +02:00
Jannis Moßhammer d1f6668fe7 Add library from incubator and teststubs
This commit only contains the untested libaries from the incubator
and autogenerated teststubs and is the basis for writing the tests

refs #4250
2013-06-11 13:23:59 +02:00
Jannis Moßhammer f898e2e367 Fix broken files in Statusdat Expression handler
The function tokens in the Expression handler didn't
work after they were rewritten, as the rewrite was
missing in certain files. This is fixed now

refs #4246
2013-06-10 16:44:58 +02:00
Marius Hein e05ca449ae Fix PSR compliance
Alter files to follow PSR standards.

refs #4246
2013-06-07 13:29:11 +02:00
Marius Hein a221568a84 Integrate regression tests
Add regression testing for php: structure and bogus test.

refs #4102
2013-06-04 15:55:44 +02:00
Marius Hein 5df14b41e1 Merge branch 'feature/build-server-integration-4067'
Conflicts:
	.gitignore
2013-06-04 11:40:20 +02:00
Marius Hein 321aa9b4e3 Integrate PHPCS
Include only own code, test for binary

refs #4070
2013-06-04 11:26:12 +02:00
Marius Hein ed24a90c1a Integrate PHPUNIT
Modify tester, chdir to tests directory and test binary

refs #4068
2013-06-04 11:20:22 +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
Johannes Meyer 4b225eccee Fix: Style-checkers report their output to wrong location 2013-06-03 16:07:52 +02:00
Marius Hein 71f2c408df Integrate PHPCS
Fix absolute directory issue.

refs #4070
refs #4098
refs #4099
2013-06-03 15:29:54 +02:00
Marius Hein 0592bff4ef Build server
Add absolute directory for helper scripts

refs #4067
refs #4213
refs #4099
refs #4098
refs #4214
2013-06-03 15:13:42 +02:00
Johannes Meyer ee63f3fbd8 Make Git ignore build/* and create it as needed.
refs #4068
refs #4070
refs #4098
refs #4099
2013-06-03 10:36:27 +02:00
Johannes Meyer 7ac78fe29d Add support for phpcs reports.
Integrated style-checker for php source code.

refs #4070
2013-05-31 13:48:14 +02:00
Johannes Meyer 4a92879a5a Add support for phpunit tests.
Integrated test-runner for phpunit which covers
test-execution and code-coverage measurement.

refs #4068, refs #4087
2013-05-31 13:47:15 +02:00