MediaWiki  master
ExifBitmapTest Class Reference

Media. More...

Inheritance diagram for ExifBitmapTest:
Collaboration diagram for ExifBitmapTest:

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 ()
 
- Protected Member Functions inherited from MediaWikiMediaTestCase
 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
 
- Protected Attributes inherited from MediaWikiMediaTestCase
FSFileBackend $backend
 
string $filePath
 
FileRepo $repo
 

Detailed Description

Media.

Definition at line 6 of file ExifBitmapTest.php.

Member Function Documentation

◆ setUp()

ExifBitmapTest::setUp ( )
protected

Definition at line 13 of file ExifBitmapTest.php.

References handler.

◆ testConvertMetadataLatest()

ExifBitmapTest::testConvertMetadataLatest ( )

ExifBitmapHandler::convertMetadataVersion.

Definition at line 80 of file ExifBitmapTest.php.

References $res, and handler.

◆ testConvertMetadataSoftware()

ExifBitmapTest::testConvertMetadataSoftware ( )

ExifBitmapHandler::convertMetadataVersion.

Definition at line 114 of file ExifBitmapTest.php.

References $res, and handler.

◆ testConvertMetadataSoftwareNormal()

ExifBitmapTest::testConvertMetadataSoftwareNormal ( )

ExifBitmapHandler::convertMetadataVersion.

Definition at line 130 of file ExifBitmapTest.php.

References $res, and handler.

◆ testConvertMetadataToOld()

ExifBitmapTest::testConvertMetadataToOld ( )

ExifBitmapHandler::convertMetadataVersion.

Definition at line 92 of file ExifBitmapTest.php.

References $res, and handler.

◆ testGoodMetadata()

ExifBitmapTest::testGoodMetadata ( )

◆ testIsBrokenFile()

ExifBitmapTest::testIsBrokenFile ( )

◆ testIsInvalid()

ExifBitmapTest::testIsInvalid ( )

◆ testIsOldBroken()

ExifBitmapTest::testIsOldBroken ( )

◆ testIsOldGood()

ExifBitmapTest::testIsOldGood ( )

◆ testPagedTiffHandledGracefully()

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.

Member Data Documentation

◆ $handler

ExifBitmapHandler ExifBitmapTest::$handler
protected

Definition at line 11 of file ExifBitmapTest.php.


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