Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
662 0 0 0 100% 1.858 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.046 s
org.apache.hc.client5.http.schedule 1 0 0 0 100% 0 s
org.apache.hc.client5.http.cache 36 0 0 0 100% 0.027 s
org.apache.hc.client5.http.impl.cache 621 0 0 0 100% 1.782 s
org.apache.hc.client5.http.impl.cache.memcached 2 0 0 0 100% 0.003 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
TestImmediateSchedulingStrategy 1 0 0 0 100% 0.002 s
TestExponentialBackingOffSchedulingStrategy 1 0 0 0 100% 0.044 s

org.apache.hc.client5.http.schedule

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

org.apache.hc.client5.http.cache

- Class Tests Errors Failures Skipped Success Rate Time
TestHttpCacheEntryFactory 13 0 0 0 100% 0.007 s
ManagedHttpCacheStorageTest 3 0 0 0 100% 0.001 s
TestHttpCacheEntry 20 0 0 0 100% 0.019 s

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

- Class Tests Errors Failures Skipped Success Rate Time
TestCacheableRequestPolicy 5 0 0 0 100% 0.002 s
TestCacheKeyGenerator 30 0 0 0 100% 0.026 s
TestCacheValidityPolicy 27 0 0 0 100% 0.013 s
TestCachedHttpResponseGenerator 7 0 0 0 100% 0.029 s
TestRFC5861Compliance 6 0 0 0 100% 0.033 s
TestResponseCachingPolicy 93 0 0 0 100% 0.045 s
CacheControlGeneratorTest 2 0 0 0 100% 0.003 s
TestCacheRevalidatorBase 5 0 0 0 100% 0.027 s
TestHttpCacheJiraNumber1147 1 0 0 0 100% 0.630 s
TestInternalCacheStorage 2 0 0 0 100% 0.033 s
TestFileResourceFactory 1 0 0 0 100% 0.001 s
TestBasicHttpCache 29 0 0 0 100% 0.059 s
TestProtocolRecommendations 67 0 0 0 100% 0.164 s
TestAbstractSerializingAsyncCacheStorage 12 0 0 0 100% 0.091 s
CacheControlParserTest 23 0 0 0 100% 0.019 s
TestCachedResponseSuitabilityChecker 24 0 0 0 100% 0.016 s
TestAbstractSerializingCacheStorage 12 0 0 0 100% 0.036 s
TestCachingExecChain 40 0 0 0 100% 0.123 s
TestViaCacheGenerator 2 0 0 0 100% 0.003 s
TestResponseCacheConformance 5 0 0 0 100% 0.004 s
TestProtocolAllowedBehavior 1 0 0 0 100% 0.002 s
TestCacheSupport 1 0 0 0 100% 0.001 s
TestByteArrayCacheEntrySerializer 36 0 0 0 100% 0.030 s
TestBasicHttpAsyncCache 29 0 0 0 100% 0.058 s
TestProtocolRequirements 132 0 0 0 100% 0.264 s
TestHttpByteArrayCacheEntrySerializer 13 0 0 0 100% 0.016 s
TestCombinedEntity 1 0 0 0 100% 0.029 s
TestConditionalRequestBuilder 15 0 0 0 100% 0.025 s

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

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

Test Cases

[Summary] [Package List] [Test Cases]

TestCacheableRequestPolicy

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

TestCacheKeyGenerator

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

TestPrefixKeyHashingScheme

addsPrefixToBackingScheme 0.001 s

TestCacheValidityPolicy

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

TestCachedHttpResponseGenerator

testAgeHeaderIsNotPopulatedIfCurrentAgeOfCacheEntryIsZero 0.022 s
testAgeHeaderIsPopulatedWithCurrentAgeOfCacheEntryIfNonZero 0.002 s
testResponseDoesNotContainEntityToServeHEADRequestIfEntryContainsResource 0.001 s
testResponseStatusCodeMatchesCacheEntry 0.001 s
testResponseContainsEntityToServeGETRequestIfEntryContainsResource 0 s
testResponseHasContentLength 0.001 s
testAgeHeaderIsPopulatedWithMaxAgeIfCurrentAgeTooBig 0.001 s

TestHttpCacheEntryFactory

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

TestRFC5861Compliance

testStaleIfErrorInResponseYieldsToProxyRevalidateForSharedCache 0.002 s
testStaleIfErrorInRequestIsFalseReturnsError 0.001 s
testStaleIfErrorInResponseYieldsToMustRevalidate 0.002 s
testStaleIfErrorInResponseYieldsToExplicitFreshnessRequest 0.002 s
testConsumesErrorResponseWhenServingStale 0.022 s
testStaleIfErrorInResponseIsFalseReturnsError 0.002 s

TestResponseCachingPolicy

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

TestImmediateSchedulingStrategy

testSchedule 0.001 s

CacheControlGeneratorTest

testGenerateRequestCacheControlHeader 0.002 s
testGenerateRequestCacheControlHeaderNoDirectives 0.001 s

TestCacheRevalidatorBase

testRevalidateCacheEntryProperlyCollapsesRequest 0.022 s
testRevalidateCacheEntrySchedulesExecutionAndPopulatesIdentifier 0.001 s
testRevalidateCacheEntryDoesNotPopulateIdentifierOnRejectedExecutionException 0.002 s
testShutdown 0.001 s
testMarkCompleteRemovesIdentifier 0.001 s

ManagedHttpCacheStorageTest

cacheDisableThrowsIllegalStateException 0 s
isActive 0 s
putEntry 0 s

TestHttpCacheJiraNumber1147

testIssue1147 0.628 s

TestInternalCacheStorage

testCacheBasics 0.029 s
testCacheEviction 0.001 s

TestHttpCacheEntry

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

TestFileResourceFactory

testViaValueLookup 0.001 s

TestBasicHttpCache

testDoesNotInvalidateUriSpecifiedByContentLocationIfEtagsMatch 0.025 s
testInvalidateUriSpecifiedByContentLocationNonCanonical 0.001 s
testStoreFromNegotiatedVariant 0.001 s
testInvalidateUriSpecifiedByContentLocationRelative 0.002 s
testInvalidatesUnsafeRequests 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationOtherOrigin 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfOlder 0.001 s
testGetVariantCacheEntriesReturnsAllVariants 0.002 s
testInvalidatesUriSpecifiedByContentLocationIfResponseHasMalformedDate 0.002 s
testInvalidateUriSpecifiedByLocationAndFresher 0.001 s
testDoesNotInvalidateForUnsuccessfulResponse 0.001 s
testUpdateCacheEntryTurnsVariant 0.001 s
testInvalidateUriSpecifiedByContentLocationAndFresher 0.001 s
testGetCacheEntryReturnsNullIfNoVariantInCache 0 s
testInvalidatesUriSpecifiedByContentLocationIfResponseHasNoDate 0.002 s
testGetCacheEntryReturnsVariantWithMostRecentDateHeader 0.001 s
testInvalidatesUnsafeRequestsWithVariants 0.001 s
testGetVariantsRootNonExistentVariants 0 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfEntryHasNoEtag 0 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.001 s

TestProtocolRecommendations

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

TestAbstractSerializingAsyncCacheStorage

testCacheUpdateFail 0.055 s
testCacheGetKeyMismatch 0.004 s
testBulkGet 0.004 s
testCacheRemove 0.002 s
testCacheGetNullEntry 0.002 s
testCacheGet 0.002 s
testCachePut 0.003 s
testCacheCASUpdate 0.003 s
testCacheUpdateNullEntry 0.003 s
testSingleCacheUpdateRetry 0.004 s
testCacheCASUpdateKeyMismatch 0.004 s
testBulkGetKeyMismatch 0.002 s

CacheControlParserTest

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

TestCachedResponseSuitabilityChecker

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

TestAbstractSerializingCacheStorage

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

TestCachingExecChain

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

TestViaCacheGenerator

testViaValueLookup 0.002 s
testViaValueGeneration 0.001 s

TestConcurrentCountMap

testBasics 0 s

TestResponseCacheConformance

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

TestProtocolAllowedBehavior

testNonSharedCacheMayCacheResponsesWithCacheControlPrivate 0.002 s

TestCacheSupport

testParseDeltaSeconds 0 s

TestByteArrayCacheEntrySerializer

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

TestBasicHttpAsyncCache

testDoesNotInvalidateUriSpecifiedByContentLocationIfEtagsMatch 0.024 s
testInvalidateUriSpecifiedByContentLocationNonCanonical 0.001 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 s
testInvalidateUriSpecifiedByLocationAndFresher 0.001 s
testDoesNotInvalidateForUnsuccessfulResponse 0 s
testUpdateCacheEntryTurnsVariant 0.001 s
testInvalidateUriSpecifiedByContentLocationAndFresher 0.001 s
testGetCacheEntryReturnsNullIfNoVariantInCache 0.002 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 s
testDoesNotInvalidateSafeRequests 0 s
testGetVariantsRootNoVariants 0 s
testGetCacheEntryFetchesFromCacheOnCacheHitIfNoVariants 0 s
testGetCacheEntryReturnsVariantIfPresentInCache 0.001 s
testInvalidatesUriSpecifiedByContentLocationIfEntryHasNoDate 0.001 s
testDoesNotInvalidateUriSpecifiedByContentLocationIfResponseHasNoEtag 0.001 s
testUpdateCacheEntry 0.001 s

TestExponentialBackingOffSchedulingStrategy

testSchedule 0.022 s

TestProtocolRequirements

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

TestSHA256HashingScheme

canHash 0.002 s

TestHttpByteArrayCacheEntrySerializer

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

TestCombinedEntity

testCombinedEntityBasics 0.027 s

TestConditionalRequestBuilder

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