[ Index ]

PHP Cross Reference of DokuWiki




/_test/core/ -> TestUtils.php (summary)

(no description)

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

Defines 1 class

TestUtils:: (4 methods):

Class: TestUtils  - X-Ref

Helper class with some filesystem utilities.

w2u($path)   X-Ref
converts path to unix-like on windows OS

return: string
param: string $path UNIX-like path to be converted

rcopy($destdir, $source)   X-Ref
helper for recursive copy()

param: $destdir string
param: $source string

rdelete($target)   X-Ref
helper for recursive rmdir()/unlink()

param: $target string

fappend($file, $text)   X-Ref
helper to append text to a file

param: $file string
param: $text string