‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest:

Public Member Functions

 classImageInfoCanBeInstantiated ()
 
 doesNotBreakOnFileWithInvalidEnding ()
 
array doesNotBreakOnImageInfoWithInvalidSvgDataProvider ()
 
 doesNotBreakOnImageInfoWithInvalidSvg (string $svg, int $width, int $height)
 
array canDetectImageSizesDataProvider ()
 
 canDetectImageSizes (string $file, int $width, int $height)
 

Detailed Description

Test case

Definition at line 32 of file ImageInfoTest.php.

Member Function Documentation

◆ canDetectImageSizes()

TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::canDetectImageSizes ( string  $file,
int  $width,
int  $height 
)
Test:
‪@dataProvider canDetectImageSizesDataProvider
Parameters
string$file
int$width
int$height

Definition at line 159 of file ImageInfoTest.php.

◆ canDetectImageSizesDataProvider()

array TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::canDetectImageSizesDataProvider ( )
Returns
‪array

Definition at line 143 of file ImageInfoTest.php.

◆ classImageInfoCanBeInstantiated()

TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::classImageInfoCanBeInstantiated ( )
Test:

Definition at line 38 of file ImageInfoTest.php.

◆ doesNotBreakOnFileWithInvalidEnding()

TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::doesNotBreakOnFileWithInvalidEnding ( )
Test:

Definition at line 48 of file ImageInfoTest.php.

◆ doesNotBreakOnImageInfoWithInvalidSvg()

TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::doesNotBreakOnImageInfoWithInvalidSvg ( string  $svg,
int  $width,
int  $height 
)
Test:
‪@dataProvider doesNotBreakOnImageInfoWithInvalidSvgDataProvider
Parameters
string$svg
int$width
int$height

Definition at line 111 of file ImageInfoTest.php.

References $GLOBALS.

◆ doesNotBreakOnImageInfoWithInvalidSvgDataProvider()

array TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::doesNotBreakOnImageInfoWithInvalidSvgDataProvider ( )
Returns
‪array

Definition at line 76 of file ImageInfoTest.php.