PHP Class Hackzilla\PasswordGenerator\Tests\Generator\HybridPasswordGeneratorTest

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

Public Methods

Method Description
lengthProvider ( )
optionsProvider ( ) : array
passwordProvider ( )
segmentProvider ( )
setup ( )
testCharacterListException ( )
testGeneratePassword ( $segmentLength, $segmentCount, $segmentSeparator, $regExp )
testSetGet ( $option, $parameter )
testSetLength ( $length )
testSetSegmentCount ( $count )
testSetSegmentCountException ( )
testSetSegmentLength ( $length )
testSetSegmentLengthException ( )
testSetSegmentSeparator ( $separator )
testSetSegmentSeparatorException ( )

Method Details

lengthProvider() public method

public lengthProvider ( )

optionsProvider() public method

public optionsProvider ( ) : array
return array

passwordProvider() public method

public passwordProvider ( )

segmentProvider() public method

public segmentProvider ( )

setup() public method

public setup ( )

testCharacterListException() public method

testGeneratePassword() public method

public testGeneratePassword ( $segmentLength, $segmentCount, $segmentSeparator, $regExp )
$segmentLength
$segmentCount
$segmentSeparator
$regExp

testSetGet() public method

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

testSetLength() public method

public testSetLength ( $length )
$length

testSetSegmentCount() public method

public testSetSegmentCount ( $count )
$count

testSetSegmentCountException() public method

testSetSegmentLength() public method

public testSetSegmentLength ( $length )
$length

testSetSegmentLengthException() public method

testSetSegmentSeparator() public method

public testSetSegmentSeparator ( $separator )
$separator

testSetSegmentSeparatorException() public method