|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| getSampleXAccelMappings () | |
| provideFullFileRanges () | |
| provideInvalidRanges () | |
| provideRanges () | |
| provideXSendfileFiles () | |
| testAcceptRangeNotOverriden () | |
| testAcceptRangeOnUnsafeMethods () | |
| testConstruction () | |
| testConstructWithNonAsciiFilename () | |
| testDeleteFileAfterSend () | |
| testFullFileRequests ($requestRange) | |
| testGetContent () | |
| testInvalidRequests ($requestRange) | |
| testRangeRequestsWithoutLastModifiedDate () | |
| testRequests ($requestRange, $offset, $length, $responseRange) | |
| testRequestsWithoutEtag ($requestRange, $offset, $length, $responseRange) | |
| testSetContent () | |
| testSetContentDispositionGeneratesSafeFallbackFilename () | |
| testStream () | |
| testXAccelMapping ($realpath, $mapping, $virtual) | |
| testXSendfile ($file) | |
Public Member Functions inherited from Symfony\Component\HttpFoundation\Tests\ResponseTestCase | |
| testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE () | |
Static Public Member Functions | |
| static | tearDownAfterClass () |
Protected Member Functions | |
| provideResponse () | |
Definition at line 20 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::getSampleXAccelMappings | ( | ) |
Definition at line 312 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::provideFullFileRanges | ( | ) |
Definition at line 188 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::provideInvalidRanges | ( | ) |
Definition at line 219 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::provideRanges | ( | ) |
Definition at line 135 of file BinaryFileResponseTest.php.
|
protected |
Reimplemented from Symfony\Component\HttpFoundation\Tests\ResponseTestCase.
Definition at line 329 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::provideXSendfileFiles | ( | ) |
Definition at line 245 of file BinaryFileResponseTest.php.
|
static |
Definition at line 334 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testAcceptRangeNotOverriden | ( | ) |
Definition at line 302 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testAcceptRangeOnUnsafeMethods | ( | ) |
Definition at line 293 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testConstruction | ( | ) |
Definition at line 22 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\ResponseHeaderBag\DISPOSITION_INLINE.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testConstructWithNonAsciiFilename | ( | ) |
Definition at line 38 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testDeleteFileAfterSend | ( | ) |
Definition at line 275 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testFullFileRequests | ( | $requestRange | ) |
@dataProvider provideFullFileRanges
Definition at line 168 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testGetContent | ( | ) |
Definition at line 58 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testInvalidRequests | ( | $requestRange | ) |
@dataProvider provideInvalidRanges
Definition at line 203 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testRangeRequestsWithoutLastModifiedDate | ( | ) |
Definition at line 146 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testRequests | ( | $requestRange, | |
| $offset, | |||
| $length, | |||
| $responseRange | |||
| ) |
@dataProvider provideRanges
Definition at line 75 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testRequestsWithoutEtag | ( | $requestRange, | |
| $offset, | |||
| $length, | |||
| $responseRange | |||
| ) |
@dataProvider provideRanges
Definition at line 107 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), and Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testSetContent | ( | ) |
@expectedException \LogicException
Definition at line 52 of file BinaryFileResponseTest.php.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testSetContentDispositionGeneratesSafeFallbackFilename | ( | ) |
Definition at line 64 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\ResponseHeaderBag\DISPOSITION_ATTACHMENT.
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testStream | ( | ) |
Definition at line 320 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\Request\create().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testXAccelMapping | ( | $realpath, | |
| $mapping, | |||
| $virtual | |||
| ) |
@dataProvider getSampleXAccelMappings
Definition at line 256 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\Request\create(), and Symfony\Component\HttpFoundation\BinaryFileResponse\trustXSendfileTypeHeader().
| Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testXSendfile | ( | $file | ) |
@dataProvider provideXSendfileFiles
Definition at line 230 of file BinaryFileResponseTest.php.
References Symfony\Component\HttpFoundation\BinaryFileResponse\create(), Symfony\Component\HttpFoundation\Request\create(), and Symfony\Component\HttpFoundation\BinaryFileResponse\trustXSendfileTypeHeader().