Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
96 0 0 1 98.958% 19.772

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.684
info.magnolia.imaging.setup 2 0 0 0 100% 1.091
info.magnolia.imaging.operations.load 12 0 0 0 100% 5.198
info.magnolia.imaging.operations 2 0 0 0 100% 1.108
info.magnolia.imaging.parameters 15 0 0 0 100% 1.948
info.magnolia.imaging.util 37 0 0 0 100% 1.033
info.magnolia.imaging.caching 4 0 0 1 75% 6.788
info.magnolia.imaging 9 0 0 0 100% 0.922

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
BoundedResizeTest 9 0 0 0 100% 0.807
CoordsTest 2 0 0 0 100% 0
CropAndResizeQualityTest 2 0 0 0 100% 0.466
MultiStepResizerTest 1 0 0 0 100% 0.337
SelectedCropAndResizeTest 1 0 0 0 100% 0.074

info.magnolia.imaging.setup

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

info.magnolia.imaging.operations.load

Class Tests Errors Failures Skipped Success Rate Time
AbstractLoaderTest 7 0 0 0 100% 3.568
FromBinaryNodeTest 2 0 0 0 100% 0.6
FromContentTest 2 0 0 0 100% 0.649
FromNodeDataTest 1 0 0 0 100% 0.381

info.magnolia.imaging.operations

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

info.magnolia.imaging.parameters

Class Tests Errors Failures Skipped Success Rate Time
BinaryNodeParameterProviderFactoryTest 1 0 0 0 100% 0.381
ContentParameterProviderFactoryRepositoryTest 1 0 0 0 100% 0.283
ContentParameterProviderFactoryTest 9 0 0 0 100% 0.007
NodeDataParameterProviderFactoryTest 4 0 0 0 100% 1.277

info.magnolia.imaging.util

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

info.magnolia.imaging.caching

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentBasedCachingStrategyTest 1 0 0 0 100% 0.007
CachingImageStreamerRepositoryTest 3 0 0 1 66.667% 6.781

info.magnolia.imaging

Class Tests Errors Failures Skipped Success Rate Time
ImagingServletTest 2 0 0 0 100% 0.105
OutputFormatTest 5 0 0 0 100% 0.001
SelfTest 2 0 0 0 100% 0.816

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentBasedCachingStrategyTest

testSelfSanity 0.007

CachingImageStreamerRepositoryTest

testGenerateAndStoreIsDoneUnderSystemContext 2.908
testConcurrencyAndJCRSessions 2.908
skipped
testRequestForSimilarUncachedImageOnlyGeneratesItOnce 0.965

ImagingServletTest

testRequestToFactoryToGeneratorToImage 0.099
testDoGetWrongExtension 0.006

BoundedResizeTest

testJustResizeIfTargetRatioIsEquivalentToSourceRatio 0.196
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimensionForSquareSourceToo 0.078
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimensionForVerticalSourceToo 0.353
testSmallImageNotEnlargedWhileExpandFalse 0.012
testAnotherOblongCase 0.061
testSmallImageIsEnlargedWhileExpandTrue 0.018
testWhatHappensIfWeOnlySpecifyMaxWidth 0.02
testAlsoWorksWithOblongImages 0.016
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimension 0.053

CoordsTest

testThrowsExceptionWhenCalculatingWidthAndHeightWithInvalidCoordinates 0
testCalculatesWidthAndHeightProperly 0

CropAndResizeQualityTest

testPngNeedsAnEyeToCheck 0.348
testJpgNeedsAnEyeToCheck 0.118

MultiStepResizerTest

testJpgNeedsAnEyeToCheck 0.337

SelectedCropAndResizeTest

testCanDecodeLegacyCropInfoStrings 0.074

ImageOperationChainTest

testBlankAndWood 0.43
testSomeTransformations 0.678

AbstractLoaderTest

testBufferedImageFromPngWithAlpha 0.698
testTransparencyOfIndexedImageIsNotLost 0.472
testBufferedImageFromBmp 0.441
testBufferedImageFromGif 0.533
testBufferedImageFromJpg 0.515
testBufferedImageFromPng 0.46
testBackgroundColor 0.449

FromBinaryNodeTest

testNodeHasNoBinaryNode 0.309
testNodeHasBinaryNode 0.291

FromContentTest

testUnexistingPropertyYieldsAProperException 0.303
testNonBinaryPropertyYieldsAProperException 0.346

FromNodeDataTest

testNonBinaryPropertyYieldsAProperException 0.381

OutputFormatTest

testCompressionSettingsAreNotResetWhenBothTypeAndQualityAreApplied 0
testCompressionTypeIsProperlyConvertedToOneZeroRangeAndSetsCompressionModeToExplicit 0
testProgressiveFlagIsSetProperlyWhenFalse 0
testQualityIsProperlyConvertedToOneZeroRangeAndSetsCompressionModeToExplicit 0
testProgressiveFlagIsSetProperlyWhenTrue 0

BinaryNodeParameterProviderFactoryTest

testPathInfoSplitting 0.381

ContentParameterProviderFactoryRepositoryTest

testWrapsContentSuchThatEqualsAndHashCodeAreImplementedBasedOnPathAndHierarchyManagerName 0.283

ContentParameterProviderFactoryTest

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

NodeDataParameterProviderFactoryTest

testExistingPropertyJustWorks 0.312
testWrapsNodeDataSuchThatEqualsAndHashCodeAreImplementedBasedOnPathAndHierarchyManagerName 0.285
testReturnsWrappedNonExistingNodeDataIfPropertyDoesNotExist 0.341
testYieldsAProperExceptionIfGeneratorNameIsOmmitted 0.339

SelfTest

testCanGetBinaryStreamOutOfTheSamePropertyInstanceTwice 0.329
testNodeParameterProviderHandlesTimestampsProperly 0.487

ImagingModuleVersionHandlerTest

testCleanInstallAddsPermissionsForImagingBaseRole 0.626
testUpdateFrom31AddsPermissionsForImagingBaseRole 0.465

ColorConverterTest

testCanDecodeHexa 0.001
testFailsOnUnknownName 0
testCanDecodeNames 0

ImageUtilTest

testPerformance 0.003
testCanHandleTransparentPNGSourceWhenFlatteningForJPEG 0.012
testCanHandleOpaqueGIFSourceWhenFlatteningForJPEG 0.019
testJpegOddity 0.042
testCanHandleImageCreatedByBlankOperationWithoutBackgroundColor 0.017
testDecodingHuffmanImageAlt 0.08
testCanHandleTransparentGIFSourceWhenFlatteningForJPEG 0.01
testDecodingHuffmanImage 0.055
testGetImageTypeIndexedTypeWithoutAlpha 0.023
testGetOriginalImageType 0.01
testCanHandleImageCreatedByBlankOperationWithBackgroundColor 0.01
testGetImageTypeIndexedTypeWithAlpha 0.006
testCanHandleProblematicLogoPNGSourceWhenFlatteningForJPEG 0.01
testCanHandleTranslucentPNGSourceWhenFlatteningForJPEG 0.033
testLoadingPerformance 0.677
testCanHandleOpaquePNGSourceWhenFlatteningForJPEG 0.024

PathSplitterTest

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

Failure Details

[Summary] [Package List] [Test Cases]


testConcurrencyAndJCRSessions
skipped: skipped