‪TYPO3CMS  11.5
TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest:

Public Member Functions

 fileIsUnwrappedFromReferenceForProcessing ()
 
array prefixIsCorrectlyAppliedToGetImageUriDataProvider ()
 
 prefixIsCorrectlyAppliedToGetImageUri ($imageUri, $expected)
 
array prefixIsCorrectlyAppliedToGetImageUriWithAbsolutePathDataProvider ()
 
 prefixIsCorrectlyAppliedToGetImageUriWithForcedAbsoluteUrl ($imageUri, $expected)
 

Protected Member Functions

 setUp ()
 

Protected Attributes

bool $resetSingletonInstances = true
 
ImageService $subject
 

Detailed Description

Test case

Definition at line 32 of file ImageScriptServiceTest.php.

Member Function Documentation

◆ fileIsUnwrappedFromReferenceForProcessing()

TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::fileIsUnwrappedFromReferenceForProcessing ( )
Test:

Definition at line 54 of file ImageScriptServiceTest.php.

◆ prefixIsCorrectlyAppliedToGetImageUri()

TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::prefixIsCorrectlyAppliedToGetImageUri (   $imageUri,
  $expected 
)
Test:
‪@dataProvider prefixIsCorrectlyAppliedToGetImageUriDataProvider

Definition at line 83 of file ImageScriptServiceTest.php.

References $GLOBALS, and TYPO3\CMS\Core\Core\SystemEnvironmentBuilder\REQUESTTYPE_FE.

◆ prefixIsCorrectlyAppliedToGetImageUriDataProvider()

array TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::prefixIsCorrectlyAppliedToGetImageUriDataProvider ( )
Returns
‪array

Definition at line 70 of file ImageScriptServiceTest.php.

◆ prefixIsCorrectlyAppliedToGetImageUriWithAbsolutePathDataProvider()

array TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::prefixIsCorrectlyAppliedToGetImageUriWithAbsolutePathDataProvider ( )
Returns
‪array

Definition at line 99 of file ImageScriptServiceTest.php.

◆ prefixIsCorrectlyAppliedToGetImageUriWithForcedAbsoluteUrl()

TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::prefixIsCorrectlyAppliedToGetImageUriWithForcedAbsoluteUrl (   $imageUri,
  $expected 
)
Test:
‪@dataProvider prefixIsCorrectlyAppliedToGetImageUriWithAbsolutePathDataProvider

Definition at line 112 of file ImageScriptServiceTest.php.

References $GLOBALS, and TYPO3\CMS\Core\Core\SystemEnvironmentBuilder\REQUESTTYPE_FE.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::setUp ( )
protected

Initialize ImageService and environment service mock

Definition at line 43 of file ImageScriptServiceTest.php.

Member Data Documentation

◆ $resetSingletonInstances

bool TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::$resetSingletonInstances = true
protected

Reset singletons created by subject

Definition at line 36 of file ImageScriptServiceTest.php.

◆ $subject

ImageService TYPO3\CMS\Extbase\Tests\Unit\Service\ImageScriptServiceTest::$subject
protected

Definition at line 38 of file ImageScriptServiceTest.php.