60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
name: PasswordStrengthValidatorTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: PasswordStrength
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\PasswordStrength
|
|
- name: PasswordStrengthValidator
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\PasswordStrengthValidator
|
|
- name: ConstraintValidatorTestCase
|
|
type: class
|
|
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
|
- name: StringableValue
|
|
type: class
|
|
source: Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue
|
|
properties: []
|
|
methods:
|
|
- name: createValidator
|
|
visibility: protected
|
|
parameters: []
|
|
comment: null
|
|
- name: testValidValues
|
|
visibility: public
|
|
parameters:
|
|
- name: value
|
|
- name: expectedStrength
|
|
comment: '# * @dataProvider getValidValues'
|
|
- name: getValidValues
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testThePasswordIsWeak
|
|
visibility: public
|
|
parameters:
|
|
- name: constraint
|
|
- name: password
|
|
- name: expectedMessage
|
|
- name: expectedCode
|
|
- name: strength
|
|
comment: '# * @dataProvider provideInvalidConstraints'
|
|
- name: provideInvalidConstraints
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testStrengthEstimator
|
|
visibility: public
|
|
parameters:
|
|
- name: password
|
|
- name: expectedStrength
|
|
comment: '# * @dataProvider getPasswordValues'
|
|
- name: getPasswordValues
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Validator\Constraints\PasswordStrength
|
|
- Symfony\Component\Validator\Constraints\PasswordStrengthValidator
|
|
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
|
- Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue
|
|
interfaces: []
|