| 7e95efec | 01-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Add testing of delayed writes to the remote API |
| ea466a98 | 01-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Added more testing to ensure correct handling of delayed writes |
| 4eed441d | 22-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: handle default options w/ other optgroups |
| 068abb2b | 20-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
fix: ensure that there is only 1 selected option
Multiple selected option would not be valid HTML. |
| b0eca9cc | 12-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
Add test for optgroup support in selects |
| aaf4f55e | 01-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
use waitForTick in all our tests |
| b9940551 | 01-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
refactored the remote API tests
Now each command is checked within it's own test on a completely clean install. Hopefuly this also takes care of the flaky test behavior seen at Travis occasionally. |
| d732617b | 01-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
new helper method waitForTick() in DokuWikiTest
Some of our tests require that at least one second has passed before they can continue because our revisions depend on the Unix Timestamp.
Currently
new helper method waitForTick() in DokuWikiTest
Some of our tests require that at least one second has passed before they can continue because our revisions depend on the Unix Timestamp.
Currently we use a sleep(1) for this. However this always waits a whole second, even if the next second is already much closer or maybe already here - especially when some processing has been done since the last operation.
This new method waits for the next second by checking the time every 10th of a second. This might speed up some of our tests a bit.
show more ...
|
| 6506eaac | 30-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
do not static cache useheading during tests
This took me way to long to figure out. The useheading setting was cached in a static variable which is fine usually as it doesn't change during a single
do not static cache useheading during tests
This took me way to long to figure out. The useheading setting was cached in a static variable which is fine usually as it doesn't change during a single request. But in testing we want to change it often.
show more ...
|
| f515db7f | 28-Nov-2016 |
Andreas Gohr <andi@splitbrain.org> |
fix problems with header that look falsy. fixes #1770 |
| cad89f56 | 30-Aug-2016 |
lisps <lisps@users.noreply.github.com> |
fix test test_deletedimage |
| aaaabded | 30-Aug-2016 |
lisps <lisps@users.noreply.github.com> |
add deleted media test |
| db5867f1 | 09-Aug-2016 |
Andreas Gohr <andi@splitbrain.org> |
fix tests for newer PHPUnit. fixes #1643
getMock is deprecated in new PHPUnit versions and createMock is the recommended replacement. However that one is not available in older PHPUnit releases. Sin
fix tests for newer PHPUnit. fixes #1643
getMock is deprecated in new PHPUnit versions and createMock is the recommended replacement. However that one is not available in older PHPUnit releases. Since we still support older PHP releases we have to support older PHPUnit releases as well.
This add some compatibility functions to our TestCase class and replaces all calls to getMock. Tested with PHPUnit 4.6.6 and 5.5.0.
show more ...
|
| ef08383e | 01-Jul-2016 |
Andreas Gohr <andi@splitbrain.org> |
filesize_h might not be used in HTML content only #1622
Using an HTML entitiy might be problematic in non HTML renderers or when the output is escaped again. |
| 59752844 | 14-Jun-2016 |
Anders Sandblad <runeson@gmail.com> |
Fixed broken links to php.net and redirecting pages to php.net |
| a1b0aa1e | 11-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
try to fix flaky test by clearing the statcache |
| f56d5034 | 11-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
run HTTP tests against EU server
this hopefully helps with recent problems of spradically failing tests. |
| 2e0ebe60 | 10-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
allow passing multiple classes as array |
| 3b82d1ee | 02-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
fixed interwiki test |
| dbd52c81 | 02-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
minor optimization how cell counts are fixed in tables
array splice operations are expensive. when many cells in a table row are missing, the operation should be executed only once instead for each
minor optimization how cell counts are fixed in tables
array splice operations are expensive. when many cells in a table row are missing, the operation should be executed only once instead for each missing cell.
show more ...
|
| a566f85e | 27-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
reformatting |
| f3cd98a0 | 27-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
use variable for wikiurl in tests |
| 774514c9 | 27-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
translate html and text string for signature
Default only text string exists, via localized translation a wiki admin can add his/her own (html) version. |
| 879851d3 | 23-May-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Add sleep(1) to remoteapicore to ensure new other timestap(=rev nr)
Could improve failing test of #1589 |
| 25692208 | 23-May-2016 |
Anika Henke <anika@selfthinker.org> |
always separate a number and a unit by a non-breaking space |