[ Index ]

PHP Cross Reference of DokuWiki




/_test/tests/inc/ -> pageutils_sectionid.test.php (summary)

(no description)

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

Defines 1 class

sectionid_test:: (3 methods):

Class: sectionid_test  - X-Ref

provideTestData()   X-Ref

see: testSectionidsAreUnique
return: Generator|array

testSectionidsAreUnique($titles)   X-Ref

param: array $titles

testSectionIDCanBeCalledWithNonArrayCheck()   X-Ref
The convention in the code is to pass $check=false when we're not interested in having
unique sectionID. This test ensures that this type of call is correctly handled