‪TYPO3CMS  ‪main
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 ()
 
 doesNotBreakOnImageInfoWithInvalidSvg (string $svg, int $width, int $height)
 
 canDetectImageSizes (string $file, int $width, int $height)
 

Static Public Member Functions

static doesNotBreakOnImageInfoWithInvalidSvgDataProvider ()
 
static canDetectImageSizesDataProvider ()
 

Protected Attributes

bool $resetSingletonInstances = true
 

Detailed Description

Definition at line 30 of file ImageInfoTest.php.

Member Function Documentation

◆ canDetectImageSizes()

TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::canDetectImageSizes ( string  $file,
int  $width,
int  $height 
)

Definition at line 137 of file ImageInfoTest.php.

◆ canDetectImageSizesDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::canDetectImageSizesDataProvider ( )
static

Definition at line 126 of file ImageInfoTest.php.

◆ classImageInfoCanBeInstantiated()

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

Definition at line 35 of file ImageInfoTest.php.

◆ doesNotBreakOnFileWithInvalidEnding()

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

Definition at line 43 of file ImageInfoTest.php.

◆ doesNotBreakOnImageInfoWithInvalidSvg()

TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::doesNotBreakOnImageInfoWithInvalidSvg ( string  $svg,
int  $width,
int  $height 
)

Definition at line 96 of file ImageInfoTest.php.

References $GLOBALS, and TYPO3\CMS\Core\Core\Environment\getVarPath().

◆ doesNotBreakOnImageInfoWithInvalidSvgDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::doesNotBreakOnImageInfoWithInvalidSvgDataProvider ( )
static

Definition at line 66 of file ImageInfoTest.php.

Member Data Documentation

◆ $resetSingletonInstances

bool TYPO3\CMS\Core\Tests\Unit\Type\File\ImageInfoTest::$resetSingletonInstances = true
protected

Definition at line 32 of file ImageInfoTest.php.