Eric Lippmann
15b2e873b2
Drop the DateTimeFactoryTest
...
refs #6778
2015-05-19 11:27:56 +02:00
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
Alexander Fuhr
0be8b97e88
Extend TranslatorTest with new tests
...
refs #6982
2014-09-16 16:14:07 +02:00
Alexander Fuhr
ab71b1cf1c
Update TranslatorTest: adjust systemwide locales order
2014-09-05 10:53:56 +02:00
Thomas Gelf
3d170f90a5
TranslatorTest: expect the correct exception
2014-09-04 18:39:02 +02:00
Johannes Meyer
8e5deb8029
Fix TranslatorTest not expecting the default locale as being "available"
...
refs #7063
2014-09-03 10:00:04 +02:00
Johannes Meyer
3b191d36c4
Let Icinga\Util\File extend from SplFileObject
...
We should extend SplFileObject as it provides already some of the
functionality Icinga\Util\File had and adds even more on top of that.
2014-06-26 15:57:14 +02:00
Johannes Meyer
461b050718
Add locale negotiation to Icinga\Util\Translator
...
Translator::getPreferredLocaleCode($header) can now be used with the
HTTP "Accept-Language" header to return the best matching locale using
the user's preferations reported by the browser and our available locale
stack. Additionally Translator::getLocale and Translator::getLanguage were
replaced by Translator::splitLocaleCode to provide a more flexible
implemenation in order to identify specific parts of a particular locale or
the current one.
refs #6074
2014-06-25 12:15:41 +02:00
Johannes Meyer
e10193f570
Add test for Icinga\Util\DateTimeFactory
...
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
3e83854e04
Add test for Icinga\Util\String
...
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer
e27e538bd9
Add test for Icinga\Util\Translator
...
refs #6011
2014-04-28 14:06:39 +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
Marius Hein
0ca0eef311
Test: Using autoloader for tests
...
refs #4639
2014-04-09 09:23:58 +02:00
Eric Lippmann
b5e93afd86
CS: Add newline at end of file
...
find application/ library/ test/ modules/ -name *.php | xargs sed -i '$a\'
2013-09-04 18:28:35 +02:00
Jannis Moßhammer
ec17efe328
Add test for Dimension
...
refs #4192
2013-08-07 17:44:40 +02:00