wiki.techinc.nl/tests/phpunit/includes/api
Thiemo Mättig 23632a4ecd Use precise ApiMain/ApiQuery type hints in all API modules
Which type is used depends on the ApiModuleManager responsible for
the API module. There are two managers, one in ApiMain and one in
ApiQuery. Both contain a list of API modules they instantiate.
Both use $this as the first parameter in the constructors of the
individual modules. There is no other regular way to instantiate the
modules, so we know the type must either be ApiMain or ApiQuery.

The lists don't intersect.

I would have prefered the naming scheme $mainModule for ApiMain
modules and $queryModule for ApiQuery modules but since this
doesn't add much I left the shorter variable names untouched.

Change-Id: Ie6bf19150f1c9b619655a06a8e051412665e54db
2014-05-16 11:07:23 -04:00
..
format Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
query Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiBaseTest.php Fixed spacing 2013-12-08 20:31:47 +01:00
ApiBlockTest.php Cleanup Api phpunit Tests 2013-10-24 19:17:01 +01:00
ApiCreateAccountTest.php Make ApiCreateAccount return camelcase statuses 2014-02-20 20:49:45 +05:30
ApiEditPageTest.php Fix order of expected, actual in some tests 2014-04-01 11:59:46 +00:00
ApiLoginTest.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiMainTest.php Split ApiTest class into seperate module classes 2013-11-05 12:40:50 +01:00
ApiOptionsTest.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiParseTest.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiPurgeTest.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiQueryAllPagesTest.php Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
ApiTestCase.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiTestCaseUpload.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiTestContext.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
ApiTokensTest.php Split ApiTest class into seperate module classes 2013-11-05 12:40:50 +01:00
ApiUnblockTest.php Cleanup Api phpunit Tests 2013-10-24 19:17:01 +01:00
ApiUploadTest.php Pass phpcs-strict on some test files (8/11) 2014-04-24 13:49:48 -07:00
ApiWatchTest.php Fixed spacing 2013-12-08 20:31:47 +01:00
generateRandomImages.php phpcs: More require/include is not a function 2013-05-21 23:26:28 +02:00
MockApi.php Fixed spacing 2013-11-19 19:03:54 +01:00
MockApiQueryBase.php Fix capitalization in ApiQueryBase::titlePartToKey() 2013-12-23 12:53:43 -05:00
PrefixUniquenessTest.php Use precise ApiMain/ApiQuery type hints in all API modules 2014-05-16 11:07:23 -04:00
RandomImageGenerator.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
UserWrapper.php Fixed spacing 2013-11-19 19:03:54 +01:00
words.txt Add words.txt for us Windows users. This is a random selection of 1000 words from gnuwin32 miscfiles package 2011-07-15 17:13:24 +00:00