Commit graph

20 commits

Author SHA1 Message Date
Sébastien Lucas c5c9ffc3b0 Add other unit tests and fix a bug which caused COPS to be in english on a french IE11 2015-02-06 20:55:02 +01:00
Pablo Aguiar d384d6a6c6 Rename Brazilian Portuguese localization file to correct name (re #37)
This changeset stands on the shoulders of bc91c92 :)

Thanks @seblucas!
2015-02-06 13:30:00 -02:00
Sébastien Lucas 2358c6142c Fix the tests for php 5.3 2015-02-06 06:55:27 +01:00
Sébastien Lucas bc91c92ced Prepare COPS to handle language and country code. Still some stuff to fix but shouldn't be much. 2015-02-05 21:44:00 +01:00
Sébastien Lucas 7ae6041c29 Add a proper test for server side rendering (can check syntax errors). re #171 2014-08-27 10:02:15 +02:00
Sébastien Lucas 6860206075 Forgot to commit the test update from the Kindle hacks. re #165 2014-07-29 22:36:32 +02:00
Sébastien Lucas 78d42b48e2 Allow normalized search (without diacritics) it should also fix the case problem with non latin languages (cyrillic).
The last part is not tested.

disclaimer : Slow !

re #49, #48
2014-05-03 17:57:06 +02:00
Sébastien Lucas 7f9cf87cb6 Add a basic test for the header generation. 2014-02-14 17:10:14 +01:00
Sébastien Lucas 5a8bfd9fb8 Typo 2014-02-06 20:48:46 +01:00
Sébastien Lucas e96eaf86e5 Add a test for function creation. I can't manage to make it fail when needed. Still I'll commit anyway ! 2014-01-06 21:24:11 +01:00
Sébastien Lucas d3934b9254 Fix a warning. re #127 2013-12-14 18:58:43 +01:00
Sébastien Lucas 8a72e1a6fd Ensure the check can be tested. re #127 2013-12-14 18:48:34 +01:00
Sébastien Lucas 0f09ef5f8c Remove trailing spaces 2013-12-05 10:52:51 +01:00
Sébastien Lucas 39cf43cbc2 Add some test of base functions. re #96 2013-11-26 17:17:22 +01:00
Sébastien Lucas e21198efd5 Add proper headers to class files.
Move the database into specific directory to prepare for multidatabase testing.
re #96

--HG--
rename : test/metadata.db => test/BaseWithSomeBooks/metadata.db
2013-10-24 14:23:32 +02:00
Sébastien Lucas 504b717fb8 Add a case where the translation string is not found. re #96 2013-10-15 08:31:12 +02:00
Sébastien Lucas 9c09b8797c Add a test for the localize function. re #96 2013-10-04 12:20:34 +02:00
Sébastien Lucas 650a23c8db Add real test with a database. re #96 2013-10-03 15:22:21 +02:00
Sébastien Lucas a8dccf1ea5 Fix line ending / encoding. re #96 2013-10-03 11:48:02 +02:00
Sébastien Lucas c994cf789f Add basic unit testing. re #96 2013-10-03 08:38:58 +02:00