‪TYPO3CMS  11.5
TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest:

Public Member Functions

 processThrowsExceptionWhenFilesProcessedDataKeyIsNotFound ()
 
 galleryPositionDataProvider ()
 
 galleryPositionTest ($processorConfiguration, $expected)
 
 maxGalleryWidthTest ()
 
 maxGalleryWidthWhenInTextTest ()
 
array countDataProvider ()
 
 countResultTest ($numberOfFiles, $data, $processorConfiguration, $expected)
 
array calculateMediaWidthsAndHeightsDataProvider ()
 
 calculateMediaWidthsAndHeightsTest ($testFiles, $processorConfiguration, $expected)
 

Protected Member Functions

 setUp ()
 

Protected Attributes

MockObject $contentObjectRenderer
 

Detailed Description

Tests for GalleryProcessor

Definition at line 30 of file GalleryProcessorTest.php.

Member Function Documentation

◆ calculateMediaWidthsAndHeightsDataProvider()

array TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::calculateMediaWidthsAndHeightsDataProvider ( )

Data provider for calculateMediaWidthsAndHeightsTest

Returns
‪array

Definition at line 282 of file GalleryProcessorTest.php.

◆ calculateMediaWidthsAndHeightsTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::calculateMediaWidthsAndHeightsTest (   $testFiles,
  $processorConfiguration,
  $expected 
)
Test:
‪@dataProvider calculateMediaWidthsAndHeightsDataProvider

Definition at line 446 of file GalleryProcessorTest.php.

◆ countDataProvider()

array TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::countDataProvider ( )

Count test data provider

Returns
‪array

Definition at line 207 of file GalleryProcessorTest.php.

◆ countResultTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::countResultTest (   $numberOfFiles,
  $data,
  $processorConfiguration,
  $expected 
)
Test:
‪@dataProvider countDataProvider

Definition at line 259 of file GalleryProcessorTest.php.

◆ galleryPositionDataProvider()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::galleryPositionDataProvider ( )

Gallery position test data provider

Definition at line 67 of file GalleryProcessorTest.php.

◆ galleryPositionTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::galleryPositionTest (   $processorConfiguration,
  $expected 
)
Test:
‪@dataProvider galleryPositionDataProvider

Definition at line 158 of file GalleryProcessorTest.php.

◆ maxGalleryWidthTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::maxGalleryWidthTest ( )
Test:

Definition at line 174 of file GalleryProcessorTest.php.

◆ maxGalleryWidthWhenInTextTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::maxGalleryWidthWhenInTextTest ( )
Test:

Definition at line 190 of file GalleryProcessorTest.php.

◆ processThrowsExceptionWhenFilesProcessedDataKeyIsNotFound()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::processThrowsExceptionWhenFilesProcessedDataKeyIsNotFound ( )
Test:

Definition at line 51 of file GalleryProcessorTest.php.

◆ setUp()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::setUp ( )
protected

Set up

Definition at line 40 of file GalleryProcessorTest.php.

Member Data Documentation

◆ $contentObjectRenderer

MockObject TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::$contentObjectRenderer
protected

Definition at line 35 of file GalleryProcessorTest.php.