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

Public Member Functions

 cacheHashCalculationWorks ($params, $expected)
 
 cacheHashCalculationDataprovider ()
 
 getRelevantParametersWorks ($params, $expected)
 
 getRelevantParametersDataprovider ()
 
 canGenerateForParameters ($params, $expected)
 
 canGenerateForParametersDataprovider ()
 
 parametersRequireCacheHashWorks ($params, $expected)
 
 parametersRequireCacheHashDataprovider ()
 
 canWhitelistParameters ($params, $expected)
 
 canWhitelistParametersDataprovider ()
 
 canSkipParametersWithEmptyValues ($params, $settings, $expected)
 
 canSkipParametersWithEmptyValuesDataprovider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $subject
 
 $confCache = array()
 

Detailed Description

Testcase

Definition at line 20 of file CacheHashCalculatorTest.php.

Member Function Documentation

cacheHashCalculationDataprovider ( )
Returns
array

Definition at line 60 of file CacheHashCalculatorTest.php.

cacheHashCalculationWorks (   $params,
  $expected 
)

cacheHashCalculationDataprovider

Test:

Definition at line 52 of file CacheHashCalculatorTest.php.

canGenerateForParameters (   $params,
  $expected 
)

canGenerateForParametersDataprovider

Test:

Definition at line 125 of file CacheHashCalculatorTest.php.

canGenerateForParametersDataprovider ( )
Returns
array

Definition at line 133 of file CacheHashCalculatorTest.php.

canSkipParametersWithEmptyValues (   $params,
  $settings,
  $expected 
)

canSkipParametersWithEmptyValuesDataprovider

Test:

Definition at line 208 of file CacheHashCalculatorTest.php.

canSkipParametersWithEmptyValuesDataprovider ( )
Returns
array

Definition at line 218 of file CacheHashCalculatorTest.php.

canWhitelistParameters (   $params,
  $expected 
)

In case the cHashOnlyForParameters is set, other parameters should not incluence the cHash (except the encryption key of course)

canWhitelistParametersDataprovider

Test:

Definition at line 180 of file CacheHashCalculatorTest.php.

canWhitelistParametersDataprovider ( )
Returns
array

Definition at line 191 of file CacheHashCalculatorTest.php.

getRelevantParametersDataprovider ( )
Returns
array

Definition at line 98 of file CacheHashCalculatorTest.php.

getRelevantParametersWorks (   $params,
  $expected 
)

getRelevantParametersDataprovider

Test:

Definition at line 89 of file CacheHashCalculatorTest.php.

parametersRequireCacheHashDataprovider ( )
Returns
array

Definition at line 162 of file CacheHashCalculatorTest.php.

parametersRequireCacheHashWorks (   $params,
  $expected 
)

parametersRequireCacheHashDataprovider

Test:

Definition at line 154 of file CacheHashCalculatorTest.php.

setUp ( )
protected

Definition at line 32 of file CacheHashCalculatorTest.php.

References $GLOBALS.

Member Data Documentation

$confCache = array()
protected

Definition at line 30 of file CacheHashCalculatorTest.php.

$subject
protected

Definition at line 25 of file CacheHashCalculatorTest.php.