wiki.techinc.nl/tests/phpunit/includes
Aaron Schulz f7e3ac3f95 FSFile and TempFSFile cleanups
* Remove wf* function dependencies. This includes wfTempDir().
  Callers now should specify the directory, though it will try to do
  most of the wfTempDir() logic anyway if they do not.
* Update callers to inject wfTempDir() so $wgTmpDirectory is used by
  TempFSFile instead of it probing to find a valid directory itself.
* Move most of the wfTempDir() logic to TempFSFile::getUsableTempDirectory().
* Remove unused getMimeType() method.

Change-Id: Idd55936b07f9448a6c90577708722b7b52b8fe66
2016-09-19 19:55:09 +00:00
..
actions Revert "Make an empty "?action=" parameter default to "view"" 2016-05-18 18:54:50 +00:00
api Replace WikiPage::doEdit() usages 2016-09-15 21:25:32 +01:00
auth Merge "Show warnings in HTMLForm and warnings as warnings on Login/Signup form" 2016-09-17 18:05:13 +00:00
cache Whenever possible, reuse User objects in unit tests 2016-05-26 20:42:31 +00:00
changes Move Linker::getLinkColour() into LinkRenderer 2016-05-27 09:18:09 -07:00
composer Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
config Allow resources to be salvaged across service resets. 2016-05-19 12:38:07 +02:00
content JsonContentHandler: Make sure makeEmptyContent() is valid JSON 2016-09-08 12:52:56 -07:00
context Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
db Merge "Remove long-since unused cruft methods from DatabaseBase" 2016-09-18 02:12:51 +00:00
debug Merge "kafka: Implement ack handling" 2016-06-29 12:18:45 +00:00
deferred Make DeferredUpdates able to run DataUpdates 2016-09-02 04:12:50 +00:00
diff Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
exception Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
externalstore Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
filebackend FSFile and TempFSFile cleanups 2016-09-19 19:55:09 +00:00
filerepo FSFile and TempFSFile cleanups 2016-09-19 19:55:09 +00:00
GlobalFunctions Override MediaHandlers in tests using MediaWikiServices 2016-08-03 16:47:46 -07:00
htmlform Enforce calling HTMLForm::prepareForm before displayForm 2016-04-27 20:00:06 +01:00
import Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
installer Add LBFactory::beginMasterChanges() for doing DBO_TRX rounds 2016-08-23 18:09:28 -07:00
interwiki Factor InterwikiLookup out of Interwiki class. 2016-05-18 11:57:32 +02:00
jobqueue Merge "CatWatch don't show the number of pages transcluded" 2016-04-14 14:10:12 +00:00
json Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
libs Make database classes handle hyphens in $wgDBname 2016-09-17 15:29:21 -07:00
linker Cache NS_TEMPLATE/NS_FILE titles in LinkCache persistently 2016-09-07 00:20:26 -07:00
logging bidi-isolate usernames in Linker::userLink 2016-08-31 17:44:06 -07:00
mail Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
media Fix and standardize Doxygen tags 2016-04-30 12:10:17 +02:00
objectcache objectcache: Disable RedisBagOStuff constructor in unit test 2016-07-25 16:55:36 +01:00
page Replace WikiPage::doEdit() usages 2016-09-15 21:25:32 +01:00
pager Partially reverting I8e684f06 to restore some legacy behavior 2016-09-13 18:32:47 -07:00
parser Re-add parser tests to the ParserTests group 2016-09-15 09:39:20 +10:00
password Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
poolcounter Include type in hashKeyIntoSlots() 2016-05-09 16:54:51 -07:00
registration registration: Support config setings that are relative paths 2016-07-24 14:49:57 +00:00
resourceloader resourceloader: Move 'site' and 'user' logic to makeModuleResponse 2016-09-15 18:32:07 -07:00
search Add SearchEngineFactory::getSearchEngineClass() instead of using the DB 2016-09-15 21:31:35 -07:00
Services Allow resources to be salvaged across service resets. 2016-05-19 12:38:07 +02:00
session Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
site Mock Http in MediaWikiPageNameNormalizerTest and add more test cases 2016-06-24 18:49:25 +00:00
skins SkinTemplateTest typofix 2016-08-11 13:54:05 -07:00
specialpage Don't construct SpecialPages twice 2016-04-02 17:45:20 +02:00
specials Use more short array syntax in comments (/tests/) 2016-07-10 17:23:29 +02:00
tidy Merge "Enable additional balancer tests (those starting with <!DOCTYPE html>)" 2016-07-21 17:27:59 +00:00
title Use more short array syntax in comments (/tests/) 2016-07-10 17:23:29 +02:00
upload Revert "Clean up user handling in UploadStash" 2016-09-10 15:27:49 +00:00
user Replace WikiPage::doEdit() usages 2016-09-15 21:25:32 +01:00
utils Let a few unit tests actually be unit tests 2016-09-02 10:16:06 -07:00
BlockTest.php Many more function case mismatches 2016-03-19 00:20:58 +00:00
CollationTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
DiffHistoryBlobTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
EditPageTest.php Make DeferredUpdates able to run DataUpdates 2016-09-02 04:12:50 +00:00
ExportTest.php DumpStringOutput: Rename getOutput() to __toString() 2016-07-14 06:28:16 -04:00
ExtraParserTest.php phpunit: Abstract user-lang override in MediaWikiTestCase 2016-03-09 16:55:50 +00:00
FauxRequestTest.php Clean up tests for FauxRequest/WebRequest 2016-09-09 15:35:19 -07:00
FauxResponseTest.php Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
FormOptionsInitializationTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
FormOptionsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
GitInfoTest.php GitInfo: Allow cache to be in the extension directory itself 2016-01-06 14:41:36 -08:00
HooksTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
HtmlTest.php Documentation: Replace misuse of 'later' when we meant 'latter' 2016-09-07 13:13:42 -07:00
HttpTest.php Use more short array syntax in comments (/tests/) 2016-07-10 17:23:29 +02:00
LicensesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
LinkerTest.php bidi-isolate usernames in Linker::userLink 2016-08-31 17:44:06 -07:00
LinkFilterTest.php LinkFilterTests: Uncomment test cases that should pass on PHP 5.5 2016-02-17 19:35:20 +00:00
MediaWikiServicesTest.php Move LBFactorySimple to /libs/rdbms 2016-09-17 23:13:00 +00:00
MediaWikiTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MediaWikiVersionFetcherTest.php tests: Clean up file headers 2015-04-01 00:17:12 +01:00
MergeHistoryTest.php Whenever possible, reuse User objects in unit tests 2016-05-26 20:42:31 +00:00
MessageTest.php Make non-existent messages be html safe regardless of output format 2016-06-29 18:59:30 -04:00
MimeMagicTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MovePageTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MWNamespaceTest.php Use more short array syntax in comments (/tests/) 2016-07-10 17:23:29 +02:00
MWTimestampTest.php Split out ConvertableTimestamp class 2016-09-16 03:00:09 +00:00
OutputPageTest.php resourceloader: Move queue formatting out of OutputPage 2016-08-08 12:23:09 -07:00
PagePropsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
PathRouterTest.php Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
PreferencesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
PrefixSearchTest.php PrefixSearch: Implement searching in multiple namespaces 2016-09-15 14:48:35 +02:00
RevisionStorageTest.php Revert "If rev_content_model is null, use page_content_model." 2016-07-10 22:58:36 +00:00
RevisionStorageTestContentHandlerUseDB.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RevisionTest.php Remove Revision::getRawText() 2016-04-01 19:57:35 +01:00
SampleTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
SanitizerTest.php Use more short array syntax in comments (/tests/) 2016-07-10 17:23:29 +02:00
SanitizerValidateEmailTest.php Move several unit tests to directly subclass PHPUnit_Framework_TestCase 2015-06-09 10:03:23 -07:00
SiteConfigurationTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
StatusTest.php Show warnings in HTMLForm and warnings as warnings on Login/Signup form 2016-09-17 16:33:39 +02:00
TemplateCategoriesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TemplateParserTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TestingAccessWrapper.php Handle static access in TestingAccessWrapper 2016-01-24 22:24:10 -06:00
TestingAccessWrapperTest.php Handle static access in TestingAccessWrapper 2016-01-24 22:24:10 -06:00
TestLogger.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TestUser.php Make deprecated TestUser properties private 2016-06-22 15:43:54 +00:00
TestUserRegistry.php Whenever possible, reuse User objects in unit tests 2016-05-26 20:42:31 +00:00
TimeAdjustTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitleArrayFromResultTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitleMethodsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitlePermissionTest.php Revert "Split editcascadeprotected permission from protect permission" 2016-05-12 21:43:06 +00:00
TitleTest.php mw.Title: Correct handling of Unicode whitespace and bidi control characters 2016-08-31 00:04:29 +00:00
WatchedItemIntegrationTest.php Merge "Remove missed WatchedItem::resetNotificationTimestamp in test" 2016-07-28 10:22:59 +00:00
WatchedItemQueryServiceUnitTest.php Refactor database-related code in ApiQueryWatchlistRaw 2016-07-06 12:57:39 +00:00
WatchedItemStoreIntegrationTest.php add setNotificationTimestampsForUser to WatchedItemStore 2016-05-18 08:50:46 +00:00
WatchedItemStoreUnitTest.php Move updateNotificationTimestamp callback to DeferredUpdates 2016-07-19 15:27:29 -07:00
WatchedItemUnitTest.php Remove unused deprecated WatchedItem methods 2016-07-26 10:52:31 +00:00
WebRequestTest.php Clean up tests for FauxRequest/WebRequest 2016-09-09 15:35:19 -07:00
WikiMapTest.php Improve WikiMap::getWikiReferenceFromWgConf() 2016-07-06 14:20:07 -04:00
WikiReferenceTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
XmlJsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
XmlSelectTest.php Remove support for $wgWellFormedXml=false 2016-05-12 17:40:01 -04:00
XmlTest.php Remove support for $wgWellFormedXml=false 2016-05-12 17:40:01 -04:00