PHP Class PhlyTest\Http\Response\SerializerTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: phly/http

Méthodes publiques

Méthode Description
headersWithContinuationLines ( )
messagesWithInvalidHeaders ( )
testCanDeserializeBasicResponse ( )
testCanDeserializeResponseWithHeaderContinuations ( $text )
testCanDeserializeResponseWithMultipleHeadersOfSameName ( )
testCanDeserializeResponseWithoutBody ( )
testCanDeserializeResponseWithoutHeadersButContainingBody ( )
testCanDeserializeResponseWithoutHeadersOrBody ( )
testDeserializationRaisesExceptionForInvalidStatusLine ( )
testDeserializationRaisesExceptionForMalformedHeaders ( $message, $exceptionMessage )
testFromStreamThrowsExceptionWhenStreamIsNotReadable ( )
testFromStreamThrowsExceptionWhenStreamIsNotSeekable ( )
testOmitsReasonPhraseFromStatusLineIfEmpty ( )
testSerializesBasicResponse ( )
testSerializesMultipleHeadersCorrectly ( )

Method Details

headersWithContinuationLines() public méthode

messagesWithInvalidHeaders() public méthode

testCanDeserializeBasicResponse() public méthode

testCanDeserializeResponseWithHeaderContinuations() public méthode

testCanDeserializeResponseWithMultipleHeadersOfSameName() public méthode

testCanDeserializeResponseWithoutBody() public méthode

testCanDeserializeResponseWithoutHeadersButContainingBody() public méthode

testCanDeserializeResponseWithoutHeadersOrBody() public méthode

testDeserializationRaisesExceptionForInvalidStatusLine() public méthode

testDeserializationRaisesExceptionForMalformedHeaders() public méthode

public testDeserializationRaisesExceptionForMalformedHeaders ( $message, $exceptionMessage )

testFromStreamThrowsExceptionWhenStreamIsNotReadable() public méthode

testFromStreamThrowsExceptionWhenStreamIsNotSeekable() public méthode

testOmitsReasonPhraseFromStatusLineIfEmpty() public méthode

testSerializesBasicResponse() public méthode

testSerializesMultipleHeadersCorrectly() public méthode