wiki.techinc.nl/tests/phpunit/includes
daniel 9638fa314a Introduce entry point classes for media files.
This moves a code out of file scope into classes to make it
testable. The code is left in the same structure as it was before,
global functions have been converted into methods on the new
ThumbnailEntryPoint and Thumbnail404EntryPoint classes.

This test introduces comprehensive phpunit tests covering all functional
code paths in ThumbnailEntryPoint. This is intended to support
refactoring of this code.

Change-Id: I459abc7b11d0ab4ee682a863c9525a945048296f
2024-03-30 21:14:05 +01:00
..
actions tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
api Add 'temp' flag to ApiQueryUserInfo API 2024-02-28 17:21:30 +00:00
auth tests: More use statements in auth tests 2024-02-16 21:49:35 +00:00
block Namespace includes/context 2024-02-08 11:07:01 -05:00
cache Namespace includes/cache 2024-02-20 10:28:03 -05:00
Category tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
changes tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
changetags Add PHPUnit test for ChangeTagsList class 2024-02-23 16:05:45 +00:00
collation tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
CommentStore CommentStore: Remove unused getFields method 2024-01-20 16:21:39 +01:00
composer tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
config tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
content tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
db rdbms: Drop ILoadBalancer::getAnyOpenConnection() 2023-11-28 15:42:39 +01:00
debug tests: Add replacement for assertions deprecated in PHPUnit 9.6 2024-02-23 22:09:45 +01:00
deferred tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
diff Fix weird (auto-generated?) namespaces in PHPUnit tests 2024-02-20 19:23:36 +00:00
editpage tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
exception tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
export Merge "[ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText()" 2024-02-21 17:11:00 +00:00
ExternalLinks tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
externalstore tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
filebackend tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
filerepo Introduce entry point classes for media files. 2024-03-30 21:14:05 +01:00
GlobalFunctions Autofix spacing around commas 2023-10-25 01:08:44 +02:00
HookContainer tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
Html tests: Add replacement for assertions deprecated in PHPUnit 9.6 2024-02-23 22:09:45 +01:00
htmlform tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
http tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
import tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
installer Namespace WebInstaller classes 2024-01-11 23:29:14 +00:00
interwiki tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
jobqueue tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
language tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
languages tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
libs tests: Move Wikimedia tests into Wikimedia\Tests 2024-02-17 02:09:08 +00:00
linkeddata tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
linker Namespace includes/cache 2024-02-20 10:28:03 -05:00
logging Namespace includes/cache 2024-02-20 10:28:03 -05:00
mail tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
media tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Message Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
Navigation tests: Change some setMwGlobals to overrideConfigValue 2023-07-17 23:02:32 +02:00
objectcache tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Output tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00
OutputTransform Merge "Move section heading formatting to post-cache transform (take 2)" 2024-02-23 05:15:21 +00:00
page tests: Run iterator_to_array for Generator before assertCount 2024-02-24 20:16:49 +01:00
pager Replace last remaining wfGetDB() calls in core, except ResourceLoader 2024-02-14 11:02:01 -05:00
ParamValidator/TypeDef tests: Move Wikimedia tests into Wikimedia\Tests 2024-02-17 02:09:08 +00:00
parser tests: Avoid php warnings about deprecation from data providers 2024-02-25 15:55:30 +00:00
password tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Permissions tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
poolcounter Add ParserOutput::{get,set}RenderId() and set render id in ContentRenderer 2024-02-07 21:22:06 -05:00
preferences preferences: Avoid injecting entire config object, use ServiceOptions 2024-02-19 15:30:26 +03:00
profiler
rcfeed tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
registration tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Request tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
ResourceLoader Merge "tests: Add replacement for assertions deprecated in PHPUnit 9.6" 2024-02-25 00:09:20 +00:00
Rest tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
Revision Merge "[ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText()" 2024-02-21 17:11:00 +00:00
search tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
session session: Improve text and documentation of SessionManager warnings 2024-02-26 11:34:13 +00:00
shell Make Shell::makeScriptCommand use run.php 2023-07-25 01:35:59 +00:00
site tests: Namespace Site classes 2024-02-17 00:50:52 +00:00
SiteStats tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
skins tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
sparql tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
specialpage tests: Add replacement for assertions deprecated in PHPUnit 9.6 2024-02-23 22:09:45 +01:00
specials rdbms: replace truncate() with simpler truncateTable() method 2024-02-20 09:00:43 -08:00
Status tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Storage tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
title Merge "Namespace includes/cache" 2024-02-28 15:10:38 +00:00
upload tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
user Merge "Remove IDBAccessObject from being implemented in many classes" 2024-02-21 17:35:07 +00:00
utils tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
watcheditem Namespace includes/cache 2024-02-20 10:28:03 -05:00
WikiMap tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
xml tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
AutoLoaderTest.php tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
MediaWikiServicesTest.php tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
MockServiceWiring.php
SampleTest.php
TestUser.php Change uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-22 22:27:45 +01:00
TestUserRegistry.php update a few tests to use PHP 7.4 syntax 2024-01-09 10:19:00 +02:00