TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GalleryProcessorTest Class Reference
Inheritance diagram for GalleryProcessorTest:

Public Member Functions

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

Protected Member Functions

 setUp ()
 

Protected Attributes

 $contentObjectRenderer
 

Detailed Description

Tests for GalleryProcessor

Definition at line 24 of file GalleryProcessorTest.php.

Member Function Documentation

calculateMediaWidthsAndHeightsDataProvider ( )

Data provider for calculateMediaWidthsAndHeightsTest

Returns
array

Definition at line 275 of file GalleryProcessorTest.php.

calculateMediaWidthsAndHeightsTest (   $testFiles,
  $processorConfiguration,
  $expected 
)
Test:
calculateMediaWidthsAndHeightsDataProvider

Definition at line 439 of file GalleryProcessorTest.php.

countDataProvider ( )

Count test data provider

Returns
array

Definition at line 200 of file GalleryProcessorTest.php.

countResultTest (   $numberOfFiles,
  $data,
  $processorConfiguration,
  $expected 
)
Test:
countDataProvider

Definition at line 252 of file GalleryProcessorTest.php.

galleryPositionDataProvider ( )

Gallery position test data provider

Definition at line 60 of file GalleryProcessorTest.php.

galleryPositionTest (   $processorConfiguration,
  $expected 
)
Test:
galleryPositionDataProvider

Definition at line 151 of file GalleryProcessorTest.php.

maxGalleryWidthTest ( )
Test:

Definition at line 167 of file GalleryProcessorTest.php.

maxGalleryWidthWhenInTextTest ( )
Test:

Definition at line 183 of file GalleryProcessorTest.php.

processThrowsExceptionWhenFilesProcessedDataKeyIsNotFound ( )
Test:

Definition at line 46 of file GalleryProcessorTest.php.

setUp ( )
protected

Set up

Definition at line 34 of file GalleryProcessorTest.php.

Member Data Documentation

$contentObjectRenderer
protected

Definition at line 29 of file GalleryProcessorTest.php.