Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
662 0 0 0 100% 1.386 s

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 s
org.apache.hc.client5.http.schedule 1 0 0 0 100% 0.002 s
org.apache.hc.client5.http.cache 36 0 0 0 100% 0.320 s
org.apache.hc.client5.http.impl.cache 621 0 0 0 100% 1.062 s
org.apache.hc.client5.http.impl.cache.memcached 2 0 0 0 100% 0.002 s

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 s
TestImmediateSchedulingStrategy 1 0 0 0 100% 0 s

org.apache.hc.client5.http.schedule

- Class Tests Errors Failures Skipped Success Rate Time
TestConcurrentCountMap 1 0 0 0 100% 0.002 s

org.apache.hc.client5.http.cache

- Class Tests Errors Failures Skipped Success Rate Time
ManagedHttpCacheStorageTest 3 0 0 0 100% 0.004 s
TestHttpCacheEntry 20 0 0 0 100% 0.289 s
TestHttpCacheEntryFactory 13 0 0 0 100% 0.027 s

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

- Class Tests Errors Failures Skipped Success Rate Time
TestHttpCacheJiraNumber1147 1 0 0 0 100% 0.004 s
TestCacheKeyGenerator 30 0 0 0 100% 0.009 s
TestCachingExecChain 40 0 0 0 100% 0.069 s
TestProtocolRequirements 132 0 0 0 100% 0.203 s
TestFileResourceFactory 1 0 0 0 100% 0.005 s
TestHttpByteArrayCacheEntrySerializer 13 0 0 0 100% 0.012 s
TestCacheableRequestPolicy 5 0 0 0 100% 0.001 s
TestResponseCacheConformance 5 0 0 0 100% 0.002 s
TestCacheSupport 1 0 0 0 100% 0.001 s
TestCacheValidityPolicy 27 0 0 0 100% 0.013 s
TestInternalCacheStorage 2 0 0 0 100% 0.001 s
CacheControlGeneratorTest 2 0 0 0 100% 0.003 s
TestConditionalRequestBuilder 15 0 0 0 100% 0.005 s
TestResponseCachingPolicy 93 0 0 0 100% 0.029 s
TestCacheRevalidatorBase 5 0 0 0 100% 0.022 s
CacheControlParserTest 23 0 0 0 100% 0.015 s
TestProtocolAllowedBehavior 1 0 0 0 100% 0.064 s
TestByteArrayCacheEntrySerializer 36 0 0 0 100% 0.028 s
TestCachedResponseSuitabilityChecker 24 0 0 0 100% 0.027 s
TestCachedHttpResponseGenerator 7 0 0 0 100% 0.021 s
TestProtocolRecommendations 67 0 0 0 100% 0.078 s
TestBasicHttpAsyncCache 29 0 0 0 100% 0.046 s
TestBasicHttpCache 29 0 0 0 100% 0.259 s
TestCombinedEntity 1 0 0 0 100% 0.027 s
TestAbstractSerializingAsyncCacheStorage 12 0 0 0 100% 0.048 s
TestAbstractSerializingCacheStorage 12 0 0 0 100% 0.049 s
TestRFC5861Compliance 6 0 0 0 100% 0.018 s
TestViaCacheGenerator 2 0 0 0 100% 0.003 s

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

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

Test Cases

[Summary] [Package List] [Test Cases]

TestHttpCacheJiraNumber1147

testIssue1147 0.003 s

TestCacheKeyGenerator

testIntermidateDotSegementsAreEquivalent 0 s
testGetURIWithQueryParameters 0 s
testEmptyPortEquivalentToDefaultPortForHttpsAbsoluteURI 0 s
testGetVariantKeyInputNormalization 0 s
testIntermidateDotDotSegementsAreEquivalent 0 s
testSchemeNameComparisonsAreCaseInsensitive 0 s
testExtraDotDotSegmentsAreIgnored 0 s
testExtraDotSegmentsAreIgnored 0 s
testGetVariantKey 0.001 s
testExtractsUriFromAbsoluteUriInRequest 0 s
testGetVariantKeyFromCachedResponse 0 s
testNotProvidedPortEquivalentToDefaultPortForHttp 0.001 s
testEmptyPortEquivalentToDefaultPortForHttp 0 s
testHostNameComparisonsAreCaseInsensitive 0 s
testIntermidateEncodedDotDotSegementsAreEquivalent 0 s
testNormalizeRequestUri 0 s
testEquivalentPathEncodingsAreEquivalent 0 s
testEquivalentExtraPathEncodingsWithPercentAreEquivalent 0 s
testEmptyPortEquivalentToDefaultPortForHttps 0.001 s
testGetURIWithDifferentScheme 0 s
testEquivalentExtraPathEncodingsAreEquivalent 0 s
testEmptyAbsPathIsEquivalentToSlash 0 s
testGetURIWithDefaultPortAndScheme 0 s
testGetURIWithDifferentPortAndScheme 0.001 s
testGetRequestUri 0 s
testNotProvidedPortEquivalentToDefaultPortForHttpsAbsoluteURI 0 s
testGetURIWithDifferentPort 0 s
testNormalizeHeaderElements 0.001 s
testGetVariantKeyInputNormalizationReservedChars 0.001 s
testGetVariantKeyInputNoMatchingHeaders 0 s

TestCachingExecChain

testReturns304ForIfNoneMatchPassesIfRequestServedFromOrigin 0.030 s
testNotModifiedResponseUpdatesCacheEntry 0.001 s
testVariantsMissServerReturns304CacheReturns304 0.002 s
testReturns304ForIfModifiedSinceHeaderIfRequestServedFromCache 0.001 s
testReturns304ForIfNoneMatchHeaderIfRequestServedFromCache 0.001 s
testIfOnlyIfCachedAndNoCacheEntryBackendNotCalled 0 s
testReturnssetStaleIfErrorNotEnabled 0.001 s
testNoCacheFieldsRevalidation 0.001 s
testSocketTimeoutExceptionIsNotSilentlyCatched 0 s
testTooLargeResponsesAreNotCached 0 s
testSetsModuleGeneratedResponseContextForCacheOptionsResponse 0 s
testReturns200ForIfNoneMatchHeaderFails 0.001 s
testSetsCacheMissContextIfRequestNotServableFromCache 0 s
testReturns200ForOptionsFollowedByGetIfAuthorizationHeaderAndSharedCache 0.001 s
testReturns304ForIfNoneMatchHeaderAndIfModifiedSinceIfRequestServedFromCache 0 s
testReturns200ForIfNoneMatchFailsIfRequestServedFromOrigin 0.001 s
testNewerCacheableResponsesReplaceExistingCacheEntry 0.001 s
testReturns200ForIfModifiedSinceDateIsInvalid 0.001 s
testSetsModuleResponseContextIfValidationFailsButNotRequired 0.001 s
testDoesNotSend304ForNonConditionalRequest 0.002 s
testNoEntityForIfNoneMatchRequestNotYetInCache 0 s
testSetsCacheHitContextIfRequestServedFromCache 0.001 s
testCanCacheAResponseWithoutABody 0.001 s
testSetsModuleResponseContextIfValidationRequiredButFailed 0.001 s
testUsesVirtualHostForCacheKey 0.001 s
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCache 0.001 s
testVariantMissServerIfReturns304CacheReturns200 0.002 s
testReturns200ForIfModifiedSinceDateIsLess 0.001 s
testOlderCacheableResponsesDoNotGoIntoCache 0.001 s
testSmallEnoughResponsesAreCached 0.001 s
testNotModifiedResponseUpdatesCacheEntryWhenNoEntity 0 s
testNonCacheableResponseIsNotCachedAndIsReturnedAsIs 0.001 s
testReturns200ForIfNoneMatchHeaderFailsIfModifiedSinceIgnored 0.001 s
testCacheableResponsesGoIntoCache 0.001 s
testReturns304ForIfModifiedSinceHeaderIf304ResponseInCacheWithLastModified 0.001 s
testReturnssetStaleIfErrorEnabled 0.001 s
testNotModifiedResponseWithVaryUpdatesCacheEntryWhenNoEntity 0.001 s
testSetsValidatedContextIfRequestWasSuccessfullyValidated 0.001 s
testReturns200ForIfModifiedSinceFailsIfRequestServedFromOrigin 0.001 s
testReturns304ForIfModifiedSincePassesIfRequestServedFromOrigin 0.001 s

TestConcurrentCountMap

testBasics 0.001 s

ManagedHttpCacheStorageTest

cacheDisableThrowsIllegalStateException 0.002 s
isActive 0 s
putEntry 0.001 s

TestProtocolRequirements

testSharedCacheMayCacheAuthorizedResponsesWithCacheControlPublic 0.003 s
testGenerates504IfCannotRevalidateAMustRevalidateEntry 0.001 s
testResponsesToTRACEsAreNotCached 0 s
testOrderOfMultipleContentEncodingHeadersIsPreservedOnResponses 0.001 s
testOrderOfMultipleAllowHeadersIsPreservedOnResponses 0.001 s
testConditionalRequestWhereAllValidatorsMatchMayBeServedFromCache 0.002 s
testDoesNotModifyContentMD5HeaderOnRequest 0.002 s
testDoesNotAddContentLocationToRequestIfNotPresent 0.002 s
testValidationMustUseETagIfProvidedByOriginServer 0.002 s
testTransmitsAgeHeaderIfIncomingAgeHeaderTooBig 0.001 s
testDoesNotAddEtagToOriginResponse 0 s
testCacheIsNotUsedWhenRespondingToRequestWithCacheControlNoCache 0.001 s
test304ResponseGeneratedFromCacheIncludesExpiresCacheControlAndOrVaryIfResponseMightDiffer 0.001 s
testDoesNotAddContentTypeHeaderToCachedResponseWithNoTransformIfNotPresent 0 s
testDoesNotAddContentTypeToRequestIfNotPresent 0.001 s
testUnknownHeadersOnResponsesAreForwarded 0.001 s
testDoesNotAddLastModifiedToRequestIfNotPresent 0.001 s
testDoesNotModifyServerResponseHeader 0.001 s
testDoesNotAddContentEncodingHeaderToCachedResponseWithNoTransformIfNotPresent 0.001 s
testDELETERequestsAreWrittenThroughToOrigin 0 s
testPostInvalidatesCacheForThatUriInContentLocationHeader 0.001 s
testDoesNotAddContentTypeHeaderToRequestIfNotPresent 0 s
testNoStoreOnResponseIsNotStoredInCache 0.001 s
test302ResponseWithoutExplicitCacheabilityIsNotReturnedFromCache 0.001 s
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithMustRevalidate 0.001 s
testCacheMissOnGETUsesOriginResponse 0 s
testDoesNotModifyContentLocationHeaderOnRequest 0.001 s
test304ResponseGeneratedFromCacheIncludesContentLocationIfOriginResponseDid 0.001 s
testDeleteInvalidatesCacheForThatUriInLocationHeader 0.001 s
testOrderOfMultipleWWWAuthenticateHeadersIsPreservedOnResponses 0.001 s
testCONNECTRequestsAreWrittenThroughToOrigin 0 s
testCachedResponsesWithMissingDateHeadersShouldBeAssignedOne 0.001 s
testExpiresHeaderEqualToDateHeaderIsTreatedAsStale 0.001 s
testNonMatchingVariantCannotBeServedFromCacheUnlessConditionallyValidated 0.001 s
testExpiresHeaderMatchesDateIfAddedToOriginResponse 0.001 s
testNoCacheOnFieldIsNotReturnedWithoutRevalidation 0.001 s
testCacheControlPrivateIsNotCacheableBySharedCache 0.001 s
testSharedCacheMustRevalidateAuthorizedResponsesWhenSMaxAgeIsZero 0.001 s
testMultiHeadersAreSuccessfullyReplacedOn304Validation 0.001 s
testResponsesToPUTsAreNotCached 0.001 s
testCacheWithoutSupportForRangeAndContentRangeHeadersDoesNotCacheA206Response 0 s
testNoStoreOnResponseIsNotStoredInCacheEvenWithContraryIndicators 0.001 s
testDoesNotModifyContentLocationHeaderFromOrigin 0 s
testOrderOfMultipleViaHeadersIsPreservedOnResponses 0.001 s
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidationEvenWithContraryIndications 0.001 s
testDoesNotAddContentRangeHeaderToCachedResponseWithNoTransformIfNotPresent 0.001 s
testOrderOfMultipleContentEncodingHeaderValuesIsPreserved 0.001 s
testDoesNotAddContentMD5ToRequestIfNotPresent 0 s
testDoesNotModifyContentEncodingHeaderOnCachedResponseWithNoTransform 0.001 s
testDoesNotModifyAllowHeaderWithUnknownMethods 0.001 s
testStaleEntryWithMustRevalidateIsNotUsedWithoutRevalidatingWithOrigin 0.001 s
testOrderOfMultipleCacheControlHeadersIsPreservedOnResponses 0 s
testSharedCacheMustUseNewRequestHeadersWhenRevalidatingAuthorizedResponsesWithSMaxAge 0 s
testPutInvalidatesCacheForThatUriInRelativeContentLocationHeader 0 s
testNoStoreOnRequestIsNotStoredInCacheEvenIfResponseMarkedCacheable 0.001 s
testMustReturnAFreshEnoughCacheEntryIfItHasIt 0.001 s
testDoesNotModifyContentLocationFromOriginOnCacheHit 0.001 s
testPutInvalidatesCacheForThatUriInLocationHeader 0.001 s
testUnknownHeadersOnRequestsAreForwarded 0 s
testDoesNotModifyLastModifiedFromOriginOnCacheHit 0.001 s
testDoesNotAddContentRangeHeaderToRequestIfNotPresent 0.001 s
testDoesNotModifyContentMD5HeaderFromOrigin 0.001 s
testResponsesToDELETEsAreNotCached 0 s
testConditionalRequestWhereNotAllValidatorsMatchCannotBeServedFromCache 0.001 s
testDoesNotModifyExpiresHeaderFromOrigin 0.001 s
testExpiresZeroHeaderIsTreatedAsStale 0.001 s
testUnknownResponseStatusCodesAreNotCached 0.083 s
testDoesNotAddContentRangeToRequestIfNotPresent 0.001 s
testDoesNotAddContentLocationToOriginResponse 0 s
testDoesNotAddContentMD5ToOriginResponse 0 s
testDoesNotAddETagHeaderOnCacheHit 0 s
testAgeHeaderPopulatedFromCacheEntryCurrentAge 0.001 s
test304ResponseGeneratedFromCacheIncludesEtagIfOriginResponseDid 0.001 s
testPOSTRequestsAreWrittenThroughToOrigin 0.001 s
testGenerates504IfSharedCacheCannotRevalidateAProxyRevalidateEntry 0.001 s
testDoesNotModifyETagHeaderOnRequest 0 s
testPUTRequestsAreWrittenThroughToOrigin 0 s
testMalformedExpiresHeaderIsTreatedAsStale 0.001 s
testDoesNotAddETagToRequestIfNotPresent 0.001 s
test304ResponseGeneratedFromCacheIncludesDateHeader 0.001 s
testSharedCacheMayCacheAuthorizedResponsesWithMustRevalidate 0.001 s
testStaleEntryWithProxyRevalidateOnSharedCacheIsNotUsedWithoutRevalidatingWithOrigin 0.001 s
testCannotServeFromCacheForVaryStar 0 s
testDoesNotAddContentTypeHeaderToOriginResponseWithNoTransformIfNotPresent 0 s
testPutInvalidatesCacheForThatUriInContentLocationHeader 0.001 s
testUnknownMethodRequestsAreWrittenThroughToOrigin 0.001 s
testDeleteInvalidatesCacheForThatUriInRelativeContentLocationHeader 0 s
test304GeneratedFromCacheOnWeakValidatorDoesNotIncludeOtherEntityHeaders 0.001 s
testDoesNotAddContentEncodingHeaderToOriginResponseWithNoTransformIfNotPresent 0.001 s
testDoesNotModifyContentTypeHeaderFromOriginResponseWithNoTransform 0.001 s
testOrderOfMultipleContentLanguageHeadersIsPreservedOnResponses 0 s
testDoesNotAddLastModifiedToOriginResponse 0.001 s
testDeleteToUriInvalidatesCacheForThatUri 0.001 s
testDoesNotModifyLastModifiedHeaderFromOrigin 0.006 s
testUpdatedEndToEndHeadersFrom304ArePassedOnResponseAndUpdatedInCacheEntry 0.001 s
testDoesNotModifyContentMD5FromOriginOnCacheHit 0 s
testPostInvalidatesCacheForThatUriInLocationHeader 0.001 s
testDoesNotAddContentLocationHeaderOnCacheHit 0.001 s
testDoesNotAddContentMD5HeaderOnCacheHit 0 s
testPostToUriInvalidatesCacheForThatUri 0 s
testCachedEntityBodyIsUsedForResponseAfter304Validation 0.001 s
testOPTIONSRequestsAreWrittenThroughToOrigin 0 s
testMustReturnACacheEntryIfItCanRevalidateIt 0.001 s
testNoStoreOnRequestIsNotStoredInCache 0 s
testPostInvalidatesCacheForRelativeUriInContentLocationHeader 0.001 s
testDoesNotModifyContentEncodingHeaderFromOriginResponseWithNoTransform 0.001 s
testDoesNotModifyContentRangeHeaderFromOriginResponseWithNoTransform 0 s
testDoesNotAddContentEncodingHeaderToRequestIfNotPresent 0.001 s
testNotModifiedOfNonCachedEntityShouldRevalidateWithUnconditionalGET 0 s
testCacheControlPrivateOnFieldIsNotReturnedBySharedCache 0 s
testDoesNotModifyExpiresHeaderFromOriginOnCacheHit 0.001 s
testCacheEntryIsUpdatedWithNewFieldValuesIn304Response 0.001 s
testDoesNotModifyContentTypeHeaderOnCachedResponseWithNoTransform 0 s
testDoesNotAddContentEncodingToRequestIfNotPresent 0.001 s
testNoCacheCannotSatisfyASubsequentRequestWithoutRevalidation 0.001 s
testDoesNotModifyLastModifiedHeaderOnRequest 0 s
testResponsesToPOSTWithoutCacheControlOrExpiresAreNotCached 0.001 s
testDoesNotModifyEtagFromOriginOnCacheHit 0 s
testTRACERequestsAreWrittenThroughToOrigin 0.001 s
testPutToUriInvalidatesCacheForThatUri 0 s
testDeleteInvalidatesCacheForThatUriInContentLocationHeader 0.001 s
testResponsesToOPTIONSAreNotCacheable 0.001 s
testCannotUseVariantCacheEntryIfNotAllSelectingRequestHeadersMatch 0 s
testOrderOfMultipleParametersInContentEncodingHeaderIsPreserved 0 s
testDoesNotAddLastModifiedHeaderOnCacheHit 0.001 s
testSharedCacheMustNotNormallyCacheAuthorizedResponses 0 s
testKeepsMostRecentDateHeaderForFreshResponse 0 s
testDoesNotModifyEtagHeaderFromOrigin 0.001 s
testSharedCacheMayCacheAuthorizedResponsesWithSMaxAgeHeader 0.001 s
testDoesNotAddContentRangeHeaderToOriginResponseWithNoTransformIfNotPresent 0 s
testCacheDoesNotAssumeContentLocationHeaderIndicatesAnotherCacheableResource 0.001 s
testResponseIncludesCacheEntryEndToEndHeadersForResponseAfter304Validation 0.001 s

TestFileResourceFactory

testViaValueLookup 0.005 s

TestHttpByteArrayCacheEntrySerializer

testInvalidStatusLineCacheEntry 0.001 s
noBodyTest 0.002 s
testSerializeAndDeserializeLargeContent 0.001 s
emptyBodyTest 0 s
testInvalidRequestLineCacheEntry 0 s
testInvalidCacheEntry 0.001 s
testInvalidHeaderCacheEntry 0.001 s
testDeserializeCacheEntryWithTrailingGarbage 0.001 s
testTruncatedCacheEntry 0.001 s
testMissingHeaderCacheEntry 0 s
testSimpleSerializeAndDeserialize 0.001 s
testSimpleVariantMap 0 s
noHeadersTest 0.001 s

TestCacheableRequestPolicy

testIsGetServableFromCache 0.001 s
testIsHeadServableFromCache 0 s
testIsGetWithCacheControlServableFromCache 0 s
testIsHeadWithCacheControlServableFromCache 0 s
testIsArbitraryMethodServableFromCache 0 s

TestExponentialBackingOffSchedulingStrategy

testSchedule 0 s

TestHttpCacheEntry

testMissingDateHeaderIsIgnored 0.225 s
testGetHeadersReturnsEmptyArrayIfNoneMatch 0.002 s
testGetHeadersReturnsCorrectHeaders 0.001 s
statusCodeComesFromOriginalStatusLine 0.001 s
testGetMethodReturnsCorrectRequestMethod 0.001 s
canGetOriginalRequestDate 0.001 s
testDateParsedOnce 0.010 s
canRetrieveOriginalVariantMap 0.001 s
canGetOriginalResource 0 s
retrievedVariantMapIsNotModifiable 0.001 s
testIsCacheEntryNewer 0.001 s
testGetFirstHeaderReturnsNullIfNoneMatch 0 s
testGetFirstHeaderReturnsCorrectHeader 0 s
testEpochDateHeaderIsParsed 0.001 s
canGetOriginalResponseDate 0.001 s
canConvertToString 0.017 s
testMalformedDateHeaderIsIgnored 0.001 s
testValidDateHeaderIsParsed 0.001 s
testExpiresParsedOnce 0.001 s
canGetOriginalHeaders 0.001 s

TestResponseCacheConformance

shouldStripContentLengthFromOrigin304ResponseToStrongValidation 0.001 s
shouldStripContentEncodingFromOrigin304ResponseToStrongValidation 0 s
shouldStripContentTypeFromOrigin304ResponseToStrongValidation 0 s
shouldStripContentMD5FromOrigin304ResponseToStrongValidation 0 s
shouldStripContentLanguageFromOrigin304ResponseToStrongValidation 0.001 s

TestCacheSupport

testParseDeltaSeconds 0.001 s

TestCacheValidityPolicy

testFreshnessLifetimeIsSMaxAgeIfPresent 0 s
testFreshnessLifetimeIsMaxAgeEvenIfExpiresIsPresent 0 s
testApparentAgeIsMaxIntIfDateHeaderNotPresent 0 s
testMalformedAgeHeaderOverflow 0.001 s
testHeuristicFreshnessLifetime 0 s
testGetCorrectedAgeValue 0.001 s
testCorrectedReceivedAgeIsAgeHeaderIfLarger 0 s
testMalformedAgeHeaderMultiplesMalformedAges 0 s
testNegativeAgeHeaderValueReturnsZero 0 s
testResponseDelayIsDifferenceBetweenResponseAndRequestTimes 0 s
testFreshnessLifetimeUsesSharedMaxAgeInSharedCache 0 s
testHeuristicFreshnessLifetimeCustomProperly 0 s
testFreshnessLifetimeUsesMaxAgeWhenSharedMaxAgeNotPresent 0 s
testHeuristicFreshnessLifetimeDefaultsProperly 0 s
testSMaxAgeIsIgnoredWhenNotShared 0.001 s
testCorrectedInitialAgeIsCorrectedReceivedAgePlusResponseDelay 0.001 s
testHeuristicFreshnessLifetimeIsNonNegative 0.001 s
testMalformedAgeHeaderValueReturnsMaxAge 0 s
testFreshnessLifetimeIsMaxAgeIfPresent 0.001 s
testMalformedAgeHeaderNegativeAge 0 s
testResidentTimeSecondsIsTimeSinceResponseTime 0 s
testCurrentAgeIsCorrectedInitialAgePlusResidentTime 0.001 s
testApparentAgeIsResponseReceivedTimeLessDateHeader 0 s
testFreshnessLifetimeIsFromExpiresHeaderIfNoMaxAge 0.001 s
testMalformedAgeHeaderMultipleWellFormedAges 0 s
testFreshnessLifetimeIsSMaxAgeEvenIfExpiresIsPresent 0 s
testNegativeApparentAgeIsBroughtUpToZero 0.001 s

TestInternalCacheStorage

testCacheBasics 0 s
testCacheEviction 0.001 s

CacheControlGeneratorTest

testGenerateRequestCacheControlHeader 0.001 s
testGenerateRequestCacheControlHeaderNoDirectives 0 s

TestConditionalRequestBuilder

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

TestResponseCachingPolicy

testPublicWithAuthorizationIsCacheable 0 s
testHeadCacheable 0.001 s
testPlain303ResponseCodeIsNotCacheableEvenIf303CachingEnabled 0 s
testPlain303ResponseCodeIsNotCacheableUnderDefaultBehavior 0 s
testIsArbitraryMethodCacheableUsingSharedPublicCache 0.001 s
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheable 0 s
test410ResponseCodeIsCacheable 0 s
test206ResponseCodeIsNotCacheable 0 s
testNon206WithSMaxAgeIsCacheable 0 s
testIsResponseCacheableNotExsiresAndDate 0 s
testNon206WithPrivateCacheControlIsNotCacheableBySharedCache 0 s
testControlNoCacheCacheable 0 s
testIsResponseCacheable 0 s
testControlNoCacheEmbeddedInListCacheable 0.001 s
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0 s
getsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0.001 s
testResponsesWithMultipleExpiresHeadersAreNotCacheable 0 s
headsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires 0 s
testVaryStarIsNotCacheableUsingSharedPublicCache 0.001 s
testAuthorizedResponsesWithCacheControlPublicAreCacheable 0 s
testPlain302ResponseCodeIsNotCacheable 0 s
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheable 0.001 s
notCacheableIfExpiresPrecedesDateAndNoCacheControl 0 s
headsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0 s
testSMaxageWithAuthorizationIsCacheable 0.001 s
test302WithExplicitCachingHeaders 0 s
test303WithExplicitCachingHeadersWhenPermittedByConfig 0 s
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0.001 s
headsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0 s
testResponsesWithMalformedDateHeadersAreNotCacheableUsingSharedPublicCache 0 s
notCacheableIfExpiresEqualsDateAndNoCacheControl 0.001 s
testMissingCacheControlHeader 0 s
testControlNoCacheEmbeddedInListAfterFirstHeaderCacheable 0 s
testMustRevalidateWithAuthorizationIsCacheable 0.001 s
testResponsesToHEADWithQueryParamsButNoExplicitCachingAreNotCacheable 0 s
testPlain307ResponseCodeIsNotCacheable 0 s
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0 s
testControlNoStoreEmbeddedInListAfterFirstHeaderCacheable 0.001 s
test307WithExplicitCachingHeaders 0 s
testResponsesToRequestsWithAuthorizationHeadersAreCacheableByNonSharedCache 0 s
testNon206WithMustRevalidateIsCacheable 0.001 s
getsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting 0 s
testResponsesWithMalformedDateHeadersAreNotCacheable 0 s
testResponsesWithMultipleDateHeadersAreNotCacheableUsingSharedPublicCache 0 s
testControlAnyCacheControlCacheable 0.001 s
testResponsesWithMultipleAgeHeadersAreNotCacheableUsingSharedPublicCache 0 s
testResponsesWithMultipleExpiresHeadersAreNotCacheableUsingSharedPublicCache 0 s
headsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires 0 s
testResponsesToRequestsWithAuthorizationHeadersAreNotCacheableBySharedCache 0 s
testResponsesWithMultipleAgeHeadersAreCacheable 0 s
getsWithQueryParametersDirectlyFrom1_0OriginsAreCacheableWithExpires 0 s
testResponsesToHEADWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled 0.001 s
headsWithQueryParametersFrom1_0OriginsViaProxiesAreCacheableWithExpires 0 s
test203ResponseCodeIsCacheable 0 s
test301ResponseCodeIsCacheable 0.001 s
testNon206WithExplicitExpiresIsCacheable 0 s
headsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0 s
testResponsesWithMultipleDateHeadersAreNotCacheable 0 s
testImmutableAndFreshResponseIsCacheable 0.001 s
test300ResponseCodeIsCacheable 0 s
testNon206WithMaxAgeIsCacheable 0 s
testControlWithout200Cacheable 0 s
testResponsesToGETWithQueryParamsAndExplicitCachingAreCacheableEvenWhen1_0QueryCachingDisabled 0 s
testGetCacheable 0 s
getsWithQueryParametersFrom1_0OriginsViaProxiesCanNotBeCacheableEvenWithExpires 0 s
testArbitraryMethodNotCacheable 0.001 s
test200ResponseWithPrivateCacheControlIsCacheableByNonSharedCache 0 s
testAuthorizedResponsesWithCacheControlMaxAgeAreNotCacheable 0 s
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesCanNotBeCacheableEvenWithExpires 0 s
getsWithQueryParametersDirectlyFrom1_0OriginsCanBeNotCacheableEvenWithExpires 0.001 s
headsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0 s
testControlNoStoreEmbeddedInListCacheable 0 s
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheableEvenWhen1_0QueryCachingDisabled 0 s
getsWithQueryParametersFrom1_1OriginsVia1_0ProxiesAreCacheableWithExpires 0.001 s
testIsResponseCacheableNoCache 0 s
testIsResponseCacheableNoStore 0 s
testAuthorizedResponsesWithSMaxAgeAreCacheable 0.001 s
testRequestWithVaryHeaderCacheable 0 s
getsWithQueryParametersFrom1_0OriginsViaProxiesAreNotCacheable 0 s
testResponsesThatAreSmallEnoughAreCacheable 0 s
testIsResponseCacheableNotNullCacheControlMaxAge60 0 s
testNon206WithPublicCacheControlIsCacheable 0 s
testIsResponseCacheableNotNullCacheControlSmaxAge60 0 s
getsWithQueryParametersFrom1_0OriginsViaExplicitProxiesAreCacheableWithExpires 0.001 s
testControlNoStoreNotCacheable 0 s
testVaryStarIsNotCacheable 0 s
testNoDirectivesWithAuthorizationNotCacheable 0 s
testNon206WithProxyRevalidateIsCacheable 0.001 s
testIsResponseCacheableNullCacheControl 0 s
testResponsesToGETWithQueryParamsButNoExplicitCachingAreNotCacheable 0 s
otherStatusCodesAreCacheableWithExplicitCachingHeaders 0 s
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheable 0 s
headsWithQueryParametersDirectlyFrom1_0OriginsAreNotCacheableEvenWithSetting 0 s

TestCacheRevalidatorBase

testRevalidateCacheEntryProperlyCollapsesRequest 0.017 s
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier 0.001 s
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException 0.002 s
testShutdown 0 s
testMarkCompleteRemovesIdentifier 0 s

CacheControlParserTest

testParseNoCacheFields 0.001 s
testParseMultipleDirectives2 0.002 s
testParseMultipleIsImmutable 0.001 s
testParseMultipleDirectives 0.001 s
testParsePublic 0 s
testParsePrivate 0 s
testParseMaxAgeZero 0 s
testParseCookieEmptyValue 0.001 s
testParseNoDirective 0 s
testParseNoCacheFieldsNoQuote 0.001 s
testParseEmptyHeader 0 s
testGarbage 0 s
testParseStaleWhileRevalidate 0.001 s
testParseInvalidHeader 0 s
testParseInvalidCacheValue 0.001 s
testParseSMaxAge 0 s
testParseMultipleHeaders 0 s
testParseNullHeader 0.001 s
testParseNoCacheFieldsMessy 0 s
testParseRequestMultipleDirectives 0.001 s
testParseNoCache 0 s
testParseNoStore 0 s
testParseIsImmutable 0.001 s

TestProtocolAllowedBehavior

testNonSharedCacheMayCacheResponsesWithCacheControlPrivate 0.062 s

TestByteArrayCacheEntrySerializer

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

TestCachedResponseSuitabilityChecker

testRequestMethodMatch 0.001 s
testNotSuitableIfStaleButTooStaleForRequestMaxStale 0.001 s
testNotSuitableIfRequestHasNoCache 0.001 s
testNotSuitableIfAgeExceedsRequestMaxAge 0.001 s
testResponseNoCache 0.001 s
testSuitableIfRequestMethodisHEAD 0 s
testSuitableIfFreshAndFreshnessLifetimeGreaterThanRequestMinFresh 0 s
testNotSuitableIfFreshnessLifetimeLessThanRequestMinFresh 0.001 s
testNotSuitableIfGetRequestWithHeadCacheEntry 0.001 s
testSuitableIfErrorResponseCacheControl 0 s
testNotSuitableIfCacheEntryIsNotFresh 0 s
testSuitableForGETIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethodButContains204Response 0 s
testSuitableIfErrorConfigDefault 0.001 s
testSuitableIfCacheEntryIsHeuristicallyFreshEnoughByDefault 0.001 s
testSuitableEvenIfStaleButPermittedByRequestMaxStale 0.001 s
testRequestHeadersMatch 0.003 s
testSuitableIfErrorRequestCacheControl 0 s
testSuitableIfErrorRequestCacheControlTakesPrecedenceOverResponseCacheControl 0.001 s
testSuitableIfFreshAndAgeIsUnderRequestMaxAge 0.001 s
testRequestUriMatch 0.001 s
testSuitableForGETIfEntryDoesNotSpecifyARequestMethodButContainsEntity 0.001 s
testSuitableIfCacheEntryIsHeuristicallyFreshEnough 0.001 s
testSuitableForHEADIfHeadResponseCachingEnabledAndEntryDoesNotSpecifyARequestMethod 0.001 s
testSuitableIfCacheEntryIsFresh 0.001 s

TestCachedHttpResponseGenerator

testAgeHeaderIsNotPopulatedIfCurrentAgeOfCacheEntryIsZero 0.017 s
testAgeHeaderIsPopulatedWithCurrentAgeOfCacheEntryIfNonZero 0.001 s
testResponseDoesNotContainEntityToServeHEADRequestIfEntryContainsResource 0 s
testResponseStatusCodeMatchesCacheEntry 0 s
testResponseContainsEntityToServeGETRequestIfEntryContainsResource 0 s
testResponseHasContentLength 0 s
testAgeHeaderIsPopulatedWithMaxAgeIfCurrentAgeTooBig 0.001 s

TestProtocolRecommendations

testDoesNotModifyLocationOnResponses 0.002 s
testUsesBothLastModifiedAndETagForConditionalRequestsIfAvailable 0.002 s
testRevalidatesCachedResponseWithExpirationInThePast 0.003 s
returns504ForStaleEntryWithOnlyIfCached 0.002 s
testDoesNotModifyExtensionHeaderOnResponses 0.001 s
testDoesNotModifyAcceptRangesOnResponses 0.001 s
cacheGenerated304ForStrongValidatorShouldNotContainContentMD5 0.001 s
testDoesNotModifyIfNoneMatchOnRequests 0.001 s
testDoesNotModifyContentTypeOnRequests 0.001 s
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithCacheControl 0.001 s
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLanguage 0.001 s
testDoesNotModifyRefererOnRequests 0.001 s
testResponseToExistingVariantsUpdatesEntry 0.003 s
testDoesNotModifyContentRangeOnResponses 0.001 s
issues304EvenWithWeakETag 0.001 s
cacheGenerated304ForStrongDateValidatorShouldNotContainContentType 0.002 s
testDoesNotModifyExtensionHeaderOnRequests 0.001 s
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentEncoding 0.001 s
testDoesNotModifyIfModifiedSinceOnRequests 0.001 s
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxAge 0.001 s
testDoesNotModifyContentLengthOnRequests 0 s
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxStale 0.002 s
testUsesLastModifiedDateForCacheConditionalRequests 0.001 s
testDoesNotModifyIfRangeOnRequests 0.001 s
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentType 0.001 s
testDoesNotModifyContentLengthOnResponses 0.001 s
cacheGenerated304ForStrongEtagValidatorShouldNotContainAllow 0.001 s
shouldInvalidateAllVariantsForUnknownMethod 0.002 s
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentLanguage 0.001 s
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLength 0 s
testDoesNotModifyUserAgentOnRequests 0 s
cacheHitOkWithOnlyIfCached 0 s
expiresPriorToDateWithNoCacheControlIsNotCacheable 0.001 s
cacheMissResultsIn504WithOnlyIfCached 0 s
testDoesNotModifyExpiresOnResponses 0.001 s
testMayReturnStaleResponseIfClientExplicitlySpecifiesAcceptableMaxStale 0.002 s
testDoesNotModifyServerOnResponses 0.001 s
testDoesNotModifyContentTypeOnResponses 0 s
cacheGenerated304ForStrongValidatorShouldNotContainContentLength 0 s
shouldInvalidateNonvariantCacheEntryForUnknownMethod 0.001 s
cacheGenerated304ForStrongDateValidatorShouldNotContainContentMD5 0.001 s
testDoesNotModifyDateOnRequests 0.001 s
testDoesNotModifyAuthorizationOnRequests 0 s
returnsStaleCacheEntryWithOnlyIfCachedAndMaxStale 0 s
testDoesNotModifyRetryAfterOnResponses 0 s
testDoesNotModifyFromOnRequests 0.001 s
testDoesNotModifyContentRangeOnRequests 0.001 s
expiresEqualToDateWithNoCacheControlIsNotCacheable 0.001 s
testDoesNotModifyDateOnResponses 0.001 s
testRetriesValidationThatResultsInAnOlderDated304Response 0.001 s
testDoesNotModifyIfUnmodifiedSinceOnRequests 0 s
cacheGenerated304ForStrongEtagValidatorShouldNotContainLastModified 0.001 s
testDoesNotModifyVaryOnResponses 0.001 s
cacheGenerated304ForStrongDateValidatorShouldNotContainAllow 0.001 s
testResponseToExistingVariantsIsCachedForFutureResponses 0.001 s
testSendsAllVariantEtagsInConditionalRequest 0.002 s
testDoesNotModifyContentMD5OnRequests 0.001 s
testDoesNotModifyLastModifiedOnResponses 0.001 s
testDoesNotModifyIfMatchOnRequests 0 s
testDoesNotReturnStaleResponseIfClientExplicitlySpecifiesLargerMaxAge 0 s
cacheGenerated304ForStrongDateValidatorShouldNotContainContentEncoding 0 s
cacheGenerated304ForStrongDateValidatorShouldNotContainLastModified 0 s
cacheShouldUpdateWithNewCacheableResponse 0.001 s
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMinFresh 0.001 s
testDoesNotModifyRangeOnRequests 0.001 s
testDoesNotModifyContentMD5OnResponses 0.001 s
testDoesNotModifyETagOnResponses 0 s

TestBasicHttpAsyncCache

testDoesNotInvalidateUriSpecifiedByContentLocationIfEtagsMatch 0.015 s
testInvalidateUriSpecifiedByContentLocationNonCanonical 0.002 s
testStoreFromNegotiatedVariant 0.003 s
testInvalidateUriSpecifiedByContentLocationRelative 0.001 s
testInvalidatesUnsafeRequests 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationOtherOrigin 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfOlder 0.001 s
testGetVariantCacheEntriesReturnsAllVariants 0.002 s
testInvalidatesUriSpecifiedByContentLocationIfResponseHasMalformedDate 0.001 s
testInvalidateUriSpecifiedByLocationAndFresher 0.001 s
testDoesNotInvalidateForUnsuccessfulResponse 0.001 s
testUpdateCacheEntryTurnsVariant 0.001 s
testInvalidateUriSpecifiedByContentLocationAndFresher 0.001 s
testGetCacheEntryReturnsNullIfNoVariantInCache 0.001 s
testInvalidatesUriSpecifiedByContentLocationIfResponseHasNoDate 0.001 s
testGetCacheEntryReturnsVariantWithMostRecentDateHeader 0.002 s
testInvalidatesUnsafeRequestsWithVariants 0.001 s
testGetVariantsRootNonExistentVariants 0 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfEntryHasNoEtag 0 s
testGetCacheEntryReturnsNullOnCacheMiss 0.001 s
testUpdateVariantCacheEntry 0.001 s
testInvalidatesUriSpecifiedByContentLocationIfEntryHasMalformedDate 0.001 s
testDoesNotInvalidateSafeRequests 0 s
testGetVariantsRootNoVariants 0 s
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants 0 s
testGetCacheEntryReturnsVariantIfPresentInCache 0.001 s
testInvalidatesUriSpecifiedByContentLocationIfEntryHasNoDate 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfResponseHasNoEtag 0 s
testUpdateCacheEntry 0.001 s

TestBasicHttpCache

testDoesNotInvalidateUriSpecifiedByContentLocationIfEtagsMatch 0.217 s
testInvalidateUriSpecifiedByContentLocationNonCanonical 0.003 s
testStoreFromNegotiatedVariant 0.005 s
testInvalidateUriSpecifiedByContentLocationRelative 0.003 s
testInvalidatesUnsafeRequests 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationOtherOrigin 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfOlder 0.001 s
testGetVariantCacheEntriesReturnsAllVariants 0.004 s
testInvalidatesUriSpecifiedByContentLocationIfResponseHasMalformedDate 0.001 s
testInvalidateUriSpecifiedByLocationAndFresher 0.001 s
testDoesNotInvalidateForUnsuccessfulResponse 0.001 s
testUpdateCacheEntryTurnsVariant 0.001 s
testInvalidateUriSpecifiedByContentLocationAndFresher 0.002 s
testGetCacheEntryReturnsNullIfNoVariantInCache 0.001 s
testInvalidatesUriSpecifiedByContentLocationIfResponseHasNoDate 0.001 s
testGetCacheEntryReturnsVariantWithMostRecentDateHeader 0.002 s
testInvalidatesUnsafeRequestsWithVariants 0.001 s
testGetVariantsRootNonExistentVariants 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfEntryHasNoEtag 0.001 s
testGetCacheEntryReturnsNullOnCacheMiss 0 s
testUpdateVariantCacheEntry 0.001 s
testInvalidatesUriSpecifiedByContentLocationIfEntryHasMalformedDate 0.001 s
testDoesNotInvalidateSafeRequests 0.001 s
testGetVariantsRootNoVariants 0 s
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants 0.001 s
testGetCacheEntryReturnsVariantIfPresentInCache 0.001 s
testInvalidatesUriSpecifiedByContentLocationIfEntryHasNoDate 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfResponseHasNoEtag 0.001 s
testUpdateCacheEntry 0 s

TestCombinedEntity

testCombinedEntityBasics 0.027 s

TestAbstractSerializingAsyncCacheStorage

testCacheUpdateFail 0.031 s
testCacheGetKeyMismatch 0.002 s
testBulkGet 0.002 s
testCacheRemove 0.001 s
testCacheGetNullEntry 0.001 s
testCacheGet 0.001 s
testCachePut 0.001 s
testCacheCASUpdate 0.002 s
testCacheUpdateNullEntry 0.001 s
testSingleCacheUpdateRetry 0.002 s
testCacheCASUpdateKeyMismatch 0.002 s
testBulkGetKeyMismatch 0.001 s

TestSHA256HashingScheme

canHash 0.001 s

TestImmediateSchedulingStrategy

testSchedule 0 s

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme 0.001 s

TestAbstractSerializingCacheStorage

testCacheUpdateFail 0.033 s
testCacheGetKeyMismatch 0.002 s
testBulkGet 0.002 s
testCacheRemove 0.001 s
testCacheGetNullEntry 0 s
testCacheGet 0.001 s
testCachePut 0.001 s
testCacheCASUpdate 0.001 s
testCacheUpdateNullEntry 0.001 s
testSingleCacheUpdateRetry 0.002 s
testCacheCASUpdateKeyMismatch 0.002 s
testBulkGetKeyMismatch 0.001 s

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache 0.002 s
testStaleIfErrorInRequestIsFalseReturnsError 0.001 s
testStaleIfErrorInResponseYieldsToMustRevalidate 0.001 s
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest 0 s
testConsumesErrorResponseWhenServingStale 0.011 s
testStaleIfErrorInResponseIsFalseReturnsError 0 s

TestViaCacheGenerator

testViaValueLookup 0.002 s
testViaValueGeneration 0 s

TestHttpCacheEntryFactory

testNewerHeadersReplaceExistingHeaders 0.010 s
testCreateRootVariantEntry 0.006 s
testFilterHopByHopAndConnectionSpecificHeaders 0.002 s
testHeadersAreMergedCorrectly 0 s
testNewHeadersAreAddedByMerge 0.001 s
testUpdateHasLatestRequestAndResponseDates 0.001 s
testUpdateNotModifiedIfResponseOlder 0 s
testCreateUpdatedResourceEntry 0 s
entryIsStillUpdatedByResponseWithMalformedDate 0.001 s
testCreateResourceEntry 0.001 s
entryWithMalformedDateIsStillUpdated 0 s
cannotUpdateFromANon304OriginResponse 0.001 s
testUpdateCacheEntryReturnsDifferentEntryInstance 0.001 s