ResponseTest
extends ResponseTestCase
in package
Tags
Table of Contents
- getStatusCodeFixtures() : mixed
- ianaCodesReasonPhrasesProvider() : mixed
- invalidContentProvider() : mixed
- testClone() : mixed
- testContentTypeCharset() : mixed
- testCreate() : mixed
- testDefaultContentType() : mixed
- testExpire() : mixed
- testGetCharset() : mixed
- testGetDate() : mixed
- testGetMaxAge() : mixed
- testGetSetProtocolVersion() : mixed
- testGetTtl() : mixed
- testGetVary() : mixed
- testHasVary() : mixed
- testIsCacheable() : mixed
- testIsCacheableWithErrorCode() : mixed
- testIsCacheableWithNoStoreDirective() : mixed
- testIsCacheableWithSetTtl() : mixed
- testIsEmpty() : mixed
- testIsForbidden() : mixed
- testIsImmutable() : mixed
- testIsInformational() : mixed
- testIsInvalid() : mixed
- testIsNotFound() : mixed
- testIsNotModified() : mixed
- testIsNotModifiedEtag() : mixed
- testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified() : mixed
- testIsNotModifiedLastModified() : mixed
- testIsNotModifiedLastModifiedAndEtag() : mixed
- testIsNotModifiedNotSafe() : mixed
- testIsOk() : mixed
- testIsPrivate() : mixed
- testIsRedirectRedirection() : mixed
- testIsServerOrClientError() : mixed
- testIsSuccessful() : mixed
- testIsValidateable() : mixed
- testMustRevalidate() : mixed
- testMustRevalidateWithMustRevalidateCacheControlHeader() : mixed
- testMustRevalidateWithProxyRevalidateCacheControlHeader() : mixed
- testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE() : mixed
- testNoDeprecationsAreTriggered() : mixed
- testNullExpireHeader() : mixed
- testPrepareDoesNothingIfContentTypeIsSet() : mixed
- testPrepareDoesNothingIfRequestFormatIsNotDefined() : mixed
- testPrepareRemovesContentForHeadRequests() : mixed
- testPrepareRemovesContentForInformationalResponse() : mixed
- testPrepareRemovesContentLength() : mixed
- testPrepareSetContentType() : mixed
- testPrepareSetsPragmaOnHttp10Only() : mixed
- testReasonPhraseDefaultsAgainstIana() : mixed
- testSend() : mixed
- testSendContent() : mixed
- testSendHeaders() : mixed
- testSetCache() : mixed
- testSetClientTtl() : mixed
- testSetContent() : mixed
- testSetContentInvalid() : mixed
- testSetEtag() : mixed
- testSetExpires() : mixed
- testSetImmutable() : mixed
- testSetLastModified() : mixed
- testSetNotModified() : mixed
- testSetPublic() : mixed
- testSetSharedMaxAge() : mixed
- testSetStatusCode() : mixed
- testSettersAreChainable() : mixed
- testSetVary() : mixed
- testToString() : mixed
- validContentProvider() : mixed
- createDateTimeNow() : mixed
- createDateTimeOneHourAgo() : mixed
- createDateTimeOneHourLater() : mixed
- provideResponse() : mixed
Methods
getStatusCodeFixtures()
public
getStatusCodeFixtures() : mixed
Return values
mixed —ianaCodesReasonPhrasesProvider()
public
ianaCodesReasonPhrasesProvider() : mixed
Tags
Return values
mixed —invalidContentProvider()
public
invalidContentProvider() : mixed
Return values
mixed —testClone()
public
testClone() : mixed
Return values
mixed —testContentTypeCharset()
public
testContentTypeCharset() : mixed
Return values
mixed —testCreate()
public
testCreate() : mixed
Return values
mixed —testDefaultContentType()
public
testDefaultContentType() : mixed
Return values
mixed —testExpire()
public
testExpire() : mixed
Return values
mixed —testGetCharset()
public
testGetCharset() : mixed
Return values
mixed —testGetDate()
public
testGetDate() : mixed
Return values
mixed —testGetMaxAge()
public
testGetMaxAge() : mixed
Return values
mixed —testGetSetProtocolVersion()
public
testGetSetProtocolVersion() : mixed
Return values
mixed —testGetTtl()
public
testGetTtl() : mixed
Return values
mixed —testGetVary()
public
testGetVary() : mixed
Return values
mixed —testHasVary()
public
testHasVary() : mixed
Return values
mixed —testIsCacheable()
public
testIsCacheable() : mixed
Return values
mixed —testIsCacheableWithErrorCode()
public
testIsCacheableWithErrorCode() : mixed
Return values
mixed —testIsCacheableWithNoStoreDirective()
public
testIsCacheableWithNoStoreDirective() : mixed
Return values
mixed —testIsCacheableWithSetTtl()
public
testIsCacheableWithSetTtl() : mixed
Return values
mixed —testIsEmpty()
public
testIsEmpty() : mixed
Return values
mixed —testIsForbidden()
public
testIsForbidden() : mixed
Return values
mixed —testIsImmutable()
public
testIsImmutable() : mixed
Return values
mixed —testIsInformational()
public
testIsInformational() : mixed
Return values
mixed —testIsInvalid()
public
testIsInvalid() : mixed
Return values
mixed —testIsNotFound()
public
testIsNotFound() : mixed
Return values
mixed —testIsNotModified()
public
testIsNotModified() : mixed
Return values
mixed —testIsNotModifiedEtag()
public
testIsNotModifiedEtag() : mixed
Return values
mixed —testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified()
public
testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified() : mixed
Return values
mixed —testIsNotModifiedLastModified()
public
testIsNotModifiedLastModified() : mixed
Return values
mixed —testIsNotModifiedLastModifiedAndEtag()
public
testIsNotModifiedLastModifiedAndEtag() : mixed
Return values
mixed —testIsNotModifiedNotSafe()
public
testIsNotModifiedNotSafe() : mixed
Return values
mixed —testIsOk()
public
testIsOk() : mixed
Return values
mixed —testIsPrivate()
public
testIsPrivate() : mixed
Return values
mixed —testIsRedirectRedirection()
public
testIsRedirectRedirection() : mixed
Return values
mixed —testIsServerOrClientError()
public
testIsServerOrClientError() : mixed
Return values
mixed —testIsSuccessful()
public
testIsSuccessful() : mixed
Return values
mixed —testIsValidateable()
public
testIsValidateable() : mixed
Return values
mixed —testMustRevalidate()
public
testMustRevalidate() : mixed
Return values
mixed —testMustRevalidateWithMustRevalidateCacheControlHeader()
public
testMustRevalidateWithMustRevalidateCacheControlHeader() : mixed
Return values
mixed —testMustRevalidateWithProxyRevalidateCacheControlHeader()
public
testMustRevalidateWithProxyRevalidateCacheControlHeader() : mixed
Return values
mixed —testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE()
public
testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE() : mixed
Return values
mixed —testNoDeprecationsAreTriggered()
public
testNoDeprecationsAreTriggered() : mixed
Return values
mixed —testNullExpireHeader()
public
testNullExpireHeader() : mixed
Return values
mixed —testPrepareDoesNothingIfContentTypeIsSet()
public
testPrepareDoesNothingIfContentTypeIsSet() : mixed
Return values
mixed —testPrepareDoesNothingIfRequestFormatIsNotDefined()
public
testPrepareDoesNothingIfRequestFormatIsNotDefined() : mixed
Return values
mixed —testPrepareRemovesContentForHeadRequests()
public
testPrepareRemovesContentForHeadRequests() : mixed
Return values
mixed —testPrepareRemovesContentForInformationalResponse()
public
testPrepareRemovesContentForInformationalResponse() : mixed
Return values
mixed —testPrepareRemovesContentLength()
public
testPrepareRemovesContentLength() : mixed
Return values
mixed —testPrepareSetContentType()
public
testPrepareSetContentType() : mixed
Return values
mixed —testPrepareSetsPragmaOnHttp10Only()
public
testPrepareSetsPragmaOnHttp10Only() : mixed
Return values
mixed —testReasonPhraseDefaultsAgainstIana()
public
testReasonPhraseDefaultsAgainstIana(mixed $code, mixed $reasonPhrase) : mixed
Parameters
- $code : mixed
- $reasonPhrase : mixed
Tags
Return values
mixed —testSend()
public
testSend() : mixed
Return values
mixed —testSendContent()
public
testSendContent() : mixed
Return values
mixed —testSendHeaders()
public
testSendHeaders() : mixed
Return values
mixed —testSetCache()
public
testSetCache() : mixed
Return values
mixed —testSetClientTtl()
public
testSetClientTtl() : mixed
Return values
mixed —testSetContent()
public
testSetContent(mixed $content) : mixed
Parameters
- $content : mixed
Tags
Return values
mixed —testSetContentInvalid()
public
testSetContentInvalid(mixed $content) : mixed
Parameters
- $content : mixed
Tags
Return values
mixed —testSetEtag()
public
testSetEtag() : mixed
Return values
mixed —testSetExpires()
public
testSetExpires() : mixed
Return values
mixed —testSetImmutable()
public
testSetImmutable() : mixed
Return values
mixed —testSetLastModified()
public
testSetLastModified() : mixed
Return values
mixed —testSetNotModified()
public
testSetNotModified() : mixed
Return values
mixed —testSetPublic()
public
testSetPublic() : mixed
Return values
mixed —testSetSharedMaxAge()
public
testSetSharedMaxAge() : mixed
Return values
mixed —testSetStatusCode()
public
testSetStatusCode(mixed $code, mixed $text, mixed $expectedText) : mixed
Parameters
- $code : mixed
- $text : mixed
- $expectedText : mixed
Tags
Return values
mixed —testSettersAreChainable()
public
testSettersAreChainable() : mixed
Return values
mixed —testSetVary()
public
testSetVary() : mixed
Return values
mixed —testToString()
public
testToString() : mixed
Return values
mixed —validContentProvider()
public
validContentProvider() : mixed
Return values
mixed —createDateTimeNow()
protected
createDateTimeNow() : mixed
Return values
mixed —createDateTimeOneHourAgo()
protected
createDateTimeOneHourAgo() : mixed
Return values
mixed —createDateTimeOneHourLater()
protected
createDateTimeOneHourLater() : mixed
Return values
mixed —provideResponse()
protected
provideResponse() : mixed