aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/changes/RecentChangeTest.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Use setUp instead of __construct in RecentChangeTestaddshore2015-09-211-2/+2
| | | | Change-Id: Ia0d704a2832c54995fba0014ae6422765a743be0
* Cleanup RecentChangeTest, move things out that don't belongaddshore2015-09-211-317/+0
| | | | | | | | | | This moves out a bunch of stuff that doesnt seem to test anything in RecentChange.... This also shows us how few tests RecentChange actually has! Change-Id: Ia5016c82c00dd7c35a6f1253d6e385b587ec485e
* Migrate move protect log to new log systemumherirrender2015-08-181-1/+3
| | | | | | | | | | | | | | | | Migrate the move protect log as first sub type of the protection log, because it does not have complex log parameter, which needs some way of handling/migration. It also keeps the gerrit change smaller and hopefully makes review easier. The other sub types of the protection log will be migrated in a later patch set. This allows use of gender on Special:Log. Old message is kept for use in IRC. A test was added to ensure an unchanged IRC message. Bug: T47988 Change-Id: I57b3bd8a7dc823acdbb56520d2364f5542283373
* Encapsulate rc_params handling in RecentChange::parseParamsStephane Bisson2015-06-101-2/+53
| | | | | | | | | | * Make MachineReadableRCFeedFormatter use it * Some unit tests * Also fixed some line-too-long warnings in RecentChange.php Change-Id: I443d14f5d4cdac0945cb9c03608d55745bbb865b
* Add test for IRC line for legacy type block/blockumherirrender2015-05-011-1/+15
| | | | | Follow-Up: I08aea8399ce766e98c1a76e237169f220c6cc751 Change-Id: I8626e8ce28104d20a6145d47e647ef0ad86b3523
* Add test for IRC line for type protect/move_protumherirrender2015-04-081-0/+10
| | | | | | All other log types already have a test, just move_prot is missing. Change-Id: I97fdb21d3cb58847a883917b06294bc92dac9410
* Migrate import log to new log systemumherirrender2015-03-181-0/+25
| | | | | | | | | | | | | | There is no need for an extra formatter class, because at the moment there is nothing extra to format. This allows use of gender on Special:Log. Old messages are kept for use in IRC. A test was added to ensure an unchanged IRC message. The new log message for import-interwiki is used from I3ca8b21bce49b41cac7109efb8056ca4469b88d7 to avoid "transwiki jargon". Bug: T57404 Change-Id: I590075b203548c071a98c1eaa4b1bc9250f60e22
* Migrate block log to new log systemumherirrender2015-02-071-2/+18
| | | | | | | | | This allows use of gender on Special:Log. Old messages are kept for use in IRC. A test was added to ensure an unchanged IRC message. Bug: T57402 Change-Id: Ibc7fcaa5a952ff90d42a6477da4baa429f3de64b
* Migrate merge log to new log systemumherirrender2014-10-211-0/+20
| | | | | | | | This allows use of gender on Special:Log Old message is kept for use in irc, a test is added to ensure a unchanged irc message. Change-Id: I0557a0d2751540cf0d7967333ffd767b934011c6
* Fixed some @params documentation (tests)umherirrender2014-04-171-6/+6
| | | | | | | | | Swapped some "$var type" to "type $var" or added missing types before the $var. Changed some other types to match the more common spelling. Makes beginning of some text in captial. Also added some missing @param. Change-Id: Ic8aaf0a93796b97d0fa4617c1f86ff59f4b36131
* Fix CodeSniffer errors and warnings in changes testsSiebrand Mazeland2014-03-121-6/+12
| | | | | | Follow-up to 1c6b7c74859e7. Change-Id: Ib42621a03a43487d94ff1cb755544823a8adda9c
* Move RecentChangeTest to subdirectoryaude2013-11-181-0/+280
matches location of class within includes Change-Id: I78d3212032ded3deaeef93aaca4d575a35559990