platform/api/symfony/Component/HttpFoundation/Tests/File/UploadedFileTest.yaml

150 lines
4.2 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: UploadedFileTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: CannotWriteFileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\CannotWriteFileException
- name: ExtensionFileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\ExtensionFileException
- name: FileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\FileException
- name: FileNotFoundException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
- name: FormSizeFileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\FormSizeFileException
- name: IniSizeFileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\IniSizeFileException
- name: NoFileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\NoFileException
- name: NoTmpDirFileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\NoTmpDirFileException
- name: PartialFileException
type: class
source: Symfony\Component\HttpFoundation\File\Exception\PartialFileException
- name: UploadedFile
type: class
source: Symfony\Component\HttpFoundation\File\UploadedFile
properties: []
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: testConstructWhenFileNotExists
visibility: public
parameters: []
comment: null
- name: testFileUploadsWithNoMimeType
visibility: public
parameters: []
comment: null
- name: testFileUploadsWithUnknownMimeType
visibility: public
parameters: []
comment: null
- name: testGuessClientExtension
visibility: public
parameters: []
comment: null
- name: testGuessClientExtensionWithIncorrectMimeType
visibility: public
parameters: []
comment: null
- name: testCaseSensitiveMimeType
visibility: public
parameters: []
comment: null
- name: testErrorIsOkByDefault
visibility: public
parameters: []
comment: null
- name: testGetClientOriginalName
visibility: public
parameters: []
comment: null
- name: testGetClientOriginalExtension
visibility: public
parameters: []
comment: null
- name: testMoveLocalFileIsNotAllowed
visibility: public
parameters: []
comment: null
- name: failedUploadedFile
visibility: public
parameters: []
comment: null
- name: testMoveFailed
visibility: public
parameters:
- name: file
comment: '# * @dataProvider failedUploadedFile'
- name: testMoveLocalFileIsAllowedInTestMode
visibility: public
parameters: []
comment: null
- name: testGetClientOriginalNameSanitizeFilename
visibility: public
parameters: []
comment: null
- name: testGetSize
visibility: public
parameters: []
comment: null
- name: testGetExtension
visibility: public
parameters: []
comment: null
- name: testIsValid
visibility: public
parameters: []
comment: null
- name: testIsInvalidOnUploadError
visibility: public
parameters:
- name: error
comment: '# * @dataProvider uploadedFileErrorProvider'
- name: uploadedFileErrorProvider
visibility: public
parameters: []
comment: null
- name: testIsInvalidIfNotHttpUpload
visibility: public
parameters: []
comment: null
- name: testGetMaxFilesize
visibility: public
parameters: []
comment: null
- name: testgetClientOriginalPath
visibility: public
parameters: []
comment: null
- name: testgetClientOriginalPathWebkitDirectory
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\HttpFoundation\File\Exception\CannotWriteFileException
- Symfony\Component\HttpFoundation\File\Exception\ExtensionFileException
- Symfony\Component\HttpFoundation\File\Exception\FileException
- Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
- Symfony\Component\HttpFoundation\File\Exception\FormSizeFileException
- Symfony\Component\HttpFoundation\File\Exception\IniSizeFileException
- Symfony\Component\HttpFoundation\File\Exception\NoFileException
- Symfony\Component\HttpFoundation\File\Exception\NoTmpDirFileException
- Symfony\Component\HttpFoundation\File\Exception\PartialFileException
- Symfony\Component\HttpFoundation\File\UploadedFile
interfaces: []