[ Index ]

PHP Cross Reference of DokuWiki




/lib/plugins/authplain/_test/ -> escaping.test.php (summary)

(no description)

File Size: 159 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

helper_plugin_authplain_escaping_test:: (10 methods):

auth_plugin_authplainharness:: (3 methods):

Class: helper_plugin_authplain_escaping_test  - X-Ref

These tests are designed to test the capacity of pluginauth to handle
correct escaping of colon field delimiters and backslashes in user content.

(Note that these tests set some Real Names, etc. that are may not be
valid in the broader dokuwiki context, but the tests ensure that
authplain won't get unexpectedly surprised.)

reloadUsers()   X-Ref
No description

setUp()   X-Ref
No description

tearDown()   X-Ref
No description

testMediawikiPasswordHash()   X-Ref
No description

testNameWithColons()   X-Ref
No description

testNameWithBackslashes()   X-Ref
No description

testModifyUser()   X-Ref
No description

testLineSplit()   X-Ref
No description

provideCleaning()   X-Ref

see: testCleaning

testCleaning($input, $expected)   X-Ref

param: string $input
param: string $expected

Class: auth_plugin_authplainharness  - X-Ref

Class auth_plugin_authplainharness

setPregsplit_safe($bool)   X-Ref

param: boolean $bool

getPregsplit_safe()   X-Ref

return: bool|mixed

splitUserData($line)   X-Ref

param: string $line
return: array