PHP Class Symfony\Component\Security\Core\Tests\Validator\Constraints\UserPasswordValidatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Exibir arquivo Open project: symfony/symfony

Protected Properties

Property Type Description
$encoder Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface
$encoderFactory Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface

Public Methods

Method Description
testPasswordIsNotValid ( )
testPasswordIsValid ( )
testUserIsNotValid ( )

Protected Methods

Method Description
createAuthenticationToken ( $user = null )
createEncoderFactory ( $encoder = null )
createPasswordEncoder ( $isPasswordValid = true )
createTokenStorage ( $user = null )
createUser ( )
createValidator ( )
setUp ( )

Method Details

createAuthenticationToken() protected method

protected createAuthenticationToken ( $user = null )

createEncoderFactory() protected method

protected createEncoderFactory ( $encoder = null )

createPasswordEncoder() protected method

protected createPasswordEncoder ( $isPasswordValid = true )

createTokenStorage() protected method

protected createTokenStorage ( $user = null )

createUser() protected method

protected createUser ( )

createValidator() protected method

protected createValidator ( )

setUp() protected method

protected setUp ( )

testPasswordIsNotValid() public method

testPasswordIsValid() public method

public testPasswordIsValid ( )

testUserIsNotValid() public method

public testUserIsNotValid ( )

Property Details

$encoder protected_oe property

protected PasswordEncoderInterface,Symfony\Component\Security\Core\Encoder $encoder
return Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface

$encoderFactory protected_oe property

protected EncoderFactoryInterface,Symfony\Component\Security\Core\Encoder $encoderFactory
return Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface

$tokenStorage protected_oe property

protected TokenStorageInterface,Symfony\Component\Security\Core\Authentication\Token\Storage $tokenStorage
return Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface