PHP 클래스 lithium\tests\cases\net\http\ResponseTest

상속: extends lithium\test\Unit
파일 보기 프로젝트 열기: unionofrad/lithium

공개 메소드들

메소드 설명
testConstructionWithBody ( )
testContentTypeHeaderAndTypePropertyAreSynchronized ( )
testDigestParsing ( )
testEmptyResponse ( )
testMalformedStatus ( )
testMessageWithNoHeaders ( )
testParseMessage ( )
testParseMessageHeadersMerging ( )
testParseMessageWithContentTypeHeaderSetsType ( )
testParseMessageWithCookies ( )
testParseMessageWithRepeatingHeaderKeys ( )
testParsingContentTypeWithEncoding ( )
testParsingContentTypeWithVersionNumber ( )
testParsingContentTypeWithoutEncoding ( )
testSetCookies ( )
testSetCookiesMultipleValues ( )
testStatus ( )
testToString ( )
testToStringDoesNotAddContentTypeHeaderOnTextHtml ( )
testToStringPrefersHeadersContentTypeOverType ( )
testToStringTypeAlwaysUsesContentTypeHeader ( )
testToStringWithCookies ( )
testTransferEncodingChunkedDecode ( )
testTypeHeader ( )
testTypePriority ( )
testWithoutChunksAndComment ( )
testWithoutChunksAndCommentInBody ( )
testWithoutChunksAndCommentInHtmlRoot ( )
testWithoutChunksAndRandomCommentInHtmlRoot ( )

보호된 메소드들

메소드 설명
_createMessage ( string $body, array $headers = [] ) : string Creates a chunked gzipped message to test response decoding.

메소드 상세

_createMessage() 보호된 메소드

Creates a chunked gzipped message to test response decoding.
protected _createMessage ( string $body, array $headers = [] ) : string
$body string Message body.
$headers array Message headers.
리턴 string Returns a raw HTTP message with headers and body.

testConstructionWithBody() 공개 메소드

testContentTypeHeaderAndTypePropertyAreSynchronized() 공개 메소드

testDigestParsing() 공개 메소드

public testDigestParsing ( )

testEmptyResponse() 공개 메소드

public testEmptyResponse ( )

testMalformedStatus() 공개 메소드

public testMalformedStatus ( )

testMessageWithNoHeaders() 공개 메소드

testParseMessage() 공개 메소드

public testParseMessage ( )

testParseMessageHeadersMerging() 공개 메소드

testParseMessageWithContentTypeHeaderSetsType() 공개 메소드

testParseMessageWithCookies() 공개 메소드

testParseMessageWithRepeatingHeaderKeys() 공개 메소드

testParsingContentTypeWithEncoding() 공개 메소드

testParsingContentTypeWithVersionNumber() 공개 메소드

testParsingContentTypeWithoutEncoding() 공개 메소드

testSetCookies() 공개 메소드

public testSetCookies ( )

testSetCookiesMultipleValues() 공개 메소드

testStatus() 공개 메소드

public testStatus ( )

testToString() 공개 메소드

public testToString ( )

testToStringDoesNotAddContentTypeHeaderOnTextHtml() 공개 메소드

testToStringPrefersHeadersContentTypeOverType() 공개 메소드

testToStringTypeAlwaysUsesContentTypeHeader() 공개 메소드

testToStringWithCookies() 공개 메소드

testTransferEncodingChunkedDecode() 공개 메소드

testTypeHeader() 공개 메소드

public testTypeHeader ( )

testTypePriority() 공개 메소드

public testTypePriority ( )

testWithoutChunksAndComment() 공개 메소드

testWithoutChunksAndCommentInBody() 공개 메소드

testWithoutChunksAndCommentInHtmlRoot() 공개 메소드

testWithoutChunksAndRandomCommentInHtmlRoot() 공개 메소드