PHP Class Hackzilla\PasswordGenerator\Tests\Generator\RequirementPasswordGeneratorTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: hackzilla/password-generator

Public Methods

Method 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 method

countValueExceptionProvider() public method

getterSetterProvider() public method

lengthExceptionProvider() public method

lengthProvider() public method

public lengthProvider ( ) : array
return array

minLengthProvider() public method

public minLengthProvider ( ) : array
return array

minMaxProvider() public method

public minMaxProvider ( )

optionProvider() public method

public optionProvider ( ) : array
return array

optionsProvider() public method

public optionsProvider ( ) : array
return array

setup() public method

public setup ( )

testAvoidSimilar() public method

public testAvoidSimilar ( )

testCharacterListException() public method

testCountOptionException() public method

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

testCountValueException() public method

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

testGeneratePassword() public method

public testGeneratePassword ( $length )
$length

testGeneratePasswordException() public method

testGeneratePasswordNegativeIntException() public method

testGeneratePasswordNonIntException() public method

testGetterSetters() public method

public testGetterSetters ( $method )
$method

testGetterSettersException() public method

public testGetterSettersException ( $method )
$method

testLength() public method

public testLength ( $length )
$length

testLengthException() public method

public testLengthException ( $param )
$param

testMaxPartialValidLimits() public method

testMinGeneratePassword() public method

public testMinGeneratePassword ( $length )
$length

testMinMax() public method

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

testMinPartialValidLimits() public method

testSetGet() public method

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

testSetMaximumCountException() public method

testSetMinimumCountException() public method

testSetOption() public method

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

testSetOptionSimilar() public method

testValidLimits() public method

public testValidLimits ( )

testValidLimitsFalse() public method

testValidLimitsMaxFalse() public method

testValidOption() public method

public testValidOption ( $option, $valid )

testValidatePassword() public method

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

testvalidLimitsFalse2() public method

validOptionProvider() public method

public validOptionProvider ( )

validatePasswordProvider() public method