Legoktm has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/406000 )
Change subject: Add @covers tags ...................................................................... Add @covers tags Change-Id: I002484ea45adae69bd58be83b011831d89e8d5d8 --- M tests/phpunit/SpecialCollectionTest.php M tests/phpunit/includes/BookRendererTest.php M tests/phpunit/includes/DataProviderTest.php M tests/phpunit/includes/HeadingCounterTest.php 4 files changed, 16 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Collection refs/changes/00/406000/1 diff --git a/tests/phpunit/SpecialCollectionTest.php b/tests/phpunit/SpecialCollectionTest.php index c84643c..33f9cb3 100644 --- a/tests/phpunit/SpecialCollectionTest.php +++ b/tests/phpunit/SpecialCollectionTest.php @@ -2,9 +2,14 @@ namespace MediaWiki\Extensions\Collection; +use MediaWikiCoversValidator; use SpecialCollection; +/** + * @covers SpecialCollection + */ class SpecialCollectionTest extends \PHPUnit_Framework_TestCase { + use MediaWikiCoversValidator; public function provideMoveItemInCollection() { return [ diff --git a/tests/phpunit/includes/BookRendererTest.php b/tests/phpunit/includes/BookRendererTest.php index a46d704..d50ccdb 100644 --- a/tests/phpunit/includes/BookRendererTest.php +++ b/tests/phpunit/includes/BookRendererTest.php @@ -7,6 +7,9 @@ use TemplateParser; use Title; +/** + * @covers \MediaWiki\Extensions\Collection\BookRenderer + */ class BookRendererTest extends MediaWikiTestCase { const TEMPLATE_DIR = '/../../../templates'; diff --git a/tests/phpunit/includes/DataProviderTest.php b/tests/phpunit/includes/DataProviderTest.php index 91dbddc..76b8e8a 100644 --- a/tests/phpunit/includes/DataProviderTest.php +++ b/tests/phpunit/includes/DataProviderTest.php @@ -7,6 +7,9 @@ use Title; use VirtualRESTServiceClient; +/** + * @covers \MediaWiki\Extensions\Collection\DataProvider + */ class DataProviderTest extends MediaWikiTestCase { /** diff --git a/tests/phpunit/includes/HeadingCounterTest.php b/tests/phpunit/includes/HeadingCounterTest.php index 917e537..fdb3718 100644 --- a/tests/phpunit/includes/HeadingCounterTest.php +++ b/tests/phpunit/includes/HeadingCounterTest.php @@ -3,8 +3,13 @@ namespace MediaWiki\Extensions\Collection; use LogicException; +use MediaWikiCoversValidator; +/** + * @covers \MediaWiki\Extensions\Collection\HeadingCounter + */ class HeadingCounterTest extends \PHPUnit_Framework_TestCase { + use MediaWikiCoversValidator; /** * @dataProvider provideIncrementAndGet -- To view, visit https://gerrit.wikimedia.org/r/406000 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I002484ea45adae69bd58be83b011831d89e8d5d8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Collection 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