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

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

Protected Attributes

 $objectInstance = null
 

Detailed Description

Testcase for PhpassSalt

Definition at line 20 of file PhpassSaltTest.php.

Member Function Documentation

authenticationWithNonValidPassword ( )
Test:

Definition at line 207 of file PhpassSaltTest.php.

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 124 of file PhpassSaltTest.php.

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 154 of file PhpassSaltTest.php.

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 169 of file PhpassSaltTest.php.

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 188 of file PhpassSaltTest.php.

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 139 of file PhpassSaltTest.php.

createdSaltedHashOfProperStructure ( )
Test:

Definition at line 81 of file PhpassSaltTest.php.

createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ( )
Test:

Definition at line 91 of file PhpassSaltTest.php.

createdSaltedHashOfProperStructureForMinimumHashCount ( )
Test:

Definition at line 105 of file PhpassSaltTest.php.

emptyPasswordResultsInNullSaltedPassword ( )
Test:

Definition at line 63 of file PhpassSaltTest.php.

hasCorrectBaseClass ( )
Test:

Definition at line 42 of file PhpassSaltTest.php.

modifiedHashCount ( )
Test:

Definition at line 263 of file PhpassSaltTest.php.

modifiedMaxHashCount ( )
Test:

Definition at line 251 of file PhpassSaltTest.php.

modifiedMinHashCount ( )
Test:

Definition at line 239 of file PhpassSaltTest.php.

nonEmptyPasswordResultsInNonNullSaltedPassword ( )
Test:

Definition at line 72 of file PhpassSaltTest.php.

nonZeroSaltLength ( )
Test:

Definition at line 55 of file PhpassSaltTest.php.

passwordVariationsResultInDifferentHashes ( )
Test:

Definition at line 218 of file PhpassSaltTest.php.

setUp ( )
protected

Sets up the fixtures for this testcase.

Returns
void

Definition at line 34 of file PhpassSaltTest.php.

updateNecessityForDecreasedHashcount ( )
Test:

Definition at line 304 of file PhpassSaltTest.php.

updateNecessityForIncreasedHashcount ( )
Test:

Definition at line 289 of file PhpassSaltTest.php.

updateNecessityForValidSaltedPassword ( )
Test:

Definition at line 279 of file PhpassSaltTest.php.

Member Data Documentation

$objectInstance = null
protected

Definition at line 27 of file PhpassSaltTest.php.