[ Index ]

PHP Cross Reference of DokuWiki




/_test/tests/general/ -> general_html.test.php (summary)

(no description)

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

Defines 1 class

general_html_test:: (5 methods):

Class: general_html_test  - X-Ref

Check some page output for validity

requestProvider()   X-Ref
List of requests to check for validity

return: array

validate($html)   X-Ref
Sends the given HTML to the validator and returns the result

param: string $html
return: array

listErrors($result)   X-Ref
Reformat the errors for nicer display in output

param: array $result
return: string[]

isAllowedError($string)   X-Ref
Is the given string an allowed error that should be skipped?

param: string $string
return: bool

test_Validity($url, $method, $data)   X-Ref

param: string $url
param: string $method
param: array $data