Add unit tests for all LogFormatters
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 9 Apr 2015 09:09:36 +0000 (11:09 +0200)
committerLegoktm <legoktm.wikipedia@gmail.com>
Sun, 3 May 2015 21:58:00 +0000 (21:58 +0000)
commiteeea90d2b1e58f10b98f18fb3a4b1dd3167f23f2
tree529b693245f18055fad9ca6b901cba186b045ace
parentdeab9b834e7c329dcc054a777e10a1ac8dc99dcf
Add unit tests for all LogFormatters

Test the LogFormatter by passing old and new database rows to it.
The text shown on Special:Log and the api result returned by
list=logevents is tested.

Change-Id: Icfcba506f4fa3010cdaf973aa2df23b6e92c25e4
tests/TestsAutoLoader.php
tests/phpunit/includes/logging/BlockLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/DeleteLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/LogFormatterTestCase.php [new file with mode: 0644]
tests/phpunit/includes/logging/MergeLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/MoveLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/NewUsersLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/PageLangLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/PatrolLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/RightsLogFormatterTest.php [new file with mode: 0644]
tests/phpunit/includes/logging/UploadLogFormatterTest.php [new file with mode: 0644]