[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

helper_plugin_authplain_escaping_test:: (11 methods):
  reloadUsers()
  setUp()
  tearDown()
  testMediawikiPasswordHash()
  testNameWithColons()
  testNameWithBackslashes()
  testNameWithHash()
  testModifyUser()
  testLineSplit()
  provideCleaning()
  testCleaning()


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

testNameWithHash()   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