[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

io_replaceinfile_test:: (10 methods):
  test_ext_zlib()
  test_ext_bz2()
  _write()
  test_replace()
  test_gzwrite()
  test_bzwrite()
  test_edgecase1()
  test_edgecase2()
  test_edgecase3()
  test_badparam()


Class: io_replaceinfile_test  - X-Ref

test_ext_zlib()   X-Ref
No description

test_ext_bz2()   X-Ref
No description

_write($file)   X-Ref
No description

test_replace()   X-Ref
No description

test_gzwrite()   X-Ref


test_bzwrite()   X-Ref


test_edgecase1()   X-Ref
Test for a non-regex replacement where $newline contains a backreference like construct - it shouldn't affect the replacement


test_edgecase2()   X-Ref
Test with replace all where replacement line == search line - must not timeout


test_edgecase3()   X-Ref
Test where $oldline exactly matches one line and also matches part of other lines - only the exact match should be replaced


test_badparam()   X-Ref
Test passing an invalid parameter.