wiki.techinc.nl/tests/phpunit/structure
Thiemo Kreuz b655f382db Remove broken/outdated @param/@throws tags from @dataProviders
My personal best practice is to not document @params when there
is a @dataProvider. I mean, these test…() functions are not
meant to be called from anywhere. They do not really need
documentation. @param tags don't do much but duplicate what the
@dataProvider does. This is error-prone, as demonstrated by the
examples in this patch.

This patch also removes @throws tags from tests. A test…() can
never throw an exception. Otherwise the test would fail.

Most of these are found by the not yet released I10559d8.

Change-Id: I3782bca43f875687cd2be972144a7ab6b298454e
2021-01-21 03:42:42 +00:00
..
ApiPrefixUniquenessTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiStructureTest.php tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
AutoLoaderStructureTest.php Safer autoloading with respect to file-scope code 2021-01-11 11:59:36 +11:00
AvailableRightsTest.php Remove usages of deprecated Language methods 2020-02-16 00:45:48 +00:00
ContentHandlerSanityTest.php tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
DatabaseIntegrationTest.php Add test to assert uniform table prefix usage in abstract schema 2021-01-20 20:09:09 +00:00
ExtensionJsonValidationTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
PasswordPolicyStructureTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ResourcesTest.php [ResourcesTest] Replace ReflectionObject with TestingAccessWrapper 2020-10-30 13:34:58 +00:00
RestStructureTest.php Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
SpecialPageFatalTest.php Use generator in SpecialPageFatalTest 2020-11-21 19:45:28 +01:00
StructureTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
SuiteDirectoryTest.php phpunit: Add structure test for suite.xml registering all test suites 2020-04-02 01:47:48 +00:00