See Release Notes
Long Term Support Release
Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]
LDAP authentication plugin tests.
Copyright: | 2013 Petr Skoda {@link http://skodak.org} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 581 lines (25 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
auth_ldap_plugin_testcase:: (8 methods):
auth_ldap_provider()
test_auth_ldap()
test_ldap_user_loggedin_event()
test_ldap_user_signup()
create_ldap_user()
delete_ldap_user()
enable_plugin()
recursive_delete()
Class: auth_ldap_plugin_testcase - X-Ref
auth_ldap_provider() X-Ref |
Data provider for auth_ldap tests Used to ensure that all the paged stuff works properly, irrespectively of the pagesize configured (that implies all the chunking and paging built in the plugis is doing its work consistently). Both searching and not searching within subcontexts. return: array[] |
test_auth_ldap(int $pagesize, int $subcontext) X-Ref |
General auth_ldap testcase param: int $pagesize Value to be configured in settings controlling page size. param: int $subcontext Value to be configured in settings controlling searching in subcontexts. |
test_ldap_user_loggedin_event() X-Ref |
Test logging in via LDAP calls a user_loggedin event. |
test_ldap_user_signup() X-Ref |
Test logging in via LDAP calls a user_loggedin event. |
create_ldap_user($connection, $topdn, $i) X-Ref |
No description |
delete_ldap_user($connection, $topdn, $i) X-Ref |
No description |
enable_plugin() X-Ref |
No description |
recursive_delete($connection, $dn, $filter) X-Ref |
No description |