api/symfony/Component/Validator/Tests/Violation/ConstraintViolationBuilderTest.yaml
2024-09-26 02:03:21 -07:00

68 lines
1.8 KiB
YAML

name: ConstraintViolationBuilderTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: IdentityTranslator
type: class
source: Symfony\Component\Translation\IdentityTranslator
- name: Valid
type: class
source: Symfony\Component\Validator\Constraints\Valid
- name: ConstraintViolation
type: class
source: Symfony\Component\Validator\ConstraintViolation
- name: ConstraintViolationList
type: class
source: Symfony\Component\Validator\ConstraintViolationList
- name: ConstraintViolationBuilder
type: class
source: Symfony\Component\Validator\Violation\ConstraintViolationBuilder
- name: TranslatorInterface
type: class
source: Symfony\Contracts\Translation\TranslatorInterface
properties: []
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: testAddViolation
visibility: public
parameters: []
comment: null
- name: testAppendPropertyPath
visibility: public
parameters: []
comment: null
- name: testAppendMultiplePropertyPaths
visibility: public
parameters: []
comment: null
- name: testCodeCanBeSet
visibility: public
parameters: []
comment: null
- name: testCauseCanBeSet
visibility: public
parameters: []
comment: null
- name: testTranslationDomainFalse
visibility: public
parameters: []
comment: null
- name: assertViolationEquals
visibility: private
parameters:
- name: expectedViolation
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Translation\IdentityTranslator
- Symfony\Component\Validator\Constraints\Valid
- Symfony\Component\Validator\ConstraintViolation
- Symfony\Component\Validator\ConstraintViolationList
- Symfony\Component\Validator\Violation\ConstraintViolationBuilder
- Symfony\Contracts\Translation\TranslatorInterface
interfaces: []