wiki.techinc.nl/tests/phpunit/includes
Aryeh Gregor ff7c3c9f03 Increase OutputPage test coverage to >45%
Also stop returning a value from OutputPage::adaptCdnTTL().  There are
no users and the value doesn't seem very helpful: one would probably
expect it to return the new value of mCdnMaxage, but instead it
returns the new value of mCdnMaxageLimit. Better to have no return
value than one that's easily misunderstood (*and* which nobody uses).

Change-Id: Ia9dab86923b839334eab9f6fde17c4aed52130ec
2018-10-11 18:59:42 -04:00
..
actions Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
api Ensure LanguageCode::bcp47() returns a valid BCP 47 language code 2018-10-11 01:53:54 -04:00
auth Hard-deprecate authentication-related hooks deprecated by AuthManager 2018-10-09 18:13:21 -07:00
cache MessageCache: replace should actually replace, not reload 2018-10-11 11:20:51 -04:00
changes Remove @dataProvider and @covers from non-test functions 2018-03-18 22:22:43 +00:00
changetags ChangeTagsTest: Mark tables as "used" to avoid ID reuse 2018-10-09 15:52:05 -04:00
collation Use PHP 7 "\u{NNNN}" Unicode codepoint escapes in string literals 2018-06-04 16:20:13 +00:00
composer tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
config Deprecate MediaWikiTestCase::stashMwGlobals 2018-10-07 19:39:47 +03:00
content Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
context
db rdbms: Database::selectDB() update the domain and handle failure better 2018-10-10 12:03:30 -07:00
debug Ensure disabled deprecation warnings are re-enabled before next test 2018-09-25 16:30:38 +00:00
deferred rdbms: rename onTransactionIdle() to onTransactionCommitOrIdle() 2018-05-09 21:07:06 +00:00
diff Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
editpage Use Sanitizer::mergeAttributes when merging classes into attributes 2018-01-05 10:32:56 +01:00
exception Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest 2018-02-16 09:01:51 +00:00
externalstore build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
filebackend Disallow empty paths in LockManager 2018-07-26 11:02:43 -07:00
filerepo Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
GlobalFunctions Fix wfDebug() test so that it works with overridden SPI 2018-08-31 15:02:38 +10:00
htmlform thiemowmde's legal name changed 2018-07-24 06:07:38 +00:00
http Replace HTTP by HTTPS 2018-05-22 12:14:14 +02:00
import build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
installer Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
interwiki Merge "Hard deprecate Interwiki static methods" 2018-06-09 09:33:09 +00:00
jobqueue Make RefreshLinksJob MCR compliant. 2018-10-08 19:20:13 +02:00
json Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
libs rdbms: Database::selectDB() update the domain and handle failure better 2018-10-10 12:03:30 -07:00
linkeddata Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
linker build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-16 15:51:11 +00:00
logging ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
mail mail: Always quote uncoded names in MailAddress 2018-04-24 21:29:25 +00:00
media BitmapMetadataHandlerTest: Don't reinvent $this->checkPHPExtension() 2018-09-27 22:01:28 -07:00
objectcache build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
page Merge "WikiPage: Fix viewing of wiki redirects to NS_MEDIA" 2018-10-11 01:54:19 +00:00
pager Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
parser Merge "Revert "Unwrap HTML loaded from parser cache"" 2018-10-11 18:11:55 +00:00
password Merge "password: Move commonpasswords.cdb to includes/password/" 2018-08-14 23:53:19 +00:00
poolcounter Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
preferences test: disable hook when testing default preferences 2018-09-10 10:25:22 +02:00
rcfeed build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
registration registration: Let extensions add PHP extension requirements 2018-09-30 19:55:57 +02:00
resourceloader resourceloader: Add internal RLPAGEMODULES constant 2018-09-18 01:10:01 +01:00
Revision ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
search Go search to consider fragment only title invalid 2018-09-11 13:03:53 -07:00
services [MCR] Allow extensions to manipulate service instances 2018-06-15 16:06:38 +02:00
session Suppress "Headers already sent" in PHP 7.2 too 2018-10-08 20:10:36 +03:00
shell Deprecate wfShellWikiCmd() 2018-04-16 16:38:05 +00:00
site Replace wfGetLB 2018-05-02 22:30:24 +02:00
skins skins: Move default style modules to getDefaultModules 2018-05-04 23:52:02 +00:00
sparql build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-16 15:51:11 +00:00
specialpage Merge "Drop ChangesListSpecialPageFilters, deprecated in 1.29 and uncalled" 2018-10-11 07:36:20 +00:00
specials Drop ChangesListSpecialPageFilters, deprecated in 1.29 and uncalled 2018-10-10 15:30:00 -07:00
Storage rdbms: Database::selectDB() update the domain and handle failure better 2018-10-10 12:03:30 -07:00
tidy RemexCompatMunger: Don't call endTag() in case B/b 2018-08-07 14:07:31 +10:00
title TitleFormatter: Implement fbc1449653 and unify prefix logic 2018-08-17 17:43:52 -07:00
upload tests: Replace Bugddddd with Tddddd in test names, test strings 2018-08-20 21:27:20 +00:00
user ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
utils UIDGenerator: Misc clean up 2018-10-04 12:44:17 +02:00
watcheditem build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-16 15:51:11 +00:00
ActorMigrationTest.php ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
AutoLoaderTest.php Improve AutoLoader test coverage 2018-05-26 21:29:36 -07:00
AutopromoteTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
BlockTest.php tests: Replace Bugddddd with Tddddd in test names, test strings 2018-08-20 21:27:20 +00:00
CommentStoreTest.php Migrate image descriptions from image_comment_temp 2018-10-02 10:30:00 -04:00
ContentSecurityPolicyTest.php CSP: In tests, use setMwGlobals() instead of manual set+undo 2018-08-19 01:43:52 +01:00
DeprecatedGlobalTest.php
DiffHistoryBlobTest.php
EditPageTest.php Fix typos 2018-08-14 09:52:19 +00:00
ExportTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
ExtraParserTest.php Parser: Refactor parsing of [[File:...|link=...]] syntax for reusability 2018-09-26 13:36:32 +02:00
FauxRequestTest.php tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
FauxResponseTest.php
FormOptionsInitializationTest.php
FormOptionsTest.php
GitInfoTest.php Allow tests to run with a non-writable source tree 2018-08-30 10:48:50 +10:00
HooksTest.php Drop wfRunHooks, deprecated since 1.25 2018-10-10 15:30:00 -07:00
HtmlTest.php Fix TitlePermissionTest failures due to test leakage 2018-10-10 23:17:13 +00:00
LicensesTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LinkerTest.php Linker: more consistent whitespace parsing in formatLinksInComment 2018-09-06 17:19:32 +00:00
LinkFilterTest.php
ListToggleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiServicesTest.php Don't require a list of services in tests 2018-08-10 04:28:31 +00:00
MediaWikiTest.php Replace Media namespace redirects with File namespace 2018-10-05 18:04:24 -04:00
MediaWikiVersionFetcherTest.php Improve MediaWikiVersionFetcherTest 2018-08-10 11:26:57 +03:00
MergeHistoryTest.php MergeHistory: Fix flaky test due to relative timestamp 2018-08-15 02:16:02 +01:00
MessageTest.php Use ParserFactory in a bunch of places 2018-08-11 00:16:17 -06:00
MovePageTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
MultiHttpClientTest.php Added non-parallel fallback to MultiHttpClient when curl is unavailable 2018-07-23 00:19:59 +00:00
MWNamespaceTest.php MWNamespace: Add getCategoryLinkType() method 2018-06-29 15:37:11 +00:00
MWTimestampTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
OutputPageTest.php Increase OutputPage test coverage to >45% 2018-10-11 18:59:42 -04:00
PagePropsTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
PathRouterTest.php Avoid a redirect loop when the request URL is not normalized 2018-07-16 15:55:59 +10:00
PreferencesTest.php
PrefixSearchTest.php Reset services before every test 2018-09-03 16:38:58 +00:00
ReadOnlyModeTest.php
RevisionDbTestBase.php ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
RevisionMcrDbTest.php Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
RevisionMcrReadNewDbTest.php Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
RevisionMcrWriteBothDbTest.php Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
RevisionNoContentModelDbTest.php Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
RevisionPreMcrDbTest.php Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
RevisionTest.php ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
SanitizerValidateEmailTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
ServiceWiringTest.php Alphabetize service lists 2018-08-09 22:19:58 -06:00
SiteConfigurationTest.php SiteConfiguration: Add test to confirm null as valid override 2018-04-24 18:31:30 +01:00
SiteStatsTest.php phpunit: Clear job queues in MediaWikiTestCase::setUp() 2018-04-24 00:46:19 +01:00
StatusTest.php RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
TemplateCategoriesTest.php Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
TemplateParserTest.php TemplateParser: Pass FLAG_MUSTACHELOOKUP to enable parent context access 2018-09-04 12:39:34 -07:00
TestLogger.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TestUser.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
TestUserRegistry.php tests: Allow string to be passed to getTestUser() etc. 2018-10-04 15:30:47 +00:00
TimeAdjustTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
TitleArrayFromResultTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
TitleMethodsTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
TitlePermissionTest.php Tests: Simplify badaccess group check for patrol action 2018-10-10 03:59:53 +00:00
TitleTest.php Title: Fix isRawHtmlMessage() for messages with underscores 2018-08-31 09:45:01 -07:00
WebRequestTest.php WebRequest: Fix flaky testGetElapsedTime test case 2018-07-16 20:23:30 -07:00
WikiMapTest.php
WikiReferenceTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlJsTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlSelectTest.php
XmlTest.php Xml.php: Do not escape double quotes in $contents of Xml::element() 2018-05-23 20:03:54 +00:00