TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
InstallToolFormProtectionTest Class Reference
Inheritance diagram for InstallToolFormProtectionTest:
UnitTestCase BaseTestCase

Public Member Functions

 tokenFromSessionDataIsAvailableForValidateToken ()
 
 persistSessionTokenWritesTokensToSession ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $subject
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase

Definition at line 20 of file InstallToolFormProtectionTest.php.

Member Function Documentation

persistSessionTokenWritesTokensToSession ( )
Test:

Definition at line 66 of file InstallToolFormProtectionTest.php.

setUp ( )
protected

Set up

Definition at line 30 of file InstallToolFormProtectionTest.php.

References BaseTestCase\getAccessibleMock().

tokenFromSessionDataIsAvailableForValidateToken ( )
Test:

Definition at line 45 of file InstallToolFormProtectionTest.php.

References GeneralUtility\hmac().

Member Data Documentation

$subject
protected

Definition at line 25 of file InstallToolFormProtectionTest.php.