Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
94 0 0 1 98.936% 19.236

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.535
info.magnolia.imaging.setup 2 0 0 0 100% 1.123
info.magnolia.imaging.operations.load 12 0 0 0 100% 5.234
info.magnolia.imaging.operations 2 0 0 0 100% 0.873
info.magnolia.imaging.parameters 13 0 0 0 100% 1.895
info.magnolia.imaging.util 37 0 0 0 100% 1.008
info.magnolia.imaging.caching 4 0 0 1 75% 6.747
info.magnolia.imaging 9 0 0 0 100% 0.821

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.745
CoordsTest 2 0 0 0 100% 0.001
CropAndResizeQualityTest 2 0 0 0 100% 0.459
MultiStepResizerTest 1 0 0 0 100% 0.279
SelectedCropAndResizeTest 1 0 0 0 100% 0.051

info.magnolia.imaging.setup

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

info.magnolia.imaging.operations.load

Class Tests Errors Failures Skipped Success Rate Time
AbstractLoaderTest 7 0 0 0 100% 3.548
FromBinaryNodeTest 2 0 0 0 100% 0.596
FromContentTest 2 0 0 0 100% 0.639
FromNodeDataTest 1 0 0 0 100% 0.451

info.magnolia.imaging.operations

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

info.magnolia.imaging.parameters

Class Tests Errors Failures Skipped Success Rate Time
BinaryNodeParameterProviderFactoryTest 1 0 0 0 100% 0.351
ContentParameterProviderFactoryRepositoryTest 1 0 0 0 100% 0.251
ContentParameterProviderFactoryTest 7 0 0 0 100% 0.006
NodeDataParameterProviderFactoryTest 4 0 0 0 100% 1.287

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.006
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.74

info.magnolia.imaging

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

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentBasedCachingStrategyTest

testSelfSanity 0.007

CachingImageStreamerRepositoryTest

testGenerateAndStoreIsDoneUnderSystemContext 2.882
testConcurrencyAndJCRSessions 2.882
skipped
testRequestForSimilarUncachedImageOnlyGeneratesItOnce 0.976

ImagingServletTest

testRequestToFactoryToGeneratorToImage 0.158
testDoGetWrongExtension 0.006

BoundedResizeTest

testJustResizeIfTargetRatioIsEquivalentToSourceRatio 0.207
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimensionForSquareSourceToo 0.081
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimensionForVerticalSourceToo 0.298
testSmallImageNotEnlargedWhileExpandFalse 0.011
testAnotherOblongCase 0.051
testSmallImageIsEnlargedWhileExpandTrue 0.025
testWhatHappensIfWeOnlySpecifyMaxWidth 0.007
testAlsoWorksWithOblongImages 0.015
testKeepsOriginalRatioAndCompliesToSmallestMaximumDimension 0.05

CoordsTest

testThrowsExceptionWhenCalculatingWidthAndHeightWithInvalidCoordinates 0
testCalculatesWidthAndHeightProperly 0

CropAndResizeQualityTest

testPngNeedsAnEyeToCheck 0.347
testJpgNeedsAnEyeToCheck 0.112

MultiStepResizerTest

testJpgNeedsAnEyeToCheck 0.279

SelectedCropAndResizeTest

testCanDecodeLegacyCropInfoStrings 0.051

ImageOperationChainTest

testBlankAndWood 0.385
testSomeTransformations 0.488

AbstractLoaderTest

testBufferedImageFromPngWithAlpha 0.576
testTransparencyOfIndexedImageIsNotLost 0.492
testBufferedImageFromBmp 0.378
testBufferedImageFromGif 0.81
testBufferedImageFromJpg 0.496
testBufferedImageFromPng 0.413
testBackgroundColor 0.383

FromBinaryNodeTest

testNodeHasNoBinaryNode 0.322
testNodeHasBinaryNode 0.274

FromContentTest

testUnexistingPropertyYieldsAProperException 0.291
testNonBinaryPropertyYieldsAProperException 0.348

FromNodeDataTest

testNonBinaryPropertyYieldsAProperException 0.451

OutputFormatTest

testCompressionSettingsAreNotResetWhenBothTypeAndQualityAreApplied 0
testCompressionTypeIsProperlyConvertedToOneZeroRangeAndSetsCompressionModeToExplicit 0
testProgressiveFlagIsSetProperlyWhenFalse 0
testQualityIsProperlyConvertedToOneZeroRangeAndSetsCompressionModeToExplicit 0
testProgressiveFlagIsSetProperlyWhenTrue 0

BinaryNodeParameterProviderFactoryTest

testPathInfoSplitting 0.351

ContentParameterProviderFactoryRepositoryTest

testWrapsContentSuchThatEqualsAndHashCodeAreImplementedBasedOnPathAndHierarchyManagerName 0.251

ContentParameterProviderFactoryTest

testExtensionIsIgnoredAlsoForTopLevelNode 0.001
testFailsIfNoPathInfo 0.002
testDeepNodeIsRetrieved 0
testExtensionIsIgnored 0.001
testFailsIfWorkspaceNorNodePath 0
testCanGetTheRootNodeIfNeededButWhoWantsThis 0.001
testNodeAtFirstLevelIsRetrievedToo 0.001

NodeDataParameterProviderFactoryTest

testExistingPropertyJustWorks 0.362
testWrapsNodeDataSuchThatEqualsAndHashCodeAreImplementedBasedOnPathAndHierarchyManagerName 0.29
testReturnsWrappedNonExistingNodeDataIfPropertyDoesNotExist 0.298
testYieldsAProperExceptionIfGeneratorNameIsOmmitted 0.337

SelfTest

testCanGetBinaryStreamOutOfTheSamePropertyInstanceTwice 0.338
testNodeParameterProviderHandlesTimestampsProperly 0.318

ImagingModuleVersionHandlerTest

testCleanInstallAddsPermissionsForImagingBaseRole 0.661
testUpdateFrom31AddsPermissionsForImagingBaseRole 0.462

ColorConverterTest

testCanDecodeHexa 0.001
testFailsOnUnknownName 0
testCanDecodeNames 0

ImageUtilTest

testPerformance 0.003
testCanHandleTransparentPNGSourceWhenFlatteningForJPEG 0.008
testCanHandleOpaqueGIFSourceWhenFlatteningForJPEG 0.03
testJpegOddity 0.026
testCanHandleImageCreatedByBlankOperationWithoutBackgroundColor 0.007
testDecodingHuffmanImageAlt 0.057
testCanHandleTransparentGIFSourceWhenFlatteningForJPEG 0.011
testDecodingHuffmanImage 0.05
testGetImageTypeIndexedTypeWithoutAlpha 0.023
testGetOriginalImageType 0.006
testCanHandleImageCreatedByBlankOperationWithBackgroundColor 0.011
testGetImageTypeIndexedTypeWithAlpha 0.004
testCanHandleProblematicLogoPNGSourceWhenFlatteningForJPEG 0.01
testCanHandleTranslucentPNGSourceWhenFlatteningForJPEG 0.044
testLoadingPerformance 0.694
testCanHandleOpaquePNGSourceWhenFlatteningForJPEG 0.022

PathSplitterTest

testExtensionCanBeKeptAndIsNotCountingAsAnElement 0
testNullsAreHandledGracefullyCauseWeAreThatNice 0
testDotsInPathNotAtTheEndAreNotTrimmed 0
testDotsInPathOnlyOneToSplitTrimExtension 0
testDotsInNames 0.001
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