Surefire Report

Summary

[Summary] [Package List] [Test Cases]



TestsErrors FailuresSkippedSuccess RateTime
566000100%2.297


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.121
org.apache.http.message105000100%0.019
org.apache.http.impl.io87000100%0.14
org.apache.http.protocol110000100%0.155
org.apache.http.pool34000100%0.713
org.apache.http.impl34000100%0.041
org.apache.http.params5000100%0
org.apache.http.entity52000100%0.041
org.apache.http.impl.pool5000100%0.282
org.apache.http.integration11000100%0.442
org.apache.http.util59000100%0.025
org.apache.http.concurrent9000100%0.317
org.apache.http13000100%0.001


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.119
TestLaxContentLengthStrategy10000100%0
TestStrictContentLengthStrategy8000100%0.001
TestEntitySerializer9000100%0
TestEntityDeserializer13000100%0.001

org.apache.http.message

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

org.apache.http.impl.io

ClassTestsErrors FailuresSkippedSuccess RateTime
TestContentLengthOutputStream3000100%0
TestSessionBuffers15000100%0.038
TestMessageParser8000100%0
TestRequestParser4000100%0
TestIdentityInputStream4000100%0
TestChunkCoding21000100%0.001
TestResponseParser4000100%0
TestSocketOutputBuffer16000100%0.101
TestContentLengthInputStream6000100%0
TestIdentityOutputStream6000100%0

org.apache.http.protocol

ClassTestsErrors FailuresSkippedSuccess RateTime
TestHttpExecutionContext3000100%0
TestHttpRequestHandlerRegistry7000100%0
TestHttpService12000100%0.066
TestStandardInterceptors71000100%0.03
TestHttpRequestExecutor12000100%0.057
TestBasicHttpProcessor5000100%0.002

org.apache.http.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestConnPool18000100%0.7
TestRouteSpecificPool11000100%0.012
TestPoolEntry5000100%0.001

org.apache.http.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
TestDefaultConnectionReuseStrategy25000100%0.006
TestBasicRequest3000100%0
TestNoConnectionReuseStrategy3000100%0.033
TestEnglishReasonPhraseCatalog3000100%0.002

org.apache.http.params

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicHttpParams2000100%0
TestDefaultedHttpParams3000100%0

org.apache.http.entity

ClassTestsErrors FailuresSkippedSuccess RateTime
TestByteArrayEntity8000100%0.001
TestHttpEntityWrapper4000100%0.002
TestBasicHttpEntity3000100%0
TestSerializableEntity5000100%0.01
TestAbstractHttpEntity3000100%0
TestInputStreamEntity3000100%0
TestEntityTemplate4000100%0.002
TestBufferedHttpEntity5000100%0.001
TestContentType9000100%0.025
TestStringEntity5000100%0
TestFileEntity3000100%0

org.apache.http.impl.pool

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicConnPool5000100%0.282

org.apache.http.integration

ClassTestsErrors FailuresSkippedSuccess RateTime
TestSyncHttp11000100%0.442

org.apache.http.util

ClassTestsErrors FailuresSkippedSuccess RateTime
TestLangUtils5000100%0.001
TestEncodingUtils5000100%0.011
TestCharArrayBuffer21000100%0.005
TestByteArrayBuffer15000100%0.003
TestEntityUtils13000100%0.005

org.apache.http.concurrent

ClassTestsErrors FailuresSkippedSuccess RateTime
TestBasicFuture9000100%0.317

org.apache.http

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


Test Cases

[Summary] [Package List] [Test Cases]

TestContentLengthOutputStream

testClose0
testBasics0
testConstructors0

TestLangUtils

testBasicHash0.001
testNullObjectHash0
testBooleanHash0
testBasicEquality0
testArrayEquals0

TestConnPool

testConnectionRedistributionOnTotalMaxLimit0.026
testStatefulConnectionRedistributionOnPerRouteMaxLimit0.006
testCreateNewIfExpired0.207
testCloseExpired0.205
testLeaseTimeout0.003
testLeaseIOException0.001
testLeaseCancel0.016
testCloseIdle0.206
testCloseIdleInvalid0.001
testGetStatsInvalid0.001
testSetMaxInvalid0.001
testShutdown0.012
testEmptyPool0
testInvalidConstruction0
testLeaseRelease0.002
testLeaseIllegal0.001
testReleaseUnknownEntry0
testMaxLimits0.012

TestHttpExecutionContext

testContextOperations0
testEmptyContextOperations0
testContextInvalidInput0

TestByteArrayEntity

testBasicOffLen0
testIllegalConstructorNullByteArray0
testIllegalConstructorBadLen0
testWriteToOffLen0
testBasics0
testWriteTo0
testIllegalConstructorBadOff10
testIllegalConstructorBadOff20.001

TestSessionBuffers

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

TestHttpEntityWrapper

testBasics0
testWriteTo0.001
testConsumeContent0.001
testIllegalConstructor0

TestHttpRequestHandlerRegistry

testRegisterNull0
testWildCardMatching10
testRegisterUnregister0
testWildCardMatching20
testWildCardMatchingWithQuery0
testSuffixPatternOverPrefixPatternMatch0
testInvalidInput0

TestEncodingUtils

testAsciiBytesToString0
testAsciiStringToBytes0
testUnsupportedEncoding0.011
testStringToBytesToString0
testBytesToString0

TestDefaultConnectionReuseStrategy

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

TestCharArrayBuffer

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

TestMessageParser

testEmptyDataStream0
testMaxHeaderCount0
testMaxHeaderCountForFoldedHeader0
testInvalidInput0
testBasicHeaderParsing0
testBufferedHeader0
testParsingInvalidHeaders0
testParsingMalformedFirstHeader0

TestBasicRequest

testConstructor0
testRequestLine0
testRequestLine20

TestByteArrayBuffer

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

TestRouteSpecificPool

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

TestRequestLine

testConstructor0
testConstructorInvalidInput0
testCloning0
testSerialization0.001

TestBasicHttpEntity

testContent0
testBasics0
testWriteTo0

TestSyncHttp

testSimpleBasicHttpRequests0.119
testSimpleHttpPostsWithContentLength0.019
testSimpleHttpPostsChunked0.029
testSimpleHttpPostsHTTP100.021
testHttpPostsWithExpectContinue0.018
testHttpPostsWithExpectationVerification0.006
testHttpContent0.214
testHttpPostNoEntity0.004
testHttpPostNoContentLength0.003
testHttpPostIdentity0.003
testNoContentResponse0.006

TestHttpService

testInvalidInitialization0.01
testBasicExecutionHTTP100.008
testBasicProtocolDowngrade0.002
testExecutionEntityEclosingRequest0.01
testUnsupportedHttpVersionException0.008
testExecutionEntityEclosingRequestWithExpectContinue0.005
testExecutionEntityEclosingRequestCustomExpectationVerifier0.003
testExecutionExceptionInCustomExpectationVerifier0.007
testMethodNotSupported0.004
testProtocolException0.003
testConnectionKeepAlive0.003
testBasicExecution0.003

TestHeaderElement

testInvalidName0
testHashCode0
testEquals0
testToString0
testCloning0
testConstructor30
testConstructor20
testParamByName0

TestSerializableEntity

testBasicsBuff0.008
testBasicsDirect0
testWriteToBuff0.001
testWriteToDirect0.001
testIllegalConstructor0

TestHttpExceptions

testConstructor0

TestBasicHeaderValueFormatter

testParamsFormatting0.001
testNVPFormatting0
testElementsFormatting0
testInvalidHEArguments0
testInvalidNVArguments0
testHEFormatting0

TestNameValuePair

testConstructor0.001
testInvalidName0.001
testHashCode0
testEquals0
testToString0
testCloning0

TestStandardInterceptors

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

TestRequestParser

testInvalidConstructorInput0
testBasicMessageParsing0
testConnectionClosedException0
testMessageParsingTimeout0

TestIdentityInputStream

testAvailable0
testConstructor0
testClosedCondition0
testBasicRead0

TestBasicHeaderValueParser

testParseHeaderElements0
testParseHEEscaped0
testHEFringeCase10
testHEFringeCase30
testNVParse0
testNVParseUsingCursor0
testNVParseAllWithCursor0
testNVParseAll0
testNVParseEscaped0
testHEFringeCase20

TestBasicHttpParams

testgetNames0
testRemoveParam0

TestChunkCoding

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

TestNoConnectionReuseStrategy

testNullResponse0.03
testNullContext0.001
testGoodcall0.002

TestBufferedHeader

testInvalidName0
testCloning0
testSerialization0.001
testBasicConstructor0
testHeaderElements0

TestHttpHost

testConstructor0
testHashCode0
testEquals0
testToString0
testCloning0
testSerialization0.001
testToHostString0

TestPoolEntry

testBasics0
testInvalidConstruction0.001
testValidInfinitely0
testExpiry0
testInvalidExpiry0

TestResponseParser

testInvalidConstructorInput0
testBasicMessageParsing0
testConnectionClosedException0
testMessageParsingTimeout0

TestBasicMessages

testDefaultResponseConstructors0
testSetResponseStatus0
testSetResponseEntity0
testDefaultRequestConstructors0
testDefaultEntityEnclosingRequestConstructors0
testSetRequestEntity0
testExpectContinue0

TestHeaderGroup

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

TestAbstractHttpEntity

testChunkingFlag0
testContentEncoding0
testContentType0

TestDisallowIdentityContentLengthStrategy

testZeroLength0.118
testIdentity0.001

TestAbstractMessage

testInvalidInput0.001
testBasicProperties0
testBasicHeaderOps0
testParameters0

TestInputStreamEntity

testBasics0
testWriteTo0
testIllegalConstructor0

TestHttpRequestExecutor

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

TestSocketOutputBuffer

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

TestBasicHttpProcessor

testAddFirstRequestInterceptorNull0.001
testAddFirstRequestInterceptor0
testAddTailRequestInterceptorNull0
testAddTailRequestInterceptor0
testClearByClass0.001

TestEntityTemplate

testBasics0.001
testWriteTo0
testgetContent0.001
testIllegalConstructor0

TestLaxContentLengthStrategy

testEntityWithMultipleContentLengthSomeWrong0
testEntityWithMultipleContentLengthAllWrong0
testEntityNeitherContentLengthNorTransferEncoding0
testEntityWithUnsupportedTransferEncoding0
testChunkedTransferEncodingMustBeLast0
testEntityWithMultipleContentLength0
testEntityWithTransferEncoding0
testEntityWithContentLength0
testEntityWithIdentityTransferEncoding0
testEntityWithInvalidContentLength0

TestBasicConnPool

testHttpsCreateConnection0.277
testHttpCreateEntry0.002
testNullConstructor10.001
testNullConstructor20.001
testHttpCreateConnection0.001

TestBasicHeaderElementIterator

testMultiHeader0
testFringeCases0
testMultiHeaderSameLine0.001

TestBufferedHttpEntity

testBufferingEntity0
testWrappingEntity0
testWriteToBuffered0
testWriteToWrapped0.001
testIllegalConstructor0

TestEntityUtils

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

TestContentLengthInputStream

testAvailable0
testClose0
testBasics0
testConstructors0
testSkip0
testTruncatedContent0

TestContentType

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

TestStrictContentLengthStrategy

testEntityWithContentLength0
testEntityWithChunkTransferEncoding0.001
testEntityWithIdentityTransferEncoding0
testEntityWithInvalidTransferEncoding0
testEntityWithInvalidChunkEncodingAndHTTP100
testEntityWithInvalidContentLength0
testEntityWithNegativeContentLength0
testEntityNoContentDelimiter0

TestDefaultedHttpParams

testgetNames0
testAddRemoveParam0
testEmptyParams0

TestEntitySerializer

testEntitySerialization0
testEntityWithContentLength0
testEntityWithChunkTransferEncoding0
testEntityWithIdentityTransferEncoding0
testEntityWithInvalidTransferEncoding0
testEntityWithInvalidChunkEncodingAndHTTP100
testEntityWithInvalidContentLength0
testEntityNoContentDelimiter0
testIllegalGenerateArg0

TestBasicLineParser

testRLParseSuccess0
testRLParseFailure0
testSLParseSuccess0
testSLParseFailure0
testHttpVersionParsing0.001
testHttpVersionParsingUsingCursor0
testInvalidHttpVersionParsing0

TestHeader

testInvalidName0
testToString0
testCloning0
testSerialization0
testBasicConstructor0
testHeaderElements0
testBasicConstructorNullValue0

TestBasicLineFormatter

testSLFormattingInvalidInput0.001
testHeaderFormatting0
testHeaderFormattingInvalidInput0
testRLFormatting0
testRLFormattingInvalidInput0
testSLFormatting0
testHttpVersionFormatting0
testHttpVersionFormattingInvalidInput0

TestEnglishReasonPhraseCatalog

testReasonPhrases0.002
testStatusInvalid0
testStatusAll0

TestBasicHeaderIterator

testAllSame0
testInterspersed0.001
testInvalid0
testRemaining0
testFirstLastOneNone0

TestStringEntity

testDefaultContent0
testNullCharset0
testBasics0
testWriteTo0
testIllegalConstructor0

TestHttpVersion

testCloning0
testSerialization0
testHttpVersionComparison0
testHttpVersionInvalidConstructorInput0
testHttpVersionEquality0

TestFileEntity

testBasics0
testWriteTo0
testIllegalConstructor0

TestIdentityOutputStream

testClose0
testBasics0
testConstructor0
testConstructors0
testClosedCondition0
testBasicWrite0

TestEntityDeserializer

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

TestStatusLine

testConstructor0
testConstructorInvalidInput0
testToString0.001
testCloning0
testSerialization0.002

TestBasicTokenIterator

testSingleHeader0
testMultiHeader0
testEmpty0.001
testInvalid0
testValueStart0
testValueEnd0.001
testTokenChar0
testWrongPublic0
testWrongProtected0

TestBasicFuture

testFailed0.004
testAsyncFailed0.102
testAsyncCancelled0.102
testAsyncTimeout0.002
testAsyncNegativeTimeout0.001
testCancelled0.001
testAsyncCompleted0.103
testCompletedWithTimeout0.001
testCompleted0.001