‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest:

Public Member Functions

 fromCropScaleValuesTest (int $incomingWidth, int $incomingHeight, string $width, string $height, array $options, bool $allowUpscaling, ImageProcessingInstructions $expected)
 

Public Attributes

$result height = 120
 
$result originalWidth = 150
 
$result originalHeight = 0
 
 yield
 
 $result = new ImageProcessingInstructions()
 
$result width = 100
 
$result useCropScaling = true
 
$result cropArea = new Area(50, 800, 19.5, 0)
 

Static Public Attributes

static iterable< function fromCropScaleValuesImageDataProvider():iterable { $result=new ImageProcessingInstructions();$result-> width = 150
 

Detailed Description

Definition at line 26 of file ImageProcessingInstructionsTest.php.

Member Function Documentation

◆ fromCropScaleValuesTest()

TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::fromCropScaleValuesTest ( int  $incomingWidth,
int  $incomingHeight,
string  $width,
string  $height,
array  $options,
bool  $allowUpscaling,
ImageProcessingInstructions  $expected 
)

Member Data Documentation

◆ $result

TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::$result = new ImageProcessingInstructions()

◆ cropArea

$result TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::cropArea = new Area(50, 800, 19.5, 0)

Definition at line 220 of file ImageProcessingInstructionsTest.php.

◆ height

$result TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::height = 120

Definition at line 38 of file ImageProcessingInstructionsTest.php.

◆ originalHeight

$result TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::originalHeight = 0

Definition at line 40 of file ImageProcessingInstructionsTest.php.

◆ originalWidth

$result TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::originalWidth = 150

Definition at line 39 of file ImageProcessingInstructionsTest.php.

◆ useCropScaling

$result TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::useCropScaling = true

Definition at line 219 of file ImageProcessingInstructionsTest.php.

◆ width [1/2]

$result TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::width = 150
static
Returns
‪iterable< string, array{int<0, max>, int<0, max>, string, string, array, bool, ImageProcessingInstructions} >

Definition at line 37 of file ImageProcessingInstructionsTest.php.

◆ width [2/2]

$result TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::width = 100

Definition at line 52 of file ImageProcessingInstructionsTest.php.

◆ yield

TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest::yield
Initial value:
=> [
170,
136,
'150',
'',
[],
true,
]

Definition at line 41 of file ImageProcessingInstructionsTest.php.

‪TYPO3\CMS\Core\Tests\Unit\Imaging\ImageProcessingInstructionsTest\$result
‪$result
Definition: ImageProcessingInstructionsTest.php:51