platform/api/symfony/Component/Validator/Tests/Violation/ConstraintViolationBuilderTest.yaml

69 lines
1.8 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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: []