MediaWiki  master
ResourceLoaderImageTest Class Reference

ResourceLoader. More...

Inheritance diagram for ResourceLoaderImageTest:
Collaboration diagram for ResourceLoaderImageTest:

Public Member Functions

 testGetExtension ()
 ResourceLoaderImage::getExtension ResourceLoaderImage::getMimeType. More...
 
 testGetImageData ()
 ResourceLoaderImage::getImageData ResourceLoaderImage::variantize ResourceLoaderImage::massageSvgPathdata. More...
 
 testGetPath ( $imageName, $languageCode, $path)
 ResourceLoaderImage::getPath provideGetPath. More...
 
 testMassageSvgPathdata ()
 ResourceLoaderImage::massageSvgPathdata. More...
 

Static Public Member Functions

static provideGetPath ()
 
- Static Public Member Functions inherited from ResourceLoaderTestCase
static getMinimalConfig ()
 
static getSettings ()
 

Protected Member Functions

 getTestImage ( $name)
 
 setUp ()
 
- Protected Member Functions inherited from ResourceLoaderTestCase
 getResourceLoaderContext ( $options=[], ResourceLoader $rl=null)
 
 setUp ()
 

Protected Attributes

 $imagesPath
 

Additional Inherited Members

- Public Attributes inherited from ResourceLoaderTestCase
const BLANK_VERSION = '09p30q0'
 

Detailed Description

ResourceLoader.

Definition at line 6 of file ResourceLoaderImageTest.php.

Member Function Documentation

◆ getTestImage()

ResourceLoaderImageTest::getTestImage (   $name)
protected

◆ provideGetPath()

static ResourceLoaderImageTest::provideGetPath ( )
static

Definition at line 30 of file ResourceLoaderImageTest.php.

◆ setUp()

ResourceLoaderImageTest::setUp ( )
protected

Definition at line 10 of file ResourceLoaderImageTest.php.

◆ testGetExtension()

ResourceLoaderImageTest::testGetExtension ( )

◆ testGetImageData()

◆ testGetPath()

ResourceLoaderImageTest::testGetPath (   $imageName,
  $languageCode,
  $path 
)

◆ testMassageSvgPathdata()

ResourceLoaderImageTest::testMassageSvgPathdata ( )

Member Data Documentation

◆ $imagesPath

ResourceLoaderImageTest::$imagesPath
protected

Definition at line 8 of file ResourceLoaderImageTest.php.


The documentation for this class was generated from the following file: