wiki.techinc.nl/tests/phpunit/includes
daniel baa11f7430 Allow factory functions for creating API modules.
This enables factory functions to be registered for API modules,
in addition to the module class itself. This allows modules to
use proper dependency injection via the modules constructor.

Example:

  $wgAPIModules['foo'] = array(
    'class' => 'ApiFoo',
    'factory' => function( $main, $action ) { ... }
  )

Change-Id: Ieb85493a7765f466317f5fa74b0b0e262220deab
2014-08-06 22:58:14 +02:00
..
actions Add tests for IE workarounds to ActionTest 2014-07-22 13:55:44 +02:00
api Allow factory functions for creating API modules. 2014-08-06 22:58:14 +02:00
cache Moved ProcessCacheLRU to /libs 2014-03-16 16:32:34 -07:00
changes Add some tests for OldChangesList 2014-07-25 22:52:27 +00:00
composer Pass phpcs-strict on some test files (6/11) 2014-04-24 18:26:19 +00:00
config Add tests for ConfigFactory::getDefaultInstance 2014-08-03 16:26:56 -07:00
content Fix getAutosummary for create blank page 2014-07-27 12:22:07 +00:00
db Fixed spacing 2014-07-19 23:12:10 +02:00
debug Fixed spacing 2014-07-19 23:12:10 +02:00
diff Fixed spacing 2014-07-20 21:41:41 +02:00
exception Fixed spacing 2014-07-24 11:53:04 +02:00
filebackend Remove MediaWikiPHPUnitCommand 2014-08-02 21:35:34 +00:00
filerepo Remove MediaWikiPHPUnitCommand 2014-08-02 21:35:34 +00:00
GlobalFunctions Revert "test: coverage for wfWikiID()" 2014-07-29 21:23:03 +00:00
htmlform Pass phpcs-strict on some test files (8/11) 2014-04-24 13:49:48 -07:00
installer Pass phpcs-strict on some test files (7/11) 2014-04-24 18:27:12 +00:00
jobqueue Remove MediaWikiPHPUnitCommand 2014-08-02 21:35:34 +00:00
json Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
libs Correct shadow flipping in CSSJanus 2014-07-30 23:14:32 +00:00
logging Call Language::getLocalisationCache() static 2014-01-04 21:33:12 +01:00
media Fixed spacing 2014-07-24 11:53:04 +02:00
normal Convert CleanUpTest to use data providers 2014-07-07 16:27:34 -07:00
objectcache Remove MediaWikiPHPUnitCommand 2014-08-02 21:35:34 +00:00
parser Remove MediaWikiPHPUnitCommand 2014-08-02 21:35:34 +00:00
password Added password hashing API 2014-07-27 15:51:18 -04:00
poolcounter Break some long lines in maintenance, skins, tests 2014-07-24 19:03:17 +02:00
resourceloader ResourceLoaderModuleTest: Ensure 'vector' is a valid skin 2014-07-23 21:18:19 +00:00
search Pass phpcs-strict on some test files (10/11) 2014-04-24 13:50:56 -07:00
site Merge "Add at least one RTL language to the TestSites mock collection" 2014-07-29 09:44:00 +00:00
specials Fixed spacing 2014-07-24 11:53:04 +02:00
title Each line in a doc block should start with * 2014-07-24 10:08:16 +02:00
upload Pass phpcs-strict on some test files (10/11) 2014-04-24 13:50:56 -07:00
utils Add HKDF as a fast, random number source 2014-06-09 11:32:26 -07:00
ArrayUtilsTest.php Fixed spacing 2014-07-20 21:41:41 +02:00
ArticleTablesTest.php Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
ArticleTest.php Add deprecation messages to static methods in Article.php 2014-06-24 12:47:58 -07:00
BlockTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
CollationTest.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
DiffHistoryBlobTest.php Replace a bunch of extension_loaded() checks with checkPHPExtension() 2014-01-23 23:09:53 +00:00
EditPageTest.php Enable the creation of empty pages 2014-07-25 23:26:18 -04:00
ExternalStoreTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
ExtraParserTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
FallbackTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
FauxRequestTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
FauxResponseTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
FormOptionsInitializationTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FormOptionsTest.php FormOptions: Implement FLOAT type 2013-11-07 23:50:59 +01:00
GitInfoTest.php Fix GitInfo cache file path computation and storage location 2014-07-08 16:36:10 +00:00
HooksTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
HtmlFormatterTest.php Fixed spacing 2014-07-20 21:41:41 +02:00
HtmlTest.php Added Html::radio, Html::check, and Html::label. 2014-07-29 19:41:20 +00:00
HttpTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
ImagePage404Test.php Make SVG files show "In other resolutions" at all sizes 2014-07-02 15:01:00 -03:00
ImagePageTest.php Make SVG files show "In other resolutions" at all sizes 2014-07-02 15:01:00 -03:00
ImportTest.php Fixed spacing 2014-07-20 21:41:41 +02:00
LanguageConverterTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
LicensesTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
LinkerTest.php Limit test leakage, $wgCapitalLinks expected to be true 2014-07-07 16:54:35 -07:00
LinkFilterTest.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
LinksUpdateTest.php Fixed spacing 2014-07-19 23:12:10 +02:00
LocalFileTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
LocalisationCacheTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
MediaWikiVersionFetcherTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
MessageTest.php Break some long lines in maintenance, skins, tests 2014-07-24 19:03:17 +02:00
MimeMagicTest.php Break some long lines in maintenance, skins, tests 2014-07-24 19:03:17 +02:00
MWFunctionTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
MWNamespaceTest.php Standardize @todo 2014-07-23 22:27:20 +02:00
MWTimestampTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
OutputPageTest.php OutputPageTest: Don't assume Vector is the default skin 2014-07-23 21:57:40 +00:00
PasswordTest.php Added password hashing API 2014-07-27 15:51:18 -04:00
PathRouterTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
PreferencesTest.php Fixed spacing 2013-12-01 20:58:51 +01:00
RequestContextTest.php Fix RequestContextTest screwing up $wgUser 2014-06-27 14:18:07 -07:00
RevisionStorageTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
RevisionStorageTestContentHandlerUseDB.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
RevisionTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SampleTest.php Limit test leakage, $wgCapitalLinks expected to be true 2014-07-07 16:54:35 -07:00
SanitizerTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SanitizerValidateEmailTest.php Standardize @todo 2014-07-23 22:27:20 +02:00
SiteConfigurationTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SkinTemplateTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SpecialPageTest.php Don't assume test user has ID 1 in SpecialPageTest 2013-12-06 13:48:22 +01:00
StatusTest.php Fixed spacing 2014-07-24 11:53:04 +02:00
TemplateCategoriesTest.php Add a RefreshLinks job when a template is deleted 2013-11-06 12:56:53 -05:00
TestUser.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
TimeAdjustTest.php Fixed spacing 2014-07-19 23:12:10 +02:00
TitleArrayFromResultTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
TitleMethodsTest.php Remove colon after @deprecated/@param/@todo/@note 2014-07-24 11:30:25 +02:00
TitlePermissionTest.php Fix TitlePermissionTest failing on non-English setups 2014-07-09 17:40:35 +02:00
TitleTest.php Remove colon after @deprecated/@param/@todo/@note 2014-07-24 11:30:25 +02:00
UserArrayFromResultTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
UserMailerTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
UserTest.php UserTest: Cover User::isIP and User::isValidUserName better 2014-07-01 18:31:07 +02:00
WebRequestTest.php Fixed spacing 2014-07-20 21:41:41 +02:00
WikiPageTest.php Limit test leakage, $wgCapitalLinks expected to be true 2014-07-07 16:54:35 -07:00
WikiPageTestContentHandlerUseDB.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
XmlJsTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
XmlSelectTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
XmlTest.php Pass phpcs-strict on some test files (8/11) 2014-04-24 13:49:48 -07:00
XmlTypeCheckTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00