magnolia-module-cache Version: 4.5.3 Last Published: May 30, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
6300788.889%11.201

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.module.cache.ehcache4000100%1.213
info.magnolia.module.cache.util4000100%0.002
info.magnolia.module.cache.cachepolicy1000100%0.294
info.magnolia.module.cache.filter4900785.714%9.516
info.magnolia.module.cache.executor5000100%0.176

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

info.magnolia.module.cache.ehcache

ClassTestsErrors FailuresSkippedSuccess RateTime
EhCacheFactoryTest4000100%1.213

info.magnolia.module.cache.util

ClassTestsErrors FailuresSkippedSuccess RateTime
GZipUtilTest4000100%0.002

info.magnolia.module.cache.cachepolicy

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultTest1000100%0.294

info.magnolia.module.cache.filter

ClassTestsErrors FailuresSkippedSuccess RateTime
BlockingCacheTest2000100%4.393
CacheConfigurationSetupTest2000100%4.895
CacheFilterTest1800194.444%0.159
CacheHeadersFilterTest2000100%0.051
CacheResponseWrapperTest2000100%0.005
DelegatingBlobCachedEntryTest1000100%0.004
GZipFilterTest20020%0.001
InMemoryCachedPageTest200150%0.001
ResponseExpirationCalculatorTest15000100%0.006
StandaloneGZipFilterTest30030%0.001

info.magnolia.module.cache.executor

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractExecutorTest3000100%0.004
SetExpirationHeadersTest2000100%0.172

Test Cases

[Summary] [Package List] [Test Cases]

DefaultTest

testRetrieveDefaultCacheKey0.27

EhCacheFactoryTest

testSerialAccess0.141
testAddMoreThanMaxSize0.02
testBlocking0.018
testBlockingAfterAddingMoreThanMaxSize1.014

AbstractExecutorTest

testNotModifiedAfterRequestHeader0.002
testModifiedAfterRequestHeader0
testModifiedSameAsRequestHeader0.001

SetExpirationHeadersTest

testProcessCacheRequest0.17
testProcessNoCacheRequest0.002

BlockingCacheTest

testLockTimeoutException4.373
testThatAFailingRequestReleasesTheLock0.017

CacheConfigurationSetupTest

testVoting3.575
testExecutorSetup1.316

CacheFilterTest

testFilterUsesGivenConfigAndCacheName0.035
test304IsNotCached0.005
testStoresInCacheAndRenders0.008
testStoresCompressedInCacheAndRenders0.007
testBlindlyObeysCachePolicyAndGetsStuffOutOfCacheWhenAskedToDoSo0.012
testIgnoreEncodingAndServeContentFlatWhenUserAgentIsIE60.012
skipped
testServesUnzippedContentAndRemovesGzipHeadersIfClientDoesNotAcceptGZipEncoding0.009
testServesGZippedContentIfClientAcceptsGZipEncoding0.009
testDoesNothingIfCachePolicyCommandsToBypass0.004
testJustSends304WithNoBodyIfRequestHeadersAskForIt0.005
testJustSends304WithNoBodyIfRequestHeadersAskForItEvenOnCommitedResponse0.007
testDontJustSends304WithNoBodyIfRequestHeadersAskForItButResponseIsCommitted0.008
testPageShouldBeServedIfIfNoneMatchHeaderWasPassed0.016
testRedirectsAreCached0.011
testCachedRedirectsAreServed0.004
testErrorsAreCached0.005
testCachedErrorsAreServed0.004
testLastModifiedHeaderCanBeOverriddenByFurtherFiltersAndIsProperlyStoredAndReturned0.007

CacheHeadersFilterTest

testFilterCacheRequest0.026
testFilterNoCacheRequest0.024

CacheResponseWrapperTest

testSetHeader0
testGetLastModified0.005

DelegatingBlobCachedEntryTest

testWriteContentRemovesStreamingFiles0.004

InMemoryCachedPageTest

testUnGZipIfContentIsGZipped0.008
skipped
testGZipIfContentIsNotGZipped0

ResponseExpirationCalculatorTest

testConsumesCacheHeaders0.002
testWontCacheWhenPragmaNoCache0
testWontCacheWhenCacheControlPrivate0
testWontCacheWhenCacheControlNoCache0
testDetectsSharedCacheMaxAge0
testDetectsCacheControlMaxAge0
testDetectsExpiresAsLong0
testDetectsExpiresAsInt0
testDetectsExpiresAsString0.001
testSharedCacheMaxAgeOverridesCacheControlMaxAge0
testSharedCacheMaxAgeOverridesExpires0
testCacheControlMaxAgeOverridesExpires0
testChoosesMostRestrictiveSharedCache0
testChoosesMostRestrictiveCacheControlMaxAge0
testChoosesMostRestrictiveExpires0

GZipUtilTest

testGzippedEmptyByteArrayShouldBeExactly20BytesLong0
testGzipped1ByteArrayShouldNotBe20BytesLong0
testGzipIsSymetric0
testGzipActuallyCompressesAtSomePoint0.001

Failure Details

[Summary] [Package List] [Test Cases]


testIgnoreEncodingAndServeContentFlatWhenUserAgentIsIE6
skipped: skipped
testBufferIsFlushedProperlyWhenUsingWriterFurtherDownTheChainOfFilters
skipped: skipped
testBufferIsFlushedAndGZipNotSetOnError
skipped: skipped
testUnGZipIfContentIsGZipped
skipped: skipped
testBypassesAsDictatedByVoters
skipped: skipped
testBypassesIfClientDoesNotAcceptGZip
skipped: skipped
testDoesNotByPassIfClientAcceptsGZip
skipped: skipped