Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
842 0 0 0 100% 2.268

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.hc.client5.http.impl.schedule 2 0 0 0 100% 0
org.apache.hc.client5.http.schedule 1 0 0 0 100% 0.007
org.apache.hc.client5.http.cache 27 0 0 0 100% 0.374
org.apache.hc.client5.http.impl.cache 810 0 0 0 100% 1.885
org.apache.hc.client5.http.impl.cache.memcached 2 0 0 0 100% 0.002

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

org.apache.hc.client5.http.impl.schedule

Class Tests Errors Failures Skipped Success Rate Time
TestExponentialBackingOffSchedulingStrategy 1 0 0 0 100% 0
TestImmediateSchedulingStrategy 1 0 0 0 100% 0

org.apache.hc.client5.http.schedule

Class Tests Errors Failures Skipped Success Rate Time
TestConcurrentCountMap 1 0 0 0 100% 0.007

org.apache.hc.client5.http.cache

Class Tests Errors Failures Skipped Success Rate Time
ManagedHttpCacheStorageTest 3 0 0 0 100% 0.009
TestHttpCacheEntry 24 0 0 0 100% 0.365

org.apache.hc.client5.http.impl.cache

Class Tests Errors Failures Skipped Success Rate Time
TestHttpCacheJiraNumber1147 1 0 0 0 100% 0.007
TestCacheKeyGenerator 28 0 0 0 100% 0.035
TestCachingExecChain 47 0 0 0 100% 0.097
TestProtocolRequirements 226 0 0 0 100% 0.486
TestHttpByteArrayCacheEntrySerializer 20 0 0 0 100% 0.046
TestCacheableRequestPolicy 7 0 0 0 100% 0.002
TestDateSupport 2 0 0 0 100% 0.003
TestDefaultAsyncCacheInvalidator 31 0 0 0 100% 0.038
TestResponseProtocolCompliance 1 0 0 0 100% 0.003
TestCacheValidityPolicy 43 0 0 0 100% 0.022
TestCacheUpdateHandler 13 0 0 0 100% 0.006
TestConditionalRequestBuilder 16 0 0 0 100% 0.005
TestResponseCachingPolicy 96 0 0 0 100% 0.049
TestRequestProtocolCompliance 12 0 0 0 100% 0.003
TestCacheRevalidatorBase 6 0 0 0 100% 0.028
TestProtocolDeviations 4 0 0 0 100% 0.009
TestWarningValue 17 0 0 0 100% 0.013
TestProtocolAllowedBehavior 2 0 0 0 100% 0.08
TestByteArrayCacheEntrySerializer 36 0 0 0 100% 0.062
TestCachedResponseSuitabilityChecker 20 0 0 0 100% 0.026
TestCachedHttpResponseGenerator 9 0 0 0 100% 0.038
TestProtocolRecommendations 87 0 0 0 100% 0.194
TestBasicHttpCache 14 0 0 0 100% 0.333
TestCombinedEntity 1 0 0 0 100% 0.053
TestAbstractSerializingAsyncCacheStorage 12 0 0 0 100% 0.057
TestDefaultCacheInvalidator 31 0 0 0 100% 0.111
TestAbstractSerializingCacheStorage 12 0 0 0 100% 0.051
TestRFC5861Compliance 16 0 0 0 100% 0.028

org.apache.hc.client5.http.impl.cache.memcached

Class Tests Errors Failures Skipped Success Rate Time
TestSHA256HashingScheme 1 0 0 0 100% 0.001
TestPrefixKeyHashingScheme 1 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

TestHttpCacheJiraNumber1147

testIssue1147 0.007

TestCacheKeyGenerator

testGetVariantURIHandlesMultipleLineRequestHeaders 0.02
testIntermidateDotSegementsAreEquivalent 0
testGetURIWithQueryParameters 0
testGetVariantURIHandlesMultipleVaryHeaders 0.001
testEmptyPortEquivalentToDefaultPortForHttpsAbsoluteURI 0
testIntermidateDotDotSegementsAreEquivalent 0
testGetVariantURIAlphabetizesWithMultipleVaryingHeaders 0.001
testSchemeNameComparisonsAreCaseInsensitive 0
testExtraDotDotSegmentsAreIgnored 0.001
testExtraDotSegmentsAreIgnored 0
testExtractsUriFromAbsoluteUriInRequest 0.001
testGetVariantURIWithNoVaryHeaderReturnsNormalURI 0.001
testNotProvidedPortEquivalentToDefaultPortForHttp 0
testGetVariantURIWithSingleValueVaryHeaderPrepends 0.001
testEmptyPortEquivalentToDefaultPortForHttp 0
testHostNameComparisonsAreCaseInsensitive 0
testIntermidateEncodedDotDotSegementsAreEquivalent 0.001
testEquivalentPathEncodingsAreEquivalent 0
testEquivalentExtraPathEncodingsWithPercentAreEquivalent 0
testEmptyPortEquivalentToDefaultPortForHttps 0
testGetURIWithDifferentScheme 0
testEquivalentExtraPathEncodingsAreEquivalent 0.001
testEmptyAbsPathIsEquivalentToSlash 0
testGetURIWithDefaultPortAndScheme 0
testGetURIWithDifferentPortAndScheme 0
testNotProvidedPortEquivalentToDefaultPortForHttpsAbsoluteURI 0
testGetURIWithDifferentPort 0.001
testGetVariantURIWithMissingRequestHeader 0.001

TestCachingExecChain

testReturns304ForIfNoneMatchPassesIfRequestServedFromOrigin 0.032
testSetsRouteInContextOnCacheHit 0.001
testVariantsMissServerReturns304CacheReturns304 0.002
testReturns304ForIfModifiedSinceHeaderIfRequestServedFromCache 0.001
testReturns304ForIfNoneMatchHeaderIfRequestServedFromCache 0.001
testIfOnlyIfCachedAndNoCacheEntryBackendNotCalled 0.001
testSocketTimeoutExceptionIsNotSilentlyCatched 0.001
testTooLargeResponsesAreNotCached 0.001
testSetsModuleGeneratedResponseContextForCacheOptionsResponse 0.001
testReturns200ForIfNoneMatchHeaderFails 0.002
testSetsViaHeaderOnResponseIfRequestServedFromCache 0.001
testSetsCacheMissContextIfRequestNotServableFromCache 0
testReturns200ForOptionsFollowedByGetIfAuthorizationHeaderAndSharedCache 0
testSetsResponseInContextOnCacheHit 0
testReturns304ForIfNoneMatchHeaderAndIfModifiedSinceIfRequestServedFromCache 0.001
testReturns200ForIfNoneMatchFailsIfRequestServedFromOrigin 0.001
testNewerCacheableResponsesReplaceExistingCacheEntry 0.002
testReturns200ForIfModifiedSinceDateIsInvalid 0.002
testSetViaHeaderIfValidationFailsButNotRequired 0.001
testSetsModuleResponseContextIfValidationFailsButNotRequired 0.001
testDoesNotSend304ForNonConditionalRequest 0.002
testNoEntityForIfNoneMatchRequestNotYetInCache 0.001
testSetsCacheHitContextIfRequestServedFromCache 0.001
testCanCacheAResponseWithoutABody 0.001
testSetsRequestInContextOnCacheHit 0.001
testSetsModuleResponseContextIfValidationRequiredButFailed 0.002
testUsesVirtualHostForCacheKey 0.001
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCache 0.002
testSetsViaHeaderOnResponseIfRequestNotServableFromCache 0.001
testVariantMissServerIfReturns304CacheReturns200 0.002
testSetsRequestSentInContextOnCacheHit 0.001
testIsSharedCache 0
testSetsModuleGeneratedResponseContextForFatallyNoncompliantRequest 0
testReturns200ForIfModifiedSinceDateIsLess 0.001
testOlderCacheableResponsesDoNotGoIntoCache 0.001
testSmallEnoughResponsesAreCached 0.001
testNotModifiedResponseUpdatesCacheEntryWhenNoEntity 0.002
testSetsViaHeaderOnResponseForCacheMiss 0.001
testNonCacheableResponseIsNotCachedAndIsReturnedAsIs 0.001
testSetsViaHeaderIfRequestWasSuccessfullyValidated 0.002
testReturns200ForIfNoneMatchHeaderFailsIfModifiedSinceIgnored 0.001
testCacheableResponsesGoIntoCache 0.001
testNotModifiedResponseWithVaryUpdatesCacheEntryWhenNoEntity 0.002
testSetsValidatedContextIfRequestWasSuccessfullyValidated 0.002
testReturns200ForIfModifiedSinceFailsIfRequestServedFromOrigin 0.002
testRecordsClientProtocolInViaHeaderIfRequestNotServableFromCache 0.001
testReturns304ForIfModifiedSincePassesIfRequestServedFromOrigin 0.002

TestConcurrentCountMap

testBasics 0.006

ManagedHttpCacheStorageTest

cacheDisableThrowsIllegalStateException 0.004
isActive 0.002
putEntry 0.001

TestProtocolRequirements

testMustIncludeProxyAuthenticateHeaderFromAnOrigin407Response 0.002
testSharedCacheMayCacheAuthorizedResponsesWithCacheControlPublic 0.004
testGenerates504IfCannotRevalidateAMustRevalidateEntry 0.003
testCannotCombinePartialResponseIfCacheEntryDoesNotHaveACacheValidator 0.002
testResponsesToTRACEsAreNotCached 0.001
testOrderOfMultipleContentEncodingHeadersIsPreservedOnResponses 0.002
testOrderOfMultipleAllowHeadersIsPreservedOnResponses 0.002
testConditionalRequestWhereAllValidatorsMatchMayBeServedFromCache 0.002
testHEADResponseWithUpdatedContentMD5FieldMakeACacheEntryStale 0.002
testDoesNotModifyContentMD5HeaderOnRequest 0.002
testDoesNotAddContentLocationToRequestIfNotPresent 0.002
testValidationMustUseETagIfProvidedByOriginServer 0.002
testTransmitsAgeHeaderIfIncomingAgeHeaderTooBig 0.001
testOrderOfMultipleViaHeadersIsPreservedOnRequests 0.001
testStripsBadlyDatedWarningsFromForwardedResponses 0.002
testDoesNotAddEtagToOriginResponse 0.002
testCacheIsNotUsedWhenRespondingToRequestWithCacheControlNoCache 0.002
test206ResponseToIfRangeWithStrongValidatorReturnsAllEntityHeaders 0.001
test304ResponseGeneratedFromCacheIncludesExpiresCacheControlAndOrVaryIfResponseMightDiffer 0.002
testUpdatesWarningHeadersOnValidation 0.001
testWarnDatesAreAddedToWarningsOnLowerProtocolVersions 0.001
test206ContainsContentLocationIfA200ResponseWouldHaveIncludedIt 0.001
testRequestsNotExpecting100ContinueBehaviorShouldNotSetExpectContinueHeader 0.003
test206ResponseReturnedToClientMustHaveDateHeader 0.002
testDoesNotAddContentTypeHeaderToCachedResponseWithNoTransformIfNotPresent 0.001
testMustDiscardCachedPartialResponseIfCacheValidatorsDoNotStronglyMatchAndDateHeadersAreEqual 0.002
testDoesNotForwardOPTIONSWhenMaxForwardsIsZeroOnAbsoluteURIRequest 0.001
testDoesNotAddContentTypeToRequestIfNotPresent 0.001
testUnknownHeadersOnResponsesAreForwarded 0.001
testOrderOfMultipleContentEncodingHeadersIsPreservedOnRequests 0.002
testDoesNotAddLastModifiedToRequestIfNotPresent 0.001
test100ContinueResponsesAreNotForwardedTo1_0ClientsWhoDidNotAskForThem 0.001
testRequestsWithLowerProtocolVersionsGetUpgradedTo1_1 0.001
testOrderOfMultipleAcceptHeaderValuesIsPreservedOnRequests 0.001
testDoesNotModifyServerResponseHeader 0.001
testDoesNotAddContentEncodingHeaderToCachedResponseWithNoTransformIfNotPresent 0.001
testDELETERequestsAreWrittenThroughToOrigin 0.001
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatch 0.002
testRemovesWarningHeaderIfAllWarnValuesAreBadlyDated 0.001
testPostInvalidatesCacheForThatUriInContentLocationHeader 0.001
testDoesNotAddContentTypeHeaderToRequestIfNotPresent 0.001
test2xxWarningsAreNotDeletedAfterSuccessfulRevalidation 0.002
testNoStoreOnResponseIsNotStoredInCache 0.001
test302ResponseWithoutExplicitCacheabilityIsNotReturnedFromCache 0.001
testExpiresHeaderMatchesDateIfAddedToCacheHit 0.001
testLowerOriginResponsesUpgradedToOurVersion1_1 0.001
test206ResponseGeneratedFromCacheMustHaveContentRangeOrMultipartByteRangesContentType 0.001
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithMustRevalidate 0.002
testProperlyFormattedViaHeaderIsAddedToResponses 0.001
testHigher1_XProtocolVersionsDowngradeTo1_1 0.001
testExpectHeadersAreForwardedOnRequests 0
testCacheMissOnGETUsesOriginResponse 0.001
testOrderOfMultipleAcceptCharsetHeadersIsPreservedOnRequests 0.001
testDELETEWithIfNoneMatchWeakETagIsNotAllowed 0.001
testDoesNotModifyContentLocationHeaderOnRequest 0.001
testPutDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.001
test304ResponseGeneratedFromCacheIncludesContentLocationIfOriginResponseDid 0.001
testOrderOfMultipleAcceptEncodingHeadersIsPreservedOnRequests 0.001
testHEADResponseWithUpdatedLastModifiedFieldMakeACacheEntryStale 0.002
testDeleteInvalidatesCacheForThatUriInLocationHeader 0.001
testSubrangeGETWithWeakETagIsNotAllowed 0.001
testOrderOfMultipleWWWAuthenticateHeadersIsPreservedOnResponses 0.001
testCONNECTRequestsAreWrittenThroughToOrigin 0.001
testCachedResponsesWithMissingDateHeadersShouldBeAssignedOne 0.001
testExpiresHeaderEqualToDateHeaderIsTreatedAsStale 0.001
testDoesNotTransmitNoCacheDirectivesWithFieldsDownstream 0
testExpiresHeaderMatchesDateIfAddedToOriginResponse 0.001
testNoCacheOnFieldIsNotReturnedWithoutRevalidation 0.001
test206ResponseIsNotCombinedWithPreviousContentIfETagDoesNotMatch 0.002
testSubrangeGETMustUseStrongComparisonForCachedResponse 0.001
testOrderOfMultipleWarningHeadersIsPreservedOnRequests 0.001
testMustNotAddMultipartByteRangeContentTypeTo416Response 0.001
testCacheControlPrivateIsNotCacheableBySharedCache 0.001
testOrderOfMultiplePragmaHeadersIsPreservedOnRequests 0.001
testSharedCacheMustRevalidateAuthorizedResponsesWhenSMaxAgeIsZero 0.002
test206ResponseIsNotCombinedWithPreviousContentIfLastModifiedDoesNotMatch 0.001
testPutDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.001
testMultiHeadersAreSuccessfullyReplacedOn304Validation 0.001
testResponsesToPUTsAreNotCached 0.001
testCacheWithoutSupportForRangeAndContentRangeHeadersDoesNotCacheA206Response 0.001
testNoStoreOnResponseIsNotStoredInCacheEvenWithContraryIndicators 0.002
testDoesNotModifyContentLocationHeaderFromOrigin 0.001
testOrderOfMultipleViaHeadersIsPreservedOnResponses 0.001
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidationEvenWithContraryIndications 0.001
testMustDiscardLeastRecentPartialResponseIfCachedResponseDoesNotHaveCacheValidator 0.001
test1xxWarningsAreDeletedAfterSuccessfulRevalidation 0.001
testDoesNotAddContentRangeHeaderToCachedResponseWithNoTransformIfNotPresent 0
testOrderOfMultipleContentEncodingHeaderValuesIsPreserved 0.001
testDoesNotAddContentMD5ToRequestIfNotPresent 0.001
testDoesNotModifyContentEncodingHeaderOnCachedResponseWithNoTransform 0.002
test206ResponseToConditionalRangeRequestDoesNotIncludeOtherEntityHeaders 0.001
test206ResponseGeneratedFromCacheMustHaveDateHeader 0.001
testDoesNotModifyAllowHeaderWithUnknownMethods 0.002
testStaleEntryWithMustRevalidateIsNotUsedWithoutRevalidatingWithOrigin 0.002
testOrderOfMultipleCacheControlHeadersIsPreservedOnResponses 0.001
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithSMaxAge 0.002
testPutInvalidatesCacheForThatUriInRelativeContentLocationHeader 0.002
testNoStoreOnRequestIsNotStoredInCacheEvenIfResponseMarkedCacheable 0.001
testMustReturnAFreshEnoughCacheEntryIfItHasIt 0.001
testDoesNotModifyContentLocationFromOriginOnCacheHit 0.001
testPutInvalidatesCacheForThatUriInLocationHeader 0.001
testUnknownHeadersOnRequestsAreForwarded 0.001
testOrderOfMultipleCacheControlHeadersIsPreservedOnRequests 0.001
testDoesNotModifyLastModifiedFromOriginOnCacheHit 0.001
testDoesNotAddContentRangeHeaderToRequestIfNotPresent 0.001
testDELETEWithIfMatchWeakETagIsNotAllowed 0.001
testDoesNotModifyContentMD5HeaderFromOrigin 0.001
test303ResponsesAreNotCached 0.001
testResponsesToDELETEsAreNotCached 0.001
testConditionalRequestWhereNotAllValidatorsMatchCannotBeServedFromCache 0.002
testMustDiscardLeastRecentPartialResponseIfIncomingRequestDoesNotHaveCacheValidator 0.002
testCacheIsNotUsedWhenRespondingToRequestWithPragmaNoCache 0.002
testOrderOfMultiplePragmaHeadersIsPreservedOnResponses 0.001
testCannotCombinePartialResponseIfCacheValidatorsDoNotStronglyMatch 0.001
testDoesNotModifyExpiresHeaderFromOrigin 0.001
testExpiresZeroHeaderIsTreatedAsStale 0.002
testPUTWithIfNoneMatchWeakETagIsNotAllowed 0.001
testResponseToAHEADRequestMustNotHaveABody 0.001
testOrderOfMultipleExpectHeadersIsPreservedOnRequests 0.001
testUnknownResponseStatusCodesAreNotCached 0.167
testDoesNotAddContentRangeToRequestIfNotPresent 0.001
testDoesNotAddContentLocationToOriginResponse 0.001
testHEADResponseWithUpdatedContentLengthFieldMakeACacheEntryStale 0.001
testDoesNotModifyContentRangeHeaderOnCachedResponseWithNoTransform 0.002
testDoesNotAddContentMD5ToOriginResponse 0.002
testDoesNotAddETagHeaderOnCacheHit 0.001
testAgeHeaderPopulatedFromCacheEntryCurrentAge 0.001
testViaHeaderOnResponseProperlyRecordsOriginProtocol 0.001
testMustServeAppropriateErrorOrWarningIfNoOriginCommunicationPossible 0.001
test206ResponseGeneratedFromCacheMustHaveABodyThatMatchesContentLengthHeaderIfPresent 0.001
testPostDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.002
testNonmatchingVariantCannotBeServedFromCacheUnlessConditionallyValidated 0.001
test304ResponseGeneratedFromCacheIncludesEtagIfOriginResponseDid 0.001
testForwardsUnknownHeadersOnRequestsFromHigherProtocolVersions 0.001
testWarning110IsAddedToStaleResponses 0.001
testPOSTRequestsAreWrittenThroughToOrigin 0.001
testGenerates504IfSharedCacheCannotRevalidateAProxyRevalidateEntry 0.001
testDoesNotModifyETagHeaderOnRequest 0.001
testPUTRequestsAreWrittenThroughToOrigin 0
testMalformedExpiresHeaderIsTreatedAsStale 0.001
testDoesNotAddETagToRequestIfNotPresent 0.001
test304ResponseGeneratedFromCacheIncludesDateHeader 0.001
testSharedCacheMayCacheAuthorizedResponsesWithMustRevalidate 0.002
testStaleEntryWithProxyRevalidateOnSharedCacheIsNotUsedWithoutRevalidatingWithOrigin 0.002
testCannotServeFromCacheForVaryStar 0.001
test206ResponsesAreNotCachedIfTheCacheDoesNotSupportRangeAndContentRangeHeaders 0.001
testDoesNotAddContentTypeHeaderToOriginResponseWithNoTransformIfNotPresent 0.001
testOrderOfMultipleTransferEncodingsInSingleHeadersIsPreserved 0.001
testPutInvalidatesCacheForThatUriInContentLocationHeader 0.002
testUnknownMethodRequestsAreWrittenThroughToOrigin 0.001
testDoesNotAddAMaxForwardsHeaderToForwardedOPTIONSRequests 0.001
testDeleteInvalidatesCacheForThatUriInRelativeContentLocationHeader 0.002
testStripsBadlyDatedWarningsFromStoredResponses 0.002
testCannotCombinePartialResponseIfIncomingResponseDoesNotHaveACacheValidator 0.002
testDeleteDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.002
test304GeneratedFromCacheOnWeakValidatorDoesNotIncludeOtherEntityHeaders 0.002
testPUTWithIfMatchWeakETagIsNotAllowed 0.001
testOrderOfMultipleTransferEncodingHeadersIsPreserved 0.001
testDoesNotAddContentEncodingHeaderToOriginResponseWithNoTransformIfNotPresent 0.001
testDoesNotModifyContentTypeHeaderFromOriginResponseWithNoTransform 0.002
testOrderOfMultipleContentLanguageHeadersIsPreservedOnResponses 0.001
testHEADResponseWithUpdatedETagFieldMakeACacheEntryStale 0.001
testDoesNotAddLastModifiedToOriginResponse 0.001
testPostDoesNotInvalidateCacheForUriInLocationHeadersFromOtherHosts 0.001
testDeleteToUriInvalidatesCacheForThatUri 0.001
testDoesNotModifyLastModifiedHeaderFromOrigin 0.001
test200ResponseToOPTIONSWithNoBodyShouldIncludeContentLengthZero 0.001
testUpdatedEndToEndHeadersFrom304ArePassedOnResponseAndUpdatedInCacheEntry 0.001
testDoesNotModifyContentMD5FromOriginOnCacheHit 0.001
testPostInvalidatesCacheForThatUriInLocationHeader 0.002
testAttachesWarningHeaderWhenGeneratingStaleResponse 0.001
testMustDiscardLeastRecentPartialResponseIfCacheValidatorsDoNotStronglyMatchEvenIfResponsesOutOfOrder 0.001
testHigherMajorProtocolVersionsOnRequestSwitchToTunnelBehavior 0.001
testDoesNotAddContentLocationHeaderOnCacheHit 0.001
testDoesNotAddContentMD5HeaderOnCacheHit 0.001
testPostToUriInvalidatesCacheForThatUri 0.001
testOPTIONSRequestsAreWrittenThroughToOrigin 0
test304ResponseWithDateHeaderForwardedFromOriginIncludesDateHeader 0
testMustReturnACacheEntryIfItCanRevalidateIt 0.002
testNoStoreOnRequestIsNotStoredInCache 0.001
testDeleteDoesNotInvalidateCacheForUriInContentLocationHeadersFromOtherHosts 0.001
testHeuristicCacheOlderThan24HoursHasWarningAttached 0.002
testPostInvalidatesCacheForRelativeUriInContentLocationHeader 0.001
testDoesNotModifyContentEncodingHeaderFromOriginResponseWithNoTransform 0
testDoesNotModifyContentRangeHeaderFromOriginResponseWithNoTransform 0
testTransferCodingsAreNotSentToAnHTTP_1_0Client 0.001
testDoesNotAddContentEncodingHeaderToRequestIfNotPresent 0.001
testOrderOfMultipleContentLanguageHeadersIsPreservedOnRequests 0.001
testNotModifiedOfNonCachedEntityShouldRevalidateWithUnconditionalGET 0.002
testCacheControlPrivateOnFieldIsNotReturnedBySharedCache 0.002
testDoesNotModifyExpiresHeaderFromOriginOnCacheHit 0.001
testCacheEntryIsUpdatedWithNewFieldValuesIn304Response 0.002
testDoesNotModifyContentTypeHeaderOnCachedResponseWithNoTransform 0.001
testDoesNotAddContentEncodingToRequestIfNotPresent 0.001
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidation 0.001
testMustIncludeAllowHeaderFromAnOrigin405Response 0
testDoesNotModifyLastModifiedHeaderOnRequest 0.001
testResponsesToPOSTWithoutCacheControlOrExpiresAreNotCached 0.001
testVaryStarIsNotGeneratedByProxy 0.001
testDoesNotModifyEtagFromOriginOnCacheHit 0
testViaHeaderOnRequestProperlyRecordsClientProtocol 0.001
testTRACERequestsAreWrittenThroughToOrigin 0.001
testDecrementsMaxForwardsWhenForwardingOPTIONSRequest 0.001
testMustIncludeWWWAuthenticateHeaderOnAnOrigin401Response 0.001
testRetainsWarningHeadersReceivedFromUpstream 0
testOrderOfMultipleAllowHeadersIsPreservedOnRequests 0.001
testPutToUriInvalidatesCacheForThatUri 0.001
testDeleteInvalidatesCacheForThatUriInContentLocationHeader 0.001
testProperlyFormattedViaHeaderIsAddedToRequests 0.001
testRequestsExpecting100ContinueBehaviorShouldSetExpectHeader 0.001
testResponsesToOPTIONSAreNotCacheable 0.001
testCannotUseVariantCacheEntryIfNotAllSelectingRequestHeadersMatch 0.001
testOrderOfMultipleParametersInContentEncodingHeaderIsPreserved 0.001
testDoesNotAddLastModifiedHeaderOnCacheHit 0.001
test206ResponseIncludesVariantHeadersIfValueMightDiffer 0.001
testSharedCacheMustNotNormallyCacheAuthorizedResponses 0.001
testKeepsMostRecentDateHeaderForFreshResponse 0.001
testDoesNotModifyEtagHeaderFromOrigin 0
testResponseToA1_0RequestShouldUse1_1 0.001
testOrderOfMultipleAcceptLanguageHeadersIsPreservedOnRequests 0
testSharedCacheMayCacheAuthorizedResponsesWithSMaxAgeHeader 0.001
testDoesNotAddContentRangeHeaderToOriginResponseWithNoTransformIfNotPresent 0
testCacheDoesNotAssumeContentLocationHeaderIndicatesAnotherCacheableResource 0.001
test206ContainsETagIfA200ResponseWouldHaveIncludedIt 0.001
testResponseIncludesCacheEntryEndToEndHeadersForResponseAfter304Validation 0.001
testMustNotUseMultipartByteRangeContentTypeOnCacheGenerated416Responses 0.002

TestHttpByteArrayCacheEntrySerializer

fileObjectTest 0.01
testDeserializeWithIOException 0.011
escapedHeaderTestFromPreviouslySerialized 0.001
noBodyTest 0.001
emptyBodyTest 0
testEscapedHeaders 0
testInvalidCacheEntry 0.001
fileTestFromPreviouslySerialized 0.002
testSerializeWithHTTPException 0.01
testInvalidHeaderCacheEntry 0
testMissingHeaderCacheEntry 0.001
simpleTestFromPreviouslySerialized 0.001
testVariantMapMissingValueCacheEntry 0
noBodyTestFromPreviouslySerialized 0.001
variantMapTestFromPreviouslySerialized 0
testSimpleVariantMap 0.001
simpleObjectTest 0.001
testVariantMapMissingKeyCacheEntry 0.001
testNullStorageKey 0
noHeadersTest 0.001

TestCacheableRequestPolicy

testIsGetServableFromCache 0
testIsHeadServableFromCache 0
testIsGetWithCacheControlServableFromCache 0
testIsHeadWithCacheControlServableFromCache 0
testIsGetWithPragmaServableFromCache 0
testIsArbitraryMethodServableFromCache 0
testIsHeadWithPragmaServableFromCache 0.001

TestExponentialBackingOffSchedulingStrategy

testSchedule 0

TestHttpCacheEntry

canConstructWithoutVariants 0.312
testMissingDateHeaderIsIgnored 0.003
testGetHeadersReturnsEmptyArrayIfNoneMatch 0.001
testCacheEntryWithVaryStarHasVariants 0.001
testGetHeadersReturnsCorrectHeaders 0
statusCodeComesFromOriginalStatusLine 0.001
testGetMethodReturnsCorrectRequestMethod 0.001
canGetOriginalRequestDate 0.001
canRetrieveOriginalVariantMap 0.001
canGetOriginalResource 0.001
testCacheEntryWithOneVaryHeaderHasVariants 0.001
mustProvideResponseDate 0.001
retrievedVariantMapIsNotModifiable 0.001
testGetFirstHeaderReturnsNullIfNoneMatch 0.001
mustProvideResponseHeaders 0
testGetFirstHeaderReturnsCorrectHeader 0.001
canProvideVariantMap 0.001
canGetOriginalResponseDate 0
canConvertToString 0.002
testMalformedDateHeaderIsIgnored 0.007
testValidDateHeaderIsParsed 0.005
mustProvideRequestDate 0.001
testCacheEntryWithMultipleVaryHeadersHasVariants 0.001
canGetOriginalHeaders 0.001

TestDateSupport

testIsBefore 0.001
testIsAfter 0

TestDefaultAsyncCacheInvalidator

flushesEntrySpecifiedByContentLocationIfEntryHasNoDate 0.012
flushesEntryIfFresherAndSpecifiedByContentLocation 0.001
doesNotFlushEntrySpecifiedByContentLocationIfEtagsMatch 0.001
testInvalidatesUrisInLocationHeadersOnPUTs 0.002
testDoesNotInvalidateGETCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI 0.001
flushesEntryIfFresherAndSpecifiedByRelativeContentLocation 0.001
testVariantURIsAreFlushedAlso 0.001
testDoesNotInvalidateUrisInContentLocationHeadersOnPUTsToDifferentHosts 0.001
doesNotFlushEntryForUnsuccessfulResponse 0.001
testInvalidatesUrisInContentLocationHeadersOnPUTs 0.001
testDoesNotInvalidateHEADCacheEntry 0.001
doesNotFlushEntrySpecifiedByContentLocationIfResponseHasNoEtag 0
flushesEntryIfFresherAndSpecifiedByLocation 0.001
testInvalidatesHEADCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI 0.001
doesNotFlushEntryIfContentLocationFromDifferentHost 0.001
testInvalidatesRelativeUrisInContentLocationHeadersOnPUTs 0.001
doesNotFlushEntrySpecifiedByContentLocationIfEntryHasNoEtag 0.001
flushesEntryIfFresherAndSpecifiedByNonCanonicalContentLocation 0
flushesEntrySpecifiedByContentLocationIfEntryHasMalformedDate 0.001
testDoesNotInvalidateHEADCacheEntryIfSubsequentHEADRequestsAreMadeToTheSameURI 0
doesNotFlushForResponsesWithoutContentLocation 0.001
flushesEntrySpecifiedByContentLocationIfResponseHasMalformedDate 0
testDoesNotInvalidateHEADRequest 0.001
doesNotFlushEntryIfNotInCache 0
doesNotFlushEntrySpecifiedByContentLocationIfOlder 0
testInvalidatesVariantHEADCacheEntriesIfSubsequentGETRequestsAreMadeToTheSameURI 0.001
testDoesNotInvalidateGETRequest 0.001
testInvalidatesRequestsThatArentGETorHEAD 0
testDoesNotInvalidateRequestsWithClientCacheControlHeaders 0
flushesEntrySpecifiedByContentLocationIfResponseHasNoDate 0.001
testDoesNotInvalidateRequestsWithClientPragmaHeaders 0

TestResponseProtocolCompliance

throwsExceptionIfOriginReturnsPartialResponseWhenNotRequested 0.002

TestCacheValidityPolicy

testCorrectContentLengthDoesntInvalidateEntry 0
testResponseIsNotFreshIfFreshnessLifetimeEqualsCurrentAge 0
testProxyRevalidateIsTrueWhenDirectiveIsPresent 0.001
testMayReturnStaleIfErrorInResponseIsTrueWithinStaleness 0
testFreshnessLifetimeIsSMaxAgeIfPresent 0.001
testFreshnessLifetimeIsMaxAgeEvenIfExpiresIsPresent 0
testMalformedCacheControlMaxAgeHeaderReturnsZero 0.001
testApparentAgeIsMaxIntIfDateHeaderNotPresent 0
testWrongContentLengthInvalidatesEntry 0
testProxyRevalidateIsFalseIfDirectiveNotPresent 0
testResponseIsNotFreshIfCurrentAgeExceedsFreshnessLifetime 0
testHeuristicFreshnessLifetime 0
testCorrectedReceivedAgeIsApparentAgeIfLarger 0
testMustRevalidateIsTrueWhenDirectiveIsPresent 0
testMayReturnStaleWhileRevalidatingIsFalseWhenPastStaleness 0.001
testMayNotReturnStaleIfErrorInResponseAndAfterRequestWindow 0.001
testCorrectedReceivedAgeIsAgeHeaderIfLarger 0
testMayReturnStaleIfErrorInRequestIsTrueWithinStaleness 0.001
testMustRevalidateIsFalseIfDirectiveNotPresent 0
testResponseDelayIsDifferenceBetweenResponseAndRequestTimes 0.001
testCacheEntryIsRevalidatableIfHeadersIncludeETag 0
testMayReturnStaleWhileRevalidatingIsTrueWhenWithinStaleness 0.001
testHeuristicFreshnessLifetimeDefaultsProperly 0
testMayReturnStaleWhileRevalidatingIsFalseWhenDirectiveEmpty 0.001
testCorrectedInitialAgeIsCorrectedReceivedAgePlusResponseDelay 0
testHeuristicFreshnessLifetimeIsNonNegative 0.001
testMayReturnStaleWhileRevalidatingIsFalseWhenDirectiveIsAbsent 0
testMalformedAgeHeaderValueReturnsMaxAge 0.001
testFreshnessLifetimeIsMaxAgeIfPresent 0
testMissingContentLengthDoesntInvalidateEntry 0
testResidentTimeSecondsIsTimeSinceResponseTime 0
testCurrentAgeIsCorrectedInitialAgePlusResidentTime 0
testCacheEntryIsNotRevalidatableIfNoAppropriateHeaders 0
testApparentAgeIsResponseReceivedTimeLessDateHeader 0
testFreshnessLifetimeIsFromExpiresHeaderIfNoMaxAge 0.001
testNullResourceInvalidatesEntry 0
testFreshnessLifetimeIsMostRestrictiveOfMaxAgeAndSMaxAge 0.001
testFreshnessLifetimeIsSMaxAgeEvenIfExpiresIsPresent 0
testNegativeApparentAgeIsBroughtUpToZero 0.001
testMayNotReturnStaleIfErrorInResponseAndAfterResponseWindow 0
testNegativeAgeHeaderValueReturnsMaxAge 0
testCacheEntryIsRevalidatableIfHeadersIncludeLastModifiedDate 0
testResponseIsFreshIfFreshnessLifetimeExceedsCurrentAge 0

TestCacheUpdateHandler

testNewerHeadersReplaceExistingHeaders 0.002
testUpdatedEntryHasLatestRequestAndResponseDates 0
testHeadersAreMergedCorrectly 0.001
testContentEncodingHeaderIsNotUpdatedByMerge 0
testNewHeadersAreAddedByMerge 0
oldHeadersRetainedIfResponseOlderThanEntry 0.001
entry1xxWarningsAreRemovedOnUpdate 0
entryIsStillUpdatedByResponseWithMalformedDate 0
testCacheUpdateAddsVariantURIToParentEntry 0.001
entryWithMalformedDateIsStillUpdated 0
testContentLengthIsNotAddedWhenTransferEncodingIsPresent 0
cannotUpdateFromANon304OriginResponse 0.001
testUpdateCacheEntryReturnsDifferentEntryInstance 0

TestConditionalRequestBuilder

testCacheEntryWithProxyRevalidateDoesEndToEndRevalidation 0.001
testBuildConditionalRequestWithLastModified 0
testBuildUnconditionalRequestDoesNotUseIfMatch 0
testBuildUnconditionalRequestDoesNotUseIfRange 0
testBuildUnconditionalRequestAddsPragmaNoCache 0.001
testBuildUnconditionalRequestDoesNotUseIfUnmodifiedSince 0
testConditionalRequestForEntryWithLastModifiedAndEtagIncludesBothAsValidators 0
testBuildUnconditionalRequestAddsCacheControlNoCache 0
testBuildUnconditionalRequestCarriesOtherRequestHeaders 0.001
testBuildUnconditionalRequestUsesRequestUri 0
testBuildConditionalRequestWithETag 0
testBuildUnconditionalRequestDoesNotUseIfNoneMatch 0
testBuildUnconditionalRequestUsesGETMethod 0
testBuildUnconditionalRequestDoesNotUseIfModifiedSince 0.001
testBuildConditionalRequestFromVariants 0
testCacheEntryWithMustRevalidateDoesEndToEndRevalidation 0

TestResponseCachingPolicy

test303WithExplicitCachingHeadersUnderDefaultBehavior 0.001
testPlain303ResponseCodeIsNotCacheableEvenIf303CachingEnabled 0
testPlain303ResponseCodeIsNotCacheableUnderDefaultBehavior 0.001
testIsArbitraryMethodCacheableUsingSharedPublicCache 0
testIsHeadCacheable 0.001
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheable 0
testIsArbitraryMethodCacheable 0
test410ResponseCodeIsCacheable 0.001
test206ResponseCodeIsNotCacheable 0.001
testNon206WithSMaxAgeIsCacheable 0.001
testNon206WithPrivateCacheControlIsNotCacheableBySharedCache 0
testIsGetWithAnyCacheControlCacheable 0
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0.001
getsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0
testResponsesWithMultipleExpiresHeadersAreNotCacheable 0.001
testIsHeadWithNoCacheEmbeddedInListCacheable 0.001
headsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires 0.001
testIsHeadWithAnyCacheControlCacheable 0
testVaryStarIsNotCacheableUsingSharedPublicCache 0.001
testIsHeadWithVaryHeaderCacheable 0
testAuthorizedResponsesWithCacheControlPublicAreCacheable 0.001
testPlain302ResponseCodeIsNotCacheable 0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheable 0.001
notCacheableIfExpiresPrecedesDateAndNoCacheControl 0
headsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0.001
test302WithExplicitCachingHeaders 0
test303WithExplicitCachingHeadersWhenPermittedByConfig 0.001
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0
test206ResponseCodeIsNotCacheableUsingSharedPublicCache 0.001
headsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0
testResponsesWithMalformedDateHeadersAreNotCacheableUsingSharedPublicCache 0
testIsGetWithNoCacheEmbeddedInListCacheable 0
notCacheableIfExpiresEqualsDateAndNoCacheControl 0
testResponsesToRequestsWithNoStoreAreNotCacheable 0
testResponsesWithoutDateHeadersAreNotCacheable 0
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheable 0
testIsGetWithNoStoreCacheable 0.001
testIsGetWithNoCacheCacheable 0
testPlain307ResponseCodeIsNotCacheable 0.001
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0
test307WithExplicitCachingHeaders 0.001
testResponsesToRequestsWithAuthorizationHeadersAreCacheableByNonSharedCache 0
testNon206WithMustRevalidateIsCacheable 0.001
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting 0
testResponsesWithMalformedDateHeadersAreNotCacheable 0.001
testResponsesWithMultipleDateHeadersAreNotCacheableUsingSharedPublicCache 0
testResponsesWithMultipleAgeHeadersAreNotCacheableUsingSharedPublicCache 0
testResponsesWithMultipleExpiresHeadersAreNotCacheableUsingSharedPublicCache 0
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires 0
testIsHeadWithout200Cacheable 0
testResponsesToRequestsWithAuthorizationHeadersAreNotCacheableBySharedCache 0
getsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires 0.001
testIsHeadWithNoStoreCacheable 0
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled 0.001
testIsGetWithNoCacheEmbeddedInListAfterFirstHeaderCacheable 0
testIsHeadWithNoCacheCacheable 0.001
headsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0
test203ResponseCodeIsCacheable 0.001
testIsGetWithNoStoreEmbeddedInListAfterFirstHeaderCacheable 0
test301ResponseCodeIsCacheable 0.001
testNon206WithExplicitExpiresIsCacheable 0
headsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0
testResponsesWithMultipleDateHeadersAreNotCacheable 0
test300ResponseCodeIsCacheable 0
testNon206WithMaxAgeIsCacheable 0
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled 0
getsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0
test200ResponseWithPrivateCacheControlIsCacheableByNonSharedCache 0
testAuthorizedResponsesWithCacheControlMaxAgeAreNotCacheable 0.001
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0
getsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0
testResponsesWithMultipleAgeHeadersAreNotCacheable 0.001
headsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0
testIsGetWithVaryHeaderCacheable 0.001
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0
getsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0.001
testResponseThatHasTooMuchContentIsNotCacheable 0
testAuthorizedResponsesWithSMaxAgeAreCacheable 0.001
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0
testIsHeadWithNoStoreEmbeddedInListCacheable 0
testResponsesThatAreSmallEnoughAreCacheable 0
testNon206WithPublicCacheControlIsCacheable 0
testResponseThatHasTooMuchContentIsNotCacheableUsingSharedPublicCache 0
testIsGetWithNoStoreEmbeddedInListCacheable 0
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires 0.001
testIsHeadWithNoCacheEmbeddedInListAfterFirstHeaderCacheable 0
testVaryStarIsNotCacheable 0.001
testIsGetCacheable 0
testIsHeadWithNoStoreEmbeddedInListAfterFirstHeaderCacheable 0
testAuthorizedResponsesWithMustRevalidateAreCacheable 0
testIsGetWithout200Cacheable 0
testNon206WithProxyRevalidateIsCacheable 0.001
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheable 0
otherStatusCodesAreCacheableWithExplicitCachingHeaders 0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting 0

TestRequestProtocolCompliance

testRequestWithWeakETagAndRange 0
doesNotModifyACompliantRequest 0
testRequestWithWeekETagForPUTOrDELETEIfMatchAllowed 0
upgrades1_0RequestTo1_1 0
testRequestWithWeekETagForPUTOrDELETEIfMatch 0
downgrades1_2RequestTo1_1 0.001
doesNotStripMinFreshFromRequestWithoutNoCache 0
testRequestContainsNoCacheDirectiveWithFieldName 0
stripsMinFreshFromRequestIfNoCachePresent 0
stripsMaxFreshFromRequestIfNoCachePresent 0
correctlyStripsMinFreshFromMiddleIfNoCache 0
stripsMaxAgeFromRequestIfNoCachePresent 0

TestCacheRevalidatorBase

testRevalidateCacheEntryProperlyCollapsesRequest 0.021
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier 0.001
testStaleResponse 0.001
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException 0.002
testShutdown 0.001
testMarkCompleteRemovesIdentifier 0.001

TestProtocolDeviations

testPassesOnOrigin407WithoutAProxyAuthenticateHeader 0.003
testPassesOnOrigin401ResponseWithoutWWWAuthenticateHeader 0.002
testPassesOnOrigin405WithoutAllowHeader 0.002
testPartialContentIsNotReturnedToAClientThatDidNotAskForIt 0.002

TestWarningValue

testConstructWarnValueWithRFC1123WarnDate 0.003
testMidHeaderParseErrorRecovery 0.001
testParseMultipleWarnValues 0
testConstructWarnValueWithTextWithCommas 0
testConstructWarnValueWithTextWithSpaces 0
testConstructWarnValueWithIPv4Address 0
testConstructWarnValueWithHostnameAndPort 0
testConstructWarnValueWithIPv4AddressAndPort 0
testConstructWarnValueWithAscTimeWarnDate 0.001
testParseSingleWarnValue 0
testConstructWarnValueWithHostname 0.001
testConstructWarnValueWithTextWithEscapedQuotes 0
testTrickyCommaMidHeaderParseErrorRecovery 0
testParseErrorRecoveryAtEndOfHeader 0
testConstructSingleWarnValue 0
testConstructWarnValueWithRFC850WarnDate 0.001
testConstructWarnValueWithPseudonym 0

TestProtocolAllowedBehavior

testNonSharedCacheReturnsStaleResponseWhenRevalidationFailsForProxyRevalidate 0.074
testNonSharedCacheMayCacheResponsesWithCacheControlPrivate 0.003

TestByteArrayCacheEntrySerializer

isAllowedClassNameStringTrue 0.001
isAllowedClassNameCalanTemplatesImplFalse 0
canSerializeEntriesWithVariantMapsAndInstant 0.024
isAllowedClassNameJavaxXmlTransformTemplatesFalse 0.001
isAllowedClassNameFloatArrayArrayTrue 0.001
isAllowedClassNameIntArrayArrayTrue 0
isAllowedClassNameShortArrayTrue 0
isAllowedClassNameJavaxManagementMBeanServerInvocationHandlerFalse 0
isAllowedClassNameResourceTrue 0
isAllowedClassNameLongArrayTrue 0.001
isAllowedClassNameIntArrayTrue 0
isAllowedClassNameDoubleArrayTrue 0.001
isAllowedClassNameCollectionsInvokerTransformerFalse 0
isAllowedClassNameInstantTrue 0
isAllowedClassNameDataTrue 0
canSerializeEntriesWithVariantMapsDeprecatedConstructor 0.002
isAllowedClassNameJavaRmiServerRemoteObjectInvocationHandlerFalse 0.001
isAllowedClassNameStringArrayTrue 0
isAllowedClassNameGroovyMethodClosureFalse 0.001
isAllowedClassNameShortArrayArrayTrue 0
isAllowedClassNameGroovyConvertedClosureFalse 0
isAllowedClassNameLongArrayArrayTrue 0.001
isAllowedClassNameFloatArrayTrue 0.001
isAllowedClassNameCharArrayTrue 0
isAllowedClassNameByteArrayArrayTrue 0.001
isAllowedClassNameJavaRmiRegistryFalse 0.001
isAllowedClassNameCollectionsInstantiateTransformerFalse 0.001
isAllowedClassNameCalanTemplatesImplArrayFalse 0.001
isAllowedClassNameStringArrayArrayTrue 0
isAllowedClassNameCollections4InstantiateTransformerFalse 0.001
isAllowedClassNameByteArrayTrue 0.001
isAllowedClassNameStatusLineTrue 0.001
isAllowedClassNameSpringObjectFactoryFalse 0
isAllowedClassNameCharArrayArrayTrue 0
isAllowedClassNameDoubleArrayArrayTrue 0.001
isAllowedClassNameCollections4InvokerTransformerFalse 0.001

TestCachedResponseSuitabilityChecker

testNotSuitableIfContentLengthHeaderIsWrong 0.001
testNotSuitableIfStaleButTooStaleForRequestMaxStale 0
testNotSuitableIfRequestHasNoCache 0
testNotSuitableIfAgeExceedsRequestMaxAge 0
testSuitableIfRequestMethodisHEAD 0.001
testSuitableIfFreshAndFreshnessLifetimeGreaterThanRequestMinFresh 0.001
testNotSuitableIfFreshnessLifetimeLessThanRequestMinFresh 0.001
testMalformedCacheControlMinFreshRequestHeaderCausesUnsuitableEntry 0.001
testNotSuitableIfCacheEntryIsNotFresh 0.001
testSuitableForGETIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethodButContains204Response 0.001
testMalformedCacheControlMaxAgeRequestHeaderCausesUnsuitableEntry 0
testSuitableIfCacheEntryIsHeuristicallyFreshEnoughByDefault 0
testSuitableEvenIfStaleButPermittedByRequestMaxStale 0.001
testNotSuitableIfRequestMethodIsGETAndEntryResourceIsNull 0.001
testNotSuitableForGETIfEntryDoesNotSpecifyARequestMethodOrEntity 0.001
testSuitableIfFreshAndAgeIsUnderRequestMaxAge 0.002
testSuitableForGETIfEntryDoesNotSpecifyARequestMethodButContainsEntity 0.001
testSuitableIfCacheEntryIsHeuristicallyFreshEnough 0.001
testSuitableForHEADIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethod 0.001
testSuitableIfCacheEntryIsFresh 0.001

TestCachedHttpResponseGenerator

testAgeHeaderIsNotPopulatedIfCurrentAgeOfCacheEntryIsZero 0.034
testAgeHeaderIsPopulatedWithCurrentAgeOfCacheEntryIfNonZero 0
testResponseDoesNotContainEntityToServeHEADRequestIfEntryContainsResource 0
testResponseStatusCodeMatchesCacheEntry 0
testContentLengthIsNotAddedWhenTransferEncodingIsPresent 0.001
testResponseMatchesCacheEntry 0
testResponseContainsEntityToServeGETRequestIfEntryContainsResource 0
testResponseHasContentLength 0.001
testAgeHeaderIsPopulatedWithMaxAgeIfCurrentAgeTooBig 0

TestProtocolRecommendations

testDoesNotModifyLocationOnResponses 0.003
shouldStripContentLengthFromOrigin304ResponseToStrongValidation 0.003
testDoesNotAddNewWarningHeaderIfResponseArrivesStale 0.002
testForwardsExistingWarningHeadersOnResponseThatArrivesStale 0.002
testUsesBothLastModifiedAndETagForConditionalRequestsIfAvailable 0.004
testRevalidatesCachedResponseWithExpirationInThePast 0.004
returns504ForStaleEntryWithOnlyIfCached 0.003
shouldStripContentEncodingFromOrigin304ResponseToStrongValidation 0.002
testDoesNotModifyExtensionHeaderOnResponses 0.002
responseToGetWithQueryFrom1_0OriginAndNoExpiresIsNotCached 0.002
testDoesNotModifyAcceptRangesOnResponses 0.002
cacheGenerated304ForStrongValidatorShouldNotContainContentMD5 0.002
testDoesNotModifyIfNoneMatchOnRequests 0.002
testDoesNotModifyContentTypeOnRequests 0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithCacheControl 0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLanguage 0.003
testDoesNotModifyRefererOnRequests 0.002
testResponseToExistingVariantsUpdatesEntry 0.005
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithPragma 0.002
testDoesNotModifyContentRangeOnResponses 0.001
issues304EvenWithWeakETag 0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainContentType 0.002
testDoesNotModifyExtensionHeaderOnRequests 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentEncoding 0.002
responseToGetWithQueryFrom1_0OriginVia1_1ProxyAndNoExpiresIsNotCached 0.005
shouldStripContentRangeFromOrigin304ResponseToStringValidation 0.001
testDoesNotModifyIfModifiedSinceOnRequests 0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxAge 0.003
testDoesNotModifyContentLengthOnRequests 0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxStale 0.003
testUsesLastModifiedDateForCacheConditionalRequests 0.002
testDoesNotModifyIfRangeOnRequests 0.002
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentType 0.002
testDoesNotModifyContentLengthOnResponses 0.001
shouldStripLastModifiedFromOrigin304ResponseToStrongValidation 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainAllow 0.001
shouldInvalidateAllVariantsForUnknownMethod 0.005
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentLanguage 0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLength 0.001
testDoesNotModifyUserAgentOnRequests 0.001
cacheHitOkWithOnlyIfCached 0.001
expiresPriorToDateWithNoCacheControlIsNotCacheable 0.002
cacheMissResultsIn504WithOnlyIfCached 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentRange 0.002
variantNegotiationsDoNotIncludeEtagsForPartialResponses 0.004
testDoesNotModifyExpiresOnResponses 0.001
shouldStripAllowFromOrigin304ResponseToStrongValidation 0.001
testMayReturnStaleResponseIfClientExplicitlySpecifiesAcceptableMaxStale 0.001
testDoesNotModifyServerOnResponses 0.001
testDoesNotModifyContentTypeOnResponses 0.001
cacheGenerated304ForStrongValidatorShouldNotContainContentLength 0.001
shouldInvalidateNonvariantCacheEntryForUnknownMethod 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentMD5 0.001
testDoesNotModifyDateOnRequests 0.002
testDoesNotModifyAuthorizationOnRequests 0.001
testReturnsCachedResponsesAppropriatelyWhenNoOriginCommunication 0.002
returnsStaleCacheEntryWithOnlyIfCachedAndMaxStale 0.001
cacheGenerated304ForStrongDateValidatorShouldNotContainContentRange 0.002
testDoesNotModifyRetryAfterOnResponses 0.001
cachedEntryShouldNotBeUsedIfMoreRecentMentionInContentLocation 0.002
testDoesNotModifyFromOnRequests 0.001
testDoesNotModifyContentRangeOnRequests 0.001
shouldStripContentTypeFromOrigin304ResponseToStrongValidation 0.001
expiresEqualToDateWithNoCacheControlIsNotCacheable 0.003
testDoesNotModifyDateOnResponses 0.002
testRetriesValidationThatResultsInAnOlderDated304Response 0.003
testDoesNotModifyIfUnmodifiedSinceOnRequests 0.002
testIdentityCodingIsNotUsedInContentEncodingHeader 0.001
cacheGenerated304ForStrongEtagValidatorShouldNotContainLastModified 0.002
testDoesNotModifyVaryOnResponses 0.002
otherFreshnessRequestDirectivesNotAllowedWithNoCache 0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainAllow 0.002
testResponseToExistingVariantsIsCachedForFutureResponses 0.002
testSendsAllVariantEtagsInConditionalRequest 0.003
shouldStripContentMD5FromOrigin304ResponseToStrongValidation 0.002
testDoesNotModifyContentMD5OnRequests 0.002
testDoesNotModifyLastModifiedOnResponses 0.001
testDoesNotModifyIfMatchOnRequests 0.002
shouldStripContentLanguageFromOrigin304ResponseToStrongValidation 0.001
testDoesNotReturnStaleResponseIfClientExplicitlySpecifiesLargerMaxAge 0.002
cacheGenerated304ForStrongDateValidatorShouldNotContainContentEncoding 0.003
cacheGenerated304ForStrongDateValidatorShouldNotContainLastModified 0.002
cacheShouldUpdateWithNewCacheableResponse 0.002
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMinFresh 0.002
testDoesNotModifyRangeOnRequests 0.002
testDoesNotModifyContentMD5OnResponses 0.001
testDoesNotModifyETagOnResponses 0.001

TestBasicHttpCache

testDoNotFlushCacheEntriesOnOptions 0.309
testDoNotFlushCacheEntriesOnTrace 0.001
testGetVariantCacheEntriesReturnsAllVariants 0.008
testDoNotFlushContentLocationEntryIfSafeRequest 0.001
testCanFlushCacheEntriesAtUri 0.001
testStoreInCachePutsNonVariantEntryInPlace 0
testGetCacheEntryReturnsNullIfNoVariantInCache 0.002
testGetCacheEntryReturnsNullOnCacheMiss 0
testFlushContentLocationEntryIfUnSafeRequest 0.001
testDoNotFlushCacheEntriesOnGet 0.001
testDoNotFlushCacheEntriesOnHead 0.001
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants 0.001
testGetCacheEntryReturnsVariantIfPresentInCache 0.001
testGetVariantCacheEntriesReturnsEmptySetOnNoVariants 0.001

TestCombinedEntity

testCombinedEntityBasics 0.053

TestAbstractSerializingAsyncCacheStorage

testCacheUpdateFail 0.027
testCacheGetKeyMismatch 0.003
testBulkGet 0.003
testCacheRemove 0.001
testCacheGetNullEntry 0.001
testCacheGet 0.002
testCachePut 0.002
testCacheCASUpdate 0.003
testCacheUpdateNullEntry 0.003
testSingleCacheUpdateRetry 0.003
testCacheCASUpdateKeyMismatch 0.003
testBulkGetKeyMismatch 0.003

TestDefaultCacheInvalidator

flushesEntrySpecifiedByContentLocationIfEntryHasNoDate 0.061
flushesEntryIfFresherAndSpecifiedByContentLocation 0.002
doesNotFlushEntrySpecifiedByContentLocationIfEtagsMatch 0.001
testInvalidatesUrisInLocationHeadersOnPUTs 0.002
testDoesNotInvalidateGETCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI 0.001
flushesEntryIfFresherAndSpecifiedByRelativeContentLocation 0.002
testVariantURIsAreFlushedAlso 0.001
testDoesNotInvalidateUrisInContentLocationHeadersOnPUTsToDifferentHosts 0.001
doesNotFlushEntryForUnsuccessfulResponse 0.001
testInvalidatesUrisInContentLocationHeadersOnPUTs 0.002
testDoesNotInvalidateHEADCacheEntry 0.001
doesNotFlushEntrySpecifiedByContentLocationIfResponseHasNoEtag 0.001
flushesEntryIfFresherAndSpecifiedByLocation 0.002
testInvalidatesHEADCacheEntryIfSubsequentGETRequestsAreMadeToTheSameURI 0.001
doesNotFlushEntryIfContentLocationFromDifferentHost 0
testInvalidatesRelativeUrisInContentLocationHeadersOnPUTs 0.002
doesNotFlushEntrySpecifiedByContentLocationIfEntryHasNoEtag 0.001
flushesEntryIfFresherAndSpecifiedByNonCanonicalContentLocation 0.001
flushesEntrySpecifiedByContentLocationIfEntryHasMalformedDate 0.002
testDoesNotInvalidateHEADCacheEntryIfSubsequentHEADRequestsAreMadeToTheSameURI 0.001
doesNotFlushForResponsesWithoutContentLocation 0.001
flushesEntrySpecifiedByContentLocationIfResponseHasMalformedDate 0.001
testDoesNotInvalidateHEADRequest 0
doesNotFlushEntryIfNotInCache 0.001
doesNotFlushEntrySpecifiedByContentLocationIfOlder 0.001
testInvalidatesVariantHEADCacheEntriesIfSubsequentGETRequestsAreMadeToTheSameURI 0.002
testDoesNotInvalidateGETRequest 0.001
testInvalidatesRequestsThatArentGETorHEAD 0.001
testDoesNotInvalidateRequestsWithClientCacheControlHeaders 0
flushesEntrySpecifiedByContentLocationIfResponseHasNoDate 0.001
testDoesNotInvalidateRequestsWithClientPragmaHeaders 0.001

TestSHA256HashingScheme

canHash 0.001

TestImmediateSchedulingStrategy

testSchedule 0

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme 0.001

TestAbstractSerializingCacheStorage

testCacheUpdateFail 0.022
testCacheGetKeyMismatch 0.003
testBulkGet 0.005
testCacheRemove 0.001
testCacheGetNullEntry 0
testCacheGet 0.002
testCachePut 0.002
testCacheCASUpdate 0.003
testCacheUpdateNullEntry 0.001
testSingleCacheUpdateRetry 0.005
testCacheCASUpdateKeyMismatch 0.003
testBulkGetKeyMismatch 0.003

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache 0.002
testStaleIfErrorInRequestIsFalseReturnsError 0.001
testStaleIfErrorInResponseIsTrueReturnsStaleEntryWithWarning 0.001
testStaleWhileRevalidateYieldsToProxyRevalidateForSharedCache 0.001
testStaleWhileRevalidateYieldsToExplicitFreshnessRequest 0
testStaleWhileRevalidateYieldsToMustRevalidate 0
testStaleIfErrorInResponseYieldsToMustRevalidate 0.001
testStaleWhileRevalidateReturnsStaleEntryWithWarning 0.003
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest 0.002
testCanAlsoServeStale304sWhileRevalidating 0.002
testConsumesErrorResponseWhenServingStale 0.002
testStaleIfErrorInResponseIsFalseReturnsError 0.001
testStaleIfErrorInRequestIsTrueReturnsStaleNonRevalidatableEntryWithWarning 0.002
testStaleIfErrorInRequestIsTrueReturnsStaleEntryWithWarning 0.001
testStaleIfErrorInResponseNeedNotYieldToProxyRevalidateForPrivateCache 0.001
testStaleWhileRevalidateReturnsStaleNonRevalidatableEntryWithWarning 0.002