Legoktm has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/406006 )
Change subject: Add @covers tags ...................................................................... Add @covers tags Change-Id: Ib8cf432b58470c9218519639379c83254acef1c8 --- M tests/phpunit/AttributeManagerTest.php M tests/phpunit/BundlerTest.php M tests/phpunit/ContainmentSetTest.php M tests/phpunit/DiffParserTest.php M tests/phpunit/DiscussionParserTest.php M tests/phpunit/EchoDbFactoryTest.php M tests/phpunit/HooksTest.php M tests/phpunit/NotifUserTest.php M tests/phpunit/UserLocatorTest.php M tests/phpunit/api/ApiEchoMarkReadTest.php M tests/phpunit/api/ApiEchoNotificationsTest.php M tests/phpunit/cache/TitleLocalCacheTest.php M tests/phpunit/controller/NotificationControllerTest.php M tests/phpunit/gateway/UserNotificationGatewayTest.php M tests/phpunit/iterator/FilteredSequentialIteratorTest.php M tests/phpunit/maintenance/SupressionMaintenanceTest.php M tests/phpunit/mapper/AbstractMapperTest.php M tests/phpunit/mapper/EventMapperTest.php M tests/phpunit/mapper/NotificationMapperTest.php M tests/phpunit/mapper/TargetPageMapperTest.php M tests/phpunit/model/NotificationTest.php M tests/phpunit/model/TargetPageTest.php 22 files changed, 52 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo refs/changes/06/406006/1 diff --git a/tests/phpunit/AttributeManagerTest.php b/tests/phpunit/AttributeManagerTest.php index f9b0c93..25fd443 100644 --- a/tests/phpunit/AttributeManagerTest.php +++ b/tests/phpunit/AttributeManagerTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoAttributeManager + */ class EchoAttributeManagerTest extends MediaWikiTestCase { public function testNewFromGlobalVars() { diff --git a/tests/phpunit/BundlerTest.php b/tests/phpunit/BundlerTest.php index bd2f449..a4a2e25 100644 --- a/tests/phpunit/BundlerTest.php +++ b/tests/phpunit/BundlerTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers Bundler + */ class BundlerTest extends MediaWikiTestCase { public function testBundle() { diff --git a/tests/phpunit/ContainmentSetTest.php b/tests/phpunit/ContainmentSetTest.php index 5971c81..f7cd23a 100644 --- a/tests/phpunit/ContainmentSetTest.php +++ b/tests/phpunit/ContainmentSetTest.php @@ -1,6 +1,7 @@ <?php /** + * @covers EchoContainmentSet * @group Echo */ class ContainmentSetTest extends MediaWikiTestCase { diff --git a/tests/phpunit/DiffParserTest.php b/tests/phpunit/DiffParserTest.php index 14dc8a7..f38cd80 100644 --- a/tests/phpunit/DiffParserTest.php +++ b/tests/phpunit/DiffParserTest.php @@ -1,6 +1,7 @@ <?php /** + * @covers EchoDiffParser * @group Echo */ class EchoDiffParserTest extends MediaWikiTestCase { diff --git a/tests/phpunit/DiscussionParserTest.php b/tests/phpunit/DiscussionParserTest.php index 24de8bf..51ae799 100644 --- a/tests/phpunit/DiscussionParserTest.php +++ b/tests/phpunit/DiscussionParserTest.php @@ -5,6 +5,7 @@ use Wikimedia\TestingAccessWrapper; /** + * @covers EchoDiscussionParser * @group Echo * @group Database */ diff --git a/tests/phpunit/EchoDbFactoryTest.php b/tests/phpunit/EchoDbFactoryTest.php index 9180f84..337c92d 100644 --- a/tests/phpunit/EchoDbFactoryTest.php +++ b/tests/phpunit/EchoDbFactoryTest.php @@ -3,6 +3,9 @@ use Wikimedia\Rdbms\IDatabase; use Wikimedia\Rdbms\ILoadBalancer; +/** + * @covers MWEchoDbFactory + */ class MWEchoDbFactoryTest extends MediaWikiTestCase { public function testNewFromDefault() { diff --git a/tests/phpunit/HooksTest.php b/tests/phpunit/HooksTest.php index 78bdc72..57d97b1 100644 --- a/tests/phpunit/HooksTest.php +++ b/tests/phpunit/HooksTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoHooks + */ class EchoHooksTest extends MediaWikiTestCase { /** diff --git a/tests/phpunit/NotifUserTest.php b/tests/phpunit/NotifUserTest.php index d766a54..2ec6d3c 100644 --- a/tests/phpunit/NotifUserTest.php +++ b/tests/phpunit/NotifUserTest.php @@ -2,6 +2,7 @@ use MediaWiki\MediaWikiServices; /** + * @covers MWEchoNotifUser * @group Echo */ class MWEchoNotifUserTest extends MediaWikiTestCase { diff --git a/tests/phpunit/UserLocatorTest.php b/tests/phpunit/UserLocatorTest.php index f09f80a..514c822 100644 --- a/tests/phpunit/UserLocatorTest.php +++ b/tests/phpunit/UserLocatorTest.php @@ -1,7 +1,8 @@ <?php /** - * @Database + * @group Database + * @covers EchoUserLocator */ class EchoUserLocatorTest extends MediaWikiTestCase { diff --git a/tests/phpunit/api/ApiEchoMarkReadTest.php b/tests/phpunit/api/ApiEchoMarkReadTest.php index 135d186..8bc908d 100644 --- a/tests/phpunit/api/ApiEchoMarkReadTest.php +++ b/tests/phpunit/api/ApiEchoMarkReadTest.php @@ -4,7 +4,7 @@ * @group medium * @group API * @group Database - * @covers ApiQuery + * @covers ApiEchoMarkRead */ class ApiEchoMarkReadTest extends ApiTestCase { diff --git a/tests/phpunit/api/ApiEchoNotificationsTest.php b/tests/phpunit/api/ApiEchoNotificationsTest.php index 9f86a6e..cfcf5c9 100644 --- a/tests/phpunit/api/ApiEchoNotificationsTest.php +++ b/tests/phpunit/api/ApiEchoNotificationsTest.php @@ -3,7 +3,7 @@ /** * @group medium * @group API - * @covers ApiQuery + * @covers ApiEchoNotifications */ class ApiEchoNotificationsTest extends ApiTestCase { diff --git a/tests/phpunit/cache/TitleLocalCacheTest.php b/tests/phpunit/cache/TitleLocalCacheTest.php index af255ed..a466bda 100644 --- a/tests/phpunit/cache/TitleLocalCacheTest.php +++ b/tests/phpunit/cache/TitleLocalCacheTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoTitleLocalCache + */ class EchoTitleLocalCacheTest extends MediaWikiTestCase { public function testCreate() { diff --git a/tests/phpunit/controller/NotificationControllerTest.php b/tests/phpunit/controller/NotificationControllerTest.php index 8a38a7e..a35b3cc 100644 --- a/tests/phpunit/controller/NotificationControllerTest.php +++ b/tests/phpunit/controller/NotificationControllerTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers NotificationController + */ class NotificationControllerTest extends MediaWikiTestCase { public function evaluateUserLocatorsProvider() { diff --git a/tests/phpunit/gateway/UserNotificationGatewayTest.php b/tests/phpunit/gateway/UserNotificationGatewayTest.php index 035cd38..c1cf3ba 100644 --- a/tests/phpunit/gateway/UserNotificationGatewayTest.php +++ b/tests/phpunit/gateway/UserNotificationGatewayTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoUserNotificationGateway + */ class EchoUserNotificationGatewayTest extends MediaWikiTestCase { public function testMarkRead() { diff --git a/tests/phpunit/iterator/FilteredSequentialIteratorTest.php b/tests/phpunit/iterator/FilteredSequentialIteratorTest.php index b05e322..7042d63 100644 --- a/tests/phpunit/iterator/FilteredSequentialIteratorTest.php +++ b/tests/phpunit/iterator/FilteredSequentialIteratorTest.php @@ -1,5 +1,9 @@ <?php +/** + * @covers EchoCallbackIterator + * @covers EchoFilteredSequentialIterator + */ class FilteredSequentialIteratorTest extends MediaWikiTestCase { public function testEchoCallbackIteratorDoesntBlowUp() { diff --git a/tests/phpunit/maintenance/SupressionMaintenanceTest.php b/tests/phpunit/maintenance/SupressionMaintenanceTest.php index 0a32d8a..029be88 100644 --- a/tests/phpunit/maintenance/SupressionMaintenanceTest.php +++ b/tests/phpunit/maintenance/SupressionMaintenanceTest.php @@ -2,6 +2,7 @@ /** * @group Echo + * @covers EchoSuppressionRowUpdateGenerator */ class SuppressionMaintenanceTest extends MediaWikiTestCase { diff --git a/tests/phpunit/mapper/AbstractMapperTest.php b/tests/phpunit/mapper/AbstractMapperTest.php index 5c3a582..cd93c89 100644 --- a/tests/phpunit/mapper/AbstractMapperTest.php +++ b/tests/phpunit/mapper/AbstractMapperTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoAbstractMapper + */ class EchoAbstractMapperTest extends MediaWikiTestCase { public function testAttachListener() { diff --git a/tests/phpunit/mapper/EventMapperTest.php b/tests/phpunit/mapper/EventMapperTest.php index 334280d..e81e183 100644 --- a/tests/phpunit/mapper/EventMapperTest.php +++ b/tests/phpunit/mapper/EventMapperTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoEventMapper + */ class EchoEventMapperTest extends MediaWikiTestCase { public function provideDataTestInsert() { diff --git a/tests/phpunit/mapper/NotificationMapperTest.php b/tests/phpunit/mapper/NotificationMapperTest.php index 024d817..45ede34 100644 --- a/tests/phpunit/mapper/NotificationMapperTest.php +++ b/tests/phpunit/mapper/NotificationMapperTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoNotificationMapper + */ class EchoNotificationMapperTest extends MediaWikiTestCase { /** diff --git a/tests/phpunit/mapper/TargetPageMapperTest.php b/tests/phpunit/mapper/TargetPageMapperTest.php index f178c61..f181cf1 100644 --- a/tests/phpunit/mapper/TargetPageMapperTest.php +++ b/tests/phpunit/mapper/TargetPageMapperTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoTargetPageMapper + */ class EchoTargetPageMapperTest extends MediaWikiTestCase { public function provideDataTestInsert() { diff --git a/tests/phpunit/model/NotificationTest.php b/tests/phpunit/model/NotificationTest.php index d6d45c3..7bb8fd9 100644 --- a/tests/phpunit/model/NotificationTest.php +++ b/tests/phpunit/model/NotificationTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoNotification + */ class EchoNotificationTest extends MediaWikiTestCase { public function testNewFromRow() { diff --git a/tests/phpunit/model/TargetPageTest.php b/tests/phpunit/model/TargetPageTest.php index a7f7c03..f925cfe 100644 --- a/tests/phpunit/model/TargetPageTest.php +++ b/tests/phpunit/model/TargetPageTest.php @@ -1,5 +1,8 @@ <?php +/** + * @covers EchoTargetPage + */ class EchoTargetPageTest extends MediaWikiTestCase { public function testCreate() { -- To view, visit https://gerrit.wikimedia.org/r/406006 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib8cf432b58470c9218519639379c83254acef1c8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Legoktm <lego...@member.fsf.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits