PHP Class Hackzilla\PasswordGenerator\Tests\Generator\RequirementPasswordGeneratorTest

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

Méthodes publiques

Méthode Description
countOptionExceptionProvider ( )
countValueExceptionProvider ( )
getterSetterProvider ( )
lengthExceptionProvider ( )
lengthProvider ( ) : array
minLengthProvider ( ) : array
minMaxProvider ( )
optionProvider ( ) : array
optionsProvider ( ) : array
setup ( )
testAvoidSimilar ( )
testCharacterListException ( )
testCountOptionException ( $method, $option )
testCountValueException ( $method, $option )
testGeneratePassword ( $length )
testGeneratePasswordException ( )
testGeneratePasswordNegativeIntException ( )
testGeneratePasswordNonIntException ( )
testGetterSetters ( $method )
testGetterSettersException ( $method )
testLength ( $length )
testLengthException ( $param )
testMaxPartialValidLimits ( )
testMinGeneratePassword ( $length )
testMinMax ( $option, $count )
testMinPartialValidLimits ( )
testSetGet ( $option, $parameter )
testSetMaximumCountException ( )
testSetMinimumCountException ( )
testSetOption ( $option, $exists, $dontExist )
testSetOptionSimilar ( )
testValidLimits ( )
testValidLimitsFalse ( )
testValidLimitsMaxFalse ( )
testValidOption ( $option, $valid )
testValidatePassword ( $password, $option, $min, $max, $valid )
testvalidLimitsFalse2 ( )
validOptionProvider ( )
validatePasswordProvider ( )

Method Details

countOptionExceptionProvider() public méthode

countValueExceptionProvider() public méthode

getterSetterProvider() public méthode

lengthExceptionProvider() public méthode

lengthProvider() public méthode

public lengthProvider ( ) : array
Résultat array

minLengthProvider() public méthode

public minLengthProvider ( ) : array
Résultat array

minMaxProvider() public méthode

public minMaxProvider ( )

optionProvider() public méthode

public optionProvider ( ) : array
Résultat array

optionsProvider() public méthode

public optionsProvider ( ) : array
Résultat array

setup() public méthode

public setup ( )

testAvoidSimilar() public méthode

public testAvoidSimilar ( )

testCharacterListException() public méthode

testCountOptionException() public méthode

public testCountOptionException ( $method, $option )
$method
$option

testCountValueException() public méthode

public testCountValueException ( $method, $option )
$method
$option

testGeneratePassword() public méthode

public testGeneratePassword ( $length )
$length

testGeneratePasswordException() public méthode

testGeneratePasswordNegativeIntException() public méthode

testGeneratePasswordNonIntException() public méthode

testGetterSetters() public méthode

public testGetterSetters ( $method )
$method

testGetterSettersException() public méthode

public testGetterSettersException ( $method )
$method

testLength() public méthode

public testLength ( $length )
$length

testLengthException() public méthode

public testLengthException ( $param )
$param

testMaxPartialValidLimits() public méthode

testMinGeneratePassword() public méthode

public testMinGeneratePassword ( $length )
$length

testMinMax() public méthode

public testMinMax ( $option, $count )
$option
$count

testMinPartialValidLimits() public méthode

testSetGet() public méthode

public testSetGet ( $option, $parameter )
$option
$parameter

testSetMaximumCountException() public méthode

testSetMinimumCountException() public méthode

testSetOption() public méthode

public testSetOption ( $option, $exists, $dontExist )
$option
$exists
$dontExist

testSetOptionSimilar() public méthode

testValidLimits() public méthode

public testValidLimits ( )

testValidLimitsFalse() public méthode

testValidLimitsMaxFalse() public méthode

testValidOption() public méthode

public testValidOption ( $option, $valid )

testValidatePassword() public méthode

public testValidatePassword ( $password, $option, $min, $max, $valid )
$password
$option
$min
$max
$valid

testvalidLimitsFalse2() public méthode

validOptionProvider() public méthode

public validOptionProvider ( )

validatePasswordProvider() public méthode