Jeroen De Dauw has uploaded a new change for review. https://gerrit.wikimedia.org/r/62826
Change subject: Added @covers tags to PHPUnit tests to increase accuracy of code coverage reports ...................................................................... Added @covers tags to PHPUnit tests to increase accuracy of code coverage reports Change-Id: Ic9f41490e8dcab52d7b1dc57682d4ace8f7afb3d --- M tests/phpunit/Comparer/CallbackComparerTest.php M tests/phpunit/Comparer/StrictComparerTest.php M tests/phpunit/DiffOpFactoryTest.php M tests/phpunit/differ/CallbackListDifferTest.php M tests/phpunit/differ/ListDifferTest.php M tests/phpunit/differ/MapDifferTest.php M tests/phpunit/diffop/DiffAsOpTest.php M tests/phpunit/diffop/DiffOpAddTest.php M tests/phpunit/diffop/DiffOpChangeTest.php M tests/phpunit/diffop/DiffOpRemoveTest.php M tests/phpunit/diffop/DiffTest.php M tests/phpunit/diffop/ListDiffTest.php M tests/phpunit/diffop/MapDiffTest.php M tests/phpunit/patcher/ListPatcherTest.php M tests/phpunit/patcher/MapPatcherTest.php 15 files changed, 17 insertions(+), 13 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Diff refs/changes/26/62826/1 diff --git a/tests/phpunit/Comparer/CallbackComparerTest.php b/tests/phpunit/Comparer/CallbackComparerTest.php index ef70534..80b5549 100644 --- a/tests/phpunit/Comparer/CallbackComparerTest.php +++ b/tests/phpunit/Comparer/CallbackComparerTest.php @@ -6,6 +6,8 @@ use Diff\Tests\DiffTestCase; /** + * @covers Diff\Comparer\CallbackComparer + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/tests/phpunit/Comparer/StrictComparerTest.php b/tests/phpunit/Comparer/StrictComparerTest.php index a6d8472..df5392d 100644 --- a/tests/phpunit/Comparer/StrictComparerTest.php +++ b/tests/phpunit/Comparer/StrictComparerTest.php @@ -6,6 +6,8 @@ use Diff\Tests\DiffTestCase; /** + * @covers Diff\Comparer\StrictComparer + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/tests/phpunit/DiffOpFactoryTest.php b/tests/phpunit/DiffOpFactoryTest.php index f757151..fd030ca 100644 --- a/tests/phpunit/DiffOpFactoryTest.php +++ b/tests/phpunit/DiffOpFactoryTest.php @@ -10,7 +10,7 @@ use Diff\DiffOpRemove; /** - * Tests for the Diff\DiffOpFactory class. + * @covers Diff\DiffOpFactory * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/differ/CallbackListDifferTest.php b/tests/phpunit/differ/CallbackListDifferTest.php index 00d87e0..d92c830 100644 --- a/tests/phpunit/differ/CallbackListDifferTest.php +++ b/tests/phpunit/differ/CallbackListDifferTest.php @@ -8,7 +8,7 @@ use Diff\Differ; /** - * Tests for the Diff\CallbackListDiffer class. + * @covers Diff\CallbackListDiffer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/differ/ListDifferTest.php b/tests/phpunit/differ/ListDifferTest.php index e8cc3e6..22ff6f6 100644 --- a/tests/phpunit/differ/ListDifferTest.php +++ b/tests/phpunit/differ/ListDifferTest.php @@ -8,7 +8,7 @@ use Diff\ListDiffer; /** - * Tests for the Diff\ListDiffer class. + * @covers Diff\ListDiffer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/differ/MapDifferTest.php b/tests/phpunit/differ/MapDifferTest.php index 857badf..27a4d03 100644 --- a/tests/phpunit/differ/MapDifferTest.php +++ b/tests/phpunit/differ/MapDifferTest.php @@ -8,7 +8,7 @@ use Diff\MapDiffer; /** - * Tests for the Diff\MapDiffer class. + * @covers Diff\MapDiffer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/diffop/DiffAsOpTest.php b/tests/phpunit/diffop/DiffAsOpTest.php index 726d13b..56f4f19 100644 --- a/tests/phpunit/diffop/DiffAsOpTest.php +++ b/tests/phpunit/diffop/DiffAsOpTest.php @@ -5,7 +5,7 @@ use Diff\Diff; /** - * Tests for the Diff\Diff class. + * @covers Diff\Diff * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/diffop/DiffOpAddTest.php b/tests/phpunit/diffop/DiffOpAddTest.php index 9a53a12..0b91e66 100644 --- a/tests/phpunit/diffop/DiffOpAddTest.php +++ b/tests/phpunit/diffop/DiffOpAddTest.php @@ -5,7 +5,7 @@ use Diff\DiffOpAdd as DiffOpAdd; /** - * Tests for the Diff\DiffOpAdd class. + * @covers Diff\DiffOpAdd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/diffop/DiffOpChangeTest.php b/tests/phpunit/diffop/DiffOpChangeTest.php index a655617..904f988 100644 --- a/tests/phpunit/diffop/DiffOpChangeTest.php +++ b/tests/phpunit/diffop/DiffOpChangeTest.php @@ -5,7 +5,7 @@ use Diff\DiffOpChange as DiffOpChange; /** - * Tests for the Diff\DiffOpChange class. + * @covers Diff\DiffOpChange * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/diffop/DiffOpRemoveTest.php b/tests/phpunit/diffop/DiffOpRemoveTest.php index 6e6f4c7..9cb8947 100644 --- a/tests/phpunit/diffop/DiffOpRemoveTest.php +++ b/tests/phpunit/diffop/DiffOpRemoveTest.php @@ -5,7 +5,7 @@ use Diff\DiffOpRemove as DiffOpRemove; /** - * Tests for the Diff\DiffOpRemove class. + * @covers Diff\DiffOpRemove * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/diffop/DiffTest.php b/tests/phpunit/diffop/DiffTest.php index ea321ff..137686d 100644 --- a/tests/phpunit/diffop/DiffTest.php +++ b/tests/phpunit/diffop/DiffTest.php @@ -11,7 +11,7 @@ use stdClass; /** - * Tests for the Diff\Diff class. + * @covers Diff\Diff * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/diffop/ListDiffTest.php b/tests/phpunit/diffop/ListDiffTest.php index a1e1c00..3e09f3c 100644 --- a/tests/phpunit/diffop/ListDiffTest.php +++ b/tests/phpunit/diffop/ListDiffTest.php @@ -8,7 +8,7 @@ use Diff\ListDiffer; /** - * Tests for the Diff\ListDiff class. + * @covers Diff\ListDiff * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/diffop/MapDiffTest.php b/tests/phpunit/diffop/MapDiffTest.php index 5646deb..c0f3d78 100644 --- a/tests/phpunit/diffop/MapDiffTest.php +++ b/tests/phpunit/diffop/MapDiffTest.php @@ -12,7 +12,7 @@ use Diff\MapDiffer; /** - * Tests for the Diff\MapDiff class. + * @covers Diff\MapDiff * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/patcher/ListPatcherTest.php b/tests/phpunit/patcher/ListPatcherTest.php index 1b76a6f..32bfaa4 100644 --- a/tests/phpunit/patcher/ListPatcherTest.php +++ b/tests/phpunit/patcher/ListPatcherTest.php @@ -9,7 +9,7 @@ use Diff\Patcher; /** - * Tests for the Diff\ListPatcher class. + * @covers Diff\ListPatcher * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tests/phpunit/patcher/MapPatcherTest.php b/tests/phpunit/patcher/MapPatcherTest.php index 8b582c0..e8d2c3e 100644 --- a/tests/phpunit/patcher/MapPatcherTest.php +++ b/tests/phpunit/patcher/MapPatcherTest.php @@ -12,7 +12,7 @@ use Diff\Patcher; /** - * Tests for the Diff\MapPatcher class. + * @covers Diff\MapPatcher * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -- To view, visit https://gerrit.wikimedia.org/r/62826 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic9f41490e8dcab52d7b1dc57682d4ace8f7afb3d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Diff Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits