Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
566000100%2.509

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.http.impl.entity42000100%0.132
org.apache.http.message105000100%0.026
org.apache.http.impl.io87000100%0.158
org.apache.http.protocol110000100%0.194
org.apache.http.pool34000100%0.733
org.apache.http.impl34000100%0.048
org.apache.http.params5000100%0.002
org.apache.http.entity52000100%0.063
org.apache.http.impl.pool5000100%0.304
org.apache.http.integration11000100%0.463
org.apache.http.util59000100%0.03
org.apache.http.concurrent9000100%0.353
org.apache.http13000100%0.003

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.http.impl.entity

ClassTestsErrors FailuresSkippedSuccess RateTime
TestDisallowIdentityContentLengthStrategy2000100%0.12
TestLaxContentLengthStrategy10000100%0.002
TestStrictContentLengthStrategy8000100%0.001
TestEntitySerializer9000100%0.005
TestEntityDeserializer13000100%0.004

org.apache.http.message

ClassTestsErrors FailuresSkippedSuccess RateTime
TestRequestLine4000100%0.001
TestHeaderElement8000100%0.001
TestBasicHeaderValueFormatter6000100%0.001
TestNameValuePair6000100%0.002
TestBasicHeaderValueParser10000100%0.006
TestBufferedHeader5000100%0.001
TestBasicMessages7000100%0.001
TestHeaderGroup11000100%0.003
TestAbstractMessage4000100%0
TestBasicHeaderElementIterator3000100%0.001
TestBasicLineParser7000100%0.001
TestHeader7000100%0.001
TestBasicLineFormatter8000100%0.002
TestBasicHeaderIterator5000100%0.001
TestStatusLine5000100%0.002
TestBasicTokenIterator9000100%0.002

org.apache.http.impl.io

ClassTestsErrors FailuresSkippedSuccess RateTime
TestContentLengthOutputStream3000100%0.001
TestSessionBuffers15000100%0.045
TestMessageParser8000100%0.001
TestRequestParser4000100%0
TestIdentityInputStream4000100%0
TestChunkCoding21000100%0.013
TestResponseParser4000100%0
TestSocketOutputBuffer16000100%0.096
TestContentLengthInputStream6000100%0
TestIdentityOutputStream6000100%0.002

org.apache.http.protocol

ClassTestsErrors FailuresSkippedSuccess RateTime
TestHttpExecutionContext3000100%0
TestHttpRequestHandlerRegistry7000100%0.001
TestHttpService12000100%0.069
TestStandardInterceptors71000100%0.06
TestHttpRequestExecutor12000100%0.062
TestBasicHttpProcessor5000100%0.002

org.apache.http.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestConnPool18000100%0.712
TestRouteSpecificPool11000100%0.019
TestPoolEntry5000100%0.002

org.apache.http.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
TestDefaultConnectionReuseStrategy25000100%0.012
TestBasicRequest3000100%0
TestNoConnectionReuseStrategy3000100%0.035
TestEnglishReasonPhraseCatalog3000100%0.001

org.apache.http.params

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicHttpParams2000100%0.001
TestDefaultedHttpParams3000100%0.001

org.apache.http.entity

ClassTestsErrors FailuresSkippedSuccess RateTime
TestByteArrayEntity8000100%0.005
TestHttpEntityWrapper4000100%0
TestBasicHttpEntity3000100%0
TestSerializableEntity5000100%0.018
TestAbstractHttpEntity3000100%0
TestInputStreamEntity3000100%0.001
TestEntityTemplate4000100%0.003
TestBufferedHttpEntity5000100%0.002
TestContentType9000100%0.027
TestStringEntity5000100%0
TestFileEntity3000100%0.007

org.apache.http.impl.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicConnPool5000100%0.304

org.apache.http.integration

ClassTestsErrors FailuresSkippedSuccess RateTime
TestSyncHttp11000100%0.463

org.apache.http.util

ClassTestsErrors FailuresSkippedSuccess RateTime
TestLangUtils5000100%0.002
TestEncodingUtils5000100%0.014
TestCharArrayBuffer21000100%0.007
TestByteArrayBuffer15000100%0.004
TestEntityUtils13000100%0.003

org.apache.http.concurrent

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicFuture9000100%0.353

org.apache.http

ClassTestsErrors FailuresSkippedSuccess RateTime
TestHttpExceptions1000100%0
TestHttpHost7000100%0.002
TestHttpVersion5000100%0.001

Test Cases

[Summary] [Package List] [Test Cases]

TestContentLengthOutputStream

testConstructors0
testClose0
testBasics0.001

TestLangUtils

testBasicHash0
testNullObjectHash0
testBooleanHash0
testBasicEquality0
testArrayEquals0

TestConnPool

testConnectionRedistributionOnTotalMaxLimit0.032
testStatefulConnectionRedistributionOnPerRouteMaxLimit0.007
testCreateNewIfExpired0.202
testCloseExpired0.205
testLeaseTimeout0.005
testLeaseIOException0.003
testLeaseCancel0.01
testCloseIdle0.207
testCloseIdleInvalid0
testGetStatsInvalid0
testSetMaxInvalid0
testShutdown0.015
testEmptyPool0
testInvalidConstruction0
testLeaseRelease0.002
testLeaseIllegal0
testReleaseUnknownEntry0.001
testMaxLimits0.012

TestHttpExecutionContext

testContextOperations0
testEmptyContextOperations0
testContextInvalidInput0

TestByteArrayEntity

testIllegalConstructorBadLen0.001
testWriteToOffLen0
testBasicOffLen0.001
testIllegalConstructorNullByteArray0
testIllegalConstructorBadOff10
testIllegalConstructorBadOff20
testWriteTo0
testBasics0.001

TestSessionBuffers

testReadWriteByte0
testLineLimit0
testReadLineFringeCase10
testMultibyteCodedReadWriteLine0.001
testMultibyteCodedReadWriteLongLine0.036
testNonAsciiReadWriteLine0
testUnmappableInputAction0
testMalformedInputAction0.001
testInvalidCharArrayBuffer0
testBasicBufferProperties0
testInit0.001
testBasicReadWriteLine0
testComplexReadWriteLine0.001
testBasicReadWriteLineLargeBuffer0
testReadWriteBytes0.001

TestHttpEntityWrapper

testWriteTo0
testIllegalConstructor0
testConsumeContent0
testBasics0

TestHttpRequestHandlerRegistry

testInvalidInput0
testRegisterUnregister0
testWildCardMatchingWithQuery0
testSuffixPatternOverPrefixPatternMatch0
testRegisterNull0
testWildCardMatching10
testWildCardMatching20

TestEncodingUtils

testBytesToString0
testStringToBytesToString0
testAsciiBytesToString0
testAsciiStringToBytes0
testUnsupportedEncoding0.012

TestDefaultConnectionReuseStrategy

testNoContentResponse0.001
testExplicitClose0
testExplicitKeepAlive0
testHTTP10Default0.001
testHTTP11Default0
testFutureHTTP0
testBrokenConnectionDirective10.001
testBrokenConnectionDirective20
testConnectionTokens10
testConnectionTokens20
testConnectionTokens30
testConnectionTokens40
testConnectionTokens50
testConnectionTokens60
testConnectionTokensInvalid0
testMultipleContentLength0.001
testInvalidContentLength0
testInvalidNegativeContentLength0
testNoContentResponseHttp100
testIllegalResponseArg0
testIllegalContextArg0.001
testNoContentLengthResponseHttp1_00
testNoContentLengthResponseHttp1_10
testChunkedContent0
testIgnoreInvalidKeepAlive0

TestCharArrayBuffer

testConstructor0
testAppendCharArrayBuffer0
testAppendSingleChar0
testInvalidCharArrayAppend0
testSubstring0
testSubstringIndexOfOutBound0
testAppendAsciiByteArray0
testAppendISOByteArray0
testAppendNullByteArray0
testAppendNullByteArrayBuffer0
testInvalidAppendAsciiByteArray0
testSetInvalidLength0.001
testEnsureCapacity0
testIndexOf0
testAppendNullCharArrayBuffer0
testSerialization0
testAppendString0
testAppendNullString0
testSimpleAppend0
testExpandAppend0
testSetLength0

TestMessageParser

testInvalidInput0
testBasicHeaderParsing0
testBufferedHeader0
testParsingInvalidHeaders0.001
testParsingMalformedFirstHeader0
testEmptyDataStream0
testMaxHeaderCount0
testMaxHeaderCountForFoldedHeader0

TestBasicRequest

testConstructor0
testRequestLine0
testRequestLine20

TestByteArrayBuffer

testConstructor0
testSetInvalidLength0
testEnsureCapacity0
testIndexOf0
testAppendCharArrayAsAscii0
testAppendNullCharArray0
testAppendEmptyCharArray0
testAppendNullCharArrayBuffer0
testInvalidAppendCharArrayAsAscii0
testSerialization0.001
testSimpleAppend0
testExpandAppend0
testInvalidAppend0
testAppendOneByte0
testSetLength0

TestRouteSpecificPool

testShutdown0.011
testEmptyPool0
testLeaseRelease0.001
testAdd0.001
testLeaseOrder0
testLeaseReleaseStateful0
testReleaseInvalidEntry0
testRemove0.001
testReleaseInvalid0.001
testRemoveInvalid0
testWaitingThreadQueuing0.001

TestRequestLine

testConstructor0
testSerialization0
testConstructorInvalidInput0
testCloning0

TestBasicHttpEntity

testWriteTo0
testContent0
testBasics0

TestSyncHttp

testSimpleHttpPostsWithContentLength0.105
testSimpleHttpPostsChunked0.037
testSimpleBasicHttpRequests0.017
testSimpleHttpPostsHTTP100.024
testHttpPostsWithExpectContinue0.02
testHttpPostsWithExpectationVerification0.007
testHttpContent0.236
testHttpPostNoEntity0.002
testHttpPostNoContentLength0.002
testHttpPostIdentity0.003
testNoContentResponse0.006

TestHttpService

testInvalidInitialization0.009
testBasicExecutionHTTP100.008
testBasicProtocolDowngrade0.002
testExecutionEntityEclosingRequest0.013
testExecutionEntityEclosingRequestWithExpectContinue0.006
testExecutionEntityEclosingRequestCustomExpectationVerifier0.004
testExecutionExceptionInCustomExpectationVerifier0.007
testMethodNotSupported0.006
testUnsupportedHttpVersionException0.004
testProtocolException0.003
testConnectionKeepAlive0.003
testBasicExecution0.003

TestHeaderElement

testConstructor30
testConstructor20
testParamByName0
testInvalidName0
testEquals0
testHashCode0
testToString0.001
testCloning0

TestSerializableEntity

testBasicsBuff0.012
testBasicsDirect0
testWriteToBuff0.003
testWriteToDirect0
testIllegalConstructor0

TestHttpExceptions

testConstructor0

TestBasicHeaderValueFormatter

testParamsFormatting0
testHEFormatting0
testElementsFormatting0
testInvalidHEArguments0.001
testInvalidNVArguments0
testNVPFormatting0

TestNameValuePair

testConstructor0
testInvalidName0
testEquals0
testHashCode0
testToString0
testCloning0

TestStandardInterceptors

testResponseConnControlEntityContentLength0
testResponseConnControlEntityUnknownContentLength0
testResponseConnControlEntityChunked0
testResponseConnControlEntityUnknownContentLengthHTTP100.001
testResponseConnControlClientRequest0
testResponseConnControlClientRequest20
testResponseConnControl10Client11Response0
testResponseConnControlStatusCode0
testResponseConnControlExplicitClose0
testResponseConnControlHostInvalidInput0.001
testResponseContentStatusNoContent0
testResponseContentStatusResetContent0
testResponseContentStatusNotModified0
testResponseContentEntityChunked0
testResponseContentEntityContentLenghtDelimited0.001
testResponseContentEntityUnknownContentLength0
testResponseContentEntityChunkedHTTP100
testResponseContentEntityNoContentTypeAndEncoding0
testResponseContentEntityContentTypeAndEncoding0
testResponseContentInvalidInput0
testResponseContentInvalidResponseState0
testResponseContentOverwriteHeaders0
testResponseContentAddHeaders0
testRequestExpectContinueNotGenerated0.001
testRequestExpectContinueHTTP100
testRequestExpectContinueZeroContent0
testRequestExpectContinueInvalidInput0.002
testRequestExpectContinueIgnoreNonenclosingRequests0
testRequestTargetHostGenerated0
testRequestTargetHostFallback0.021
testRequestTargetHostFallbackFailure0.001
testRequestTargetHostNotGenerated0.001
testRequestTargetHostMissingHostHTTP100
testRequestTargetHostMissingHostHTTP110
testRequestTargetHostInvalidInput0.001
testRequestTargetHostConnectHttp110
testRequestTargetHostConnectHttp100
testRequestUserAgentGenerated0
testRequestUserAgentNotGenerated0
testRequestUserAgentMissingUserAgent0
testRequestUserAgentInvalidInput0
testResponseConnControlNoEntity0
testResponseDateGenerated0
testRequestConnControlConnectMethod0
testRequestContentEntityChunkedHTTP110
testRequestContentEntityUnknownLengthHTTP110
testRequestContentEntityChunkedHTTP100
testRequestContentTypeAndEncoding0
testRequestContentNullTypeAndEncoding0
testRequestContentEntityUnknownLengthHTTP100
testRequestContentInvalidInput0
testRequestContentIgnoreNonenclosingRequests0
testRequestContentOverwriteHeaders0
testRequestContentAddHeaders0
testRequestExpectContinueGenerated0
testResponseContentNoEntity0
testRequestConnControlCustom0
testRequestConnControlGenerated0
testRequestConnControlInvalidInput0
testRequestContentProtocolException0.001
testRequestContentNullEntity0
testRequestContentEntityContentLengthDelimitedHTTP110
testResponseDateNotGenerated0
testResponseDateInvalidInput0
testRequestDateGenerated0.001
testRequestDateNotGenerated0
testRequestDateInvalidInput0
testResponseServerGenerated0.001
testResponseServerNotGenerated0
testResponseServerMissing0
testResponseServerInvalidInput0

TestRequestParser

testBasicMessageParsing0
testConnectionClosedException0
testMessageParsingTimeout0
testInvalidConstructorInput0

TestIdentityInputStream

testConstructor0
testAvailable0
testClosedCondition0
testBasicRead0

TestBasicHeaderValueParser

testParseHeaderElements0
testParseHEEscaped0
testHEFringeCase10
testHEFringeCase20.001
testHEFringeCase30
testNVParseUsingCursor0
testNVParse0
testNVParseAllWithCursor0.002
testNVParseAll0
testNVParseEscaped0

TestBasicHttpParams

testgetNames0
testRemoveParam0

TestChunkCoding

testConstructors0
testChunkedInputStreamLargeBuffer0
testChunkedInputStreamSmallBuffer0
testChunkedInputStreamOneByteRead0
testAvailable0
testChunkedInputStreamClose0
testChunkedOutputStreamClose0
testChunkedInputStreamNoClosingChunk0
testCorruptChunkedInputStreamMissingCRLF0
testCorruptChunkedInputStreamMissingLF0
testCorruptChunkedInputStreamInvalidSize0
testCorruptChunkedInputStreamNegativeSize0.001
testCorruptChunkedInputStreamTruncatedChunk0
testCorruptChunkedInputStreamInvalidFooter0
testEmptyChunkedInputStream0
testChunkedConsistence0
testChunkedOutputStream0
testChunkedOutputStreamLargeChunk0
testChunkedOutputStreamSmallChunk0
testResumeOnSocketTimeoutInData0
testResumeOnSocketTimeoutInChunk0.001

TestNoConnectionReuseStrategy

testNullContext0.028
testGoodcall0.001
testNullResponse0.002

TestBufferedHeader

testSerialization0
testBasicConstructor0
testHeaderElements0
testInvalidName0.001
testCloning0

TestHttpHost

testConstructor0
testSerialization0.001
testToHostString0
testEquals0
testHashCode0.001
testToString0
testCloning0

TestPoolEntry

testBasics0
testInvalidConstruction0.001
testValidInfinitely0
testInvalidExpiry0
testExpiry0

TestResponseParser

testBasicMessageParsing0
testConnectionClosedException0
testMessageParsingTimeout0
testInvalidConstructorInput0

TestBasicMessages

testDefaultResponseConstructors0
testDefaultEntityEnclosingRequestConstructors0
testSetRequestEntity0
testExpectContinue0
testSetResponseStatus0
testSetResponseEntity0
testDefaultRequestConstructors0.001

TestHeaderGroup

testConstructor0
testSerialization0.001
testUpdateHeader0
testSetHeaders0
testFirstLastHeaders0
testCondensedHeader0.001
testHeaderRemove0
testClear0
testAddRemoveHeader0
testIterator0
testCloning0.001

TestAbstractHttpEntity

testContentEncoding0
testChunkingFlag0
testContentType0

TestDisallowIdentityContentLengthStrategy

testZeroLength0.119
testIdentity0.001

TestAbstractMessage

testInvalidInput0
testBasicProperties0
testBasicHeaderOps0
testParameters0

TestInputStreamEntity

testWriteTo0
testIllegalConstructor0
testBasics0

TestHttpRequestExecutor

testInvalidInput0.008
testExecutionEntityEnclosingRequest0.01
testExecutionEntityEnclosingRequestWithExpectContinueSuccess0.007
testExecutionEntityEnclosingRequestWithExpectContinueFailure0.008
testExecutionEntityEnclosingRequestUnsupportedIntermediateResponse0.004
testBasicExecution0.005
testExecutionSkipIntermediateResponses0.005
testExecutionNoResponseBody0.004
testExecutionHead0.003
testExecutionIOException0.003
testExecutionEntityEnclosingRequestWithExpectContinueNoResponse0.003
testExecutionRuntimeException0.001

TestSocketOutputBuffer

testWriteByteArrayToBuffer0.046
testWriteLineNullStringEncode0.003
testWriteLineCharArrayBuffer0.002
testWriteLineCharArrayBufferEncode0.003
testWriteLineEmptyCharArrayBuffer0.002
testWriteLineEmptyCharArrayBufferEncode0.003
testWriteByteArrayOffLenDirectToStream10.004
testWriteByteArrayOffLenDirectToStream20.004
testWriteByteArrayOffLenToBuffer0.003
testWriteByteArrayDirectToStream10.003
testWriteByteArrayDirectToStream20.003
testWriteLineString0.002
testWriteLineStringEncode0.003
testWriteLineEmptyString0.002
testWriteLineEmptyStringEncode0.002
testWriteLineNullString0.002

TestBasicHttpProcessor

testClearByClass0.001
testAddFirstRequestInterceptorNull0
testAddFirstRequestInterceptor0
testAddTailRequestInterceptorNull0
testAddTailRequestInterceptor0

TestEntityTemplate

testgetContent0.001
testWriteTo0.001
testIllegalConstructor0
testBasics0

TestLaxContentLengthStrategy

testEntityWithContentLength0
testEntityWithIdentityTransferEncoding0
testEntityWithInvalidContentLength0
testEntityWithTransferEncoding0
testEntityWithUnsupportedTransferEncoding0
testChunkedTransferEncodingMustBeLast0
testEntityWithMultipleContentLength0
testEntityWithMultipleContentLengthSomeWrong0.001
testEntityWithMultipleContentLengthAllWrong0
testEntityNeitherContentLengthNorTransferEncoding0

TestBasicConnPool

testNullConstructor20.287
testHttpCreateConnection0.002
testHttpsCreateConnection0.009
testHttpCreateEntry0.002
testNullConstructor10.001

TestBasicHeaderElementIterator

testMultiHeader0
testMultiHeaderSameLine0
testFringeCases0

TestBufferedHttpEntity

testWrappingEntity0
testWriteToBuffered0
testWriteToWrapped0
testBufferingEntity0
testIllegalConstructor0.001

TestEntityUtils

testNullEntityToByteArray0
testEmptyContentToByteArray0.001
testMaxIntContentToByteArray0
testUnknownLengthContentToByteArray0
testKnownLengthContentToByteArray0
testNullEntityToString0
testEmptyContentToString0
testMaxIntContentToString0
testUnknownLengthContentToString0
testKnownLengthContentToString0
testNoCharsetContentToString0.001
testDefaultCharsetContentToString0
testContentWithContentTypeToString0.001

TestContentLengthInputStream

testConstructors0
testClose0
testAvailable0
testBasics0
testSkip0
testTruncatedContent0

TestContentType

testExtractNullInput0
testExtractNullContentType0
testExtractNoCharset0
testBasis0
testLowCaseText0
testCreateInvalidInput0.023
testParse0
testParseInvalidInput0.001
testExtract0

TestStrictContentLengthStrategy

testEntityWithContentLength0
testEntityWithChunkTransferEncoding0
testEntityWithIdentityTransferEncoding0
testEntityWithInvalidTransferEncoding0
testEntityWithInvalidChunkEncodingAndHTTP100
testEntityWithInvalidContentLength0
testEntityWithNegativeContentLength0
testEntityNoContentDelimiter0

TestDefaultedHttpParams

testgetNames0
testAddRemoveParam0
testEmptyParams0

TestEntitySerializer

testEntityWithContentLength0
testEntityWithChunkTransferEncoding0
testEntityWithIdentityTransferEncoding0.001
testEntityWithInvalidTransferEncoding0
testEntityWithInvalidChunkEncodingAndHTTP100
testEntityWithInvalidContentLength0.001
testEntityNoContentDelimiter0
testIllegalGenerateArg0
testEntitySerialization0.001

TestBasicLineParser

testRLParseSuccess0
testHttpVersionParsing0
testHttpVersionParsingUsingCursor0
testInvalidHttpVersionParsing0
testRLParseFailure0
testSLParseSuccess0
testSLParseFailure0

TestHeader

testSerialization0
testBasicConstructor0
testHeaderElements0
testBasicConstructorNullValue0
testInvalidName0
testToString0
testCloning0

TestBasicLineFormatter

testSLFormatting0
testSLFormattingInvalidInput0
testHeaderFormatting0
testHeaderFormattingInvalidInput0.001
testHttpVersionFormatting0
testHttpVersionFormattingInvalidInput0
testRLFormatting0
testRLFormattingInvalidInput0

TestEnglishReasonPhraseCatalog

testReasonPhrases0
testStatusInvalid0
testStatusAll0

TestBasicHeaderIterator

testFirstLastOneNone0
testRemaining0
testAllSame0.001
testInterspersed0
testInvalid0

TestStringEntity

testDefaultContent0
testNullCharset0
testWriteTo0
testIllegalConstructor0
testBasics0

TestHttpVersion

testSerialization0
testHttpVersionInvalidConstructorInput0
testHttpVersionComparison0
testHttpVersionEquality0.001
testCloning0

TestFileEntity

testWriteTo0.006
testIllegalConstructor0
testBasics0

TestIdentityOutputStream

testConstructor0
testConstructors0
testClose0.001
testBasicWrite0
testBasics0
testClosedCondition0

TestEntityDeserializer

testEntityWithContentLength0
testEntityWithIdentityTransferEncoding0
testEntityWithInvalidContentLength0.001
testEntityWithTransferEncoding0
testEntityWithUnsupportedTransferEncoding0
testChunkedTransferEncodingMustBeLast0
testEntityWithMultipleContentLength0
testEntityWithMultipleContentLengthSomeWrong0
testEntityWithMultipleContentLengthAllWrong0
testEntityNeitherContentLengthNorTransferEncoding0
testIllegalGenerateArg0
testEntityContentType0
testEntityContentEncoding0

TestStatusLine

testConstructor0
testSerialization0.001
testConstructorInvalidInput0
testToString0.001
testCloning0

TestBasicTokenIterator

testMultiHeader0
testEmpty0
testValueStart0
testValueEnd0
testTokenChar0
testWrongPublic0
testWrongProtected0
testSingleHeader0
testInvalid0.001

TestBasicFuture

testCompleted0.003
testFailed0
testAsyncCompleted0.099
testAsyncFailed0.102
testAsyncCancelled0.102
testAsyncTimeout0.003
testAsyncNegativeTimeout0.001
testCompletedWithTimeout0.001
testCancelled0