MediaWiki
master
|
Media. More...
Public Member Functions | |
testConvertMetadataLatest () | |
ExifBitmapHandler::convertMetadataVersion. More... | |
testConvertMetadataSoftware () | |
ExifBitmapHandler::convertMetadataVersion. More... | |
testConvertMetadataSoftwareNormal () | |
ExifBitmapHandler::convertMetadataVersion. More... | |
testConvertMetadataToOld () | |
ExifBitmapHandler::convertMetadataVersion. More... | |
testGoodMetadata () | |
ExifBitmapHandler::isMetadataValid. More... | |
testIsBrokenFile () | |
ExifBitmapHandler::isMetadataValid. More... | |
testIsInvalid () | |
ExifBitmapHandler::isMetadataValid. More... | |
testIsOldBroken () | |
ExifBitmapHandler::isMetadataValid. More... | |
testIsOldGood () | |
ExifBitmapHandler::isMetadataValid. More... | |
testPagedTiffHandledGracefully () | |
Handle metadata from paged tiff handler (gotten via instant commons) gracefully. More... | |
Protected Member Functions | |
setUp () | |
![]() | |
createsThumbnails () | |
Will the test create thumbnails (and thus do we need to set aside a temporary directory for them?) More... | |
dataFile ( $name, $type=false) | |
Utility function: Get a new file object for a file on disk but not actually in db. More... | |
getFilePath () | |
The result of this method will set the file path to use, as well as the protected member $filePath. More... | |
getRepoOptions () | |
setUp () | |
Protected Attributes | |
ExifBitmapHandler | $handler |
![]() | |
FSFileBackend | $backend |
string | $filePath |
FileRepo | $repo |
Media.
Definition at line 6 of file ExifBitmapTest.php.
|
protected |
Definition at line 13 of file ExifBitmapTest.php.
References handler.
ExifBitmapTest::testConvertMetadataLatest | ( | ) |
ExifBitmapHandler::convertMetadataVersion.
Definition at line 80 of file ExifBitmapTest.php.
ExifBitmapTest::testConvertMetadataSoftware | ( | ) |
ExifBitmapHandler::convertMetadataVersion.
Definition at line 114 of file ExifBitmapTest.php.
ExifBitmapTest::testConvertMetadataSoftwareNormal | ( | ) |
ExifBitmapHandler::convertMetadataVersion.
Definition at line 130 of file ExifBitmapTest.php.
ExifBitmapTest::testConvertMetadataToOld | ( | ) |
ExifBitmapHandler::convertMetadataVersion.
Definition at line 92 of file ExifBitmapTest.php.
ExifBitmapTest::testGoodMetadata | ( | ) |
ExifBitmapHandler::isMetadataValid.
Definition at line 49 of file ExifBitmapTest.php.
References $res, handler, MediaHandler\METADATA_GOOD, and null.
ExifBitmapTest::testIsBrokenFile | ( | ) |
ExifBitmapHandler::isMetadataValid.
Definition at line 33 of file ExifBitmapTest.php.
References $res, ExifBitmapHandler\BROKEN_FILE, handler, MediaHandler\METADATA_GOOD, and null.
ExifBitmapTest::testIsInvalid | ( | ) |
ExifBitmapHandler::isMetadataValid.
Definition at line 41 of file ExifBitmapTest.php.
References $res, handler, MediaHandler\METADATA_BAD, and null.
ExifBitmapTest::testIsOldBroken | ( | ) |
ExifBitmapHandler::isMetadataValid.
Definition at line 25 of file ExifBitmapTest.php.
References $res, handler, MediaHandler\METADATA_COMPATIBLE, null, and ExifBitmapHandler\OLD_BROKEN_FILE.
ExifBitmapTest::testIsOldGood | ( | ) |
ExifBitmapHandler::isMetadataValid.
Definition at line 59 of file ExifBitmapTest.php.
References $res, handler, MediaHandler\METADATA_COMPATIBLE, and null.
ExifBitmapTest::testPagedTiffHandledGracefully | ( | ) |
Handle metadata from paged tiff handler (gotten via instant commons) gracefully.
ExifBitmapHandler::isMetadataValid
Definition at line 70 of file ExifBitmapTest.php.
References $res, handler, MediaHandler\METADATA_BAD, and null.
|
protected |
Definition at line 11 of file ExifBitmapTest.php.