Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
98 0 0 2 97.959% 17.198

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
info.magnolia.imaging.operations.cropresize 15 0 0 0 100% 1.159
info.magnolia.imaging.setup 2 0 0 0 100% 1.253
info.magnolia.imaging.operations.load 12 0 0 0 100% 4.976
info.magnolia.imaging.operations 2 0 0 0 100% 0.78
info.magnolia.imaging.parameters 15 0 0 0 100% 6.008
info.magnolia.imaging.util 37 0 0 0 100% 0.859
info.magnolia.imaging.caching 5 0 0 2 60% 1.429
info.magnolia.imaging 10 0 0 0 100% 0.734

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

info.magnolia.imaging.operations.cropresize

Class Tests Errors Failures Skipped Success Rate Time
SelectedCropAndResizeTest 1 0 0 0 100% 0.05
CoordsTest 2 0 0 0 100% 0
CropAndResizeQualityTest 2 0 0 0 100% 0.475
MultiStepResizerTest 1 0 0 0 100% 0.227
BoundedResizeTest 9 0 0 0 100% 0.407

info.magnolia.imaging.setup

Class Tests Errors Failures Skipped Success Rate Time
ImagingModuleVersionHandlerTest 2 0 0 0 100% 1.253

info.magnolia.imaging.operations.load

Class Tests Errors Failures Skipped Success Rate Time
FromNodeDataTest 1 0 0 0 100% 0.326
FromBinaryNodeTest 2 0 0 0 100% 0.651
AbstractLoaderTest 7 0 0 0 100% 3.381
FromContentTest 2 0 0 0 100% 0.618

info.magnolia.imaging.operations

Class Tests Errors Failures Skipped Success Rate Time
ImageOperationChainTest 2 0 0 0 100% 0.78

info.magnolia.imaging.parameters

Class Tests Errors Failures Skipped Success Rate Time
ContentParameterProviderFactoryRepositoryTest 1 0 0 0 100% 0.455
NodeDataParameterProviderFactoryTest 4 0 0 0 100% 5.081
ContentParameterProviderFactoryTest 9 0 0 0 100% 0.057
BinaryNodeParameterProviderFactoryTest 1 0 0 0 100% 0.415

info.magnolia.imaging.util

Class Tests Errors Failures Skipped Success Rate Time
ImageUtilTest 16 0 0 0 100% 0.857
ColorConverterTest 3 0 0 0 100% 0.001
PathSplitterTest 18 0 0 0 100% 0.001

info.magnolia.imaging.caching

Class Tests Errors Failures Skipped Success Rate Time
CachingImageStreamerRepositoryTest 4 0 0 2 50% 1.429
AbstractContentBasedCachingStrategyTest 1 0 0 0 100% 0

info.magnolia.imaging

Class Tests Errors Failures Skipped Success Rate Time
ImagingServletTest 3 0 0 0 100% 0.051
SelfTest 2 0 0 0 100% 0.681
OutputFormatTest 5 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

ImagingModuleVersionHandlerTest

testCleanInstallAddsPermissionsForImagingBaseRole 0.706
testUpdateFrom31AddsPermissionsForImagingBaseRole 0.547

CachingImageStreamerRepositoryTest

shouldStoreNothingWhenUsingNullCachingStrategy 0.003
skipped
testGenerateAndStoreIsDoneUnderSystemContext 0.439
testConcurrencyAndJCRSessions 0.439
skipped
testRequestForSimilarUncachedImageOnlyGeneratesItOnce 0.548

ImagingServletTest

testGetCorrectMimeType 0.046
testRequestToFactoryToGeneratorToImage 0.003
testDoGetWrongExtension 0.002

SelectedCropAndResizeTest

testCanDecodeLegacyCropInfoStrings 0.05

SelfTest

testCanGetBinaryStreamOutOfTheSamePropertyInstanceTwice 0.39
testNodeParameterProviderHandlesTimestampsProperly 0.291

OutputFormatTest

testCompressionSettingsAreNotResetWhenBothTypeAndQualityAreApplied 0
testCompressionTypeIsProperlyConvertedToOneZeroRangeAndSetsCompressionModeToExplicit 0
testProgressiveFlagIsSetProperlyWhenFalse 0
testQualityIsProperlyConvertedToOneZeroRangeAndSetsCompressionModeToExplicit 0
testProgressiveFlagIsSetProperlyWhenTrue 0

ImageOperationChainTest

testBlankAndWood 0.404
testSomeTransformations 0.376

ContentParameterProviderFactoryRepositoryTest

testWrapsContentSuchThatEqualsAndHashCodeAreImplementedBasedOnPathAndHierarchyManagerName 0.455

AbstractContentBasedCachingStrategyTest

testSelfSanity 0

ImageUtilTest

testPerformance 0.006
testCanHandleTransparentPNGSourceWhenFlatteningForJPEG 0.014
testCanHandleOpaqueGIFSourceWhenFlatteningForJPEG 0.02
testJpegOddity 0.039
testCanHandleImageCreatedByBlankOperationWithoutBackgroundColor 0.008
testDecodingHuffmanImageAlt 0.052
testCanHandleTransparentGIFSourceWhenFlatteningForJPEG 0.007
testDecodingHuffmanImage 0.038
testGetImageTypeIndexedTypeWithoutAlpha 0.024
testGetOriginalImageType 0.004
testCanHandleImageCreatedByBlankOperationWithBackgroundColor 0.007
testGetImageTypeIndexedTypeWithAlpha 0.004
testCanHandleProblematicLogoPNGSourceWhenFlatteningForJPEG 0.007
testCanHandleTranslucentPNGSourceWhenFlatteningForJPEG 0.025
testLoadingPerformance 0.585
testCanHandleOpaquePNGSourceWhenFlatteningForJPEG 0.017

ColorConverterTest

testCanDecodeHexa 0.001
testFailsOnUnknownName 0
testCanDecodeNames 0

CoordsTest

testThrowsExceptionWhenCalculatingWidthAndHeightWithInvalidCoordinates 0
testCalculatesWidthAndHeightProperly 0

FromNodeDataTest

testNonBinaryPropertyYieldsAProperException 0.326

NodeDataParameterProviderFactoryTest

testExistingPropertyJustWorks 3.033
testWrapsNodeDataSuchThatEqualsAndHashCodeAreImplementedBasedOnPathAndHierarchyManagerName 1.028
testReturnsWrappedNonExistingNodeDataIfPropertyDoesNotExist 0.583
testYieldsAProperExceptionIfGeneratorNameIsOmmitted 0.437

FromBinaryNodeTest

testNodeHasNoBinaryNode 0.327
testNodeHasBinaryNode 0.324

CropAndResizeQualityTest

testPngNeedsAnEyeToCheck 0.371
testJpgNeedsAnEyeToCheck 0.104

MultiStepResizerTest

testJpgNeedsAnEyeToCheck 0.227

AbstractLoaderTest

testBufferedImageFromPngWithAlpha 0.823
testTransparencyOfIndexedImageIsNotLost 0.32
testBufferedImageFromBmp 0.336
testBufferedImageFromGif 0.585
testBufferedImageFromJpg 0.437
testBufferedImageFromPng 0.399
testBackgroundColor 0.481

FromContentTest

testUnexistingPropertyYieldsAProperException 0.293
testNonBinaryPropertyYieldsAProperException 0.325

ContentParameterProviderFactoryTest

testExtensionIsIgnoredAlsoForTopLevelNodeIfTrimExtensionIsTrue 0.05
testExtensionIsNotIgnoredAlsoForTopLevelNodeIfTrimExtensionIsFalse 0.001
testFailsIfNoPathInfo 0
testDeepNodeIsRetrieved 0.001
testExtensionIsNotIgnoredIfTrimExtensionIsFalse 0.001
testExtensionIsIgnoredIfTrimExtensionIsTrue 0.001
testFailsIfWorkspaceNorNodePath 0.001
testCanGetTheRootNodeIfNeededButWhoWantsThis 0.001
testNodeAtFirstLevelIsRetrievedToo 0.001

PathSplitterTest

testExtensionCanBeKeptAndIsNotCountingAsAnElement 0
testNullsAreHandledGracefullyCauseWeAreThatNice 0
testDotsInPathNotAtTheEndAreNotTrimmed 0
testDotsInPathOnlyOneToSplitTrimExtension 0
testDotsInNames 0
testLeadingAndTralingslahesAreIgnored 0
testEmptyStringYieldsNoResults 0
testTrimExtensionProperly 0
testRemainingCanBeCalledEvenIfWeAlreadyReachedTheLastElement 0
testEmptyElementsBeforeTrailingSlashWorkToo 0
testEmptyElementsMatter 0.001
testEmptyElementsAfterLeadingSlashWorkToo 0
testOnlyOneToSplit 0
testNextAndSkipCallsDontOverlapEachOther 0
testDocumentedExample 0
testRemainingCanBeCalledFromTheStartEvenIfThisSeemsQuiteUseless 0
testDotsInPathOnlyOneToSplit 0
testExtensionIsTrimmedByDefault 0

BoundedResizeTest

testJustResizeIfTargetRatioIsEquivalentToSourceRatio 0.033
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimensionForSquareSourceToo 0.056
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimensionForVerticalSourceToo 0.237
testSmallImageNotEnlargedWhileExpandFalse 0.007
testAnotherOblongCase 0.01
testSmallImageIsEnlargedWhileExpandTrue 0.013
testWhatHappensIfWeOnlySpecifyMaxWidth 0.004
testAlsoWorksWithOblongImages 0.011
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimension 0.036

BinaryNodeParameterProviderFactoryTest

testPathInfoSplitting 0.415

Failure Details

[Summary] [Package List] [Test Cases]


shouldStoreNothingWhenUsingNullCachingStrategy
skipped: skipped
testConcurrencyAndJCRSessions
skipped: skipped