MediaWiki
1.28.0
|
Replace all media handlers with a mock. More...
Public Member Functions | |
static | __construct () |
Public Member Functions inherited from MediaHandlerFactory | |
__construct (array $registry) | |
getHandler ($type) | |
Protected Member Functions | |
getHandlerClass ($type) | |
Protected Member Functions inherited from MediaHandlerFactory | |
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.
static MockMediaHandlerFactory::__construct | ( | ) |
Definition at line 39 of file MockMediaHandlerFactory.php.
|
protected |
Definition at line 43 of file MockMediaHandlerFactory.php.
|
staticprivate |
Definition at line 33 of file MockMediaHandlerFactory.php.