[ Index ]

PHP Cross Reference of DokuWiki




/lib/plugins/config/_test/Setting/ -> SettingTest.php (summary)

(no description)

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

Defines 1 class

SettingTest:: (4 methods):

Class: SettingTest  - X-Ref

dataOut()   X-Ref
Dataprovider for testOut()

return: array

testOut($in, $out)   X-Ref
Check the output

param: mixed $in The value to initialize the setting with
param: string $out The expected output (for conf[test])

dataShouldBeSaved()   X-Ref
DataProvider for testShouldBeSaved()

return: array

testShouldBeSaved($default, $local, $expect)   X-Ref
Check if shouldBeSaved works as expected

param: mixed $default The default value
param: mixed $local The current local value
param: bool $expect The expected outcome