aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/diff/DifferenceEngineTest.php
Commit message (Collapse)AuthorAgeFilesLines
* tests: Clean up file headersTimo Tijhof2015-04-011-1/+0
| | | | | | | | | | * Remove redundant @licence/@license from test suite files. They already have full licence headers. And @licence raises a warning in Doxygen. * Fix weird messes of comments inside comments and other things. Change-Id: I38da8ca76330f72b8dc22b0ecf1ea69d5ea55ede
* Change @return to start with typeumherirrender2014-08-201-1/+1
| | | | | | | | | | | MediaWiki default is "@return type Description", so set a type after return and start the description with a capital letter. Also use the more common spelling of boolean. See http://phpdoc.org/docs/latest/references/phpdoc/tags/return.html for more about @return Change-Id: I4e5198822fe92836f9cef9918a9fc1a1a1e0a043
* Add tests for ArrayDiffFormatter and DiffOpaddshore2014-02-261-0/+1
| | | | | | | This change also adds some tested getters to the DiffOp class to improve testability of the class Change-Id: I26eafd791b9892f565a18d0502474ef9c24f9a29
* Make setUp and tearDown protected in testsaude2013-11-241-1/+1
| | | | | | | These are protected in the parent MediaWikiTestCase and PHPUnit_Framework_TestCase. No good reason to make them public. Change-Id: I45ecc0e4209f0c3b27e63a550112e4e0ddf6e530
* Fixed spacingumherirrender2013-11-191-3/+3
| | | | | | | | | | | - Removed double spaces - Added space after if/switch/foreach - Removed space on elseif - Added space around parentheses - Added newline at end of file - Removed space before semicolon at end of line Change-Id: Id40b87e04786c6111e6686d7f7eea1e588bdf37d
* use getOldid and getNewid methods in DifferenceEngineTestaude2013-10-311-2/+2
| | | | | | - instead of direct variable access. Change-Id: I019017ca1b4f3c2a511e703bc65b93a8ce47fae9
* Add tests for DifferenceEngine for revision loadingaude2013-10-301-0/+120
Change-Id: Ia206b396e96b52ba9ac4895aae0f2839dca6f958