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

Public Member Functions

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

Protected Member Functions

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

Testcases for Md5Salt

Definition at line 22 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 128 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 158 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 173 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 192 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 143 of file Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

createdSaltedHashOfProperStructure ( )
Test:

Definition at line 99 of file Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ( )
emptyPasswordResultsInNullSaltedPassword ( )
Test:

Definition at line 81 of file Md5SaltTest.php.

hasCorrectBaseClass ( )
Test:

Definition at line 60 of file Md5SaltTest.php.

nonEmptyPasswordResultsInNonNullSaltedPassword ( )
Test:

Definition at line 90 of file Md5SaltTest.php.

References Md5SaltTest\getWarningWhenMethodUnavailable().

nonZeroSaltLength ( )
Test:

Definition at line 73 of file Md5SaltTest.php.

noUpdateNecessityForMd5 ( )
Test:

Definition at line 243 of file Md5SaltTest.php.

passwordVariationsResultInDifferentHashes ( )
setUp ( )
protected

Sets up the fixtures for this testcase.

Returns
void

Definition at line 36 of file Md5SaltTest.php.

Member Data Documentation

$objectInstance = null
protected

Definition at line 29 of file Md5SaltTest.php.