PHP 클래스 Neos\Media\Tests\Unit\Domain\Model\Adjustment\ResizeImageAdjustmentTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/neos-development-collection

공개 메소드들

메소드 설명
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

minimumHeightIsGreaterZero() 공개 메소드

minimumWidthIsGreaterZero() 공개 메소드

widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithInsetMode() 공개 메소드

widthAndHeightDeterminedByExplicitlySetWidthAndHeightWithOutboundMode() 공개 메소드