summaryrefslogtreecommitdiff
path: root/_test
Commit message (Collapse)AuthorAge
* skip sha512 tests when it's not availableAndreas Gohr2015-07-24
| | | | | | | | This makes the entire testsuite run through on HHVM 3.8.0 on phpunit beta-2015-06-18 :-) Note: this does not mean that DokuWiki is fully compatible with HHVM, but it's a good step!
* Merge pull request #1247 from splitbrain/interwiki-fixesAndreas Gohr2015-07-24
|\ | | | | Interwiki fixes
| * Remove non-functioning interwiki linksPatrick Brown2015-07-22
| |
| * Encode unsafe characters in interwiki links. closes #1220Patrick Brown2015-07-16
| |
| * Unit test for interwiki URL encoding bugPatrick Brown2015-07-16
| |
* | Merge pull request #1176 from splitbrain/ioreplaceinfileAndreas Gohr2015-07-18
|\ \ | | | | | | Add IO function to replace lines in a file (new)
| * | Abort io_replaceInLine when the search parameter is emptyPatrick Brown2015-05-29
| | |
| * | Minor RefactoringChristopher Smith2015-05-29
| | | | | | | | | | | | | | | - put test comments in more appropriate spot - move appending replacement line alongside its search/delete code
| * | add anchors when constructing pattern from a non-regex oldlineChristopher Smith2015-05-29
| | |
| * | Merge branch 'master' into ioreplaceinfileChristopher Smith2015-05-28
| |\ \
| * | | Refactor code to make it simpler.Christopher Smith2015-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Don't run redundant testsPatrick Brown2015-05-08
| | | | | | | | | | | | | | | | | | | | | | | | io_deleteFromFile is a special case of io_replaceInFile. Since the io_replace tests check compressed files, it doesn't have to be done in the io_delete test.
| * | | Limit number of lines to replace.Patrick Brown2015-05-08
| | | |
| * | | Deleting lines works with BZ2 files.Patrick Brown2015-05-06
| | | |
| * | | Append to BZip2 files. Unit tests for writing files.Patrick Brown2015-05-06
| | | |
* | | | remote.testiamchenxin2015-07-18
| |_|/ |/| |
* | | changed all input type=submit buttons to button type=submit button for ↵Anika Henke2015-07-12
| | | | | | | | | | | | better stylability
* | | improve IXR_Date unittestsGerrit Uitslag2015-07-01
| | |
* | | Use a DateTime object in the IXR_DateGerrit Uitslag2015-06-30
| |/ |/|
* | Provide a function to return admin plugin for the page request.Christopher Smith2015-05-16
| | | | | | | | | | | | | | This was previously carried out in three separate places. Refactor that code to use the new function. Update tpl_pageTitle test to use a manager level admin plugin.
* | fix missing language code parameter for admin plugin titlesChristopher Smith2015-05-16
| | | | | | | | add unit test coverage
* | Merge pull request #1154 from splitbrain/php7compatibilityAndreas Gohr2015-05-16
|\ \ | | | | | | Php7compatibility
| * | Changes for PHP 7 CompatibilityChristopher Smith2015-05-15
| |/ | | | | | | | | | | | | - replace PHP4 style class constructor function names (based on class name) with php 5 __construct() Also remove some '&' reference operators used with objects And add some object type hints
* / remove tests that are now in upstreamAndreas Gohr2015-05-15
|/
* introduce new "flaky" test groupAndreas Gohr2015-04-25
| | | | this group is skipped by default
* corrupted the gz test file moreAndreas Gohr2015-03-18
| | | | | | it seems that different zlib versions behave different with corrupted files. Some return false, some return whatever they still can read from the file. the file now should no longer be readable by any version.
* fixed HTTPS proxy tests, our tests now run on httpbin.orgAndreas Gohr2015-03-18
| | | | | This also reverses the order of crypto protocols tried again. Using TLS first again. related to #915
* correct error checking for bz2 file readingAndreas Gohr2015-03-18
| | | | | | | | | The code reading .bz2 compressed files did not correctly check for possible read errors. In case of a corrupted file this could have led to an infinite loop. Thanks to Filippo Cavallarin from www.segment.technology for dicovering this bug.
* give better error message in HTTPClient for failed crypto setupAndreas Gohr2015-03-18
|
* use correct host in proxy testsAndreas Gohr2015-03-16
|
* Losslessly reduced PNG images with optipng -o7 -strip all, advdef -z4 -i60, ↵KeenRivals2015-01-14
| | | | and advpng -z4 -i60.
* Remove error supression for file_exists()Andreas Gohr2015-01-07
| | | | | | | In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
* Merge pull request #973 from micgro42/videoTestAndreas Gohr2014-12-18
|\ | | | | Add tests for video syntax
| * Remove stray comment blockMichael Große2014-12-18
| |
| * Fix file sizeMichael Große2014-12-18
| |
| * Add test for internal video filesMichael Große2014-12-18
| |
| * Add tests: known and unknown external video filesMichael Große2014-11-27
| |
* | fix global environment during test requestsAndreas Gohr2014-12-17
| |
* | update parser tests for change in listitem_open instructionChristopher Smith2014-12-01
|/
* Ooops...forgot to commit test cases for #897.LarsDW2232014-10-15
|
* Corrected compression for ++ and -- operator. Partially fixes #897.LarsDW2232014-10-14
|
* Merge pull request #624 from lisps/revisionsAndreas Gohr2014-09-29
|\ | | | | date_at support
| * Merge remote-tracking branch master into revisionslisps2014-09-26
| |\
| * \ Merge remote-tracking branch 'remotes/origin/master' into revisions_locallisps2014-03-19
| |\ \
| * | | rename classnamelisps2014-02-17
| | | |
| * | | Merge remote-tracking branch 'origin/diff_navigation' into revisionslisps2014-02-17
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: inc/parser/xhtml.php
| * \ \ \ Merge branch 'splitbrain/diff_navigation' into revisionslisps2013-11-27
| |\ \ \ \
| * \ \ \ \ Merge remote-tracking branch 'remotes/splitbrain/diff_navigation' into revisionslisps2013-11-25
| |\ \ \ \ \
| * | | | | | add test for empty rev in ml() and wl()lisps2013-11-22
| | | | | | |
| * | | | | | add test getlastrevisionatlisps2013-11-22
| | | | | | |