‪TYPO3CMS  9.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

ContentObjectRenderer PHPUnit_Framework_MockObject_MockObject $contentObjectRenderer
 

Detailed Description

Tests for GalleryProcessor

Definition at line 26 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 276 of file GalleryProcessorTest.php.

◆ calculateMediaWidthsAndHeightsTest()

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

Definition at line 440 of file GalleryProcessorTest.php.

◆ countDataProvider()

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

Count test data provider

Returns
‪array

Definition at line 201 of file GalleryProcessorTest.php.

◆ countResultTest()

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

Definition at line 253 of file GalleryProcessorTest.php.

◆ galleryPositionDataProvider()

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

Gallery position test data provider

Definition at line 61 of file GalleryProcessorTest.php.

◆ galleryPositionTest()

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

Definition at line 152 of file GalleryProcessorTest.php.

◆ maxGalleryWidthTest()

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

Definition at line 168 of file GalleryProcessorTest.php.

◆ maxGalleryWidthWhenInTextTest()

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

Definition at line 184 of file GalleryProcessorTest.php.

◆ processThrowsExceptionWhenFilesProcessedDataKeyIsNotFound()

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

Definition at line 45 of file GalleryProcessorTest.php.

◆ setUp()

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

Set up

Definition at line 35 of file GalleryProcessorTest.php.

Member Data Documentation

◆ $contentObjectRenderer

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

Definition at line 30 of file GalleryProcessorTest.php.