History log of /dokuwiki/_test/tests/inc/io_replaceinfile.test.php (Results 1 – 13 of 13)
Revision Date Author Comments
# 109ebc86 25-Nov-2024 Andreas Gohr <andi@splitbrain.org>

io_replaceInFile: replace warning with logging call


# 036f7634 06-Mar-2018 Phy <git@phy25.com>

use expectException instead of setExpectedException for PHPUnit


# 2ba67679 12-May-2017 Andreas Gohr <andi@splitbrain.org>

avoid dependency tests being marked as risky


# e793a5e9 12-Mar-2017 Andreas Gohr <andi@splitbrain.org>

I will be so glad when we stop supporting old PHP

actually we could right now. but I don't like to introduce that change in
a feature branch.


# bd3cb3d5 12-Mar-2017 Andreas Gohr <andi@splitbrain.org>

make use of exception wrapper in io test


# 73b977aa 14-Feb-2017 Michael Grosse <grosse@cosmocode.de>

Handle breaking class rename in PHPUnit 6.0

See for reference #1837 and sebastianbergmann/phpunit#2503


# e3eb1d75 14-Feb-2017 Michael Grosse <grosse@cosmocode.de>

PHPUnit 6 now only supports namespaced classes

However those classes are already supported in PHP 5.7 so we can switch
to them without breaking backward-compatibility.


# 216e727c 27-Nov-2015 Andreas Gohr <andi@splitbrain.org>

adjust tests to make use of new DOKU_HAS_*ZIP defines


# dc4a4eb0 29-May-2015 Patrick Brown <ptbrown@whoopdedo.org>

Abort io_replaceInLine when the search parameter is empty


# e12c5ac7 29-May-2015 Christopher Smith <chris@jalakai.co.uk>

Minor Refactoring
- put test comments in more appropriate spot
- move appending replacement line alongside its search/delete code


# 3dfe7d64 29-May-2015 Christopher Smith <chris@jalakai.co.uk>

add anchors when constructing pattern from a non-regex oldline


# 9a734b7a 28-May-2015 Christopher Smith <chris@jalakai.co.uk>

Refactor code to make it simpler.
The changes should also:
- fix unlikely edge case when replacement line is the same as the
old line (would have resulted in timeout)
- reduce memory footprint
- av

Refactor code to make it simpler.
The changes should also:
- fix unlikely edge case when replacement line is the same as the
old line (would have resulted in timeout)
- reduce memory footprint
- avoid applying string search beyond maxlines replacement limit

show more ...


# 6c000204 08-May-2015 Patrick Brown <ptbrown@whoopdedo.org>

Limit number of lines to replace.