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

Public Member Functions

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

Static Public Member Functions

static galleryPositionDataProvider ()
 
static countDataProvider ()
 
static calculateMediaWidthsAndHeightsDataProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

ContentObjectRenderer &MockObject $contentObjectRenderer
 

Detailed Description

Definition at line 33 of file GalleryProcessorTest.php.

Member Function Documentation

◆ calculateMediaWidthsAndHeightsDataProvider()

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

Data provider for calculateMediaWidthsAndHeightsTest

Definition at line 269 of file GalleryProcessorTest.php.

◆ calculateMediaWidthsAndHeightsTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::calculateMediaWidthsAndHeightsTest ( array  $testFiles,
array  $processorConfiguration,
array  $expected 
)

Definition at line 431 of file GalleryProcessorTest.php.

◆ countDataProvider()

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

Count test data provider

Definition at line 195 of file GalleryProcessorTest.php.

◆ countResultTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::countResultTest ( int  $numberOfFiles,
array  $data,
array  $processorConfiguration,
array  $expected 
)

Definition at line 245 of file GalleryProcessorTest.php.

◆ galleryPositionDataProvider()

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

Gallery position test data provider

Definition at line 62 of file GalleryProcessorTest.php.

◆ galleryPositionTest()

TYPO3\CMS\Frontend\Tests\Unit\Processor\GalleryProcessorTest::galleryPositionTest ( array  $processorConfiguration,
array  $expected 
)

Definition at line 151 of file GalleryProcessorTest.php.

◆ maxGalleryWidthTest()

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

Definition at line 165 of file GalleryProcessorTest.php.

◆ maxGalleryWidthWhenInTextTest()

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

Definition at line 179 of file GalleryProcessorTest.php.

◆ processThrowsExceptionWhenFilesProcessedDataKeyIsNotFound()

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

Definition at line 46 of file GalleryProcessorTest.php.

◆ setUp()

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

Definition at line 37 of file GalleryProcessorTest.php.

Member Data Documentation

◆ $contentObjectRenderer

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

Definition at line 35 of file GalleryProcessorTest.php.