TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
PhpassSaltTest Class Reference
Inheritance diagram for PhpassSaltTest:
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 ()
 
- 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 PhpassSalt

Definition at line 22 of file PhpassSaltTest.php.

Member Function Documentation

authenticationWithNonValidPassword ( )
Test:

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

createdSaltedHashOfProperStructure ( )
Test:

Definition at line 85 of file PhpassSaltTest.php.

createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ( )
Test:

Definition at line 95 of file PhpassSaltTest.php.

createdSaltedHashOfProperStructureForMinimumHashCount ( )
Test:

Definition at line 109 of file PhpassSaltTest.php.

emptyPasswordResultsInNullSaltedPassword ( )
Test:

Definition at line 67 of file PhpassSaltTest.php.

hasCorrectBaseClass ( )
Test:

Definition at line 46 of file PhpassSaltTest.php.

modifiedHashCount ( )
Test:

Definition at line 267 of file PhpassSaltTest.php.

modifiedMaxHashCount ( )
Test:

Definition at line 255 of file PhpassSaltTest.php.

modifiedMinHashCount ( )
Test:

Definition at line 243 of file PhpassSaltTest.php.

nonEmptyPasswordResultsInNonNullSaltedPassword ( )
Test:

Definition at line 76 of file PhpassSaltTest.php.

nonZeroSaltLength ( )
Test:

Definition at line 59 of file PhpassSaltTest.php.

passwordVariationsResultInDifferentHashes ( )
Test:

Definition at line 222 of file PhpassSaltTest.php.

setUp ( )
protected

Sets up the fixtures for this testcase.

Returns
void

Definition at line 36 of file PhpassSaltTest.php.

updateNecessityForDecreasedHashcount ( )
Test:

Definition at line 308 of file PhpassSaltTest.php.

updateNecessityForIncreasedHashcount ( )
Test:

Definition at line 293 of file PhpassSaltTest.php.

updateNecessityForValidSaltedPassword ( )
Test:

Definition at line 283 of file PhpassSaltTest.php.

Member Data Documentation

$objectInstance = null
protected

Definition at line 29 of file PhpassSaltTest.php.