[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 2 classes

helper_plugin_authplain_escaping_test:: (8 methods):
  reloadUsers()
  setUp()
  tearDown()
  testMediawikiPasswordHash()
  testNameWithColons()
  testNameWithBackslashes()
  testModifyUser()
  testLineSplit()

auth_plugin_authplainharness:: (3 methods):
  setPregsplit_safe()
  getPregsplit_safe()
  splitUserData()


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

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

return: array
param: string $line