PHP Class Symfony\Component\HttpFoundation\Tests\ResponseTest

Inheritance: extends Symfony\Component\HttpFoundation\Tests\ResponseTestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
getStatusCodeFixtures ( )
invalidContentProvider ( )
testClone ( )
testContentTypeCharset ( )
testCreate ( )
testDefaultContentType ( )
testDeprecations ( )
testExpire ( )
testGetCharset ( )
testGetDate ( )
testGetMaxAge ( )
testGetSetProtocolVersion ( )
testGetTtl ( )
testGetVary ( )
testHasVary ( )
testIsCacheable ( )
testIsCacheableWithErrorCode ( )
testIsCacheableWithNoStoreDirective ( )
testIsCacheableWithSetTtl ( )
testIsEmpty ( )
testIsForbidden ( )
testIsInformational ( )
testIsInvalid ( )
testIsNotFound ( )
testIsNotModified ( )
testIsNotModifiedEtag ( )
testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified ( )
testIsNotModifiedLastModified ( )
testIsNotModifiedLastModifiedAndEtag ( )
testIsNotModifiedNotSafe ( )
testIsOk ( )
testIsPrivate ( )
testIsRedirectRedirection ( )
testIsServerOrClientError ( )
testIsSuccessful ( )
testIsValidateable ( )
testMustRevalidate ( )
testMustRevalidateWithMustRevalidateCacheControlHeader ( )
testMustRevalidateWithProxyRevalidateCacheControlHeader ( )
testNoDeprecationsAreTriggered ( )
testPrepareDoesNothingIfContentTypeIsSet ( )
testPrepareDoesNothingIfRequestFormatIsNotDefined ( )
testPrepareRemovesContentForHeadRequests ( )
testPrepareRemovesContentForInformationalResponse ( )
testPrepareRemovesContentLength ( )
testPrepareSetContentType ( )
testPrepareSetsPragmaOnHttp10Only ( )
testSend ( )
testSendContent ( )
testSendHeaders ( )
testSetCache ( )
testSetClientTtl ( )
testSetContent ( $content )
testSetContentInvalid ( $content )
testSetEtag ( )
testSetExpires ( )
testSetLastModified ( )
testSetNotModified ( )
testSetPublic ( )
testSetSharedMaxAge ( )
testSetStatusCode ( $code, $text, $expectedText )
testSetVary ( )
testSettersAreChainable ( )
testToString ( )
validContentProvider ( )

Protected Methods

Method Description
createDateTimeNow ( )
createDateTimeOneHourAgo ( )
createDateTimeOneHourLater ( )
provideResponse ( )

Method Details

createDateTimeNow() protected method

protected createDateTimeNow ( )

createDateTimeOneHourAgo() protected method

protected createDateTimeOneHourAgo ( )

createDateTimeOneHourLater() protected method

getStatusCodeFixtures() public method

invalidContentProvider() public method

provideResponse() protected method

protected provideResponse ( )

testClone() public method

public testClone ( )

testContentTypeCharset() public method

testCreate() public method

public testCreate ( )

testDefaultContentType() public method

testDeprecations() public method

public testDeprecations ( )

testExpire() public method

public testExpire ( )

testGetCharset() public method

public testGetCharset ( )

testGetDate() public method

public testGetDate ( )

testGetMaxAge() public method

public testGetMaxAge ( )

testGetSetProtocolVersion() public method

testGetTtl() public method

public testGetTtl ( )

testGetVary() public method

public testGetVary ( )

testHasVary() public method

public testHasVary ( )

testIsCacheable() public method

public testIsCacheable ( )

testIsCacheableWithErrorCode() public method

testIsCacheableWithNoStoreDirective() public method

testIsCacheableWithSetTtl() public method

testIsEmpty() public method

public testIsEmpty ( )

testIsForbidden() public method

public testIsForbidden ( )

testIsInformational() public method

public testIsInformational ( )

testIsInvalid() public method

public testIsInvalid ( )

testIsNotFound() public method

public testIsNotFound ( )

testIsNotModified() public method

public testIsNotModified ( )

testIsNotModifiedEtag() public method

testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified() public method

testIsNotModifiedLastModified() public method

testIsNotModifiedLastModifiedAndEtag() public method

testIsNotModifiedNotSafe() public method

testIsOk() public method

public testIsOk ( )

testIsPrivate() public method

public testIsPrivate ( )

testIsRedirectRedirection() public method

testIsServerOrClientError() public method

testIsSuccessful() public method

public testIsSuccessful ( )

testIsValidateable() public method

public testIsValidateable ( )

testMustRevalidate() public method

public testMustRevalidate ( )

testMustRevalidateWithMustRevalidateCacheControlHeader() public method

testMustRevalidateWithProxyRevalidateCacheControlHeader() public method

testNoDeprecationsAreTriggered() public method

testPrepareDoesNothingIfContentTypeIsSet() public method

testPrepareDoesNothingIfRequestFormatIsNotDefined() public method

testPrepareRemovesContentForHeadRequests() public method

testPrepareRemovesContentForInformationalResponse() public method

testPrepareRemovesContentLength() public method

testPrepareSetContentType() public method

testPrepareSetsPragmaOnHttp10Only() public method

testSend() public method

public testSend ( )

testSendContent() public method

public testSendContent ( )

testSendHeaders() public method

public testSendHeaders ( )

testSetCache() public method

public testSetCache ( )

testSetClientTtl() public method

public testSetClientTtl ( )

testSetContent() public method

public testSetContent ( $content )

testSetContentInvalid() public method

public testSetContentInvalid ( $content )

testSetEtag() public method

public testSetEtag ( )

testSetExpires() public method

public testSetExpires ( )

testSetLastModified() public method

public testSetLastModified ( )

testSetNotModified() public method

public testSetNotModified ( )

testSetPublic() public method

public testSetPublic ( )

testSetSharedMaxAge() public method

public testSetSharedMaxAge ( )

testSetStatusCode() public method

public testSetStatusCode ( $code, $text, $expectedText )

testSetVary() public method

public testSetVary ( )

testSettersAreChainable() public method

testToString() public method

public testToString ( )

validContentProvider() public method