MediaWiki
master
|
Public Member Functions | |
providerImproveTypeFromExtension () | |
setUp () | |
testImproveTypeFromExtension ($ext, $oldMime, $expectedMime) | |
providerImproveTypeFromExtension More... | |
testOggRecognize () | |
Test to make sure that encoder=ffmpeg2theora doesn't trigger MEDIATYPE_VIDEO (bug 63584) More... | |
Private Attributes | |
MimeMagic | $mimeMagic |
Definition at line 2 of file MimeMagicTest.php.
MimeMagicTest::providerImproveTypeFromExtension | ( | ) |
Definition at line 23 of file MimeMagicTest.php.
MimeMagicTest::setUp | ( | ) |
Definition at line 7 of file MimeMagicTest.php.
References MimeMagic\singleton().
MimeMagicTest::testImproveTypeFromExtension | ( | $ext, | |
$oldMime, | |||
$expectedMime | |||
) |
providerImproveTypeFromExtension
string | $ext | File extension (no leading dot) |
string | $oldMime | Initially detected MIME |
string | $expectedMime | MIME type after taking extension into account |
Definition at line 18 of file MimeMagicTest.php.
References $ext.
MimeMagicTest::testOggRecognize | ( | ) |
Test to make sure that encoder=ffmpeg2theora doesn't trigger MEDIATYPE_VIDEO (bug 63584)
Definition at line 46 of file MimeMagicTest.php.
References MEDIATYPE_AUDIO.
|
private |
Definition at line 5 of file MimeMagicTest.php.