PHP Class Neos\Media\Tests\Unit\Domain\Model\Adjustment\ResizeImageAdjustmentTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/neos-development-collection

Méthodes publiques

Méthode Description
combinationsOfMaximumAndMinimumWidthAndHeightAreCalculatedCorrectly ( $width, $maximumWidth, $height, $maximumHeight, $expectedWidth, $expectedHeight, $ratioMode, $allowUpScaling )
ifHeightIsSetWidthIsDeterminedByTheOriginalAspectRatio ( )
ifWidthIsSetHeightIsDeterminedByTheOriginalAspectRatio ( )
minimumAndMaximumDimensions ( ) : array Data provider for the test below
minimumHeightIsGreaterZero ( )
minimumWidthIsGreaterZero ( )
widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithInsetMode ( )
widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithOutboundMode ( )

Method Details

combinationsOfMaximumAndMinimumWidthAndHeightAreCalculatedCorrectly() public méthode

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

ifHeightIsSetWidthIsDeterminedByTheOriginalAspectRatio() public méthode

ifWidthIsSetHeightIsDeterminedByTheOriginalAspectRatio() public méthode

minimumAndMaximumDimensions() public méthode

Data provider for the test below
public minimumAndMaximumDimensions ( ) : array
Résultat array

minimumHeightIsGreaterZero() public méthode

minimumWidthIsGreaterZero() public méthode

widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithInsetMode() public méthode

widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithOutboundMode() public méthode