[ Index ]

PHP Cross Reference of DokuWiki




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

(no description)

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

Defines 1 class

media_searchlist_test:: (5 methods):

Class: media_searchlist_test  - X-Ref

save($name, $copy)   X-Ref
Save the file

param: string $name name of saving file
param: string $copy file used as a content of uploaded file

setUp()   X-Ref
Called for each test

media_searchlist($query, $ns)   X-Ref
Wrap around media_searchlist: return the result
Reset media_printfile static variables afterwards

param: $query
param: $ns
return: string

provideSearch()   X-Ref

see: testSearch
return: array[]

testSearch($query, $expected)   X-Ref

param: string $query The query to use
param: string[] $expected The expected media IDs in the result HTML