‪TYPO3CMS  ‪main
TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest:

Public Member Functions

 setUp ()
 
 renderThrowsExceptionOnInvalidArguments (string $template, int $expectedExceptionCode, string $message)
 
 renderThrowsExceptionWithContentObjectPresentOnInvalidArguments (string $template, int $expectedExceptionCode, string $message)
 
 basicUsageScalingCropping (string $template, string $expected, int $expectedWidth, int $expectedHeight)
 
 cropVariant (string $template, string $expected, int $expectedWidth, int $expectedHeight)
 
 tagAttributes (string $template, string $expected)
 
 fileExtensionArgument ()
 
 absoluteArgument ()
 
 focusAreaAttribute ()
 

Static Public Member Functions

static invalidArgumentsDataProvider ()
 
static invalidArgumentsWithContentObjectPresentDataProvider ()
 
static basicUsageScalingCroppingDataProvider ()
 
static cropVariantDataProvider ()
 
static tagAttributesDataProvider ()
 

Protected Attributes

array $pathsToProvideInTestInstance
 

Detailed Description

Definition at line 37 of file ImageViewHelperTest.php.

Member Function Documentation

◆ absoluteArgument()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::absoluteArgument ( )

Definition at line 414 of file ImageViewHelperTest.php.

◆ basicUsageScalingCropping()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::basicUsageScalingCropping ( string  $template,
string  $expected,
int  $expectedWidth,
int  $expectedHeight 
)

Definition at line 265 of file ImageViewHelperTest.php.

◆ basicUsageScalingCroppingDataProvider()

static TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::basicUsageScalingCroppingDataProvider ( )
static

Definition at line 155 of file ImageViewHelperTest.php.

◆ cropVariant()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::cropVariant ( string  $template,
string  $expected,
int  $expectedWidth,
int  $expectedHeight 
)

Definition at line 322 of file ImageViewHelperTest.php.

◆ cropVariantDataProvider()

static TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::cropVariantDataProvider ( )
static

Definition at line 280 of file ImageViewHelperTest.php.

◆ fileExtensionArgument()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::fileExtensionArgument ( )

Definition at line 403 of file ImageViewHelperTest.php.

◆ focusAreaAttribute()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::focusAreaAttribute ( )

◆ invalidArgumentsDataProvider()

static TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::invalidArgumentsDataProvider ( )
static

Definition at line 49 of file ImageViewHelperTest.php.

◆ invalidArgumentsWithContentObjectPresentDataProvider()

static TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::invalidArgumentsWithContentObjectPresentDataProvider ( )
static

Definition at line 98 of file ImageViewHelperTest.php.

◆ renderThrowsExceptionOnInvalidArguments()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::renderThrowsExceptionOnInvalidArguments ( string  $template,
int  $expectedExceptionCode,
string  $message 
)

Definition at line 87 of file ImageViewHelperTest.php.

◆ renderThrowsExceptionWithContentObjectPresentOnInvalidArguments()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::renderThrowsExceptionWithContentObjectPresentOnInvalidArguments ( string  $template,
int  $expectedExceptionCode,
string  $message 
)

◆ setUp()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::setUp ( )

Definition at line 43 of file ImageViewHelperTest.php.

◆ tagAttributes()

TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::tagAttributes ( string  $template,
string  $expected 
)

Definition at line 394 of file ImageViewHelperTest.php.

◆ tagAttributesDataProvider()

static TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::tagAttributesDataProvider ( )
static

Definition at line 344 of file ImageViewHelperTest.php.

Member Data Documentation

◆ $pathsToProvideInTestInstance

array TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\ImageViewHelperTest::$pathsToProvideInTestInstance
protected
Initial value:
= [
'typo3/sysext/fluid/Tests/Functional/Fixtures/ViewHelpers/ImageViewHelper/Folders/fileadmin/' => 'fileadmin/',
]

Definition at line 39 of file ImageViewHelperTest.php.