PHP Class Hackzilla\PasswordGenerator\Tests\Generator\HumanPasswordGeneratorTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: hackzilla/password-generator

Méthodes publiques

Méthode Description
fixedPasswordsProvider ( )
getEmptyWordList ( ) : string
getSimpleWordList ( ) : string
lengthExceptionProvider ( ) : array
lengthProvider ( ) : array
setup ( )
testEmptyException ( )
testGeneratePassword ( $length )
testGeneratePasswordException ( )
testGeneratePasswordFixedLength ( $length )
testGeneratePasswordImpossiblePasswordLengthException ( )
testGeneratePasswordWithSeparator ( $length )
testGeneratePasswords ( $length )
testGenerateWordList ( )
testGetPasswordLength ( )
testLengthException ( $length )
testMaxWordLength ( )
testMinWordLength ( )
testRandomWord ( )
testRandomWordException ( )
testUnknownWordList ( )
testWordCount ( )
testWordList ( )
testWordListException ( )
testWordSeparator ( )

Private Methods

Méthode Description
makePassword ( $word, $length, $separator ) : string

Method Details

fixedPasswordsProvider() public méthode

getEmptyWordList() public méthode

public getEmptyWordList ( ) : string
Résultat string

getSimpleWordList() public méthode

public getSimpleWordList ( ) : string
Résultat string

lengthExceptionProvider() public méthode

public lengthExceptionProvider ( ) : array
Résultat array

lengthProvider() public méthode

public lengthProvider ( ) : array
Résultat array

setup() public méthode

public setup ( )

testEmptyException() public méthode

public testEmptyException ( )

testGeneratePassword() public méthode

public testGeneratePassword ( $length )
$length

testGeneratePasswordException() public méthode

testGeneratePasswordFixedLength() public méthode

public testGeneratePasswordFixedLength ( $length )
$length

testGeneratePasswordImpossiblePasswordLengthException() public méthode

testGeneratePasswordWithSeparator() public méthode

public testGeneratePasswordWithSeparator ( $length )
$length

testGeneratePasswords() public méthode

public testGeneratePasswords ( $length )
$length

testGenerateWordList() public méthode

testGetPasswordLength() public méthode

testLengthException() public méthode

public testLengthException ( $length )

testMaxWordLength() public méthode

public testMaxWordLength ( )

testMinWordLength() public méthode

public testMinWordLength ( )

testRandomWord() public méthode

public testRandomWord ( )

testRandomWordException() public méthode

testUnknownWordList() public méthode

public testUnknownWordList ( )

testWordCount() public méthode

public testWordCount ( )

testWordList() public méthode

public testWordList ( )

testWordListException() public méthode

testWordSeparator() public méthode

public testWordSeparator ( )