93 lines
2.3 KiB
YAML
93 lines
2.3 KiB
YAML
|
name: FileTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: File
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Constraints\File
|
||
|
- name: ConstraintDefinitionException
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
|
||
|
- name: ClassMetadata
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Mapping\ClassMetadata
|
||
|
- name: AttributeLoader
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Mapping\Loader\AttributeLoader
|
||
|
properties:
|
||
|
- name: a
|
||
|
visibility: private
|
||
|
comment: null
|
||
|
- name: b
|
||
|
visibility: private
|
||
|
comment: null
|
||
|
- name: c
|
||
|
visibility: private
|
||
|
comment: null
|
||
|
methods:
|
||
|
- name: testMaxSize
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: maxSize
|
||
|
- name: bytes
|
||
|
- name: binaryFormat
|
||
|
comment: '# * @dataProvider provideValidSizes'
|
||
|
- name: testMagicIsset
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testMaxSizeCanBeSetAfterInitialization
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: maxSize
|
||
|
- name: bytes
|
||
|
- name: binaryFormat
|
||
|
comment: '# * @dataProvider provideValidSizes'
|
||
|
- name: testInvalidValueForMaxSizeThrowsExceptionAfterInitialization
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: maxSize
|
||
|
comment: '# * @dataProvider provideInvalidSizes'
|
||
|
- name: testMaxSizeCannotBeSetToInvalidValueAfterInitialization
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: maxSize
|
||
|
comment: '# * @dataProvider provideInvalidSizes'
|
||
|
- name: testInvalidMaxSize
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: maxSize
|
||
|
comment: '# * @dataProvider provideInValidSizes'
|
||
|
- name: provideValidSizes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: provideInvalidSizes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testBinaryFormat
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: maxSize
|
||
|
- name: guessedFormat
|
||
|
- name: binaryFormat
|
||
|
comment: '# * @dataProvider provideFormats'
|
||
|
- name: provideFormats
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAttributes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Validator\Constraints\File
|
||
|
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
|
||
|
- Symfony\Component\Validator\Mapping\ClassMetadata
|
||
|
- Symfony\Component\Validator\Mapping\Loader\AttributeLoader
|
||
|
interfaces: []
|