Split mapping from Access and Helper classes into it's own. Fully test them, too.
remove unused methods split mapping methods off from Access class fix DB query handling move 'clear mapping' methods from static helper to new mapping class add tests test directly with DB finishing tests and fix return value from setDNbyUUID add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class. add missing info to PHPDoc add unmap method fix namespaces fix test inheritance PHPDoc and a small code restructure for scrutinizer, no effective changes PostgreSQL does not accept LIMIT in DELETE queries phpdoc fixes, no code changes
Showing
- apps/user_ldap/ajax/clearMappings.php 16 additions, 4 deletionsapps/user_ldap/ajax/clearMappings.php
- apps/user_ldap/appinfo/app.php 3 additions, 0 deletionsapps/user_ldap/appinfo/app.php
- apps/user_ldap/lib/access.php 62 additions, 218 deletionsapps/user_ldap/lib/access.php
- apps/user_ldap/lib/connection.php 1 addition, 0 deletionsapps/user_ldap/lib/connection.php
- apps/user_ldap/lib/helper.php 0 additions, 27 deletionsapps/user_ldap/lib/helper.php
- apps/user_ldap/lib/mapping/abstractmapping.php 201 additions, 0 deletionsapps/user_ldap/lib/mapping/abstractmapping.php
- apps/user_ldap/lib/mapping/groupmapping.php 25 additions, 0 deletionsapps/user_ldap/lib/mapping/groupmapping.php
- apps/user_ldap/lib/mapping/usermapping.php 25 additions, 0 deletionsapps/user_ldap/lib/mapping/usermapping.php
- apps/user_ldap/lib/proxy.php 10 additions, 2 deletionsapps/user_ldap/lib/proxy.php
- apps/user_ldap/tests/helper.php 0 additions, 31 deletionsapps/user_ldap/tests/helper.php
- apps/user_ldap/tests/mapping/abstractmappingtest.php 194 additions, 0 deletionsapps/user_ldap/tests/mapping/abstractmappingtest.php
- apps/user_ldap/tests/mapping/groupmapping.php 17 additions, 0 deletionsapps/user_ldap/tests/mapping/groupmapping.php
- apps/user_ldap/tests/mapping/usermapping.php 17 additions, 0 deletionsapps/user_ldap/tests/mapping/usermapping.php
- lib/private/db/connection.php 1 addition, 0 deletionslib/private/db/connection.php
- lib/public/idbconnection.php 1 addition, 0 deletionslib/public/idbconnection.php
Loading
Please register or sign in to comment