]> git.immae.eu Git - github/shaarli/Shaarli.git/commit - phpunit.xml
LinkDB: move to a proper file, add test coverage 218/head
authorVirtualTam <virtualtam@flibidi.org>
Wed, 11 Mar 2015 23:43:02 +0000 (00:43 +0100)
committerVirtualTam <virtualtam@flibidi.net>
Wed, 10 Jun 2015 22:45:45 +0000 (00:45 +0200)
commitca74886f30da323f42aa4bd70461003f46ef299b
tree3714895c25d80bdb472211a564f83d3744d90f34
parentcbecab773526b0c39f3cffa1d4595b5caa781bda
LinkDB: move to a proper file, add test coverage

Relates to #71

LinkDB
 - move to application/LinkDB.php
 - code cleanup
   - indentation
   - whitespaces
   - formatting
 - comment cleanup
   - add missing documentation
   - unify formatting

Test coverage for LinkDB
 - constructor
 - public / private access
 - link-related methods

Shaarli utilities (LinkDB dependencies)
 - move startsWith() and endsWith() functions to application/Utils.php
 - add test coverage

Dev utilities
 - Composer: add PHPUnit to dev dependencies
 - Makefile:
    - update lint targets
    - add test targets
    - generate coverage reports

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
12 files changed:
.gitignore
Makefile
application/.htaccess [new file with mode: 0644]
application/LinkDB.php [new file with mode: 0644]
application/Utils.php [new file with mode: 0644]
composer.json
index.php
phpunit.xml [new file with mode: 0644]
tests/.htaccess [new file with mode: 0644]
tests/LinkDBTest.php [new file with mode: 0644]
tests/UtilsTest.php [new file with mode: 0644]
tests/utils/ReferenceLinkDB.php [new file with mode: 0644]