PHP Класс Neos\Media\Tests\Unit\Domain\Model\Adjustment\ResizeImageAdjustmentTest

Наследование: extends Neos\Flow\Tests\UnitTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
combinationsOfMaximumAndMinimumWidthAndHeightAreCalculatedCorrectly ( $width, $maximumWidth, $height, $maximumHeight, $expectedWidth, $expectedHeight, $ratioMode, $allowUpScaling )
ifHeightIsSetWidthIsDeterminedByTheOriginalAspectRatio ( )
ifWidthIsSetHeightIsDeterminedByTheOriginalAspectRatio ( )
minimumAndMaximumDimensions ( ) : array Data provider for the test below
minimumHeightIsGreaterZero ( )
minimumWidthIsGreaterZero ( )
widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithInsetMode ( )
widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithOutboundMode ( )

Описание методов

combinationsOfMaximumAndMinimumWidthAndHeightAreCalculatedCorrectly() публичный Метод

public combinationsOfMaximumAndMinimumWidthAndHeightAreCalculatedCorrectly ( $width, $maximumWidth, $height, $maximumHeight, $expectedWidth, $expectedHeight, $ratioMode, $allowUpScaling )

ifHeightIsSetWidthIsDeterminedByTheOriginalAspectRatio() публичный Метод

ifWidthIsSetHeightIsDeterminedByTheOriginalAspectRatio() публичный Метод

minimumAndMaximumDimensions() публичный Метод

Data provider for the test below
public minimumAndMaximumDimensions ( ) : array
Результат array

minimumHeightIsGreaterZero() публичный Метод

minimumWidthIsGreaterZero() публичный Метод

widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithInsetMode() публичный Метод

widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithOutboundMode() публичный Метод