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

Public Member Functions

 hasCorrectBaseClass ()
 
 nonZeroSaltLength ()
 
 emptyPasswordResultsInNullSaltedPassword ()
 
 nonEmptyPasswordResultsInNonNullSaltedPassword ()
 
 createdSaltedHashOfProperStructure ()
 
 createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ()
 
 authenticationWithValidAlphaCharClassPassword ()
 
 authenticationWithValidNumericCharClassPassword ()
 
 authenticationWithValidAsciiSpecialCharClassPassword ()
 
 authenticationWithValidLatin1SpecialCharClassPassword ()
 
 authenticationWithValidLatin1UmlautCharClassPassword ()
 
 authenticationWithNonValidPassword ()
 
 passwordVariationsResultInDifferentHashes ()
 
 noUpdateNecessityForMd5 ()
 

Protected Member Functions

 setUp ()
 
 getWarningWhenMethodUnavailable ()
 

Protected Attributes

 $objectInstance = null
 

Detailed Description

Testcases for Md5Salt

Definition at line 20 of file Md5SaltTest.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 124 of file Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

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 Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

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 Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

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 Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

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 Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

createdSaltedHashOfProperStructure ( )
Test:

Definition at line 95 of file Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ( )
emptyPasswordResultsInNullSaltedPassword ( )
Test:

Definition at line 77 of file Md5SaltTest.php.

getWarningWhenMethodUnavailable ( )
protected
hasCorrectBaseClass ( )
Test:

Definition at line 56 of file Md5SaltTest.php.

nonEmptyPasswordResultsInNonNullSaltedPassword ( )
Test:

Definition at line 86 of file Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

nonZeroSaltLength ( )
Test:

Definition at line 69 of file Md5SaltTest.php.

noUpdateNecessityForMd5 ( )
Test:

Definition at line 239 of file Md5SaltTest.php.

passwordVariationsResultInDifferentHashes ( )
setUp ( )
protected

Sets up the fixtures for this testcase.

Returns
void

Definition at line 34 of file Md5SaltTest.php.

Member Data Documentation

$objectInstance = null
protected

Definition at line 27 of file Md5SaltTest.php.