Open Journal Systems
3.3.0
|
Protected Member Functions | |
tearDown () | |
Definition at line 20 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getBaseUrlData | ( | ) |
Definition at line 1530 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getClientIpsForwardedProvider | ( | ) |
Definition at line 882 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getClientIpsProvider | ( | ) |
Definition at line 895 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getClientIpsWithAgreeingHeadersProvider | ( | ) |
Definition at line 1005 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getClientIpsWithConflictingHeadersProvider | ( | ) |
Definition at line 971 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getContentCanBeCalledTwiceWithResourcesProvider | ( | ) |
Definition at line 1098 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getContentCantBeCalledTwiceWithResourcesProvider | ( | ) |
Definition at line 1069 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getFormatToMimeTypeMapProvider | ( | ) |
Definition at line 368 of file symfony/http-foundation/Tests/RequestTest.php.
Referenced by Symfony\Component\HttpFoundation\Tests\RequestTest\getFormatToMimeTypeMapProviderWithAdditionalNullFormat().
Symfony\Component\HttpFoundation\Tests\RequestTest::getFormatToMimeTypeMapProviderWithAdditionalNullFormat | ( | ) |
Definition at line 323 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Tests\RequestTest\getFormatToMimeTypeMapProvider().
Symfony\Component\HttpFoundation\Tests\RequestTest::getHostValidities | ( | ) |
Definition at line 2027 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getLongHostNames | ( | ) |
Definition at line 2040 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getQueryStringNormalizationData | ( | ) |
Definition at line 674 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::getRelativeUriForPathData | ( | ) |
Definition at line 611 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::iisRequestUriProvider | ( | ) |
Definition at line 1862 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::methodCacheableProvider | ( | ) |
Definition at line 2121 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::methodIdempotentProvider | ( | ) |
Definition at line 2058 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::methodSafeProvider | ( | ) |
Definition at line 2084 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::provideOverloadedMethods | ( | ) |
Definition at line 1108 of file symfony/http-foundation/Tests/RequestTest.php.
|
protected |
Definition at line 22 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\setTrustedProxies().
Symfony\Component\HttpFoundation\Tests\RequestTest::testContentAsResource | ( | ) |
Definition at line 1043 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testCreate | ( | ) |
Definition at line 94 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testCreateCheckPrecedence | ( | ) |
Definition at line 237 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testCreateFromGlobals | ( | $method | ) |
@dataProvider provideOverloadedMethods
Definition at line 1123 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\createFromGlobals(), and Symfony\Component\HttpFoundation\Request\enableHttpMethodParameterOverride().
Symfony\Component\HttpFoundation\Tests\RequestTest::testDuplicate | ( | ) |
Definition at line 271 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testDuplicateWithFormat | ( | ) |
Definition at line 289 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testFactory | ( | ) |
Definition at line 1978 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create(), and Symfony\Component\HttpFoundation\Request\setFactory().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetAcceptableContentTypes | ( | ) |
Definition at line 1401 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetBasePath | ( | ) |
Definition at line 1241 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetBaseUrl | ( | $uri, | |
$server, | |||
$expectedBaseUrl, | |||
$expectedPathInfo | |||
) |
@dataProvider getBaseUrlData
Definition at line 1522 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetCharsets | ( | ) |
Definition at line 1369 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetClientIp | ( | $expected, | |
$remoteAddr, | |||
$httpForwardedFor, | |||
$trustedProxies | |||
) |
@dataProvider getClientIpsProvider
Definition at line 855 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetClientIps | ( | $expected, | |
$remoteAddr, | |||
$httpForwardedFor, | |||
$trustedProxies | |||
) |
@dataProvider getClientIpsProvider
Definition at line 865 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetClientIpsForwarded | ( | $expected, | |
$remoteAddr, | |||
$httpForwarded, | |||
$trustedProxies | |||
) |
@dataProvider getClientIpsForwardedProvider
Definition at line 875 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetClientIpsWithAgreeingHeaders | ( | $httpForwarded, | |
$httpXForwardedFor, | |||
$expectedIps | |||
) |
@dataProvider getClientIpsWithAgreeingHeadersProvider
Definition at line 986 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\HEADER_X_FORWARDED_ALL, and Symfony\Component\HttpFoundation\Request\setTrustedProxies().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetClientIpsWithConflictingHeaders | ( | $httpForwarded, | |
$httpXForwardedFor | |||
) |
@expectedException \Symfony\Component\HttpFoundation\Exception\ConflictingHeadersException @dataProvider getClientIpsWithConflictingHeadersProvider
Definition at line 954 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\HEADER_FORWARDED, Symfony\Component\HttpFoundation\Request\HEADER_X_FORWARDED_ALL, and Symfony\Component\HttpFoundation\Request\setTrustedProxies().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentCanBeCalledTwiceWithResources | ( | $first, | |
$second | |||
) |
@dataProvider getContentCanBeCalledTwiceWithResourcesProvider @requires PHP 5.6
Definition at line 1081 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentCantBeCalledTwiceWithResources | ( | $first, | |
$second | |||
) |
@expectedException \LogicException @dataProvider getContentCantBeCalledTwiceWithResourcesProvider
Definition at line 1058 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentReturnsResource | ( | ) |
Definition at line 1025 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentReturnsResourceWhenContentSetInConstructor | ( | ) |
Definition at line 1034 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentType | ( | ) |
Definition at line 77 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentWorksTwiceInDefaultMode | ( | ) |
Definition at line 1018 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetEncodings | ( | ) |
Definition at line 1385 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetFormatFromMimeType | ( | $format, | |
$mimeTypes | |||
) |
@dataProvider getFormatToMimeTypeMapProviderWithAdditionalNullFormat
Definition at line 307 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetFormatFromMimeTypeWithParameters | ( | ) |
Definition at line 331 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetFormatWithCustomMimeType | ( | ) |
Definition at line 361 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetHost | ( | ) |
Definition at line 711 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetHostWithFakeHttpHostValue | ( | ) |
@expectedException \RuntimeException
Definition at line 790 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetLanguages | ( | ) |
Definition at line 1413 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetLocale | ( | ) |
Definition at line 45 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetMimeTypeFromFormat | ( | $format, | |
$mimeTypes | |||
) |
@dataProvider getFormatToMimeTypeMapProvider
Definition at line 340 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetMimeTypesFromFormat | ( | $format, | |
$mimeTypes | |||
) |
@dataProvider getFormatToMimeTypeMapProvider
Definition at line 349 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\getMimeTypes().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetMimeTypesFromInexistentFormat | ( | ) |
Definition at line 354 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\getMimeTypes().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetParameterPrecedence | ( | ) |
Definition at line 1291 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetPassword | ( | ) |
Definition at line 61 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetPathInfo | ( | ) |
Definition at line 1273 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetPort | ( | ) |
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetPreferredLanguage | ( | ) |
Definition at line 1310 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetQueryString | ( | $query, | |
$expectedQuery, | |||
$msg | |||
) |
@dataProvider getQueryStringNormalizationData
Definition at line 666 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetQueryStringReturnsNull | ( | ) |
Definition at line 701 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetRelativeUriForPath | ( | $expected, | |
$pathinfo, | |||
$path | |||
) |
@dataProvider getRelativeUriForPathData()
Definition at line 606 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetRequestFormat | ( | ) |
Definition at line 1440 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetSchemeAndHttpHost | ( | ) |
Definition at line 640 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetScriptName | ( | ) |
Definition at line 1215 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetSession | ( | ) |
Definition at line 1470 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetSetMethod | ( | ) |
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetTrustedHeaderName | ( | ) |
@group legacy
Definition at line 2140 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\getTrustedHeaderName(), Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_HOST, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_IP, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_PORT, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_PROTO, Symfony\Component\HttpFoundation\Request\HEADER_FORWARDED, Symfony\Component\HttpFoundation\Request\HEADER_X_FORWARDED_ALL, Symfony\Component\HttpFoundation\Request\setTrustedHeaderName(), and Symfony\Component\HttpFoundation\Request\setTrustedProxies().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetTrustedProxiesInvalidHeaderName | ( | ) |
@group legacy @expectedException \InvalidArgumentException
Definition at line 1840 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create(), and Symfony\Component\HttpFoundation\Request\getTrustedHeaderName().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetUri | ( | ) |
Definition at line 381 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetUriForPath | ( | ) |
Definition at line 496 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetUser | ( | ) |
Definition at line 53 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testGetUserInfo | ( | ) |
Definition at line 623 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testHasPreviousSession | ( | ) |
Definition at line 1483 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testHasSession | ( | ) |
Definition at line 1461 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testHostValidity | ( | $host, | |
$isValid, | |||
$expectedHost = null , |
|||
$expectedPort = null |
|||
) |
@dataProvider getHostValidities
Definition at line 2005 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testIISRequestUri | ( | $headers, | |
$server, | |||
$expectedRequestUri | |||
) |
@dataProvider iisRequestUriProvider
Definition at line 1849 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::testInitialize | ( | ) |
Definition at line 28 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testIntlLocale | ( | ) |
@requires extension intl
Definition at line 1352 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testIsMethod | ( | ) |
Definition at line 1503 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testIsNoCache | ( | ) |
Definition at line 69 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testIsXmlHttpRequest | ( | ) |
Definition at line 1337 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testLegacyTrustedProxies | ( | ) |
@group legacy @expectedDeprecation The "Symfony\Component\HttpFoundation\Request::setTrustedHeaderName()" method is deprecated since version 3.3 and will be removed in 4.0. Use the $trustedHeaderSet argument of the Request::setTrustedProxies() method instead.
Definition at line 1734 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create(), Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_HOST, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_IP, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_PORT, Symfony\Component\HttpFoundation\Request\HEADER_CLIENT_PROTO, Symfony\Component\HttpFoundation\Request\HEADER_FORWARDED, Symfony\Component\HttpFoundation\Request\HEADER_X_FORWARDED_ALL, Symfony\Component\HttpFoundation\Request\setTrustedHeaderName(), and Symfony\Component\HttpFoundation\Request\setTrustedProxies().
Symfony\Component\HttpFoundation\Tests\RequestTest::testMethodCacheable | ( | $method, | |
$chacheable | |||
) |
@dataProvider methodCacheableProvider
Definition at line 2114 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testMethodIdempotent | ( | $method, | |
$idempotent | |||
) |
@dataProvider methodIdempotentProvider
Definition at line 2051 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testMethodSafe | ( | $method, | |
$safe | |||
) |
@dataProvider methodSafeProvider
Definition at line 2077 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testMethodSafeChecksCacheable | ( | ) |
@group legacy @expectedDeprecation Checking only for cacheable HTTP methods with Symfony\Component\HttpFoundation\Request::isMethodSafe() is deprecated since version 3.2 and will throw an exception in 4.0. Disable checking only for cacheable methods by calling the method with false
as first argument or use the Request::isMethodCacheable() instead.
Definition at line 2104 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testOverrideGlobals | ( | ) |
Definition at line 1164 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\HEADER_X_FORWARDED_ALL, and Symfony\Component\HttpFoundation\Request\setTrustedProxies().
Symfony\Component\HttpFoundation\Tests\RequestTest::testSetDefaultLocale | ( | ) |
Definition at line 85 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testSetTrustedProxiesInvalidHeaderName | ( | ) |
@group legacy @expectedException \InvalidArgumentException
Definition at line 1830 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create(), and Symfony\Component\HttpFoundation\Request\setTrustedHeaderName().
Symfony\Component\HttpFoundation\Tests\RequestTest::testToString | ( | ) |
Definition at line 1494 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testTrustedHosts | ( | ) |
Definition at line 1935 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create(), and Symfony\Component\HttpFoundation\Request\setTrustedHosts().
Symfony\Component\HttpFoundation\Tests\RequestTest::testTrustedProxiesForwarded | ( | ) |
Symfony\Component\HttpFoundation\Tests\RequestTest::testTrustedProxiesXForwardedFor | ( | ) |
Symfony\Component\HttpFoundation\Tests\RequestTest::testUrlencodedStringPrefix | ( | $string, | |
$prefix, | |||
$expect | |||
) |
@dataProvider urlencodedStringPrefixData
Definition at line 1609 of file symfony/http-foundation/Tests/RequestTest.php.
Symfony\Component\HttpFoundation\Tests\RequestTest::testVeryLongHosts | ( | $host | ) |
@dataProvider getLongHostNames
Definition at line 1992 of file symfony/http-foundation/Tests/RequestTest.php.
References Symfony\Component\HttpFoundation\Request\create().
Symfony\Component\HttpFoundation\Tests\RequestTest::urlencodedStringPrefixData | ( | ) |
Definition at line 1619 of file symfony/http-foundation/Tests/RequestTest.php.