platform/api/symfony/Component/HttpFoundation/Tests/BinaryFileResponseTest.yaml

170 lines
4.1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: BinaryFileResponseTest
class_comment: null
dependencies:
- name: BinaryFileResponse
type: class
source: Symfony\Component\HttpFoundation\BinaryFileResponse
- name: File
type: class
source: Symfony\Component\HttpFoundation\File\File
- name: Stream
type: class
source: Symfony\Component\HttpFoundation\File\Stream
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: ResponseHeaderBag
type: class
source: Symfony\Component\HttpFoundation\ResponseHeaderBag
- name: FakeFile
type: class
source: Symfony\Component\HttpFoundation\Tests\File\FakeFile
properties: []
methods:
- name: testConstruction
visibility: public
parameters: []
comment: null
- name: testConstructWithNonAsciiFilename
visibility: public
parameters: []
comment: null
- name: testSetContent
visibility: public
parameters: []
comment: null
- name: testGetContent
visibility: public
parameters: []
comment: null
- name: testSetContentDispositionGeneratesSafeFallbackFilename
visibility: public
parameters: []
comment: null
- name: testSetContentDispositionGeneratesSafeFallbackFilenameForWronglyEncodedFilename
visibility: public
parameters: []
comment: null
- name: testRequests
visibility: public
parameters:
- name: requestRange
- name: offset
- name: length
- name: responseRange
comment: '# * @dataProvider provideRanges'
- name: testRequestsWithoutEtag
visibility: public
parameters:
- name: requestRange
- name: offset
- name: length
- name: responseRange
comment: '# * @dataProvider provideRanges'
- name: provideRanges
visibility: public
parameters: []
comment: null
- name: testRangeRequestsWithoutLastModifiedDate
visibility: public
parameters: []
comment: null
- name: testFullFileRequests
visibility: public
parameters:
- name: requestRange
comment: '# * @dataProvider provideFullFileRanges'
- name: provideFullFileRanges
visibility: public
parameters: []
comment: null
- name: testRangeOnPostMethod
visibility: public
parameters: []
comment: null
- name: testUnpreparedResponseSendsFullFile
visibility: public
parameters: []
comment: null
- name: testInvalidRequests
visibility: public
parameters:
- name: requestRange
comment: '# * @dataProvider provideInvalidRanges'
- name: provideInvalidRanges
visibility: public
parameters: []
comment: null
- name: testXSendfile
visibility: public
parameters:
- name: file
comment: '# * @dataProvider provideXSendfileFiles'
- name: provideXSendfileFiles
visibility: public
parameters: []
comment: null
- name: testXAccelMapping
visibility: public
parameters:
- name: realpath
- name: mapping
- name: virtual
comment: '# * @dataProvider getSampleXAccelMappings'
- name: testDeleteFileAfterSend
visibility: public
parameters: []
comment: null
- name: testAcceptRangeOnUnsafeMethods
visibility: public
parameters: []
comment: null
- name: testAcceptRangeNotOverridden
visibility: public
parameters: []
comment: null
- name: getSampleXAccelMappings
visibility: public
parameters: []
comment: null
- name: testStream
visibility: public
parameters: []
comment: null
- name: testPrepareNotAddingContentTypeHeaderIfNoContentResponse
visibility: public
parameters: []
comment: null
- name: testContentTypeIsCorrectlyDetected
visibility: public
parameters: []
comment: null
- name: testContentTypeIsNotGuessedWhenTheFileWasNotModified
visibility: public
parameters: []
comment: null
- name: provideResponse
visibility: protected
parameters: []
comment: null
- name: tearDownAfterClass
visibility: public
parameters: []
comment: null
- name: testCreateFromTemporaryFile
visibility: public
parameters: []
comment: null
- name: testSetChunkSizeTooSmall
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\HttpFoundation\BinaryFileResponse
- Symfony\Component\HttpFoundation\File\File
- Symfony\Component\HttpFoundation\File\Stream
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\ResponseHeaderBag
- Symfony\Component\HttpFoundation\Tests\File\FakeFile
interfaces: []