MyShaarli/tests
VirtualTam 451314eb48 HTTP: move utils to a proper file, add tests
Relates to #333

Modifications:
 - move HTTP utils to 'application/HttpUtils.php'
 - simplify logic
   - replace 'http_parse_headers_shaarli' by built-in 'get_headers()'
   - remove superfluous '$status' parameter (provided by the HTTP headers)
 - apply coding conventions
 - add test coverage (unitary only)

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-09-06 19:30:26 +02:00
..
utils Session ID: extend the regex to match possible hash representations 2015-09-06 16:14:24 +02:00
.htaccess LinkDB: move to a proper file, add test coverage 2015-06-11 00:45:45 +02:00
CachedPageTest.php CachedPage: move to a proper file, add tests 2015-08-13 23:48:06 +02:00
CacheTest.php Cache: simplify cached content cleanup, improve tests 2015-08-13 23:51:31 +02:00
ConfigTest.php PHP: ensure 5.3 compatibility, refactor timezone utilities 2015-07-13 13:06:06 +02:00
HttpUtilsTest.php HTTP: move utils to a proper file, add tests 2015-09-06 19:30:26 +02:00
LinkDBTest.php CachedPage: move to a proper file, add tests 2015-08-13 23:48:06 +02:00
TimeZoneTest.php Installation: default to the server's timezone 2015-08-04 23:54:03 +02:00
UrlTest.php Fixes #325 - Shaarli does not recognize saved links 2015-08-31 12:26:38 +02:00
UtilsTest.php Session ID: extend the regex to match possible hash representations 2015-09-06 16:14:24 +02:00