\Symfony\Component\HttpFoundation\TestsResponseTest

Summary

Methods
Properties
Constants
testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE()
testCreate()
testToString()
testClone()
testSendHeaders()
testSend()
testGetCharset()
testIsCacheable()
testIsCacheableWithErrorCode()
testIsCacheableWithNoStoreDirective()
testIsCacheableWithSetTtl()
testMustRevalidate()
testMustRevalidateWithMustRevalidateCacheControlHeader()
testMustRevalidateWithProxyRevalidateCacheControlHeader()
testSetNotModified()
testIsSuccessful()
testIsNotModified()
testIsNotModifiedNotSafe()
testIsNotModifiedLastModified()
testIsNotModifiedEtag()
testIsNotModifiedLastModifiedAndEtag()
testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified()
testIsValidateable()
testGetDate()
testGetMaxAge()
testSetSharedMaxAge()
testIsPrivate()
testExpire()
testGetTtl()
testSetClientTtl()
testGetSetProtocolVersion()
testGetVary()
testSetVary()
testDefaultContentType()
testContentTypeCharset()
testPrepareDoesNothingIfContentTypeIsSet()
testPrepareDoesNothingIfRequestFormatIsNotDefined()
testPrepareSetContentType()
testPrepareRemovesContentForHeadRequests()
testPrepareRemovesContentForInformationalResponse()
testPrepareRemovesContentLength()
testPrepareSetsPragmaOnHttp10Only()
testSetCache()
testSendContent()
testSetPublic()
testSetImmutable()
testIsImmutable()
testSetExpires()
testSetLastModified()
testIsInvalid()
testSetStatusCode()
getStatusCodeFixtures()
testIsInformational()
testIsRedirectRedirection()
testIsNotFound()
testIsEmpty()
testIsForbidden()
testIsOk()
testIsServerOrClientError()
testHasVary()
testSetEtag()
testSetContent()
testSetContentInvalid()
testSettersAreChainable()
testNoDeprecationsAreTriggered()
validContentProvider()
invalidContentProvider()
ianaCodesReasonPhrasesProvider()
testReasonPhraseDefaultsAgainstIana()
No public properties found
No constants found
provideResponse()
createDateTimeOneHourAgo()
createDateTimeOneHourLater()
createDateTimeNow()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE()

testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE() 

testCreate()

testCreate() 

testToString()

testToString() 

testClone()

testClone() 

testSendHeaders()

testSendHeaders() 

testSend()

testSend() 

testGetCharset()

testGetCharset() 

testIsCacheable()

testIsCacheable() 

testIsCacheableWithErrorCode()

testIsCacheableWithErrorCode() 

testIsCacheableWithNoStoreDirective()

testIsCacheableWithNoStoreDirective() 

testIsCacheableWithSetTtl()

testIsCacheableWithSetTtl() 

testMustRevalidate()

testMustRevalidate() 

testMustRevalidateWithMustRevalidateCacheControlHeader()

testMustRevalidateWithMustRevalidateCacheControlHeader() 

testMustRevalidateWithProxyRevalidateCacheControlHeader()

testMustRevalidateWithProxyRevalidateCacheControlHeader() 

testSetNotModified()

testSetNotModified() 

testIsSuccessful()

testIsSuccessful() 

testIsNotModified()

testIsNotModified() 

testIsNotModifiedNotSafe()

testIsNotModifiedNotSafe() 

testIsNotModifiedLastModified()

testIsNotModifiedLastModified() 

testIsNotModifiedEtag()

testIsNotModifiedEtag() 

testIsNotModifiedLastModifiedAndEtag()

testIsNotModifiedLastModifiedAndEtag() 

testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified()

testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified() 

testIsValidateable()

testIsValidateable() 

testGetDate()

testGetDate() 

testGetMaxAge()

testGetMaxAge() 

testSetSharedMaxAge()

testSetSharedMaxAge() 

testIsPrivate()

testIsPrivate() 

testExpire()

testExpire() 

testGetTtl()

testGetTtl() 

testSetClientTtl()

testSetClientTtl() 

testGetSetProtocolVersion()

testGetSetProtocolVersion() 

testGetVary()

testGetVary() 

testSetVary()

testSetVary() 

testDefaultContentType()

testDefaultContentType() 

testContentTypeCharset()

testContentTypeCharset() 

testPrepareDoesNothingIfContentTypeIsSet()

testPrepareDoesNothingIfContentTypeIsSet() 

testPrepareDoesNothingIfRequestFormatIsNotDefined()

testPrepareDoesNothingIfRequestFormatIsNotDefined() 

testPrepareSetContentType()

testPrepareSetContentType() 

testPrepareRemovesContentForHeadRequests()

testPrepareRemovesContentForHeadRequests() 

testPrepareRemovesContentForInformationalResponse()

testPrepareRemovesContentForInformationalResponse() 

testPrepareRemovesContentLength()

testPrepareRemovesContentLength() 

testPrepareSetsPragmaOnHttp10Only()

testPrepareSetsPragmaOnHttp10Only() 

testSetCache()

testSetCache() 

testSendContent()

testSendContent() 

testSetPublic()

testSetPublic() 

testSetImmutable()

testSetImmutable() 

testIsImmutable()

testIsImmutable() 

testSetExpires()

testSetExpires() 

testSetLastModified()

testSetLastModified() 

testIsInvalid()

testIsInvalid() 

testSetStatusCode()

testSetStatusCode(  $code,   $text,   $expectedText) 

Parameters

$code
$text
$expectedText

getStatusCodeFixtures()

getStatusCodeFixtures() 

testIsInformational()

testIsInformational() 

testIsRedirectRedirection()

testIsRedirectRedirection() 

testIsNotFound()

testIsNotFound() 

testIsEmpty()

testIsEmpty() 

testIsForbidden()

testIsForbidden() 

testIsOk()

testIsOk() 

testIsServerOrClientError()

testIsServerOrClientError() 

testHasVary()

testHasVary() 

testSetEtag()

testSetEtag() 

testSetContent()

testSetContent(  $content) 

Parameters

$content

testSetContentInvalid()

testSetContentInvalid(  $content) 

Parameters

$content

testSettersAreChainable()

testSettersAreChainable() 

testNoDeprecationsAreTriggered()

testNoDeprecationsAreTriggered() 

validContentProvider()

validContentProvider() 

invalidContentProvider()

invalidContentProvider() 

ianaCodesReasonPhrasesProvider()

ianaCodesReasonPhrasesProvider() 

testReasonPhraseDefaultsAgainstIana()

testReasonPhraseDefaultsAgainstIana(  $code,   $reasonPhrase) 

Parameters

$code
$reasonPhrase

provideResponse()

provideResponse() 

createDateTimeOneHourAgo()

createDateTimeOneHourAgo() 

createDateTimeOneHourLater()

createDateTimeOneHourLater() 

createDateTimeNow()

createDateTimeNow()