[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_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):
  requestProvider()
  validate()
  listErrors()
  isAllowedError()
  test_Validity()


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

return: array
param: string $html

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

return: string[]
param: array $result

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

return: bool
param: string $string

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

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