MediaWiki  REL1_20
ExifRotationTest Class Reference

Tests related to auto rotation. More...

Inheritance diagram for ExifRotationTest:
Collaboration diagram for ExifRotationTest:

List of all members.

Public Member Functions

 provideBitmapExtractPreRotationDimensions ()
 providerFiles ()
 providerFilesNoAutoRotate ()
 setUp ()
 tearDown ()
 testBitmapExtractPreRotationDimensions ($rotation, $expected)
 provideBitmapExtractPreRotationDimensions
 testMetadata ($name, $type, $info)
 providerFiles
 testMetadataNoAutoRotate ($name, $type, $info)
 Same as before, but with auto-rotation disabled.
 testRotationRendering ($name, $type, $info, $thumbs)
 providerFiles
 testRotationRenderingNoAutoRotate ($name, $type, $info, $thumbs)
 providerFilesNoAutoRotate

Public Attributes

const TEST_HEIGHT = 200
const TEST_WIDTH = 100

Private Member Functions

 dataFile ($name, $type)

Detailed Description

Tests related to auto rotation.

Definition at line 6 of file ExifRotationTest.php.


Member Function Documentation

Definition at line 102 of file ExifRotationTest.php.

Reimplemented from MediaWikiTestCase.

Definition at line 36 of file ExifRotationTest.php.

provideBitmapExtractPreRotationDimensions

Definition at line 231 of file ExifRotationTest.php.

References $result.

ExifRotationTest::testMetadata ( name,
type,
info 
)

providerFiles

Definition at line 48 of file ExifRotationTest.php.

References $file, BitmapHandler\canRotate(), and dataFile().

ExifRotationTest::testMetadataNoAutoRotate ( name,
type,
info 
)

Same as before, but with auto-rotation disabled.

providerFilesNoAutoRotate

Definition at line 139 of file ExifRotationTest.php.

References $file, and dataFile().

ExifRotationTest::testRotationRendering ( name,
type,
info,
thumbs 
)
ExifRotationTest::testRotationRenderingNoAutoRotate ( name,
type,
info,
thumbs 
)

providerFilesNoAutoRotate

Definition at line 154 of file ExifRotationTest.php.

References $file, $matches, $out, $params, $size, dataFile(), File\RENDER_FORCE, and File\RENDER_NOW.


Member Data Documentation

Definition at line 226 of file ExifRotationTest.php.

Definition at line 225 of file ExifRotationTest.php.


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