[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

media_searchlist_test:: (5 methods):
  save()
  setUp()
  media_searchlist()
  provideSearch()
  testSearch()


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

return: array[]
see: testSearch

testSearch($query, $expected)   X-Ref

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