MediaWiki
1.29.1
|
Replace all media handlers with a mock. More...
Public Member Functions | |
__construct () | |
Public Member Functions inherited from MediaHandlerFactory | |
__construct (array $registry) | |
getHandler ( $type) | |
Protected Member Functions | |
getHandlerClass ( $type) | |
Static Private Attributes | |
static | $overrides |
Replace all media handlers with a mock.
We do not need to generate actual thumbnails to do parser testing, we only care about receiving a ThumbnailImage properly initialized.
Definition at line 31 of file MockMediaHandlerFactory.php.
MockMediaHandlerFactory::__construct | ( | ) |
Definition at line 39 of file MockMediaHandlerFactory.php.
|
protected |
Reimplemented from MediaHandlerFactory.
Definition at line 43 of file MockMediaHandlerFactory.php.
|
staticprivate |
Definition at line 33 of file MockMediaHandlerFactory.php.