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

Public Member Functions

 hasCorrectBaseClass ()
 
 nonZeroSaltLength ()
 
 emptyPasswordResultsInNullSaltedPassword ()
 
 nonEmptyPasswordResultsInNonNullSaltedPassword ()
 
 createdSaltedHashOfProperStructure ()
 
 createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ()
 
 createdSaltedHashOfProperStructureForMinimumHashCount ()
 
 authenticationWithValidAlphaCharClassPassword ()
 
 authenticationWithValidNumericCharClassPassword ()
 
 authenticationWithValidAsciiSpecialCharClassPassword ()
 
 authenticationWithValidLatin1SpecialCharClassPassword ()
 
 authenticationWithValidLatin1UmlautCharClassPassword ()
 
 authenticationWithNonValidPassword ()
 
 passwordVariationsResultInDifferentHashes ()
 
 modifiedMinHashCount ()
 
 modifiedMaxHashCount ()
 
 modifiedHashCount ()
 
 updateNecessityForValidSaltedPassword ()
 
 updateNecessityForIncreasedHashcount ()
 
 updateNecessityForDecreasedHashcount ()
 

Protected Member Functions

 setUp ()
 
 skipTestIfBlowfishIsNotAvailable ()
 
- 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

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

Detailed Description

Testcase for BlowfishSalt

Definition at line 22 of file BlowfishSaltTest.php.

Member Function Documentation

authenticationWithNonValidPassword ( )
authenticationWithValidAlphaCharClassPassword ( )

Tests authentication procedure with alphabet characters.

Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.

Test:

Definition at line 144 of file BlowfishSaltTest.php.

References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().

authenticationWithValidAsciiSpecialCharClassPassword ( )

Tests authentication procedure with US-ASCII special characters.

Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.

Test:

Definition at line 176 of file BlowfishSaltTest.php.

References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().

authenticationWithValidLatin1SpecialCharClassPassword ( )

Tests authentication procedure with latin1 special characters.

Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.

Test:

Definition at line 192 of file BlowfishSaltTest.php.

References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().

authenticationWithValidLatin1UmlautCharClassPassword ( )

Tests authentication procedure with latin1 umlauts.

Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.

Test:

Definition at line 212 of file BlowfishSaltTest.php.

References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().

authenticationWithValidNumericCharClassPassword ( )

Tests authentication procedure with numeric characters.

Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.

Test:

Definition at line 160 of file BlowfishSaltTest.php.

References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().

createdSaltedHashOfProperStructure ( )
createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ( )
createdSaltedHashOfProperStructureForMinimumHashCount ( )
emptyPasswordResultsInNullSaltedPassword ( )
Test:

Definition at line 79 of file BlowfishSaltTest.php.

hasCorrectBaseClass ( )
Test:

Definition at line 58 of file BlowfishSaltTest.php.

modifiedHashCount ( )
Test:

Definition at line 290 of file BlowfishSaltTest.php.

modifiedMaxHashCount ( )
Test:

Definition at line 278 of file BlowfishSaltTest.php.

modifiedMinHashCount ( )
Test:

Definition at line 266 of file BlowfishSaltTest.php.

nonEmptyPasswordResultsInNonNullSaltedPassword ( )
nonZeroSaltLength ( )
Test:

Definition at line 71 of file BlowfishSaltTest.php.

passwordVariationsResultInDifferentHashes ( )
setUp ( )
protected

Sets up the fixtures for this testcase.

Returns
void

Definition at line 36 of file BlowfishSaltTest.php.

updateNecessityForDecreasedHashcount ( )
updateNecessityForIncreasedHashcount ( )
Test:

Definition at line 317 of file BlowfishSaltTest.php.

updateNecessityForValidSaltedPassword ( )

Member Data Documentation

$objectInstance = null
protected

Definition at line 29 of file BlowfishSaltTest.php.