MediaWiki
1.28.0
|
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 | |
MimeAnalyzer | $mimeAnalyzer |
Definition at line 2 of file MimeAnalyzerTest.php.
MimeMagicTest::providerImproveTypeFromExtension | ( | ) |
Definition at line 34 of file MimeAnalyzerTest.php.
MimeMagicTest::setUp | ( | ) |
Definition at line 6 of file MimeAnalyzerTest.php.
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 29 of file MimeAnalyzerTest.php.
References $ext.
MimeMagicTest::testOggRecognize | ( | ) |
Test to make sure that encoder=ffmpeg2theora doesn't trigger MEDIATYPE_VIDEO (bug 63584)
Definition at line 57 of file MimeAnalyzerTest.php.
References MEDIATYPE_AUDIO.
|
private |
Definition at line 4 of file MimeAnalyzerTest.php.